You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retire the CLAUDE.md Pointer File Now That Claude Code Reads AGENTS.md Natively #4074
Requested by the maintainer, 2026-11-11. Remove the CLAUDE.md pointer file from the fleet. Claude Code 2.1.277 and later reads AGENTS.md natively, per Claude Code memory: AGENTS.md.
The file exists only to import AGENTS.md (@AGENTS.md), because Claude Code read CLAUDE.md and not AGENTS.md. The hub's own CLAUDE.md says so, and RESYNC.md section 3 step 1 calls a repository carrying AGENTS.md without it a partial carry for that provider.
What the change has to settle
The version floor. A host running Claude Code older than 2.1.277 loads no fleet rules once the file is gone. Whether spec/host-tools.json and the host installers raise their Claude Code floor first, so the removal cannot strand a host, is part of this work. Verify the documented version and behavior before relying on them.
Every surface that names the file. These include spec/files.json, STANDUP.md, RESYNC.md, AUDIT.md, AGENTS.md "Where the Rules Live" and its preamble, the audit checks, and any skill text that mentions it. A retired carried file follows the hub's deletion route, so a resync removes it as a hub-only or retired finding rather than leaving it behind.
The host-wide block. Check whether the agent-safety kit's rendered host CLAUDE.md depends on the per-repository file. That tree is under host-setup/agent-safety/, so any edit there needs the maintainer's approval on the issue and his go-ahead on the pull request.
Done when
No fleet rule, spec entry, audit check, or procedure requires a repository-level CLAUDE.md. The hub's own copy is removed, and a resync removes it from each carrier.
Approved by the maintainer, 2026-11-11, for the host-setup/agent-safety/ part of this issue. host-setup/agent-safety/README.md lines 141 and 162 use "CLAUDE.md importing AGENTS.md" as their example of a loading fix, and may be reworded once the pointer file is retired. This approves the design only. The pull request carrying that edit merges only on the maintainer's go-ahead, given after reading its diff.
Answered by the maintainer, 2026-11-16, on the two questions this issue's "What the change has to settle" leaves open. Both answers come from checking the Claude Code memory docs against this issue.
Version floor: 2.1.281, enforced by the agent installer. 2.1.277 is the documented minimum for reading AGENTS.md. Before 2.1.281, though, some sessions (Amazon Bedrock, or telemetry disabled) still read CLAUDE.md only. host-setup/linux/install-agents.sh and its Windows counterpart install the latest release and have no Claude Code floor today. Add a 2.1.281 minimum that the installer's report flags and its upgrade fixes.
Silent fallback: the safety kit sets load-both. Claude Code reads AGENTS.md only when no CLAUDE.md, .claude/CLAUDE.md, or CLAUDE.local.md sits in the working directory or above it. With the pointer gone, a stray CLAUDE.local.md would silently stop the fleet rules loading. The kit writes instructionFiles: claude-md-and-agents-md under pluginConfigs > cc-plugin-agents-md@builtin in ~/.claude/settings.json. Claude Code reads that entry only from user, --settings, or managed settings. Before 2.1.285 the plugin ID was agents-md@builtin, but the 2.1.281 floor sits below that, so check which ID the floor needs. This approves that host-setup/agent-safety/ design. The pull request carrying it merges only on the maintainer's go-ahead, given after reading its diff.
Other documented differences to carry into the procedure docs: InstructionsLoaded hooks don't fire for an AGENTS.md read directly, and an --add-dir directory's AGENTS.md doesn't load.
Activity
ptr727 commentedon Nov 11, 2026
Approved by the maintainer, 2026-11-11, for the
host-setup/agent-safety/part of this issue.host-setup/agent-safety/README.mdlines 141 and 162 use "CLAUDE.md importing AGENTS.md" as their example of a loading fix, and may be reworded once the pointer file is retired. This approves the design only. The pull request carrying that edit merges only on the maintainer's go-ahead, given after reading its diff.ptr727 commentedon Nov 17, 2026
Answered by the maintainer, 2026-11-16, on the two questions this issue's "What the change has to settle" leaves open. Both answers come from checking the Claude Code memory docs against this issue.
AGENTS.md. Before 2.1.281, though, some sessions (Amazon Bedrock, or telemetry disabled) still readCLAUDE.mdonly.host-setup/linux/install-agents.shand its Windows counterpart install the latest release and have no Claude Code floor today. Add a 2.1.281 minimum that the installer's report flags and its upgrade fixes.AGENTS.mdonly when noCLAUDE.md,.claude/CLAUDE.md, orCLAUDE.local.mdsits in the working directory or above it. With the pointer gone, a strayCLAUDE.local.mdwould silently stop the fleet rules loading. The kit writesinstructionFiles: claude-md-and-agents-mdunderpluginConfigs>cc-plugin-agents-md@builtinin~/.claude/settings.json. Claude Code reads that entry only from user,--settings, or managed settings. Before 2.1.285 the plugin ID wasagents-md@builtin, but the 2.1.281 floor sits below that, so check which ID the floor needs. This approves thathost-setup/agent-safety/design. The pull request carrying it merges only on the maintainer's go-ahead, given after reading its diff.Other documented differences to carry into the procedure docs:
InstructionsLoadedhooks don't fire for anAGENTS.mdread directly, and an--add-dirdirectory'sAGENTS.mddoesn't load.Set a Claude Code 2.1.281 Floor and Load CLAUDE.md and AGENTS.md Both (…
Promote Develop to Main: Narrowed Observed-Data Rule and a Claude Cod…
Use One Deletion Set in Both Callers, and Correct the Retired-Path Text
Read Before Deleting in AUDIT.md, and Correct What a Retire Records
Say a Retire Entry Records Fleet Content, Not a Repository's Copy
Route a Retired File's Added Content by What It Is
Scope the Read-First Step to a Retired CLAUDE.md
Name the Read-First Step in the CLAUDE.md Ledger Reason
Say the Converge Preamble Reaches a Hub Copy Only Where One Exists
Read a Pin's Own Exemption List, and Scope the Converge Deletion
Point a Retired-Path Finding at Its Ledger Reason Before Deletion
Drop a False Rationale From the AUDIT.md Hub-Only Bullet
Re-Vendor Every Verbatim Finding in resync-a-repo Step 3
Name the Third Direct-Read Difference and Qualify the Kit's Load-Both
State Each Direct-Read Difference With Its Subject and Condition
Scope External-Import Approval to the Project and the Floor Note to R…
Scope the Floor Note, Name the Deletion's Subject, Define Carried-Sco…
Route an Import Line to the Maintainer, Read the Hub Tree Once
Hold a CLAUDE.md Holding an Import Until the Maintainer Answers
Delete a Retired CLAUDE.md Only on an Exact Past-Version Match
Let the Audit Decide Whether a Retired Copy Matches a Past Hub Version
Carry the Match Rule Into Section 4, Keep a Kept CLAUDE.md Gated
Match a Retired Copy by Content, Line Endings Aside
Retire the CLAUDE.md Pointer File (#4247)
Match a Retired Copy on Line Endings Alone (#4256)