docs(gates): cite the reachable squash commit for the exit-2 split

a8cd5e8 was squashed into 598a7c3 (#129) and is reachable from no
branch, so the comments now cite the commit that exists on main.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-16 15:39:20 +00:00
parent 3d245dce5e
commit e4ed343d64
2 changed files with 2 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ FAIL=0
# silently disabled the whole ADR-0020 gate family while every hook reported
# green.
#
# Exit 2, not 1, for the same reason a8cd5e8 split validate-adapter.sh's usage
# Exit 2, not 1, for the same reason 598a7c3 split validate-adapter.sh's usage
# exits out: {0,1} are this script's verdict codes (clean / findings), and a
# caller that reads a non-zero exit as "the SKILL.md needs editing" must be able
# to tell a broken invocation from a real finding.

View File

@@ -734,7 +734,7 @@ expect_gate "a fixture with no authoring root reports DID NOT RUN and exits 0" \
# The script used to print nothing and exit 0 when handed no paths, which made
# a mis-scoped `files:` pattern indistinguishable from a corpus with no
# findings — the whole ADR-0020 gate family silently disabled while every hook
# reported green. Exit 2 (not 1) is the same split a8cd5e8 made in
# reported green. Exit 2 (not 1) is the same split 598a7c3 made in
# provider-adapter-author's validate-adapter.sh and the one vale-wrap.sh already
# used: {0,1} are verdicts, 2 is "you invoked this wrong".
#