Skip to content

fix: stop durable comment sync from starving automatic closures - #1016

Merged
steipete merged 3 commits into
mainfrom
codex/clawsweeper-coalesce-comment-sync
Aug 3, 2026
Merged

steipete merged 3 commits into
mainfrom
codex/clawsweeper-coalesce-comment-sync

Conversation

@steipete

@steipete steipete commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Why

Real production closure jobs were being starved by stale background comment-sync workflows sharing the same repository mutation lock:

Change

  • Replace one background sync workflow per published batch with one interchangeable, repository-scoped durable cursor workflow covering both issues and PRs, including failed reviews whose needs-human verdicts must replace earlier passing comments.
  • Coalesce only the exact automatic policy: __cursor__, kind all, batch/checkpoint 40, zero item/comment age, no minute-level override, configured default close reasons (including equivalent explicit-default continuations), default 60-day stale gate, and default 2-second delay. Preserve unique workflow groups, independently SHA-256-fingerprinted cursors, and bounded continuations for manual batches, PR-only maintenance, custom limits, custom close reasons, stale gates, delays, checkpoints, and every distinct day/minute age setting. Normalize oversized checkpoints before cursor classification; uncursored default runs consistently use the same shared cursor before and after continuation.
  • Share the same durable cursor between automatic background publication and scheduled maintenance, while bounding both automatic and scheduled passes to one 40-item window so closure jobs can acquire the mutation lock promptly. Manual/custom policies and targets without scheduled maintenance retain their existing bounded continuations.
  • Refresh new/cached reviews immediately using the newest reviewed_at/last_full_review_at, repair missing/corrupt metadata, and always inspect PRs live so new heads are never hidden behind a recently synchronized comment. Shared automatic cursors skip genuinely fresh issues while explicit/manual all-item cursors still inspect them. Already-synchronized proof/stale-sync retries stay in normal cursor order rather than repeatedly monopolizing the urgent lane, and urgent out-of-order work can never advance the persisted cursor past unfinished lower-numbered records.
  • Prioritize newly reviewed/unsynchronized records ahead of routine fresh-PR maintenance while reserving one advancing cursor slot when a full urgent window would otherwise stall after wraparound. Skip the proof job's repository-wide reconciliation and proof generation entirely for background, scheduled, targeted, and custom comment-only runs; defer mutation-lane reconciliation until the exact 40-item cursor window has been selected and restrict it to those exact records. Scoped reconciliation performs zero full-repository inventory scans across both workflow stages, so unrelated open reports and closed-item sidecars cannot be archived or rewritten and repositories exceeding 250 inventory pages cannot break comment synchronization.
  • Skip genuinely locked issues before acquiring a new mutation lease, but only after exact-event source revisions, timestamp/snapshot drift, PR review activity, and canonical duplicate relationships are validated; adopt and release already-owned leases normally, preserve both existing and newly discovered stale-canonical correction records while a locked conversation prevents mutation, honor comment-sync cooldowns for failed/keep-open records, and refresh metadata-only guarded maintainer/invalid-decision records so they leave the urgent queue.
  • Publish missing, refreshed, or timestamp-corrupt durable review comments for protected, close-exempt, maintainer-owned, failed, and source-valid low-confidence/invalid-decision reports without promoting or closing those guarded records; requeue guarded reports whenever a later apply decision supersedes an existing close-marker comment, and exclude invalid decisions whose close reason the repository explicitly forbids. Reject stale guarded source even at zero publication cooldown. Preserve the durable comment's actual GitHub mutation timestamp separately from local verification time so metadata-only repairs never hide newer human source edits. Keep guarded PRs eligible for live-head maintenance while avoiding repeated guarded-issue publication. Repair stale/missing timestamps and absent/none/unknown comment references without rewriting an already-correct GitHub comment. Advance safely past canonically archived selected records, continue wrapped scans when a newer urgent item sits outside the cycle boundary, and exclude locked/terminal records, unverified checkouts, and ordinary legacy comment records lacking a synchronization timestamp from urgent priority. Preserve the canonical repository slug, including dots and underscores, when locating records and automatic cursors.
  • Preserve the existing shared per-target GitHub mutation lock and all source-revision, protected-label, maintainer-ownership, proof, and age gates.
  • Do not change local/offline review, generated-PR creation, OpenClaw merge policy, or repair-model selection.

