fix(kyberforge): apply the #273 review to the apm 0.39.3 refresh
- apm-workflow and apm-orchestrate always pass --project to uv run, because uv run outside the project silently runs the PATH apm. The agent now checks that the reported version equals the pin, or is 0.39.2 or later where nothing pins it, not only that it exits 0. - A pin is a quoted apm-cli or apm_cli requirement plus a uv.lock, matching the SessionStart hook, in apm-install, uv-pin.md and apm-workflow. - uv-pin.md spells the hook's exact invocation and its environment check, and says scripts always pass --project. - instructions-author and its research note: a Claude rule leaves .claude/rules/ only when compile actually wrote it into AGENTS.md; install-then-compile dedups it. - prompt-author: Kiro strips every key with a warning, not silently. - Record the 0.39.3 executables findings in approvals-and-executables.md and the output-profile and type-routing facts in cli-reference.md, and cite those digests. - forge's routing table notes that Kiro gets the body only. Refs: #273 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
c68b67301a
commit
e6d680a4c5
14 files changed
+49
-26
No files matched your search
@@ -36,9 +36,9 @@ At user scope Cursor, Windsurf and Antigravity do not deploy, and Kiro and the r
|
||||
|
||||
apm 0.38 and later split Claude's instructions between the two.
|
||||
|
||||
- Install deploys every instruction to `.claude/rules/` first.
|
||||
- Compile writes the bodies into `AGENTS.md` and a `CLAUDE.md` that holds only `@AGENTS.md`.
|
||||
- Once a compiled `AGENTS.md` carries an unscoped rule, the next install deletes its `.claude/rules/` copy ("Retired ... AGENTS.md now carries it"). The source also routes a rule scoped to `**`, `**/*` or exactly one literal `dir/**` this way. File-type globs such as `**/*.py`, wildcard directories and lists stay in `.claude/rules/`.
|
||||
- Install deploys each instruction to `.claude/rules/`, unless a compiled `AGENTS.md` already carries it.
|
||||
- Compile writes the bodies into `AGENTS.md` and a `CLAUDE.md` that holds only `@AGENTS.md`, leaving out any instruction already in `.claude/rules/`.
|
||||
- A rule moves out of `.claude/rules/` only when compile actually wrote it into `AGENTS.md`: compile ran before install, `--force-instructions` was passed, or the compile also served a target with no dedup. The next install then deletes the `.claude/rules/` copy ("Retired ... AGENTS.md now carries it"). Install-then-compile dedups every deployed rule, so they all stay in `.claude/rules/`, and compile-then-install never deploys the unscoped rule there. The source also routes a rule scoped to `**`, `**/*` or exactly one literal `dir/**` this way. File-type globs such as `**/*.py`, wildcard directories and lists stay in `.claude/rules/`.
|
||||
- From the source, not run: these keep every instruction in `.claude/rules/`, with a warning: a hand-authored root `CLAUDE.md` without an `@AGENTS.md` import; a hand-authored root `AGENTS.md` without `compilation.agents_md.mode: managed_section` and one pair of `<!-- apm:start -->`/`<!-- apm:end -->` markers; a symlinked `AGENTS.md`. Compile never overwrites a hand-authored root file. User scope never routes to `AGENTS.md`.
|
||||
|
||||
## Field survival
|
||||
|
||||
Reference in new issue
Block a user