Repository navigation
docs: add provisional root CLAUDE.md #144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3a8e49c
docs: add provisional root CLAUDE.md
kyle-sexton b56587c
docs: add root AGENTS.md (#139)
kyle-sexton 579dc92
docs: unbreak the REVIEW.md forward reference
kyle-sexton 10737e2
Merge remote-tracking branch 'origin/main' into docs/root-claude-md-p…
kyle-sexton ef43b4f
docs: point AGENTS.md's subtree-scoping advice at what Codex reads
kyle-sexton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| @AGENTS.md | ||
|
|
||
| ## Claude Code | ||
|
|
||
| <!-- | ||
| Provisional shape: root CLAUDE.md = @AGENTS.md import + this delta section, | ||
| per code.claude.com/docs/en/memory's own documented pattern for repos that | ||
| already have an AGENTS.md. | ||
|
|
||
| Open question this repository has not fully closed: whether managed Code | ||
| Review's CLAUDE.md consumption expands @import the same way normal session | ||
| loading does. code.claude.com/docs/en/memory describes CLAUDE.md @import | ||
| expansion as unconditional ("Imported files are expanded and loaded into | ||
| context at launch") with no carve-out for Code Review. By contrast, | ||
| code.claude.com/docs/en/code-review explicitly calls out REVIEW.md, and only | ||
| REVIEW.md, as NOT expanding @import ("pasted verbatim... referenced files | ||
| are not read into the prompt"). The absence of a similar carve-out for | ||
| CLAUDE.md is documentation-level evidence that CLAUDE.md's @AGENTS.md import | ||
| IS expanded for Code Review too — but it is not an explicit statement to | ||
| that effect, and it is not empirically verified on a live repo (Code Review | ||
| is Team/Enterprise-only; untestable on a Max-plan subscription). Re-verify | ||
| empirically, or get Anthropic support confirmation, before relying on a | ||
| mostly-@AGENTS.md CLAUDE.md for managed Code Review's nit-level checks on a | ||
| Team-plan rollout. Trigger: this repository or any consumer gains | ||
| Team/Enterprise Code Review access. | ||
| --> | ||
|
|
||
| Review-specific guidance belongs in `REVIEW.md`, not here. That file does | ||
| not exist in this repository yet (tracked separately); once it lands, link | ||
| to it here instead of naming it in prose. Managed Code Review reads | ||
| `CLAUDE.md` as general project context (nit-level findings only) and | ||
| `REVIEW.md` as review-only, highest-priority instructions — duplicating | ||
| review rules into this file would create two sources of truth for the same | ||
| behavior. | ||
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.
Uh oh!
There was an error while loading. Please reload this page.