Repository navigation
fix(review): keep paperwork and stale conflicts out of Before-merge items - #1765
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, 3:01 PM ET / 19:01 UTC. ClawSweeper reviewWhat this changesThis PR updates review instructions to exclude paperwork-only blockers, ground conflict claims in GitHub’s merge state, and present concrete author actions without duplicate proof wording. Example: A contributor submits an already-validated repair for review.
Review scores
ProductKind: Bug fix · Worth it: Yes Merge readiness✅ Ready for maintainer review This PR remains useful: current main lacks the correction, and the review found no actionable regression. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherClawSweeper combines GitHub context, repository policy, and review instructions to produce structured PR assessments. Those assessments become public review comments and Before-merge checklists. flowchart TD
A[GitHub PR context] --> C[Review model]
B[Repository policy and review rules] --> C
C --> D[Findings and proof assessment]
D --> E[Structured review result]
E --> F[Public comment and Before-merge checklist]
Technical reviewBest possible solution: Keep review blockers tied to concrete defects, missing behavior evidence, and unresolved product contracts, with presentation wording owned by the comment renderer. Do we have a high-confidence way to reproduce the issue? Yes: the supplied before-and-after review of the same target head establishes the paperwork-only blocker, and current-main instructions contain the implicated guidance; this read-only review did not execute it independently. Is this the best way to solve the issue? Yes: correcting the shared review instructions addresses the source of the unwanted model output without adding a competing post-processing filter. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ad52903dc9f1. Provenance checked
TestingProof path: shipped entry point. Added test files: 2. 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 |
What
Prompt and review-rule changes only (
prompts/review-item.md,instructions/pr-review-rules.md), policy2026-10-08-policy-v34:reviewFindings,risks, and a requirednextStep, and names PR-body paperwork (timings, CI seconds, section headings, a new record of a command that already passed) as a process concern, also when targetAGENTS.mdasks for it or a PR-body check fails on it. Missing proof of the changed behavior stays a blocker. The prompt's AGENTS.md paragraph no longer routes "merge-readiness guidance" intorisks; it points at that rule.pullRequest.mergeableisfalseorpullRequest.mergeableStateisdirtyfor the reviewed head; null/unknownneither claims nor denies. Base drift belongs to the existing stale-base rule (the old text asked for a "rebase or review refresh" inrisks, which became a blocker).risksentry, requirednextStep, and finding title is one author action in plain words; no internal process names.overallCorrectness: patch is incorrectnow needs a listed P0–P2 finding that says what is wrong.in_process_harnessorunit_only, nevernone.missingE2enames the missing scenario in one sentence andsummarydoes not repeat it.addedTestFiles) removed and steps renumbered — the same hunk the presentation PR carries with its schema removal of that field.Static prompt: 89,349 → 90,749 chars.
Why
Hosted audit 2026-10-08 (27 reviews on openclaw/openclaw):
proofPath: nonedespite a ~190-line regression test.Proof
pnpm run build✅; focusednode --test test/review-prompt-policy.test.ts test/review-prompt-context.test.ts test/pr-review-quality.test.ts test/clawsweeper.test.ts→ 194/194 pass.pnpm run check→ exit 0 (7240 tests, 0 fail).33cc5ae9):CODEX_HOME=<tmp> pnpm run review -- --local-only --target-repo openclaw/openclaw --item-number 144991 --codex-model gpt-6.1-sol --codex-sandbox clawsweeper-review --output-retention debug --artifact-dir <dir>⛔ Needs changes before merge - 1 item remains/- [ ] Complete next step (P2) - Add the measured wall time for pnpm test extensions/synology-chat/src/client.test.ts --maxWorkers=1 and the corresponding CI seconds to the PR body.nextStep: none,risks: [],overallCorrectness: patch is correct, no findings, proofsufficient(terminal), tiers B/B/B,proofPath: in_process_harness. Rendered:✅ Ready for maintainer review/## Before merge/None.Summary: "…the focused repair has no actionable code findings. The earlier PR-body timing request is not a merge blocker under the current review rules." (Rendered with a hosted-style lease identity in front matter; a local-only run has no lease and the host adds its "Bind the durable review identity" item otherwise.)keep_open,nextStep: none,risks: [], patch correct, proof sufficient (live_output),proofPath: shipped_entry_point, B/B/B.Codex review dispositions
codex review --base main: "No actionable regressions found against the supplied merge base." No findings to dispose.Merge Danger
instructions/pr-review-rules.mdTesting step 2 identically to the presentation slice PR (removesaddedTestFiles); whichever lands second rebases trivially.