Repository navigation
AGENTS.md : revamp - #29656
AGENTS.md : revamp#29656
Conversation
|
I agree, but creating or participating in a PR, should still be prohibited I think |
|
I agree @am17an |
|
@angt nothing in that file has stopped people from spamming PR threads, a better way is to just keep this in the CONTRIBUTING.md file and ban them if they violate this. Creating a PR I don't agree with, as we already do it quite a bit. |
There was a problem hiding this comment.
Agree that some parts of AGENTS.md need to modify, but IMO this version is too loose: certain actions like pushing new comments should not be permitted to be done automatically (which should be part of AGENTS.md, to communicate with agent what it can or cannot do)
Also, I don't think it "doesn't stop what it supposed to stop": at least, most PRs have Assisted-by and not Co-authored-by, and we also rarely see fully autonomous agent pushing PRs to the project.
Instead, I'd propose moving some of the actions to a bucket of "OK to proceed with human confirmation" instead of "not allowing doing at all". We should also have a look at linux kernel AI guidelines and maybe cherry-pick some points.
And lastly, now that we allow AI to write descriptions/issues/comments, I would propose requires a small disclosure if the text is 100% AI-generated, for transparency. This comes with the assumption that if the content is already generated, then adding such disclosure will add no costs.
|
|
||
| > [!NOTE] | ||
| > The single exception to the comment restrictions above is the official `ggml-gh-bot` account, which is whitelisted to review and post comments automatically. | ||
| - `llama-cli` is interactive by default, don't use it to test things. use `llama-completion` instead |
There was a problem hiding this comment.
llama-cli --single-turn will make it non-interactive and exit after first message
| ### Prohibited Actions | ||
|
|
||
| - Do NOT write PR descriptions, commit messages, or reviewer responses | ||
| - Do NOT commit or push without explicit human approval for each action. If the user explicitly asks you to commit on their behalf, use `Assisted-by: <assistant name>` in the commit message, do NOT use `Co-authored-by:` |
There was a problem hiding this comment.
I don't agree removing this point in particular, AI agents should not Co-authored-by
| git commit -m "..." | ||
| git push | ||
| gh pr create | ||
| gh pr comment | ||
| gh issue create | ||
| ``` |
There was a problem hiding this comment.
I don't feel comfortable letting agents run these command without human confirmation. What's the use case of it?
For example, if I'm a human writing a review comment, I expect another human to reply to me
|
@ngxson yes possibly this is too loose and we should find some sort of middle ground. At the moment I would be happy if we can erase this rule because it trips up on forks too even though we have forks are exempt rule. For myself I keep a separate AGENTS.md but still I have to spend 10-20 mins a day fighting with this rule in worktrees or agents picking up the upstream AGENTS.md. I also don't think we should be policing what people do with their AGENTS, we can simply ban them if they violate policies rather than making it difficult for everyone. TL;DR this file is personally making me less productive. |
|
I don't have a strong opinion on the contents of IMO we should write the contributing guidelines and rules as if we are in a perfect world where everyone is doing the right thing (no slop, no low-quality auto-generated comments/PRs, etc.). Moderation is a separate problem that we should fix by other means (filters, automated checks, bans, etc.). |
|
@am17an What about a middle ground like this:
@ggerganov I do think a small number of moderation rules must still be included in the file though, mostly for visibility. Agents usually acts without user's confirmation (like push a new PR, reply to a comment), and in some cases users are not aware of that until they are banned Self-note: probably requires agent to run |
|
That is good with me. We can keep iterating till everyone is reasonably happy with the workflow. We need to prioritize the developers who have to deal with this file on a day-to-day basis rather than stopping someone from creating a slop PR one time. I can easily ignore a slop PR but an agent refuse work because of this file is extremely annoying to me. |
I would not put this as a requirement, this should be in your personal AGENTS.md (I would much prefer this file be completely empty and guide the model using skills) |
|
We can simply even make it something like this: https://github.com/vllm-project/vllm/blob/main/AGENTS.md, it seems like a good AGENTS.md |
That code-review skill is equivalent of https://github.com/vllm-project/vllm/blob/main/AGENTS.md#2-development-workflow ; it includes: code style review, guide to run tests, etc. So still worth making a requirement after all? |
|
It can be kept, I think it will overall increase the quality of the PRs. |
|
FYI: I add the reference to It's not a requirement to run code review locally, but highly recommended |
08594e5 to
3f4e84e
Compare
|
@ggerganov @ngxson please approve this change. At least we should be not be policing downstream forks. |
could you also remove this part? The |
* agents: add note about skipping forks * rm critical line (cherry picked from commit bf79dbb)
* agents: add note about skipping forks * rm critical line
Overview
Let's enforce any contribution guidelines outside this very critical file. It causes too much pain for maintainers and it does not stop what it was supposed to stop.
Additional information
Requirements