Repository navigation
docs: make root CLAUDE.md a one-line @AGENTS.md import - #997
Merged
Merged
Conversation
Root CLAUDE.md was a manually-synced copy of AGENTS.md and has already drifted (missing the "Self review before push" and "Code Review Rules" sections). Keep AGENTS.md as the single source of truth. Claude Code >= 2.1.277 reads AGENTS.md natively when no CLAUDE.md exists, and the one-line `@AGENTS.md` import keeps channels that have not caught up yet (Bedrock / Vertex / Foundry) working. This stub is the near-term step of Tencent#783 before the root CLAUDE.md can be deleted.
|
No findings. The PR is documentation/instruction-only, and the description provides sufficient testing details. A real-CLI/e2e record is not required under the repository’s Code Review Rules. |
jeff-r2026
approved these changes
Oct 8, 2026
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.
Summary
Replace the root
CLAUDE.md— a manually-synced copy ofAGENTS.mdthat had already drifted (it was missing the "Self review before push" and "Code Review Rules" sections) — with a single-line@AGENTS.mdmemory import.AGENTS.mdbecomes the single source of truth: Claude Code ≥ 2.1.277 readsAGENTS.mdnatively when noCLAUDE.mdexists, and the import keeps channels that have not caught up yet (Bedrock / Vertex / Foundry) working until the root file can be deleted.Type of Change
Test Plan
Docs-only change (one file, no runtime code touched), so no e2e record per the review rules. Verified the repo gates still pass on the branch (Node v24.19.0, macOS arm64):
npx tsc --noEmitpassesnpx vitest runpasses (392 test files, 8126 tests passed, 20 skipped)npm run lintpasses (0 warnings, 0 errors)CLAUDE.md(checked CI workflows, scripts,skills/,src/and the test suite)Diff is exactly one file:
CLAUDE.md(+1 / −31).Related Issues
Part of #783 — the near-term stub step. The issue stays open for the later root
CLAUDE.mddeletion, which is gated on Bedrock / Vertex / Foundry support.Notes for Reviewers
~/.claude/CLAUDE.md, toolPaths,src/utils/claudemd.tsand its tests) are untouched, as the issue requires — this only changes the repo's own development-instruction file.codex-review-on-assignworkflow reads the base checkout'sAGENTS.md, so it is unaffected.CLAUDE.mdindocs/designs/multi-project-management.md(lines 550, 597) andCHANGELOG.mdwere left as-is to keep the diff surgical.