docs: apply the #272 review notes on the apm 0.39 docs

- Name kyberforge's SessionStart hook as a lock writer that can write
  the bad lock in a 0.28-populated checkout, with the recovery steps
  (README, AGENTS.md, gates.md).
- AGENTS.md: put the pinned-invocation rule above the lock-churn rule,
  make the bare-apm remark conditional on what PATH holds, and replace
  the two 0.28 migration notes with one pointer to gates.md
  "apm-audit-ci".
- Use one wording for the offline guarantee: a synced .venv/ and a
  populated apm_modules/.
- Say the #204 leak was not re-tested on 0.39.3, and narrow the claim to
  git_subprocess_env (gates.md, LESSONS.md, git-env test header).
- State the apm-audit-ci timing as 70-90 s, drop a duplicate README
  sentence, give the 0.39.3 shorthand error, reflow gates.md to about
  100 columns, and move the ADR-0033 note into amendment blockquote form.

Refs #272

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-12-02 12:25:51 +00:00
1 parent 66443e7458
commit db34dfa728
7 files changed
+71 -64

No files matched your search

@@ -6,14 +6,14 @@
check in Context and the apm behaviour in consequence 3) are pending re-verification on 0.39.3 under
#265, once apm is pinned per repo (ADR-0034). The Decision is unchanged.*
*Amended 2026-12-02 (holocron#272): re-checked on apm 0.39.3.*
- *The tag pattern holds in source: `apm_cli/marketplace/tag_pattern.py` still lists
`{name}-v{version}`. The synthetic-repo `apm outdated` run was not repeated.*
- *Consequence 3's shorthand failure holds. A scratch install of
`git.rkdr.net/Mortis/Holocron/plugins/lint#<tag>` fails with `Repository
Mortis/Holocron/plugins/lint not found on git.rkdr.net`. The tag in that run did not exist, but
the failure comes at repository resolution, before any ref is read.*
- *The `rstrip(".git")` bug is fixed in 0.39.3, which uses `removesuffix(".git")`.*
> **Amendment (2026-12-02, holocron#272) — the 0.28.0 claims re-checked on apm 0.39.3.**
> - The tag pattern holds in source: `apm_cli/marketplace/tag_pattern.py` still lists
> `{name}-v{version}`. The synthetic-repo `apm outdated` run was not repeated.
> - Consequence 3's shorthand failure holds. A scratch install of
> `git.rkdr.net/Mortis/Holocron/plugins/lint#<tag>` fails with `Repository
> Mortis/Holocron/plugins/lint not found on git.rkdr.net`. The tag in that run did not exist, but
> the failure comes at repository resolution, before any ref is read.
> - The `rstrip(".git")` bug is fixed in 0.39.3, which uses `removesuffix(".git")`.
## Context