Real behavior proof

  1. Production queue: inspected 75 real pending workflows, cancelled 69 stale background sync workflows with 69 successful cancellations and 0 errors, then verified the actual close workflow completed with closed=5, review_comment_synced=18, and skipped_protected_label=2.
  2. Real GitHub mutation: verified the closed timeline actor is clawsweeper[bot] for the external-plugin issue [Bug]: LCM message_parts with part_type='file' stored without file_mime/file_name — breaks session rendering openclaw#116231, the low-value issue MEDIA directive: narrow file-type support, only first of multiple files sent, UUID filename suffix, workspace-only paths, missing MIME mappings, no documented type matrix openclaw#117428, and the latest live closures [Bug]: failed openclaw update leaves the gateway stopped; recovery restart refused with "binary is older than the config" openclaw#118244 and [Feature]: Externalize the Tencent provider into the official external provider catalog openclaw#116296; the issue-fix lane created fix(browser): make extension deep doctor probe page snapshots openclaw#118361, fix(agents): finalize settled failed tool turns openclaw#118315, fix(claude-cli): deduplicate live and imported assistant turns openclaw#118309, fix(minimax): route M3 image calls through MiniMax VL openclaw#118303, and fix(doctor): import historical exec approval metadata openclaw#118282 without requesting auto-merge. ClawSweeper also closed its own superseded candidate fix(memory-core): ingest transcript turns into short-term recall openclaw#118325 unmerged after independently proving the requested behavior already exists.
  3. Real safe contrast: Cron scheduler timer permanently stops firing after heavy timeouts (v2026.6.5) openclaw#102534 remains OPEN; OpenClaw has 26 open ClawSweeper-generated PRs, and each of the five new root-cause PRs has auto_merge: null.
  4. Actual GitHub Actions expression: evaluated the parsed workflow concurrency expression against real automatic, scheduled, targeted, customized batch-size, customized day-age, customized minute-age, and overridden repository close-policy inputs. Automatic/scheduled groups match, implicit/configured-explicit-default continuations coalesce for both OpenClaw and ClawHub, and every targeted/customized group stays distinct.
  5. Actual shell/cursor path: sourced scripts/apply-workflow-helpers.sh, created 41 real canonical markdown records, and exercised the background cursor followed by the scheduled cursor. Background selected items 1–40, scheduled selected item 41 from the same durable cursor, scheduled continuation stayed false, and the final cursor was 41.
  6. Actual canonical record filtering: filesystem-backed fixtures cover ordinary issues, fresh issue comments, cached re-reviews, stale PR heads, corrupted hashes, duplicate-comment repair, retry-only records, protected labels, maintainer ownership, source-valid low-confidence/invalid decisions, excluded repository-forbidden decisions across four target profiles, locked/terminal outcomes, independently continued custom mutation and age policies, uncursored OpenClaw/ClawHub default continuations, urgent refreshed/invalid-timestamp guarded records crossing an existing cursor without falsely ending the scan, protected decisions made after the previous comment sync, a full wrapped urgent window that still advances, wrapped continuations behind a newer out-of-cycle urgent record, proven canonical archives between selection and execution, unusable unverified/ordinary legacy rows, canonical repository names containing dots and underscores, and immediate prioritization of a newly reviewed item ahead of 45 existing PRs. Parsed real workflow conditions prove every comment-only proof lane skips global reconciliation while actual close workflows retain it; non-dry-run mocked GitHub comment creation proves protected, maintainer-owned, close-exempt, and low-confidence/invalid reviews publish without closing or promoting the guarded reports, metadata-only maintainer/invalid reports leave the urgent queue, locked issues never attempt lease/comment writes, newer locked source revisions still requeue, and locked stale-canonical repairs retain both their pending action and canonical identity.
  7. Actual scoped reconciliation: invoked the real compiled clawsweeper reconcile CLI against records 1–3 with only item 2 selected; item 2 moved to closed, unselected open item 1 stayed open, unselected closed item 3 kept its sidecar, only the selected canonical tuple was captured or changed, and the test fails if any full open-inventory scan is attempted (pagesScanned=0). A deleted selected item is archived only after live repository access is verified; an inaccessible repository preserves the item and fails safely.
  8. Full repository validation: an independently reviewed earlier state passed pnpm run check across all 3,056 repository tests (3,047 passed and 9 intentionally skipped), and an earlier strengthened follow-up passed the complete single-build unit suite across 1,839 tests (1,837 passed, 2 intentionally skipped, 0 failed). The final state additionally passes 373 focused workflow/cursor/reconciliation/guarded-apply/duplicate-correction/PR-label/lease-ordering/legacy-protected-decision/local-review regression tests plus every static, formatting, and lint check, including independently identified modern locked-review tuples, matching completed lease cleanup, issue/PR timestamp drift, snapshot-only drift without item_updated_at, persisted observed revisions, canonical invalidation, stale close verdicts, guarded snapshot freshness even at zero cooldown, failed-review publication and weekly maintenance, truthful metadata-only verification timestamps, checked-only synchronization repair behind the cursor, protected disposition preservation even after label removal, protected-close and maintainer-ownership priority, persisted live protected/maintainer labels, guarded stale-head readiness cleanup, command-only re-review label restoration, pre-mutation guarded PR freshness, guarded PR live-head maintenance, seven-day locked-review cooldowns, closed legacy records, open-linked locked issue metadata, protected stale-PR-head corrections, proof labels, and guarded freshness cases. All 9 dedicated offline local-review tests pass. Fresh independent reviews separately ran 203 and 206 apply-path regression tests and complete repository checks; an earlier independent review exercised 1,662 cursor-ordering scenarios with zero skipped or oversized batches. The original 14,216-line entry point is now 19 lines, and its largest extracted apply workflow is 1,999 lines.

