Today no apm instruction is deployed: nothing lands in .claude/rules/, which only Claude Code reads. apm can write instructions between two markers in the root AGENTS.md (agents_md.mode: managed_section), which every tool reads, and which is under CODEOWNERS (as is all of .claude/).
What to do (when picked up)
Until this issue lands, no apm instruction is deployed.
Compile the managed section for a non-claude target only: target claude writes CLAUDE.md, which switches off AGENTS.md and is refused by the hook in #244.
On conflict, this repository's own AGENTS.md content wins over the managed section.
Shared rules take the map's rule form: the rule, a one-sentence reason, how it is held.
To decide when picked up
The always-loaded budget: the managed section counts against "applies to nearly every task".
Deferred by [Agent guard hook and permission allowlist](https://git.rkdr.net/Mortis/Kamino/issues/195): for much later, when the maintainer chooses.
## Why
Today no apm instruction is deployed: nothing lands in `.claude/rules/`, which only Claude Code reads. apm can write instructions between two markers in the root `AGENTS.md` (`agents_md.mode: managed_section`), which every tool reads, and which is under CODEOWNERS (as is all of `.claude/`).
## What to do (when picked up)
- Until this issue lands, no apm instruction is deployed.
- Compile the managed section for a non-`claude` target only: target `claude` writes `CLAUDE.md`, which switches off `AGENTS.md` and is refused by the hook in #244.
- On conflict, this repository's own `AGENTS.md` content wins over the managed section.
- Shared rules take the map's rule form: the rule, a one-sentence reason, how it is held.
## To decide when picked up
- The always-loaded budget: the managed section counts against "applies to nearly every task".
Until this issue lands, no apm instruction is deployed into .claude/rules/.
Compile the managed section for a non-claude target only: target claude writes CLAUDE.md, which switches off AGENTS.md and is refused by the hook in #244.
On conflict, this repository's own AGENTS.md content wins over the managed section.
Shared rules take the map's rule form: the rule, a one-sentence reason, how it is held.
Scope changed by [Making sure an agent actually loads the guidance](https://git.rkdr.net/Mortis/Kamino/issues/213) (decision 4):
- Until this issue lands, no apm instruction is deployed into `.claude/rules/`.
- Compile the managed section for a non-`claude` target only: target `claude` writes `CLAUDE.md`, which switches off `AGENTS.md` and is refused by the hook in #244.
- On conflict, this repository's own `AGENTS.md` content wins over the managed section.
- Shared rules take the map's rule form: the rule, a one-sentence reason, how it is held.
Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, #87 (comment)). The body is the spec; the earlier comments are history.
Nothing is deployed to .claude/rules/ today; CODEOWNERS covers all of .claude/, so the "leaves the CODEOWNERS pattern" item is dropped.
Kept from the comment: compile for a non-claude target only, this repository's AGENTS.md wins on conflict, shared rules take the rule form.
Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, https://git.rkdr.net/Mortis/Kamino/issues/87#issuecomment-12281). The body is the spec; the earlier comments are history.
- Nothing is deployed to `.claude/rules/` today; CODEOWNERS covers all of `.claude/`, so the "leaves the CODEOWNERS pattern" item is dropped.
- Kept from the comment: compile for a non-`claude` target only, this repository's `AGENTS.md` wins on conflict, shared rules take the rule form.
Claude
changed title from Move apm instructions from .claude/rules/ into a managed section of the root AGENTS.md to chore(agents): deploy apm instructions into a managed section of the root AGENTS.md2026-11-20 21:53:04 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Deferred by Agent guard hook and permission allowlist: for much later, when the maintainer chooses.
Why
Today no apm instruction is deployed: nothing lands in
.claude/rules/, which only Claude Code reads. apm can write instructions between two markers in the rootAGENTS.md(agents_md.mode: managed_section), which every tool reads, and which is under CODEOWNERS (as is all of.claude/).What to do (when picked up)
claudetarget only: targetclaudewritesCLAUDE.md, which switches offAGENTS.mdand is refused by the hook in #244.AGENTS.mdcontent wins over the managed section.To decide when picked up
Scope changed by Making sure an agent actually loads the guidance (decision 4):
.claude/rules/.claudetarget only: targetclaudewritesCLAUDE.md, which switches offAGENTS.mdand is refused by the hook in #244.AGENTS.mdcontent wins over the managed section.Body rewritten on 2026-11-20 to the final state of the comments above (final validation round of the map, #87 (comment)). The body is the spec; the earlier comments are history.
.claude/rules/today; CODEOWNERS covers all of.claude/, so the "leaves the CODEOWNERS pattern" item is dropped.claudetarget only, this repository'sAGENTS.mdwins on conflict, shared rules take the rule form.Move apm instructions from .claude/rules/ into a managed section of the root AGENTS.mdto chore(agents): deploy apm instructions into a managed section of the root AGENTS.md