Commit b8a16be
docs(ci): stop hard-coding hook self-test deps in a comment (#14538)
The step comment claimed a fixed dependency set (jq + git only) for
the whole "Claude hook guard self-tests" step, but the step discovers
its matrices by glob (`find .claude/hooks -type f -name
'*.selftest.sh'`), so a new matrix can legitimately need more than the
two original ones did -- and one already does
(guard-governed-enqueue.selftest.sh needs `node` for real, to run its
two predicates). The comment never noticed; nothing catches that this
prose fell out of date, since check:step-collectors cannot see this
block (already admitted a few lines up).
Rewrite the dependency sentence to say what is true of the STEP
itself (jq + git, both already relied on bare elsewhere in this repo)
plus whatever each discovered matrix declares in its own header --
because discovery is by glob, a matrix needing more must say so
there, not here. Drop the stale "~2 s measured" figure along with it.
No other line moves: step name, run: script, find discovery, and the
rest of the "Hermetic by construction" paragraph are untouched.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 53d3689 commit b8a16be
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1343 | 1343 | | |
1344 | 1344 | | |
1345 | 1345 | | |
1346 | | - | |
1347 | | - | |
1348 | | - | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
1349 | 1352 | | |
1350 | 1353 | | |
1351 | 1354 | | |
| |||
0 commit comments