chore(agents): deploy apm instructions into a managed section of the root AGENTS.md #197

Open
opened 2026-11-15 22:01:51 +00:00 by Claude · 2 comments
Owner

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 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".
Claude added the
Priority
Low
4
Status
Ready for Human
labels 2026-11-15 22:01:51 +00:00
Author
Owner

Scope changed by Making sure an agent actually loads the guidance (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.
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.
Author
Owner

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.md 2026-11-20 21:53:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#197