Skip to content

docs(claude): bridge AGENTS.md into Claude sessions with a one-line import - #2887

Merged
kyle-sexton merged 1 commit into
mainfrom
docs/claude-md-agents-bridge
Aug 17, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
docs/claude-md-agents-bridge

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Summary

A one-line CLAUDE.md import bridges the synced AGENTS.md orientation into
Claude Code sessions, per the official docs: Claude Code reads CLAUDE.md, not
AGENTS.md (code.claude.com/docs/en/memory.md, fetched 2026-08-16), and
recommends creating a CLAUDE.md that imports it. Symlinks need admin rights on
Windows, so the @AGENTS.md import line is the portable bridge.

Fix

CLAUDE.md becomes exactly @AGENTS.md (single line, trailing newline).

This is an unhobble re-add with evidence, not a restoration of prose: the root
CLAUDE.md is deliberately 0 bytes from the bare-baseline resets
(melodic-software/standards#348), whose rule is that an instruction returns only
with ledger evidence. The evidence cited here is the managed-file
silent-overwrite failure mode that AGENTS.md exists to prevent, plus the
verified doc fact that AGENTS.md alone never loads into a Claude session. One
import line, no restored prose.

Verification

  • CLAUDE.md is one line (@AGENTS.md) plus a trailing newline, 11 bytes.
  • AGENTS.md confirmed non-empty at the default-branch HEAD before the change
    (952 bytes, via gh api with the raw media type).
  • CLAUDE.md is not a sync target in melodic-software/standards
    distribution/sync-manifest.yml (only AGENTS.md is), so this edit is
    repo-owned and will not be overwritten by the next standards sync.
  • No other files changed.

Related

No linked issue

🤖 Generated with Claude Code

https://claude.ai/code/session_012tKxg98B3QySqEPf8UqwX3

…mport

Claude Code reads CLAUDE.md, not AGENTS.md (code.claude.com/docs/en/memory.md,
fetched 2026-08-16), so the synced agent-orientation content in AGENTS.md
never loaded into Claude sessions here. The unhobble re-add rule is honored:
this is a single import line, not restored prose, and the evidence is the
managed-file silent-overwrite failure mode AGENTS.md exists to prevent plus
the verified doc fact that AGENTS.md alone never loads.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012tKxg98B3QySqEPf8UqwX3
@cursor

cursor Bot commented Aug 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@claude

claude Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 1m 36s —— View job


Claude code review complete

  • Gather context (PR diff, repo CLAUDE.md/AGENTS.md)
  • Understand the request (/review:code-review lane)
  • Review the change for correctness/maintainability
  • Post findings

Summary

This is a 1-line, docs-only change: CLAUDE.md goes from empty to a single line, @AGENTS.md (plus trailing newline). No code, tests, or build surface is touched.

Verified independently in this checkout:

  • git show HEAD:CLAUDE.md → exactly @AGENTS.md (single line).
  • AGENTS.md exists at repo root (git show HEAD:AGENTS.md, 1552 bytes at this HEAD) and is not empty, so the import target resolves and isn't dangling.
  • @path on its own line at the top of CLAUDE.md, pointing to a sibling file in the same directory, matches the documented Claude Code memory-import syntax (relative import, alone on its line) — there's no syntactic issue with the bridge itself.
  • No distribution/sync-manifest.yml exists in this repo (it lives in the external melodic-software/standards repo), so I could not independently confirm the PR's claim that CLAUDE.md is excluded from the sync manifest and therefore won't be silently overwritten by the next standards sync. That claim, and the references to melodic-software/standards#348/#397/#399, are author-claimed and unverified from within this repository.

No correctness or maintainability findings. The change is minimal, technically sound, and scoped exactly to what the PR describes — no inline comments to post.

@claude

claude Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @kyle-sexton's task in 37s —— View job


Security Review — /review:security-review

  • Gather context (PR diff, files changed)
  • Run /review:security-review procedure
  • Post findings / summary

Skip gate: stopped early — this PR has no security-relevant surface.

The entire change is a single line added to CLAUDE.md:

+@AGENTS.md

This adds an import directive that causes Claude Code to load the repo's AGENTS.md orientation doc into session context. AGENTS.md itself is unchanged by this PR and contains only plain orientation prose about the standards-sync policy (no instructions that could be construed as adversarial or injected). No code, no CI/workflow files, no permissions, no auth/access-control, no secrets/token handling, and no dependency pins are touched.

No security issues found. Nothing further to report for this lane.

@github-actions

Copy link
Copy Markdown
Contributor

Last security-reviewed head: a8d5923590a78109539e938073a7cd60fb57e5e3. On the next push, the relevance gate compares only the commits since this SHA; delete this comment to force a full re-review.

@github-actions

Copy link
Copy Markdown
Contributor

Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count.

@kyle-sexton
kyle-sexton merged commit adc7b8e into main Aug 17, 2026
1 check passed
@kyle-sexton
kyle-sexton deleted the docs/claude-md-agents-bridge branch August 17, 2026 07:47
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