docs: re-verify the apm 0.28.0 claims in hook and test comments
Checked against apm 0.39.3 live and in its source. The apm-audit-ci description and comments now give 15 root checks and 2 plugin checks, about 70 s through uv run, manifest-parse as a named row, and the new "nothing to scan" wording. The run-bats copytree note, the #204 git-env test header and its LESSONS entry say what holds on 0.39.3. Refs #272 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
1 parent
c2ba7f01bf
commit
7e63f22bf8
5 files changed
+45
-28
No files matched your search
@@ -7,7 +7,10 @@
|
||||
# drift replay runs `git init` / `git checkout` in a temp dir with an env copied
|
||||
# from os.environ, so the inherited GIT_DIR wins: `git init` wrote
|
||||
# core.bare=true into the shared .git/config, and a later checkout moved the
|
||||
# worktree's HEAD to the lock-pinned commit.
|
||||
# worktree's HEAD to the lock-pinned commit. apm 0.39.3 strips GIT_DIR from
|
||||
# its own git calls (git_subprocess_env, apm_cli/utils/git_env.py); the leak
|
||||
# was not reproduced again there, and this suite keeps the hooks' own scrub
|
||||
# pinned as defence in depth (#272).
|
||||
#
|
||||
# The stub `apm` below reproduces that pattern -- record GIT_DIR, then `git init`
|
||||
# and `git checkout` inside a fresh `mktemp -d` -- and each hook script is run
|
||||
|
||||
Reference in new issue
Block a user