Review finding disposition

  • Independent committed-head review found that locked issues could post a lease before checking GitHub's lock, and that maintainer/invalid reports could recycle indefinitely. Both are fixed with non-dry-run mocked GitHub regressions.
  • Earlier lock-guard revisions were independently found to precede exact-event source validation, PR review-activity validation, canonical invalidation, ordinary source-drift validation, stale proof-label cleanup, or metadata-only synchronization and could overwrite pending stale-canonical actions. The final pre-lease guard is limited to actual tuple-bound locked-issue comment mutations; matching durable comments bypass new lease posting and label writes so their local metadata can be repaired, while already-existing matching leases are adopted and deleted normally. Early locked-issue source-drift decisions preserve the live current_item_updated_at, and the restored late guard preserves ordinary PR source/label ordering. Existing and newly discovered stale-canonical correction state remain retryable.
  • An independent precommit review additionally reproduced stale PR close-verdict publication and false-positive duplicate metadata refresh caused by applying guarded-review freshness to every skipped_* action. Guarded freshness and forced publication now have an explicit protected/maintainer/invalid-decision action allowlist and also require unchanged reviewed source; source-drift skips neither publish close verdicts nor consume the 40-item comment-sync window. Every reviewer-provided mocked reproduction now passes alongside permanent regression coverage.
  • A subsequent independent precommit review reproduced four further edge cases: the source-inspected mutation-lease acquisition invariant, locked snapshot-only drift being misclassified as a lock, stale guarded snapshots overriding the publication cooldown, and locked failed reviews consuming bounded comment-sync capacity. The acquisition invariant is restored, timestamp/snapshot drift now shares one persisted proof-backed marker, existing owned leases are always released, guarded actions require fresh reviewed source, and locked non-actionable reviews follow the same cooldown as normal comment publication. Each finding has a direct permanent mocked-GitHub regression and the reviewer's original standalone reproductions now pass.
  • The next independent baseline-comparison review identified three remaining edge cases. Protected stale-head notices now force immediate durable correction independently of the guarded-verdict cooldown; source snapshots are hydrated lazily so already-closed legacy reports archive without unrelated timeline calls; and preliminary locked-comment comparisons use the same actual linked-PR state as final rendering. All three reviewer-provided old-vs-new reproductions now match the safe baseline and have permanent regression coverage.
  • A complete independent committed-branch review then found four cross-module regressions. Failed review artifacts are now eligible for coalesced cursor publication; guarded source changes fail closed even with the automatic zero-day cooldown; metadata-only repairs retain the comment's real updated_at while recording a separate local verification timestamp; and guarded PRs remain eligible for live-head invalidation. A subsequent throughput review additionally proved synchronized failed reviews must leave the urgent lane; failed reports now receive immediate durable publication once and stop monopolizing bounded cursor capacity afterward. Permanent regressions cover failed-review selection and post-publication retirement, guarded stale-source publication, scheduler re-review after human edits, and protected PR head maintenance.
  • The final independent whole-repository review reproduced three additional boundary cases while all 3,053 existing tests passed: unchanged-head guarded PRs could mutate proof/rating labels before rejecting timestamp drift, protected locked records could lose their permanent protected disposition, and checked-only or failed-repair records could disappear before their true synchronization timestamp was restored. Freshness now precedes every guarded PR-label mutation, protected actions survive source-drift evidence, checked-only records remain executable, and failed canonical-repair retries stay eligible. Three permanent mocked-GitHub/canonical-record regressions reproduce each original failure.
  • A second whole-repository review additionally reproduced an existing protected-close decision-packet regression, a removed protection briefly leaving a stale proposed_close eligible for later closure, and a checked-only repair being stranded behind the automatic cursor. Protected labels now win before source-drift shortcuts, the original guarded action is explicitly restored rather than preserving a transient promotion, and checked-only repairs receive bounded urgent priority without prioritizing ordinary legacy records. Existing protected decision-packet tests and new removed-label/cursor-position regressions all pass.
  • A final full-coverage review caught two policy-ordering details after all 3,056 tests passed: newly applied security labels must be saved to canonical report metadata before taking the protected exit, and live maintainer ownership must be recognized before ordinary source-drift rejection. Both guards now persist their live evidence and retain existing verified exact-event proof semantics; a permanent parameterized mocked-GitHub regression covers security and maintainer ownership.
  • A bounded follow-up review reproduced stale proof/status labels surviving a protected PR head change, stale live-label metadata on removed protections or maintainer exits, and failed reviews never receiving seven-day durable-comment verification. One shared label-snapshot/PR-maintenance phase now precedes early protection guards without permitting same-head stale guarded mutations, while failed reviews return to the normal cursor only when weekly verification is due. Dedicated stale-head, changed-label, weekly-failed-review, and command-only re-review regressions all pass.
  • The final exact-name sign-off additionally covered locked protected reports whose live labels change and failed protected/maintainer reports reaching their weekly maintenance deadline. Shared source-drift evidence now snapshots authoritative live labels for locked and unlocked paths alike, and all failed guard categories become selectable only after the seven-day interval.
  • GitHub timestamps use UTC: August 3 UTC corresponds to August 2 in America/Los_Angeles. The apparent date discrepancy in the previous bot review is timezone rollover, not future-dated activity.

