Repository navigation
feat: make PR review comments easier to scan - #776
Merged
Merged
Conversation
Add a plain-language system context section and evidence-backed Mermaid flowchart immediately after merge readiness. Preserve compatibility by reading legacy summary headings and extracting the first action from the new Before merge table, including escaped pipes.
Surface sufficient real-behavior proof and two concrete evidence items in the human review while retaining the full evidence list in collapsed agent details. This preserves the proof, tests, and check signals contributors commonly cite in clawtributors.
…klists in history
…-layout # Conflicts: # src/clawsweeper.ts # test/review-comment-rendering.test.ts
Contributor
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: feat: make PR review comments easier to scan This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
Contributor
|
Merged — thanks @Patrick-Erichsen! The scan-first layout is exactly the direction we want review comments to go. We fixed CI forward on your branch (marker-compat tests, two CodeQL regex/escaping alerts) and hardened the new section parsing along the way; your design and commits are preserved. |
2 tasks
azaj01
pushed a commit
to azaj01/clawsweeper
that referenced
this pull request
Sep 21, 2026
* feat: simplify ClawSweeper PR review comments * docs: define human-first PR review layout * feat: explain reviewed system architecture Add a plain-language system context section and evidence-backed Mermaid flowchart immediately after merge readiness. Preserve compatibility by reading legacy summary headings and extracting the first action from the new Before merge table, including escaped pipes. * feat: keep contributor proof signals visible Surface sufficient real-behavior proof and two concrete evidence items in the human review while retaining the full evidence list in collapsed agent details. This preserves the proof, tests, and check signals contributors commonly cite in clawtributors. * feat: refine human-first PR review layout * test(review): update pass and proof-cap expectations to the scan-first layout * fix(review): linear checklist parsing and complete table-cell escaping * fix(review): harden scan-first layout rendering and routing * fix(review): close readiness, routine-step, and diagram trust gaps * fix(review): keep fenced diagram text out of trusted section parsing * fix(review): block owned-section spoofing and semicolon diagram directives * fix(review): fence-aware section parsing and history extraction * fix(review): preserve issue history and tighten fence and rationale trust * fix(review): details-aware trusted parsing and routine-risk counting * fix(review): report full evidence count in the verification table * fix(review): keep mixed routine risks visible and skip completed checklists in history * fix(review): require patch-quality remediation and block setext spoofing * fix(review): keep decision packets and diagram labels; unescape checklist text * fix(review): sanitize report fields at parse and clarify verification rows * fix(review): normalize CR spoofing, optionless packets, and finding identity * fix(review): scope history finding extraction to top-level sections * fix(review): guarantee a follow-up when patch quality blocks readiness * fix(review): authoritative before-merge parsing and full HTML neutralization * fix(review): escape report HTML in tables and cover all container prefixes * fix(review): keep renderer-owned br separators in verification rows * fix(review): tighten checklist identity, routine rating steps, and PI escapes * fix(review): route decision-only follow-ups and escape checklist labels * fix(review): stop trusted section search at the details boundary * fix(review): surface decision-only questions as the remaining action * fix(review): broaden routine next-step filter and preserve checklist spacing * fix(review): count pending decisions in trusted human-review reasons * fix(review): count pending decisions and sanitize rank-up details * fix(review): make the before-merge section authoritative for next-step history * fix(review): top-level section scope, stricter diagrams, actionable next steps --------- Co-authored-by: Peter Steinberger <[email protected]>
This was referenced Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What this changes, followed by one dynamicMerge readinessoutcomeMeasure | Result | What it meanstable with the explicit(N/6)scaleVerificationtableAgent review detailsVisual reference: openclaw/openclaw#112487
Validation
Focused renderer, proof, risk, and review-history tests pass.
pnpm run checkpassed static checks, formatting, all builds, lint, and changed-file coverage. Its full cross-platform suite completed with 2,524 passing, 9 skipped, and 13 unrelated local failures in macOS/Linux containment and platform-sensitive path/timing tests (capsetunavailable on macOS,/private/varnormalization, and tight target-validation deadlines). No failures were in the touched review rendering paths.