New contributor flow #8
Replies: 3 comments 7 replies
|
I've started on join.pycal.org. Here's the plan so we can agree before I build too much. The first two points would be the hardest to change later. 1. Members don't get a GitHub team or roleWhen you sign, join.pycal.org adds you to its own member list. A bot checks new issues, PRs and discussions in the repos it's turned on for. If the author isn't a member and doesn't have write access, it closes and locks the item with a short note linking to join.pycal.org. Maintainers can reopen anything it closes. Dependabot, Renovate, pre-commit.ci and GitHub Actions are let through. I didn't go with a team because adding people to one needs an App that can manage org members. In a sandbox org I found that the same permission also lets the App make someone an owner or remove owners. With the bot, nothing in join.pycal.org can change org membership. Downsides:
2. One membership for all PCE projectsYou sign the Code of Conduct, the AI policy and a short membership terms page. The terms page lists each project's contributing guide, and you agree to follow the guide of whichever project you contribute to. The guides themselves aren't signed, since they differ per project and change often. 3. Re-signingIf the CoC, the AI policy or the terms change in a way that matters, members re-sign within 30 days, plus 7 days' grace. Small fixes don't trigger this. 4. Rollout per repoEach repo is 5. What's storedYour GitHub account id and which document versions you signed. No email, IP addresses or analytics. Signatures and document versions go into an append-only log with a daily checkpoint in a public repo. If the dashboard needs membership info, I'd only expose a yes/no per GitHub id, and only if we agree on that. 6. HostingCloudflare Workers and D1, free plan, no payment method on the account. If it's ever overloaded, it's down until the daily limit resets, and the bot catches up afterwards. Admin alerts go to a Matrix room on chat.pycal.org. From this thread
The dashboard parts (peer review, badges) aren't part of this. |
|
Add new item:
It was that user who opened 12 PRs in the span of a few hours. I'd ban them from the organization entirely, close their PRs, and report them to GitHub. This is a clear CoC violation. |
|
Thanks for reading through it, all of you. I've gone through each point below and changed a few things because of what you said.
Yes, you're right. Only creating is blocked. Anyone can still comment on issues, PRs and discussions as long as they aren't locked. I'd like to handle that with a per-repo setting. When it's on, the bot hides comments from non-members and replies once per issue with a link to join.pycal.org. I tried it in my sandbox org, and the bot can hide comments on both issues and discussions. If it hides something by mistake, any of us can unhide it. It leaves comments from bots like CI or coverage alone. I'd rather hide than delete. Hiding can be undone, and the comment is still there if it ever turns into a CoC case. Deleting wouldn't really work anyway: GitHub doesn't let anyone delete a PR, and deleting issues needs admin rights, which I don't want the bot to have. I can't email people either, since join.pycal.org doesn't keep email addresses. The bot @mentions them instead, so GitHub still notifies them.
Yes, that's on purpose. Only people with write access can still comment. The person whose issue got closed can't reply on it, so I'll add a contact page to join.pycal.org for anyone who wants to ask about it.
Fair point, I'll stop calling it a downside.
I made it automatic at first because @niccokunzmann wanted it that way. His worry was that someone who just wants to report a bug shouldn't have to wait days to be accepted. I think the bug-report form below solves that, so I've switched to manual review. So now one of us looks at every application. The form asks why they want to join and which projects they use, and it has your honeypot. If someone fills in the honeypot, we decline quietly and don't reply. Once we've decided on an application, the answers are deleted. If an application sits for 7 days, our Matrix room gets a reminder, and another one at 14 days. About the team: I'd still keep the member list in join.pycal.org itself. A GitHub team means every new member gets an org invitation they have to accept, and someone has to remove them by hand later. Approving in join's admin page is the same review, just without those extra steps.
Sadly the bot can't do anything about that, because closed PRs still show up on people's profiles. That one's for the CoC process. If someone gets banned through it, the bot also closes anything they open in our repos from then on, and an org block stops them from opening issues, PRs or comments at all. @tobixen, you mentioned on Matrix that you'd like people to keep reporting issues on caldav without signing up, and that the real problem is drive-by AI pull requests. That makes sense, so each repo will be able to decide separately for issues, PRs and discussions: off, observe (just count) or enforce. caldav could gate PRs and leave issues open. If I got that wrong or you'd like to add something, please reply here so we have it all in one place. Bug reportsWith manual review people might wait a few days, and I don't want someone who just found a bug to have to wait. So a repo can add a "Bug report" issue form that puts a When a non-member uses it, the bot leaves the issue open and comments once, asking them to apply at join.pycal.org within 7 days or the issue will be closed.
A few other things I ran into
A few questions for you
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Due to the many low-quality contributions by GenAI users, we need a new flow.
Problems
Other Problems
AI puts young programmers out of jobs, so they are under pressure. Degrees alone lose trust, so they build a profile. We can assume generally more contributors.
Goals
Proposed solutions
These are solutions to problems.
joining process https://join.pycal.org
Addresses: P2.2, P3, P5, G1, G3, G4
Summary: Issues and pull requests are blocked for people until they agree to the Code of Conduct and the new AI policy.
General flow for new people:
Implementation: People are added to a new team after signing the policies. With this, we can make signing optional and migrate projects bit by bit.
TODO: on Pycal.org, add a sign button so that people can also sign the policies from there.
PR flow https://dashboard.pycal.org
Addresses: P2.1, P3, P4, G4, G6
Requires: G1, G4
Summary: Contributors learn the skills that are required to maintain a FOSS project and collaborate online, building a community through human interaction.
General flow:
badges https://dashboard.pycal.org
Addresses: P4, P5, G6, G7
Requires: G1, G4
Summary: When people contribute over time, we can award badges to them, e.g. for PRs & comments. The general incentive is to automatically assess that human interacted: E.g. review comment acknowledged, review given and it was upvoted (helpful) or review received and it got feedback. People who we value to have in the community should receive higher level badges automatically, so that we know the system reflects our values.
General flow:
not addressed
P1 too many contributions cannot be addressed and automated. What we can do is create an environment that retains people and knowledge for the right reasons: They appreciate contributing and staying around. That with the protections and mandatory review training should scale up.
G5 AI or slop in the issue tracker probably requires an extra review step. When an issue is found with AI, it does not automatically make sense, just because it is written by an external contributor.
All reactions