Deployment invariants

  • CLAWSWEEPER_AUTO_CLOSE_REASONS=all
  • CLAWSWEEPER_ALLOW_FIX_PR=1
  • CLAWSWEEPER_FIX_PR_MODEL=gpt-5.6-sol
  • CLAWSWEEPER_FIX_PR_REASONING_EFFORT=xhigh
  • CLAWSWEEPER_ALLOW_AUTOMERGE=0
  • CLAWSWEEPER_ALLOW_MERGE=0

Generated OpenClaw fixes remain PR-only; this PR changes only the ClawSweeper service.

@steipete
steipete requested a review from a team as a code owner August 3, 2026 00:05
@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal priority bug or improvement with limited blast radius. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. labels Aug 3, 2026
@clawsweeper

clawsweeper Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 11:12 PM ET / August 3, 2026, 03:12 UTC.

ClawSweeper review

What this changes

The PR unifies automatic and scheduled durable review-comment synchronization behind a repository-scoped 40-item cursor, narrows reconciliation to selected records, and strengthens freshness, guarded-record, locked-conversation, and cursor-fairness handling in the apply lane.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

This PR remains necessary: current main still separates scheduled comment synchronization from automatic apply work, while the submitted branch introduces the bounded shared-cursor and scoped-reconciliation behavior intended to prevent comment-sync backlogs from delaying safe closures. The supplied production proof is unusually concrete and the patch has substantial focused coverage, but this is a large live-automation change and the local checkout could not materialize the full PR blobs for an independent final diff pass because its promisor remote was unreachable; it should receive maintainer review before merge.

