Repository navigation
docs(agents): remove rules AGENTS.md repeats from CONTRIBUTING.md - #3950
Conversation
…se's AGENTS.md did not say who owns the code. Coding agents act on that: told a codebase is their own, current Claude models merge repeated code and make related fixes nobody asked for. A contributor whose personal agent instructions say that for their own projects would carry it into this repository. AGENTS.md now says the project owner decides how the codebase is built. An agent whose own instructions do not say it works for the project owner changes what the task needs, leaves the rest of the structure alone, and reports nearby problems instead of fixing them. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
AGENTS.md loads into every coding-agent session, and about a fifth of it repeated what CONTRIBUTING.md already says: the pull request, evidence, and issue-link rules, the test policy, and the lint guidance. Remove the repeated text and point to the CONTRIBUTING.md section instead. AGENTS.md keeps what an agent needs in every session and the rules with no other home. CONTRIBUTING.md gains two pull-request-time rules that had no public home: what the Validation tasks line is for, and keeping the Closes and Related issue lines accurate when a pull request's scope changes. Beyond removing repeats: the ask-first rule now names a workflow the developer runs as asking, and the babysitting bullet, the after-merge validation hand-off, and the "Working from a plan" note are gone because they describe maintainer or personal workflow, not rules for every contributor. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
… docs/agents-md-trim
Problem
Related issue: N/A
Validation tasks: none
AGENTS.mdloads into every coding-agent session in this repository, and about a fifth of it repeated rules thatCONTRIBUTING.mdalready states: the pull request, evidence, and issue-link rules, the test policy, and the lint guidance. Agents carried that text through every session, including the many that never open a pull request, and each repeated rule had to be kept in step in two files by hand. This change removes the repeats fromAGENTS.md, points to theCONTRIBUTING.mdsection instead, and gives two pull-request-time rules that had no public home a place inCONTRIBUTING.md.Approach
AGENTS.mdgoes from 3,363 words to 2,705. It keeps what an agent needs in every session and every rule that has no other home:CONTRIBUTING.mdanddocs/ai-contributions.mdlink to;make lint-changed,t.Skip, andWEBTEST_KNOWN_FAILURESguards.The Tests section now points to "Decide what to test", and the Pull requests section points to "Open the pull request". The "Docs audience" note becomes a pointer to "Before you start", and a sentence in "What Silo is" that repeated the opening paragraph is shortened. The architecture, glossary, non-goals, and data gotchas are unchanged.
CONTRIBUTING.mdgains two short passages under "Open the pull request": what theValidation tasks:line is for, which the pull request template required but the guide never explained, and keeping theClosesandRelated issue:lines accurate when the scope changes.Four changes go beyond removing repeats, so they are worth a look:
This branch includes the commit from #3949, which adds a paragraph near the top of
AGENTS.md, so that CI checks the two changes to that file together. Merge #3949 first; this pull request then adds only the changes described above.Validation
make verify-local-paths,make verify-bidi, andmake verify-case-collisionspass, on this change alone and on the tree combined with docs(agents): tell contributor agents to treat the code as someone else's #3949.AGENTS.md,CONTRIBUTING.md, anddocs/ai-contributions.mdresolve, includingAGENTS.md#writingandAGENTS.md#pull-requests.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/agents-md-trim/
No user-visible change. The page lists the checks above.
Risks
An agent that does not follow the pointer before adding a test or opening a pull request now sees less of the rule in
AGENTS.md. Each pointer names theCONTRIBUTING.mdsection and says when to read it.silo-appleandsilo-androidcarry older copies of the Writing and Pull requests sections; this change does not touch them.Checklist
AI Disclosure
/api/v2additive-only rules read as binding before the 1.0 lock), three dropped details with no other home, and one pointer to the wrongCONTRIBUTING.mdsection. All five are fixed. It found no broken links, contradictions, or false statements.🤖 Generated with Claude Code
Note
Remove rules duplicated between
AGENTS.mdandCONTRIBUTING.mdValidation tasks:line, and treat unintended breaks of passed cases as regressionsClosesandRelated issue:lines must stay accurate if PR scope changesMacroscope summarized affef0a.