Adding to AGENTS.md - #116
Open
Airwhale wants to merge 3 commits into
Open
Conversation
Draft PRs are the only remote state change an agent should make unprompted. Close, merge, ready, edit, comment, force-push and branch deletion are the maintainers' decisions -- that is what PRs are for. Written down because it was violated: a draft PR was created, Shaun closed it, and the agent then fired its own close at the already-closed PR and deleted the remote branch, which nobody had asked for. The ordering note matters more than the checklist. "Read remote state before writing to it" is good practice but is not the rule -- had the PR still been open, checking first would only have made the agent confident while doing the unauthorized thing. Permission comes before the lookup, not after it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Airwhale
marked this pull request as ready for review
August 3, 2026 16:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two rules for agents working in this repo, added to
AGENTS.md. Docs only — no code,no tests, no behaviour change.
Updated my AGENTS.md to get my agent to be a bit less permissive with the github repo. and to reinforce not reading a .env file.