Priority: P2
Reviewed head: df83ab2509de8f2e5aa068012200c4c0a1e8c736

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Strong operational proof and extensive focused coverage support a good patch, with final maintainer scrutiny warranted because it changes live scheduling and mutation behavior.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR body provides after-fix production queue, GitHub mutation, cursor-path, scoped-reconciliation, and full-validation evidence with concrete observed outcomes; this is stronger than tests alone.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body provides after-fix production queue, GitHub mutation, cursor-path, scoped-reconciliation, and full-validation evidence with concrete observed outcomes; this is stronger than tests alone.
Evidence reviewed 5 items Current-main scheduling boundary: Current main assigns scheduled comment synchronization to pull requests only and keeps a separate cursor selection path, matching the starvation boundary the PR changes.
Current-main cursor behavior: Current main selects the next comment-sync candidates strictly after the persisted cursor, then wraps; the PR’s provided diff replaces this with urgent-item ordering plus an advancing cursor reservation.
Existing apply-policy provenance: The affected workflow and apply paths have been actively maintained by Peter Steinberger, including the prior safe-closure prioritization change and the current-main apply-policy update.
Findings None None.
Security None None.

How this fits together

ClawSweeper’s apply lane turns durable review records into GitHub review comments and, only for safe unchanged proposals, closures. Scheduled and background runs first select records and acquire a shared mutation lock, so their cursor and reconciliation policy determines whether urgent closure work can proceed promptly without mutating unrelated records.

flowchart LR
  A[Durable review records] --> B[Automatic or scheduled apply run]
  B --> C[Shared 40-item cursor]
  C --> D[Scoped record reconciliation]
  D --> E[Shared GitHub mutation lock]
  E --> F[Durable review comments]
  E --> G[Eligible safe closures]
Loading

Before merge

  • Resolve merge risk (P1) - This is a live GitHub Actions scheduling and mutation-path change: an uncovered policy-classification or cursor-ordering distinction could delay durable comments or safe closures for a target repository.
  • Resolve merge risk (P1) - The local review environment could inspect current main but could not materialize all PR blobs from the partial clone because the promisor remote was unreachable, so an independent full-file diff review remains outstanding.
  • Complete next step (P2) - No discrete patch defect was established, but this large live-automation change needs maintainer confirmation of the concurrency and cursor-policy boundary before merge.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Changed surface 16 files affected The PR spans the live workflow, shell selection helper, apply safeguards, reconciliation, record metadata, and their regression suites.
Production versus tests production +755/-212; tests +4,129/-22 The large test delta is proportionate to a broad apply-lane safety change and provides focused coverage for cursor, reconciliation, and guarded-record paths.
Live proof scope 75 queued workflows inspected; 69 stale sync runs cancelled; 5 closures and 18 comment syncs observed The PR body supplies production evidence for the stated starvation symptom and the intended safe outcome.

Merge-risk options

Maintainer options:

  1. Review the production scheduling boundary (recommended)
    Verify that the current PR head coalesces only the default automatic and scheduled policies while retaining distinct concurrency groups and bounded continuations for every manual or customized policy.
  2. Pause for a smaller operational split
    If maintainers cannot validate the combined cursor, guarded-publication, and reconciliation changes together, split the operational fix into independently deployable changes before landing.

Technical review

Best possible solution:

Land only after a maintainer confirms the current head’s workflow concurrency expression, automatic-versus-custom cursor classification, and scoped reconciliation preserve the stated closure and publication guarantees under production load.

Do we have a high-confidence way to reproduce the issue?

