Skip to content

docs: make root CLAUDE.md a one-line @AGENTS.md import - #997

Merged
jeff-r2026 merged 1 commit into
Tencent:mainfrom
jimpablo:docs/783-claude-md-import
Oct 8, 2026
Merged

jeff-r2026 merged 1 commit into
Tencent:mainfrom
jimpablo:docs/783-claude-md-import

Conversation

@jimpablo

@jimpablo jimpablo commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace the root CLAUDE.md — a manually-synced copy of AGENTS.md that had already drifted (it was missing the "Self review before push" and "Code Review Rules" sections) — with a single-line @AGENTS.md memory import. AGENTS.md becomes the single source of truth: Claude Code ≥ 2.1.277 reads AGENTS.md natively when no CLAUDE.md exists, 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

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature causing existing behavior to change)
  • Documentation only
  • Refactor / internal cleanup

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 --noEmit passes
  • npx vitest run passes (392 test files, 8126 tests passed, 20 skipped)
  • npm run lint passes (0 warnings, 0 errors)
  • Added/updated tests for the change — N/A: nothing in the repo reads the root 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.md deletion, which is gated on Bedrock / Vertex / Foundry support.

Notes for Reviewers

  • Product-level Claude paths (~/.claude/CLAUDE.md, toolPaths, src/utils/claudemd.ts and its tests) are untouched, as the issue requires — this only changes the repo's own development-instruction file.
  • The codex-review-on-assign workflow reads the base checkout's AGENTS.md, so it is unaffected.
  • Historical prose references to CLAUDE.md in docs/designs/multi-project-management.md (lines 550, 597) and CHANGELOG.md were left as-is to keep the diff surgical.

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.
@jeff-r2026 jeff-r2026 self-assigned this Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

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
jeff-r2026 merged commit a0989bc into Tencent:main Oct 8, 2026
14 of 15 checks passed
@jimpablo
jimpablo deleted the docs/783-claude-md-import branch October 8, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants