Repository navigation
fix(review): keep rating steps and security concerns from restating findings - #1760
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed October 8, 2026, 5:57 AM ET / 09:57 UTC. ClawSweeper reviewWhat this changesThe branch tells reviewers to avoid repeating findings in rating steps and security concerns, and advances the review policy version. Example: A maintainer reads a review with five findings and a low patch rating.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a useful, narrowly scoped correction with shipped-CLI evidence and no actionable patch findings. Current main contains the broader deduplication rule but lacks these specific instructions. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherClawSweeper supplies review rules to a model that produces structured PR assessments. Those assessments become GitHub review comments and Before-merge checklists. flowchart TD
A[PR source and discussion] --> C[Model review]
B[Review rules] --> C
C --> D[Findings and assessments]
D --> E[Checklist renderer]
E --> F[GitHub review comment]
Technical reviewBest possible solution: Keep remediation in its owning assessment field while preserving distinct security and proof obligations. Do we have a high-confidence way to reproduce the issue? No deterministic current-main reproduction was established; the PR supplies a concrete hosted-versus-branch CLI comparison, but model wording varies between runs. Is this the best way to solve the issue? Yes. Clarifying the shared model instructions addresses semantic duplication without adding a competing string-matching deduplication layer. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against dbd42faaac59. Provenance checked
TestingProof path: shipped entry point. Added test files: 0. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment |
Summary
Hosted reviews after #1759 still listed the same work several times when the patch tier was D or F: each typed finding, then the rating's rank-up steps (
Improve patch quality, required work at D/F) restating those findings, plus a security concern restating a P1 finding. This extends Findings discipline rule 4 (one gap, one place): leaveprRating.nextStepsempty whenreviewFindingsalready list the remaining work, and keep asecurityReviewconcern only for what the matching finding does not say.REVIEW_POLICY_VERSIONv30 → v31.Evidence
openclaw/openclaw#166604, hosted comment vs a local review through the shipped CLI (
pnpm run review -- --local-only --target-repo openclaw/openclaw --item-number 166604 --codex-model gpt-6.1-sol, macOS, Node 24.21), Before-merge items:The two restating
Improve patch qualityitems are gone; the count stays 11 because the reviewer surfaced two real provenance overrides. Prompt suites 108/108;check:staticpasses.Limits: one PR, one run; wording-level rule applied by the model.
Merge Danger
Door: two-way: rules text and a policy version bump.
Blast radius: hosted PR reviews with D/F patch tiers show fewer restated blockers.