Repository navigation
make AGENTS.md the default rule file - #273
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
There was a problem hiding this comment.
Graphify code review 
Reviewed · e3590a42f072
Updates agent instruction precedence so AGENTS.md becomes the default file Codex and most agents read at session start.
Full summary
Updates agent instruction precedence so AGENTS.md becomes the default file Codex and most agents read at session start. Claude Code 2.1.277+ follows it only when no CLAUDE.md exists in the project; otherwise the existing CLAUDE.md is used unchanged. Cursor continues to read .cursor/rules/, and the same rule text is appended without altering any prior file contents.
No blocking issues surfaced. 1 lower-confidence candidate did not survive cross-model review.
Code graph and static checks · 41 functions depend on this change
Impact & health
Impact — 41 functions depend on the 41 functions this change touches.
Health — grade A; no new coupling hotspots.
Formal checks — 41 functions this change can affect weren't formally checked in this review. Formal checks are informational only.
Health delta baseline: last indexed commit 445ead8 (diverged from this PR's base — delta is approximate).
Gate & verification
✅ PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.
Advisory (not blocking):
- verification_scope: 41 function(s) in the blast radius were not formally verified this run
Claude Code 2.1.277 started reading AGENTS.md when a project has no CLAUDE.md, so one AGENTS.md now covers Claude Code as well as Codex and most other agents. The setup steps for agents never said which file to create when none exists, and two cookbooks still sent Claude Code users to CLAUDE.md only. This makes AGENTS.md the default and keeps CLAUDE.md as the place to add the rule when a project already has one.