Repository navigation
feat(review): return a hold only for the cost, trust-gate and critical-security classes - #9342
Conversation
…l-security classes The review lanes' structured output gained an optional hold field. Both review skills now fill it only for the owner's hold classes: cost (code lane), trust-gate, and critical-security (CRITICAL only; the code lane only where no security lane runs). A hold adds nothing to the findings count, and every other flag stays a normal finding. A change in a hold class is no longer eligible for the code lane's trivial-change skip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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. |
…urface skip Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
claude-security-review reviewed No security issues found in this pull request at a0a06fd. I read the full diff. It touches three files: a changelog fragment,
critical-findings: 0 |
|
claude-review reviewed No findings. I read the whole diff (3 files) and the PR context. Neither the PR body nor the issue context asks for anything beyond what the diff does.
I did not fetch the pinned ci-workflows v0.64.0 schema, so I could not confirm that the |
Refs: #9276
Summary
PR 7 of the native-merge plan. The review lanes in ci-workflows v0.64.0
pr-review-cli.ymlaccept an optionalholdfield (criteriafromcost,trust-gate,critical-security, plus areason), and the prompt tells the model to return one "only when the review command says to hold the pull request for a person". Until now neither review skill said when to do that. This PR adds that rule.Fix
/review:code-review: returnholdonly forcost(a change that adds or raises model or API spend, the class/source-control:babysit-prsratescost-review-required),trust-gate(.github/standards/trusted-actors/**,.github/actions/check-trusted-trigger/**,CODEOWNERS,.gitmodules), andcritical-securityonly where no security lane runs. A change in a hold class is no longer eligible for the trivial-change skip./review:security-review: returnholdonly forcritical-security(CRITICAL only, per owner answer OD-4) andtrust-gate.critical-findingscount. Every other flag, manifestflaglines included, stays a normal finding. With noholdfield in the schema (older wrappers, seat-run mode), the skills return none. The skills write noHold:lines..changes/review/,bump: minor.Verification
/skill-quality:checkon both skills: PASS, 0 errors. The warnings were already there (body length, no## Next) apart from the expected body-growth warning.scripts/check-affected.sh --tests: 12 passed, 2 skipped (no shell, no Python changed).Related
apply-review-holdcomposite that reads the field).trust-gateby path whatever the model returns.🤖 Generated with Claude Code