Repository navigation
docs(hook-budget): record onFailure probes on 2.1.294, CI's validator and a missing node - #11133
Conversation
… and a missing node Refs: #6755 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed No findings. This PR changes one docs file, I checked these against the repository:
Closing issue #9967 criteria:
The probe results themselves are author-claimed. I did not run any Spend: none. This is a docs-only change. |
|
claude-security-review reviewed No security issues found in this pull request. I read the whole diff (
critical-findings: 0 |
Closes #9967
Refs: #6755
Summary
#6755 asked whether
"onFailure": "block"on a plugin hook row is ignored, a load error, or honored on a pre-2.1.295 client, what CI's pinned validator says about it, and whether it denies a matched call whennodeis missing. This records the answers in the hook-budget contract, one row per probe with the client version.Fix
onFailureprobes subsection under the exec-form sweep indocs/contracts/hook-budget/README.md: 2.1.294 and 2.1.312 (CI pin)plugin validateaccept the key silently; a 2.1.294 session loads the row and ignores the key (the Bash call runs); on 2.1.314 the key denies the call both when the hook script fails and whennodeis not on PATH, while the control row lets the call through."onFailure": "block"on 2.1.295 or later, linking the probes.Verification
Bashrow whose script exits 1; each session asked for onetouchof a marker file, and the marker's presence showed whether the call ran. 2.1.294 was installed from npm into a throwaway directory; the global install was untouched.bash scripts/check-changelog-fragments.sh --check-required origin/mainexited 0;scripts/check-affected.sh --testson the committed head: 12 passed, 4 skipped.Related
🤖 Generated with Claude Code