mirror of
https://github.com/akitaonrails/ai-memory.git
synced 2026-10-02 03:24:46 +08:00
The managed routing snippet directs agents to write durable project rules into "the project's canonical agent instruction file", and both the CLI hint and the docs steer that file toward AGENTS.md. Claude Code loads CLAUDE.md and does not read AGENTS.md, so a project that follows the recommendation without a bare `@AGENTS.md` import line in CLAUDE.md keeps its canonical rules out of context at session start. They stay reachable, since an agent acting on a prose "read AGENTS.md" pointer opens the file, which makes adherence contingent on the agent choosing to read them. State the precondition in SNIPPET_BODY, mirror it beside the `--target AGENTS.md` guidance in docs/install.md and docs/usage.md, and switch this repository's own CLAUDE.md from a prose pointer to the import. The committed AGENTS.md managed block is regenerated to match SNIPPET_BODY, as committed_agents_md_matches_snippet_body requires. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KqE9rQpsjqNK5mmpqmggL7
558 B
558 B
@AGENTS.md