Yes, at source level with medium confidence: current main keeps scheduled comment sync on a separate pull-request-only path and simple wrapping cursor selection, while the PR body documents the production queue starvation scenario. A fully independent replay of the final branch could not be run because its partial-clone objects were unavailable locally.

Is this the best way to solve the issue?

Yes, with medium confidence: sharing a bounded default-policy cursor while preserving unique custom-policy cursors directly addresses lock starvation without weakening the existing source-revision, protected-label, ownership, proof, and age gates described in the PR.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against fd51157a1080.

Labels

Label justifications:

  • P2: This is a bounded but meaningful operational reliability repair for automatic review publication and closure throughput.
  • merge-risk: 🚨 automation: The branch changes GitHub Actions concurrency grouping, durable cursor selection, and reconciliation before GitHub mutations.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body provides after-fix production queue, GitHub mutation, cursor-path, scoped-reconciliation, and full-validation evidence with concrete observed outcomes; this is stronger than tests alone.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides after-fix production queue, GitHub mutation, cursor-path, scoped-reconciliation, and full-validation evidence with concrete observed outcomes; this is stronger than tests alone.

Evidence

What I checked:

  • Current-main scheduling boundary: Current main assigns scheduled comment synchronization to pull requests only and keeps a separate cursor selection path, matching the starvation boundary the PR changes. (scripts/apply-workflow-helpers.sh:47, fd51157a1080)
  • Current-main cursor behavior: Current main selects the next comment-sync candidates strictly after the persisted cursor, then wraps; the PR’s provided diff replaces this with urgent-item ordering plus an advancing cursor reservation. (src/repair/workflow-utils.ts:1897, fd51157a1080)
  • Existing apply-policy provenance: The affected workflow and apply paths have been actively maintained by Peter Steinberger, including the prior safe-closure prioritization change and the current-main apply-policy update. (.github/workflows/sweep.yml:241, 0ee212e35c1a)
  • PR-head provenance: The final PR commit is df83ab2509de8f2e5aa068012200c4c0a1e8c736, authored August 3, 2026 UTC, and follows two focused commits for cursor coalescing and source/locked-review synchronization. (src/clawsweeper-apply-decision-workflow.ts:1, df83ab2509de)
  • Review infrastructure limitation: The checked-out current main was available, but attempting to materialize the PR’s promised objects required a promisor-remote fetch that failed because github.com could not resolve; the review therefore relies on the supplied PR diff/body for branch-specific evidence rather than claiming a complete local branch inspection. (df83ab2509de)

Likely related people:

  • Peter Steinberger: Authored the PR’s three commits and the recent current-main changes that introduced safe-closure prioritization and updated apply policy on the same workflow and apply surfaces. (role: feature owner and recent area contributor; confidence: high; commits: df83ab2509de, d3c22b4d6069, 5bb309df24dc; files: .github/workflows/sweep.yml, scripts/apply-workflow-helpers.sh, src/clawsweeper-apply-decision-workflow.ts)
  • Vincent Koc: Authored the earlier bounded exact-review-publication change in the same automation area, providing useful historical context for durable comment publication behavior. (role: adjacent contributor; confidence: medium; commits: 0925ecae3787; files: .github/workflows/sweep.yml, src/clawsweeper-record-metadata.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Review the current head’s concurrency expression and automatic-policy classification against the intended scheduled, default, targeted, and customized inputs.
  • Confirm the pending pnpm check, Actions analysis, and production-automerge-flow checks apply to df83ab2509de8f2e5aa068012200c4c0a1e8c736 before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-08-03T00:10:00.997Z sha 5bb309d :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T01:47:09.435Z sha d3c22b4 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-03T02:51:18.836Z sha d3c22b4 :: needs maintainer review before merge. :: none

@steipete
steipete merged commit e55de43 into main Aug 3, 2026
10 checks passed
@steipete
steipete deleted the codex/clawsweeper-coalesce-comment-sync branch August 3, 2026 03:15
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
…claw#1016)

* fix: coalesce bounded comment sync without starving closures

* fix: preserve source freshness and locked review synchronization

* fix: preserve truthful guarded review publication and queue fairness

---------

Co-authored-by: Peter Steinberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant