Repository navigation
fix(review): stop escalating evidenced implementation choices - #1780
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. What this changesClarifies when verified metadata exceptions, backed-up invalid-data repairs, and authorized implementation choices stay with the PR owner. Example: Submit a Doctor repair removing three orphaned rows while preserving 42 valid rows
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR remains useful: current main leaves these implementation cases implicit. The clarification follows existing owner direction, and no actionable patch defect or unresolved product choice remains. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherClawSweeper combines repository evidence and review instructions into a model prompt. The resulting assessment feeds public review comments and automation readiness. flowchart TD
A[PR evidence and recorded choices] --> B[Production prompt assembly]
C[Review policy and schema guidance] --> B
B --> D[Model assessment]
D --> E[Defects and compatibility checks]
D --> F[Unresolved product choices]
E --> G[Review comment and readiness]
F --> G
Technical reviewBest possible solution: Keep implementation judgments evidence-driven in the shared reviewer contract and reserve decision packets for unresolved product or public-contract choices. Do we have a high-confidence way to reproduce the issue? No deterministic current-main reproduction is established: the supplied receipt verifies prompt delivery rather than reproducing an erroneous model decision. Is this the best way to solve the issue? Yes, clarifying the shared reviewer contract is a narrow solution that preserves model judgment and independent safety gates without adding parser overrides. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f847e0a87d80. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
LabelsLabel changes: No label 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 HistoryReview history (1 earlier review cycle)
Reviewed October 9, 2026, 12:03 AM ET / 04:03 UTC (Revision 2). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
What Problem This Solves
Fixes PR reviews asking maintainers to accept implementation choices that the PR already records with verifiable evidence, even when no product decision remains.
User Impact
Evidence-backed metadata exceptions, backed-up invalid-data repairs, and implementation mechanics within an authorized repair-and-land request stay with the implementer. Compatibility proof, concrete defects, security concerns, broad exceptions, and unresolved product/public-contract choices still require action.
Why This Change Was Made
The existing policy already distinguishes stored-data compatibility evidence from sign-off but leaves these common implementation cases ambiguous. The prompt now defines their narrow boundaries once and applies them across decision, product-review, next-step, and risk fields, so the same acceptance request cannot reappear under a different heading. Schema descriptions reinforce that boundary without changing the output shape or parser.
This is an owner-requested review-policy correction. It preserves the existing intent to reserve maintainer attention for unresolved choices. A repair-and-land request does not authorize new config options, breaking public API/SDK changes, new schemas/tables, changed retention of valid data, or paid services outside its scope.
OpenClaw Bay Impact
Bay is unaffected: reviewer guidance changes, with no observer fields, routes, controls, or persistent decision-schema changes.
Documentation Impact
Updated the active reviewer contract in
docs/pr-review-comments.mdto match the prompt and schema descriptions. Its owner remains ClawSweeper review maintainers; the prompt and schema are the source of truth, verified against this branch. Revisit the guidance when implementer ownership or compatibility-proof policy changes. Added one changelog fragment; the release changelog is unchanged.Evidence
pnpm exec node --test test/review-prompt-policy.test.ts test/decision-parser.test.ts test/decision-packets.test.ts: 127 passed, zero failed. The package'spnpm testalias expands the whole suite; the scoped command uses the same Node test runner through pnpm.pnpm run build:all, repository static checks, and lint passed as part ofpnpm run check.git diff --checkpassed.f847e0a87d80a4afb35d2afc2d6a3df9ef8dc73f: both scoped-clean through P2, no accepted/actionable findings. The committed review also includedinstructions/pr-review-rules.mdto check the product-review interaction.Real Behavior Proof
Claim: the production review prompt delivers the implementer-decision boundary once, preserves recorded evidence, and retains the existing compatibility and product gates.
Surface and environment: production
buildReviewPromptthrough the exportedreviewPromptForTestentrypoint, following the rendering approach indocs/proof/review-source-prompt/README.md; local Node 26.10.0 on macOS arm64, providerlocal-node, no container image or lease. Head:08273f998006bedeb0e1d0bd616b2c6527b8e4d8, clean tracked tree.Fixtures: narrow Doctor metadata snapshot exclusions with exact user-data checks; removal of three orphaned rows after a verified backup while preserving 42 valid rows and existing upgrade evidence; authorized ownership/ordering/transaction choices; and negative-control context containing a blanket snapshot exclusion plus unresolved config, SDK, schema, retention, and paid-service choices. These are synthetic recorded inputs, not assertions that an actual Doctor upgrade ran.
Observed result, copied from the local receipt:
Artifacts: local recorded fixture JSON, rendered prompt Markdown, and
result.jsonunder.artifacts/implementer-decisions/; the relevant receipt is copied above. Reproduce the delivery checks afterpnpm run build:allwith the following production entrypoint (the focused test additionally asserts each policy boundary):Limits: this exercises actual prompt assembly, not model inference, decision classification, review publication, or Doctor upgrade behavior. No recorded inference evaluator for these cases was found in the repository. Model adherence remains a limitation; the current-head hosted ClawSweeper review is a separate landing gate. This change introduces no storage migration and waives no upgrade-proof requirement.
Rank-up disposition: defer the optional live baseline/head model comparison. This narrow change follows the existing maintainer-decision contract and adds explicit implementation cases; the repository has no recorded inference evaluator for those cases. Building and qualifying a source-grounded classification benchmark would be a separate evaluation change. The executed production-rendering proof supports delivery of the policy, and this PR explicitly makes no measured claim about model classification accuracy. The first hosted review found no defects or unresolved product choices and no Before-merge items.