Repository navigation
feat(review): encode the maintainers' standing review rules - #1759
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:08 AM ET / 09:08 UTC. ClawSweeper reviewWhat this changesThe branch expands shared PR-review guidance, replaces the default recommendation for strict configuration options, and advances the review policy version. Example: ClawSweeper reviews openclaw/openclaw#166293
Review scores
ProductKind: Feature · Worth it: Yes Merge readiness✅ Ready for maintainer review This PR remains useful and needs real behavior proof before merge for the current ruleset. The recorded CLI comparisons demonstrate the duplicate-blocker improvement, but explicitly predate the remaining rules; no concrete patch defect was established. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherClawSweeper combines repository source and GitHub discussion with shared instructions for a model review. The resulting decision becomes a stored report, public comment, and readiness signals. flowchart LR
A[GitHub PR context] --> C[Review prompt assembly]
B[Shared review rules] --> C
C --> D[Model assessment]
D --> E[Stored review decision]
E --> F[Comment and readiness signals]
Technical reviewBest possible solution: Keep review judgment in the shared rules while preserving concrete-defect requirements, distinct compatibility warnings, and one presentation of each remaining blocker. Do we have a high-confidence way to reproduce the issue? Not applicable to the policy expansion as a single bug; the body provides real CLI comparisons demonstrating repeated blockers and the earlier branch's improvement. Is this the best way to solve the issue? Yes: extending the existing model instructions is the narrowest implementation path, and the author has prior merged ownership of that framework; confidence in the final ruleset still requires current-head observations. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f47043cca05d. Provenance checked
TestingProof path: shipped entry point. Added test files: 1. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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
Adds the review rules the maintainers keep repeating to their own agents, so ClawSweeper checks them on every PR, and stops one gap from appearing as several blockers.
Source: 1,940 typed maintainer prompts across OMP, Claude Code and Codex sessions (2026-09-11..10-08), clustered into repeated themes. Each new rule maps to a theme that was missing or partial in the review rules:
risksblocker)prompts/review-item.mdno longer recommends "an explicit strict config option" as the compatibility fix; it prefers a migration, a Doctor repair or a clear in-product error, and recommends a new option only when an owner asked.REVIEW_POLICY_VERSIONv29 → v30.Evidence
Hosted reviews since #1755 deployed (21 openclaw/openclaw PRs) repeated one proof gap as "Add real behavior proof", "Resolve merge risk (P1)" and "Complete next step". Local reviews through the shipped CLI (
pnpm run review -- --local-only --target-repo openclaw/openclaw --item-number <n> --codex-model gpt-6.1-sol, macOS, Node 24.21) with the one-gap rule, compared with the hosted comment on the same PR:pnpm run checkpassed (7,230 tests, 0 failed). Prompt-pinning suites: 141/141.Limits: three PRs, one run each; the other new rules are wording that the model applies, measured only by future hosted reviews. The local proof runs used the one-gap rule; the remaining rules landed after them.
Merge Danger
Door: two-way: prompt and rules text plus a policy version bump.
Blast radius: every hosted PR review. Expect fewer duplicate blockers and more findings for symptom patches, single-consumer fixes, regex judges, restrictions without a boundary, and bad user messages.