Repository navigation
feat(review): show review scores above the product verdict - #1757
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 7, 2026, 8:56 PM ET / October 8, 2026, 00:56 UTC (Revision 2). ClawSweeper reviewWhat this changesMove the review scores table below What this changes and above Product in PR review comments. Example: A maintainer reads a completed PR review
ProductKind: Preference · Worth it: Yes Merge readiness✅ Ready for maintainer review This PR remains useful: current main retains the previous layout, and the updated rendered-output evidence addresses the prior proof request. No actionable patch defect remains. Priority: P3 Review scores
Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherClawSweeper converts stored review reports into GitHub comments for contributors and maintainers. The changed renderer controls the order of visible sections while retaining the existing review judgments and merge guidance. flowchart TD
A[Stored review report] --> B[Comment renderer]
B --> C{Review completed?}
C -->|Yes| D[Change summary and review scores]
C -->|No| E[Failed review guidance]
D --> F[Product and merge readiness]
E --> F
F --> G[GitHub review comment]
Technical reviewBest possible solution: Use the existing scores renderer in the requested position while preserving heading-based readers and all review gates. Do we have a high-confidence way to reproduce the issue? Not applicable: this is an intentional presentation preference; the base source and supplied before/after output establish the section-order difference. Is this the best way to solve the issue? Yes: relocating the existing rendering block is the narrowest implementation, and heading-based consumers remain compatible. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 197df625648b. Provenance checked
TestingProof path: in-process harness. Added test files: 1. 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 HistoryReview history (1 earlier review cycle)
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Summary
PR review comments now show
## Review scoresright under## What this changes, above## Product.Evidence
Rendered-comment proof through the shipped renderer (
renderReviewCommentFromReport(report, "none"), the function that builds the published comment), using the real stored report from a local ClawSweeper review of openclaw/openclaw#166599. macOS, Node 24.21, eachdist/built from source withpnpm run build. Visible top-level sections, in order:main197df62 (before)Everything after these sections stays in the single collapsed
Agent review detailsblock. The comment layout test pins the new order. Focused suites (review-comment-rendering,pr-review-quality,clawsweeper): 142/142 pass.Limits: rendered locally from a stored report; no comment was posted from this head.
Merge Danger
Door: two-way: presentation order only.
Blast radius: PR comment layout. Parsers key on section headings, not order.