
Lock Down Contributions
hynek merged 1 commit intomainpython-attrs/attrs:mainfrom lock-downpython-attrs/attrs:lock-downCopy head branch name to clipboard
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Code
Issues136 (136)
Pull requests42 (42)
Only collaborators can create PRsActions
Wiki
Security and quality
Insights
More items
Lock down contributions - #1674
#1674
Merged
hynek merged 1 commit intomainpython-attrs/attrs:mainfrom lock-downpython-attrs/attrs:lock-downCopy head branch name to clipboard
Nov 27, 2026
ConversationCommits1 (1)ChecksFiles changed
Merged
Lock down contributions#1674
hynek merged 1 commit intomainpython-attrs/attrs:mainfrom lock-downpython-attrs/attrs:lock-downCopy head branch name to clipboard
Conversation
hynek
commented
Nov 27, 2026
Copy link
Copy Markdown
Member
Currently we have 42 open pull requests, 99% of them are utter trash; 100% of them are AI slop. It's extremely demoralizing to have this constant influx of unhelpful crap and the only other alternative for me is to stop maintaining it wholesale.
After all the work I've put into making my projects approachable and easy to contribute, this makes me profoundly sad.
There was an error while loading. Please reload this page.
Lock down contributions
d37dafa
Hide details View details
hynek
merged commit af29c2a into
main
Nov 27, 2026
18 checks passed
Uh oh!
There was an error while loading. Please reload this page.
hynek
deleted the
lock-down
branch
November 27, 2026 09:40
webknjaz
commented
Nov 27, 2026
Copy link
Copy Markdown
Member
I've been trying to do some prompt injection via agents md to deter automatic spammers if you'd be interested in some prior art (or we could talk whenever we meet next time?)
@sirosen and I also worked through a policy for pip-tools and started adopting it in aio-libs. It's meant to be in the contributing file, though. But yeah, it's more permissive.. You seem to want ai;dr -> close which is more than fair.
I also like using https://github.com/apps/agentscanapp/installations/new (https://agentscan.tools) which labels PRs allowing me to tell whether something is likely to be slop sooner.
As for the issue/PR templates, I've started asking motivation and maintenance burden questions in the aiohttp projects (like "would you be able to maintain this for 5 years, eh?"), and there's required checkboxes to click now, which is great in general.
However, none of this actually works for agents because they don't load these files unless they're forced to. The only remedy is AGENTS.md telling them to read the templates and always follow them, deferring to the human at all times, never doing stuff automatically. And hoping that it works, because the probabilistic nature of the thing means that it might not bother looking at the template anyway. But it would help.
There was an error while loading. Please reload this page.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Copy link
Copy Markdown
Member
Author
You seem to want ai;dr -> close which is more than fair.
I want to be clear that this is not necessarily what I want. My AI policy was always on the liberal side, but the thing is that clanker clout chasers don't follow even that. They just DDoS projects in the hope something sticks and the amount that stuck doesn't justify the stress and mental load that it takes to separate the slop from the valuable.
I mean I still haven't closed them all because I want to go through them first, figure out what they're trying to achieve, and maybe fix it myself.
I don't give a shit what tools people use as long as I can't tell they're using it. Apparently that's a too high of a bar.
There was an error while loading. Please reload this page.
Copy link
Copy Markdown
They just DDoS projects in the hope something sticks
I feel this. One abuser in our project created 12 PRs in a few hours. Without us even reviewing their PRs, they put on their profile page the following:
Active contributor to production Python engines, distributed systems, and developer tooling:
and they listed our project as the first of many. A bad faith actor in the worst way.
We're also using https://github.com/MatteoGabriele/agentscan-action and https://github.com/marketplace/actions/anti-slop, and we're developing a tool that could help us handle the flood of AI slop. The key feature is that new contributors who submit a PR must give a PR review to, and request a PR review from, colleagues before a maintainer even looks at it, as well as satisfy automatically enforced criteria from the aforementioned GitHub apps.
Our primary objective is to work with people to develop a community around our project.
There was an error while loading. Please reload this page.
Copy link
Copy Markdown
must give a PR review to, and request a PR review from, colleagues
Not to derail this too much, so perhaps there's a documentation page I could read about such an approach? Is this some internal project, or who are the colleagues if it is a public one?
There was an error while loading. Please reload this page.
Copy link
Copy Markdown
@richlv I don't want to disclose it publicly yet. The system is in alpha, and the FOSS project is public on GitHub. You can reach me privately via https://fosstodon.org/@stevepiercy to discuss outside this thread.
A slightly different approach by FastAPI goes even farther to close issues, and instead use discussions. See https://github.com/fastapi/fastapi/discussions/new?category=questions.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。
