Skip to content

Retire the CLAUDE.md Pointer File Now That Claude Code Reads AGENTS.md Natively #4074

Closed

Description

@ptr727

Decision

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.

Activity

  1. added
    enhancement
    on Nov 11, 2026
  2. ptr727 commented on Nov 11, 2026

    @ptr727
    OwnerAuthor

    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.

  3. ptr727 commented on Nov 17, 2026

    @ptr727
    OwnerAuthor

    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.

  4. added 20 commits that reference this issue on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions