Skip to content

Track CLAUDE.md as a symlink to AGENTS.md - #292

Merged
fliingelephant merged 1 commit into
mainfrom
track-claude-md
Aug 7, 2026
Merged

fliingelephant merged 1 commit into
mainfrom
track-claude-md

Conversation

@fliingelephant

Copy link
Copy Markdown
Collaborator

Why

Commit 262a575 (Apr 30) untracked CLAUDE.md on the premise that Ion manages it. The premise does not hold: only ion init creates the link, and nothing in the harness — make skills, /onboard, CI — ever runs it. Since then every fresh clone has no CLAUDE.md, so Claude Code sessions load zero project instructions (verified: the memory walk reads CLAUDE.md/CLAUDE.local.md only). Codex reads AGENTS.md natively and was unaffected — challenge teams on Claude Code were not.

What

  • Track CLAUDE.md as a symlink (mode 120000) to AGENTS.md — every clone and worktree gets it by construction, no install step.
  • Drop the stale CLAUDE.md gitignore line.
  • Update the AGENTS.md convention note to match.

Ion stays compatible: ion init recognizes a symlinked CLAUDE.md as already managed.

Note for Windows checkouts

Without symlink support (core.symlinks=false), git materializes CLAUDE.md as a plain file containing AGENTS.md — harmless but inert. Native-Windows users already set up Git for Windows for make; enabling Developer Mode or git config core.symlinks true restores the real link.

🤖 Generated with Claude Code

Commit 262a575 untracked CLAUDE.md on the premise that Ion manages it,
but only 'ion init' creates the link and nothing in the harness runs it.
So every clone since 2026-04-30 loads no project instructions in Claude
Code sessions (Codex reads AGENTS.md natively and was unaffected).

Track the symlink itself: every clone and worktree gets it by
construction, with no install step. Drop the stale gitignore line and
update the AGENTS.md convention note.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@fliingelephant
fliingelephant merged commit f46e717 into main Aug 7, 2026
2 checks passed
@fliingelephant
fliingelephant deleted the track-claude-md branch August 7, 2026 06:31
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