Repository navigation
docs(guardrails): record the #9768 delete guard arm's measured wall time - #13272
Conversation
Replaces the pointer to #5946 in the hook budget accounting with the figures from the Windows reference lane. Closes #5946 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-security-review reviewed Security review: PR #13272 at
|
|
claude-review reviewed Code review (incremental, since Scope. The push changed one file, Checked against the code and the PR:
Closing issue #5946. My earlier review noted that #5946 asked for the #9770 entry's figures to be checked, and that the README has no such entry. The new sentence now records that in the README. Not verified by me. The timing figures and host details are what the author reports. I could not reproduce them here. Other checks:
|
|
The pr-verify verifier failed head What it wrote (26 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #5946
Summary
This PR delivers the one item left on #5946, not the whole issue: the
block-root-delete-target#9768 entry in the hook budget accounting said its wall time "is recorded under #5946", and no measurement existed. This PR runs it and puts the figures in that entry. The common call shows no change outside noise; the four newly judged shapes cost +359 to +428 ms.Fix
plugins/guardrails/README.md: the feat(guardrails): follow eval, watch, wsl and piped-shell indirection to the delete #9768 entry's pointer becomes the measured figures.Verification
On
melo-lap-001's Windows lane (on AC, Git Bash 5.3.15, Node 24.21.0, hyperfine 2.0.0, harness sha256e1bbebb9…),2026-11-04T13:48Zto15:06Z, guardrails at772577404aagainst its parent. Sanity first: the head arm refused all 6 deny payloads, and the base arm let through the 4 that #9768 added (watch,cmd,echo | sh, heredoc).hyperfine -N, 300 runs per arm per payload in five alternating blocks, all exit 0:git status --shortrm -rf ./build(control)eval 'rm -rf build/x'wsl rm -rf build/xwatch rm -rf build/xcmd //c rd //s //q buildecho 'rm -rf build/x' | shbashheredocFan-out harness, 15 interleaved rounds of
--runs 7, paired median change:Bash−16 ms,$(…)+9 ms, against the untouchedWrite−3 ms andEdit+16 ms.Read these with one limit: the laptop was busy, with other lanes and my own #12891 eval runs alongside (S 19 to 66 ms, hyperfine floor 128 ms). The control moved −107 ms, so differences of that size are noise. The four increases are well above it.
#5946 also asked to check the #9770 entry's figures. The hook budget accounting has no #9770 entry to check: #9770 closed by leaving such an operand alone, which the README records as "a measured decision", and this PR adds a sentence saying so. No sub-issue of #5946 is open.
Left out: local test suites, since CI runs them and this changes prose only.
Remaining
Related
🤖 Generated with Claude Code