Skip to content

docs: make AGENTS.md canonical#96

Merged
j7an merged 1 commit into
mainfrom
docs/agents-md-canonical
Jun 28, 2026
Merged

docs: make AGENTS.md canonical#96
j7an merged 1 commit into
mainfrom
docs/agents-md-canonical

Conversation

@j7an

@j7an j7an commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Make root AGENTS.md the canonical complete agent guidance document.
  • Reduce .claude/CLAUDE.md to a single Claude Code import: @../AGENTS.md.
  • Preserve the existing guidance body verbatim except for the planned H1 change.

Verification

  • bats tests/ - 309/309 passing; existing BW01 fixture warning observed.
  • ./scripts/check-inline-sync.sh
  • ./scripts/lint-workflow-call.sh
  • ! grep -q '^@' AGENTS.md && echo "OK: no @ imports"
  • cat .claude/CLAUDE.md - prints @../AGENTS.md

Review

  • Task-scoped subagent review: approved, no findings.
  • Final branch subagent review: ready to merge, no findings.

Non-Claude agents read AGENTS.md as plain markdown and do not expand
Claude Code @-imports, so the prior AGENTS.md -> @.claude/CLAUDE.md
indirection gave them no guidance. Move the full body into AGENTS.md
and reduce .claude/CLAUDE.md to @../AGENTS.md. Documented Anthropic
pattern: https://code.claude.com/docs/en/memory
@j7an j7an merged commit 5997f20 into main Jun 28, 2026
4 checks passed
@j7an j7an deleted the docs/agents-md-canonical branch June 28, 2026 21:58
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.

1 participant