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:
Defame1297andClaude Opus 5.5 committed 2026-12-02 11:49:22 +00:00
1 parent c2ba7f01bf
commit 7e63f22bf8
5 files changed
+45 -28

No files matched your search

+8 -5
View File
@@ -22,7 +22,8 @@
# * no apm.lock.yaml in the package -> `lockfile-exists` fails with
# "apm.yml declares dependencies but apm.lock.yaml is absent"
# * an apm.lock.yaml in the package -> `lockfile-exists` passes and thereby
# arms the other nine checks, and `drift` then fails demanding the
# arms the rest of the root check set (nine more on apm 0.28.0, fourteen
# on 0.39.3), and `drift` then fails demanding the
# dependency's skills be DEPLOYED inside the package
# (plugins/<pkg>/.agents/skills/...), which is meaningless for a package
# and additionally litters it with an apm_modules/ tree
@@ -35,10 +36,12 @@
# WHAT IS DELIBERATELY NOT WAIVED
#
# Dropping `--ci` in package directories would have been the smaller change and
# is WRONG. Verified on apm 0.28.0 against a scratch package whose dependency
# entry carried no git/path/registry field: `apm audit --ci` exits 1 naming the
# field, while plain `apm audit` prints "No apm.lock.yaml found -- nothing to
# scan" and exits 0. Malformed-dependency detection is the reason gates.md gives
# is WRONG. Verified on apm 0.28.0, and again on 0.39.3 (#272), against a
# scratch package whose dependency entry carried no git/path/registry field:
# `apm audit --ci` exits 1 naming the field (a failing manifest-parse row on
# 0.39.3), while plain `apm audit` exits 0 with "nothing to scan" ("No
# recognized deployed primitives found" on 0.39.3, "No apm.lock.yaml found"
# on 0.28.0). Malformed-dependency detection is the reason gates.md gives
# for auditing packages at all, and a package WITH dependencies is the only kind
# that can carry a malformed dependency entry -- so the check would have been
# discarded precisely where it earns its keep.