Repository navigation
feat(review): label or require reproduced findings under a shared rule for running reviewed code - #16378
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
…sue-15833-43729478332-1 # Conflicts: # plugins/bugs/skills/scan/SKILL.md # plugins/bugs/skills/scan/context/verification-gate.md
- A refuted finding now drops to low confidence with one Dismissed line under both label and require, as the Brief's AC5 states; fanout, council, findings-file-shape, config docs, schema and userConfig agree. - A row the CRITICAL check already demoted gets one Dismissed line carrying both reasons. - A reproduce_findings_floor naming no tier is reported where the setting is resolved, and every row then goes to the gate. - quality-gate points its downstream-probe exception at the shared rule. - The unattended require eval fails when a Bash call runs the tree's tests or source (npm test, node --test, node -e), with pass and fail samples, and an llm grader replaces the narrow email regex. - Regenerate the skill cheat sheet for the new --unattended hints, spell labeled the US way, and keep the userConfig description under budget. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-security-review reviewed Security review, incremental (blocking only): no security issues foundThis was an incremental review from What was checked
No plugin manifest changed in this push. The prior summary finding listed 0 findings, so there is nothing to restate. critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only): no findingsScope: the changes since What I checked
Manifest: no manifest change in this increment. Closing issue: none to check. The PR refs #15833 and does not close it, so the context file has no closing-issue section. Not verified: this lane has no shell, so I ran no eval or test. Verifier dropped 0 of 0 candidates. |
…y check Refs: #15833 Co-Authored-By: Claude Fable 5.2 <[email protected]>
…rader The fix action now parses ## Dismissed and routes every dismissed or low-confidence row to surface-only, whatever its class, ahead of the cleanup and producer-owned routes; a row dismissed in any consumed file stays dismissed after the merge. Stage 5 writes "not reproduced: unattended run, nothing ran" in an unattended run and keeps the labeled reason for an attended one. The code and security reviewers run none of the reviewed code and audit dependencies by reading manifests and lockfiles, pointing at reference/run-reviewed-code.md. The eval's runs-no-reviewed-code grader skips double-quoted text, catches env -C, --prefix/-C/--cwd, npx, npm exec, corepack, bun, stdin and heredoc input, relative script runs and scripts outside the plugin root, and states that it sees the main session's calls only. The findings judge reads a copied findings file and has samples; a new grader checks the exact unattended Dismissed reason. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A package manager reads the tree's own configuration, which can name the registry it queries and the credentials it sends, so an audit command is not safe to run on an untrusted tree even when it builds nothing. The reviewer agents read manifests and lockfiles and name the command that would settle a doubt in the finding text, never in Action. A refuted row keeps its refuted reason in an unattended run. Refs: #15833 Co-Authored-By: Claude Fable 5.2 <[email protected]>
…sue-15833-43729478332-1
…r briefs The architecture-guardian agent and the phase-boundary brief still told reviewers that a dependency audit runs in the reviewed tree. The guardian now carries the run-none rule, and the security mode's remediation line names the audit command for the implementer's own checkout. Refs: #15833 Co-Authored-By: Claude Fable 5.2 <[email protected]>
Closes #15833
Summary
Adds one shared rule for running reviewed code, and an optional proof stage for review findings.
docs/contracts/run-reviewed-code/, copied into the bugs and review plugins. It holds the two consent forms (a person's yes to one exact command, and fix's red test under its own gate), the rule that nothing else runs reviewed code, the test for an unattended run (--unattended,CLAUDE_CODE_REMOTE,claude -p, an autonomous loop), the downstream-probe exclusion, the four evidence labels, and the refute-gate prompt that used to live in/bugs:scan'sverification-gate.md.reference/findings-normalization.md, run by/review:fanout(both review modes) and/review:council. It is set byreproduce_findings(offby default,label,require) andreproduce_findings_floor(IMPORTANTby default). A floor naming no tier is reported and every row is attempted.finding-proveragent that holds only Read, Grep and Glob. An attended run asks the person before each proposed check; an unattended run runs none. Labels go into a new## Evidencesection.refutedrow drops tolowconfidence with one## Dismissedline under bothlabelandrequire. Underrequire, unreproduced rows are demoted the same way, and an unattended report opens with a nothing-could-be-checked line. Underoffthe report is unchanged.not reproduced (refuted): <argument>for a refuted row in every run; otherwisenot reproduced: unattended run, nothing ranin an unattended run andnot reproduced (<label>): <basis>in an attended one. A row demoted twice gets one line carrying both reasons.lowrow and never applies it or hands it to a producer skill, whatever its class; a row dismissed in one consumed file stays dismissed when merged with the byte-identical row from another.code-reviewer,security-reviewerandarchitecture-guardianagents run none of the reviewed code. They audit dependencies by reading manifests and lockfiles and run no audit command in the reviewed tree, because a package manager reads the tree's own configuration, which can name the registry it queries and the credentials it sends. A command that would settle a doubt is named in the finding text.--unattended;/bugs:scannow also counts the environment as unattended.reproduce_findings: labelindocs/conventions/review.yaml, and its pipeline example passes--unattendedto the fan-out activity.Design choices: labels sit in a separate
## Evidencetable because the fix action parses the## Findingstable; council resolves the two keys the way fanout does (setup-apply --checkat the merge base, the repository layer skipped when the change editsreview.yaml); fix's own gate is untouched.Remaining work
requiremoved to Let the pr-verify capture record a command-running skill's drive run #16383 (owner, 2026-11-15).labelstarts also moved to Let the pr-verify capture record a command-running skill's drive run #16383 (owner, 2026-11-15). A local drive of/review:fanout run-everythingon a scratch repository stopped before its first turn: the restricted local launch denies Bash at the skill's first line.Later work
/bugs:scan's refute gates without a shell (the Brief's deferred question on this) is not part of this change.Not verified
fanout-require-unattended-keeps-findingspasses the evals validator and its graders' samples only.tool_usedgrader counts a subagent's calls. It also misses wrappers such asnice,sudoandfind -exec.doc-drift-detectorandlane-verifierhold Bash and carry no run-none line; nothing in them tells them to run anything.plugins/bugs/reference/run-reviewed-code.md, not under the scan skill's folder.Fix
docs/contracts/run-reviewed-code/README.mdand its two generated plugin copies;scripts/shared-copies.txt,scripts/cross-plugin-source-registry.txt,docs/plugin-philosophy.md.plugins/bugs/skills/scan/(SKILL.md,context/verification-gate.md,context/findings-report.md) andplugins/bugs/README.md: the unattended test and the pointer to the shared rule.plugins/review/reference/(findings-normalization.md,findings-file-shape.md,config.md),plugins/review/schemas/review.schema.json,plugins/review/.claude-plugin/plugin.json,plugins/review/README.md: the stage, the two settings and the report shape.plugins/review/agents/finding-prover.md: the new gate agent.code-reviewer.md,security-reviewer.md,architecture-guardian.md: the run-none rule.plugins/review/skills/fanout/(SKILL.md,context/run-everything-mode.md,context/fix-pass-mode.md),plugins/review/skills/council/SKILL.md,plugins/review/skills/quality-gate/(SKILL.md,context/downstream.md,context/phase-boundary.md,context/security.md),plugins/review/skills/setup/SKILL.md.plugins/review/evals/fanout-require-unattended-keeps-findings/: the eval case.docs/conventions/review.yamlanddocs/conventions/pr-pipeline/examples/claude-code-plugins.yaml.Verification
scripts/sync-shared-copies.sh --check: all 906 registered copies match.scripts/check-changed-skills.sh --merge-base: 5 skills checked, 0 failed.scripts/check-convention-yaml.sh --checkandsetup-apply.mjs --check: passed.plugins/review/skills/setup/scripts/setup-apply.test.sh,plugins/review/tests/turn-budget.test.sh,plugins/review/tests/fanout-sweep.test.mjs: passed.plugins/review/evals: 0 FAIL;check-matchers.py: ok.CI Statuson the head.Related
#15833
🤖 Generated with Claude Code