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

+1 -1
View File
@@ -154,7 +154,7 @@ repos:
# serve one. A gate that can never go green is not a gate. Revisit if
# this repo ever gains a policy source apm can actually reach.
#
# Takes about 70 s for the root plus every plugin through `uv run` on
# Takes 70-90 s for the root plus every plugin through `uv run` on
# apm 0.39.3 (about 0.5 s per package on 0.28.0). Needs no network ONCE
# `uv sync --frozen` and `uv run --frozen apm install` have each run
# once -- the root marketplace has no remote package