Repository navigation
fix: guardrails, disk-hygiene: narrow three destructive-guard matchers to their measured false positives - #10900
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review of PR #10900, head 3fc7b6e. I found no security issues. critical-findings: 0 No changed file matches disk-hygiene
guardrails
guardrails
Tests and docs. The test fixtures move out of the temp tree and add premise checks, so the existing "still blocks" rows keep asserting a block. I read the README, changelog fragments and test changes and found nothing that removes a control without an enforcing replacement. Spend. None. The change adds no model, turn or billing settings. |
|
claude-review reviewed I found no correctness bug in the three guard changes, but one acceptance criterion from #9779 is not met. I read the whole diff (10 files) and the PR context, and traced the new code paths by reading them. I ran no tests (no shell in this lane). Finding: acceptance criterion not met (blocking). #9779's Done-when says: "A stay-quiet test for each shape above fails on Things I traced and found sound:
Accepted residuals, as the PR documents them:
Spend: none; no billed resource or setting changes. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM6xdrXd Lane-Thread: PRRT_kwDOTCGFQM6xdrXh Lane-Thread: PRRT_kwDOTCGFQM6xdr1b
|
pr-unblock / address-feedback finished round 1 of max 4 on 08fec27. |
|
The pr-unblock lane stopped on this pull request and needs a person: an adjudicator found that a disputed review finding turns on what the change is meant to do, which a person decides.
To resume, deal with the reason above, remove the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=10900 -f activity=address-feedback |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=10900 -f activity=address-feedback |
Lane-Activity: pr-unblock/fix-ci
Lane-Activity: pr-unblock/fix-ci
Lane-Activity: pr-unblock/resolve-conflicts
|
The unattended merge path armed native auto-merge at head |
Closes #9779
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
Fix
git rev-parse --path-format=absolute --show-toplevel --git-common-dirfrom theDone-when 1: before/after
Each new stay-quiet row fails with origin/main's implementation and passes on this branch. The test files stay at the PR head; only the three implementation files (
destructive_guard.py,block-dangerous-git.sh,block-root-delete-target.sh) were restored from origin/main for the "before" run. PR head3fc7b6ecc27aa9abce5aaf9ab09230fdb7219408, origin/main53459a70ba14789b91b049ad382dd87d03378414.test_engine_gate_defers_a_reader_list_naming_the_enginetemp scratch repo: git reset --hard (allowed),... HEAD~1,git clean -fdx,git clean --force,from a subdirectory,git -C <temp scratch repo> reset --hard/clean -fdfrom outside temp,reset --hard allowed under the dispatcher too(direct, dispatched): 9 rowsa literal several statements before the delete allowed(direct, dispatched)a temp scratch literal used, then deleted, allowed(direct, dispatched)a second delete of the bound variable allowed (#9779)(direct, dispatched)a comment after the delete allowed (#9779)(direct, dispatched)a temp scratch literal deleted inside a subshell allowed(direct, dispatched)Ran 1 test ... OKPASS=920 FAIL=0PASS=2870 FAIL=0FAILED (failures=15),AssertionError: True is not falseattest_hygiene.py:10893PASS=911 FAIL=9PASS=2860 FAIL=10The 9 and 10 "before" failures are exactly the rows above; the still-blocks control rows pass on both sides.
Commands:
python3 -m unittest test_hygiene -k defers_a_reader_list_naming_the_engine(fromplugins/disk-hygiene/skills/clean/scripts),bash plugins/guardrails/hooks/block-dangerous-git.test.sh,bash plugins/guardrails/hooks/block-root-delete-target.test.sh.Verification
The runner ran each check from the base copy against 9571c1b:
The run reports:
enginevariable in test_hygiene.py) and shell-portability (a\<in a bash glob read as a GNU word boundary); both fixed, tLeft out: the items under Not verified.
Related
#9779