Repository navigation
test(testing): pin a negative remedy assertion for rule-throw-only-oracle - #7181
Conversation
…acle The throw-only-oracle remedy had two positive pins and no negative one. Assert it is not the weak-oracle remedy, and move the detector-findings adopter tally for testing:audit from 7 of 13 to 8 of 13 (convention 3.7.1). Closes #6386 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L8KdG7fWg2YrErVYWtohmR
|
The lanes run once the PR is marked ready. That flip waits for Kyle, because it also starts the review lanes. Until then, the local runs listed under Verification in the PR body are the signal. Generated by Claude Code |
…negative-remedy # Conflicts: # docs/conventions/detector-findings/CHANGELOG.md
… README cites it Two prose counts in the detector-findings README still said seven of thirteen after the adopter row moved to eight. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6SjPvY7DmXBGzboeCq8nj
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W6SjPvY7DmXBGzboeCq8nj
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 finished @kyle-sexton's task in 49s —— View job Security review complete
No security-relevant surface. All four changed files are test/docs:
No secrets, credentials, command/path/template injection, or authorization logic touched by this diff. Nothing to flag. claude-lane-summary: lane=claude-security-review sha=4182a80dd2d98385524d06c8fa213815e660dc39 run=38403720777 |
|
Claude finished @kyle-sexton's task in 2m 33s —— View job Code review complete
Scope reviewed: all 4 changed files ( Findings: none. What I checked:
claude-lane-summary: lane=claude-review sha=4182a80dd2d98385524d06c8fa213815e660dc39 run=38403720718 |
|
claude-security-review has reviewed this pull request through 4182a80; a later push is reviewed from there. |
|
claude-review has reviewed this pull request through 4182a80; a later push is reviewed from there. |
Requested by Kyle · project thread
Closes #6386
Summary
Before:
rule-throw-only-oracle's remedy had two positive pins incant-fail-scan.test.shand no negative one. The detector-findings adopter row fortesting:auditread 7 of 13 and listed the rule as owed its negative.After: the test also checks that this remedy is not the weak-oracle remedy ("Assert the value the code should produce"). The adopter row reads 8 of 13, with all eight report-only rules pinned positive and negative.
Fix
plugins/testing/skills/audit/scripts/cant-fail-scan.test.sh: oneassert_not_containsafter the two existing throw-only pins.docs/conventions/detector-findings/README.md: thetesting:auditrow's tally changes from 7 of 13 to 8 of 13, in both the summary cell and the bold "Remedy assertions" sentence. The "owed its negative" wording is gone.docs/conventions/detector-findings/CHANGELOG.md: a[3.7.1]patch entry (docs-only). That file defines a new adopter tally as no change to a producer-owned rule.scripts/check-changelog-fragments.sh --check-required origin/mainreports that the change touches no fragment-mode plugin's shipped files.Verification
bash plugins/testing/skills/audit/scripts/cant-fail-scan.test.sh: the new assertion passes,PASS: throw-only remedy is not the weak-oracle remedy. The run was stopped partway when the overnight run was wound down: 1,283 PASS and 0 FAIL at that point, not a completed suite. CI'stest-bashlane, which runs once the PR is ready, is the full signal.scripts/check-changelog-fragments.sh --check-required origin/main: pass.markdownlint-cli2on the two changed docs: 0 issues. No em dashes added.scripts/affected-tests.sh --base origin/main --run.Related
[Then]steps in the cannot-fail scan) also editscant-fail-scan.test.sh, in different lines.🤖 Generated with Claude Code
https://claude.ai/code/session_01L8KdG7fWg2YrErVYWtohmR
Generated by Claude Code