Skip to content

fix(sweep): bound failed shard recovery - #518

Merged
steipete merged 10 commits into
mainfrom
codex/csw-031-exact-review-churn
Jul 13, 2026
Merged

steipete merged 10 commits into
mainfrom
codex/csw-031-exact-review-churn

Conversation

@brokemac79

@brokemac79 brokemac79 commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Makes failed review-shard recovery durable, one-shot, and non-actionable. A recovery now waits for an acknowledged exact-review queue write instead of treating a GitHub event delivery as proof that a replacement review run exists.

Problem

The failed-shard recovery job could send a repository_dispatch event and accept GitHub's HTTP acknowledgement as success. The later legacy router could then create repeated replacement workflow_dispatch runs for stale open items after the originating worker had finished. That bypassed the durable queue/lease decision at the point where failure was detected.

This was not author activity. For example, a scheduled sweep selected a large ClawHub set and its recovery fanned out directly:

  • Parent scheduled run: Review ClawSweeper items #29261805316, created 2026-07-13 15:20:23 UTC; it selected 30 ClawHub shards and failed.
  • Recovery run: Review event items #29263452346, created 2026-07-13 15:43:49 UTC and completed 15:56:22 UTC; it directly fanned out 29 ClawHub items, including #2411, #2460, #2487, #2489, #2490, #2873, #2898, #2947, #2948, #2949, #2950, #2951, #2953, #2957, #2958, #2959, #2963, #2964, #2969, #2986, #3005, #3006, #3023, #3036, #3037, #3038, #3050, #3055, and #3056.
  • Earlier examples show the same pre-fix pattern: #29249741130 (34-item batch), #29253817069 (34-item batch), and #29257701833 (36-item batch).

The same mechanism explains the observed stale OpenClaw direct-review churn, including openclaw/openclaw#67967, #92328, and #84975. These are recovery fan-outs, not fresh review requests.

Separately, a live exact-review action-ledger publish on this PR's review run failed after eight non-fast-forward retries: run #29262649242 / job #86859694467. That shared-state write contention is a distinct control-plane issue and is being investigated separately; this PR does not claim to solve it.

Implementation

  • Replace the failed-shard repository_dispatch hop with a signed POST directly to the existing durable /internal/exact-review/enqueue endpoint.
  • Require a positive queue acknowledgement: queued, deduplicated, or explicitly disabled. A missing or invalid acknowledgement remains a failed recovery and is retried at most three times; it cannot be silently treated as delivered.
  • Reduce the recovery job permissions to actions: read and contents: read.
  • Preserve the target branch, make recovery review-only, and suppress direct and deferred verdict routing so recovery cannot close the target item.
  • Publish the review-only recovery's durable comment without clawsweeper-verdict or clawsweeper-action markers. This preserves the review record/version marker but prevents the scheduled comment router from later interpreting a recovery result as a close, repair, or merge instruction.
  • Enforce the queue invariant: a failed-shard recovery may create one item, but can never supersede pending, dispatching, or leased ordinary work or an active recovery. Expired leases are reclaimed before this decision, allowing a new recovery only when no live work remains.
  • Add queue and workflow assertions for direct durable enqueue, acknowledgement handling, disabled-target handling, active/expired lease behavior, and non-actionable review-only publication.

Separate operational tracks

  • PR #539 tracks restoration of the openclaw-clawsweeper GitHub App installation permissions for openclaw/openclaw (Issues: Read and write and Pull requests: Read and write). Permission 403s for comments, labels, or closes must not be used to judge this queue-recovery canary.
  • CSW-034 tracks clawsweeper-state concurrent-write / non-fast-forward serialization. State publication contention must likewise be reported separately from whether this recovery enqueues once and avoids direct fan-out.

Validation

  • git diff --check origin/main...HEAD — passed.
  • pnpm exec oxfmt --check src/clawsweeper.ts src/repair/publish-event-result.ts test/clawsweeper.test.ts test/sweep-workflow.test.ts — passed.
  • pnpm run build — passed.
  • node --test test/clawsweeper.test.ts — 75 passed.
  • node --test --test-name-pattern="failed review recovery waits" test/sweep-workflow.test.ts — 1 passed.
  • Linux proof: local-container Crabbox lease cbx_764df5e94382 (node:24-bookworm) ran corepack pnpm run build && node --test test/clawsweeper.test.ts && node --test --test-name-pattern 'failed review recovery waits' test/sweep-workflow.test.ts — exit 0; 75 + 1 tests passed.
  • Supplemental Linux queue/lease proof: local-container Crabbox lease cbx_4d4775cfb925 (node:24-bookworm) ran corepack pnpm run build plus six focused tests — four real ExactReviewQueue handler cases for recovery completion and preserved pending/leased ownership, one marker-suppression case, and the durable-ack/no-fan-out/bounded-attempt workflow assertion. All passed; exit 0.

Local Docker before/after recovery proof (not staging or production)

On 2026-07-13 UTC, two isolated node:24-bookworm Docker containers ran the real dashboard Worker with wrangler dev --local, including real local Miniflare ExactReviewQueue Durable Objects. The pre-fix container used base 7cc5ef46d1b280410a97a82f6b9f53aea824f582; the fixed container used this PR head f4c2bb345a5d8b2b02d8c9d59f08320cf417159b. Both had only a test-only HMAC secret; neither had a GitHub App private key or GitHub token.

  • A direct HMAC-signed recovery delivery to the fixed Worker's real /internal/exact-review/enqueue endpoint returned 202 { ok: true, queued: true }; repeating the same delivery returned 202 { ok: true, deduped: true }. The local queue then reported one pending item and one delivery receipt.
  • The exact recover-review-failures shell block was extracted from each revision and executed in a third disposable Docker container with the same failed-shard fixture (910002,910003). The base block made one gh workflow run sweep.yml … -f item_numbers=910002,910003 call, captured by a harmless local fake gh. The fixed block made zero gh calls and printed Queued failed review shards 1 through the exact-review control plane: 910002,910003 after its signed requests reached the fixed local Worker.
  • After the run, the base Worker had pending=0 and delivery_receipts=0; the fixed Worker had pending=3 and delivery_receipts=3 (the deduplicated direct probe plus two recovery items), with dispatching=0 and leased=0. The fixed dispatcher was intentionally blocked because no GitHub App credentials were present, so the local proof could not create an Action or external request.
  • In the fixed Worker container, pnpm run build and six focused tests passed: four actual queue handler cases for pending/active lease preservation and terminal failed-recovery completion, the marker-suppression case, and the durable-ack/no-direct-workflow run/three-attempt workflow guard.

This is a redacted, isolated local integration comparison: it shows the actual recovery shell changes and the real signed Worker/DO boundary without GitHub mutation. It does not execute a deployed GitHub Actions job, obtain a real queue lease, publish a target comment, or observe the router at runtime. It therefore strengthens deterministic evidence but is not represented as staging/live proof or as a proof override.

The full workflow-helper suite has native-Windows baseline failures because this host's docker-desktop WSL distribution has no /bin/bash; that is a Linux-hosted helper surface, not a product-platform regression. The changed workflow assertion was validated in the Linux container above.

Codex review closeout

  • codex review --uncommitted — clean; no actionable findings.
  • codex review --base origin/main — clean against current main; no actionable regressions.

Maintainer proof decision and monitored canary

Current status: implementation and automated proof are ready; no after-fix production failed-shard event exists yet. Creating one artificially would create control-plane load and require prohibited manual workflow dispatch, rerun, cancellation, or an induced worker failure. The supplemental local-container proof above exercises the real queue handler and workflow sources deterministically, but not a deployed queue, a GitHub Actions job, or live runner step state; it cannot substitute for the requested staging/production observation.

Maintainer decision required before taking this PR out of draft:

  1. Approve a monitored canary proof override, or
  2. Hold for staging/shadow or naturally occurring post-deploy proof.

If option 1 is approved, the first naturally occurring failed shard is the only canary trigger. Do not manually dispatch, rerun, cancel, or manufacture a failure. Capture a redacted linked run/log showing all of these invariants:

  • exactly one signed queue acknowledgement (queued, deduped, or explicitly accepted=false);
  • no recovery-created workflow_dispatch run titled Review event items … and no recovery fan-out;
  • recovery does not supersede ordinary pending, dispatching, or leased work, nor a live recovery;
  • direct and deferred verdict-router steps are skipped;
  • the durable recovery comment has neither clawsweeper-verdict: nor clawsweeper-action: markers, so the scheduled router cannot close, repair, or merge from it;
  • recovery completes terminally if it fails, with no retry loop beyond its bounded enqueue attempts.

Immediate rollback criterion: if any invariant fails, revert the #518 merge commit immediately and preserve the redacted run/queue evidence for follow-up. Do not use App-permission changes or state-branch retry changes as a rollback substitute for this code path.

Rollout and risk

This changes failed-shard recovery scheduling and publication only; fresh review requests retain normal queue/retry behavior. The workflow uses the existing CLAWSWEEPER_WEBHOOK_SECRET, and touching .github/workflows/sweep.yml carries the normal GitHub OAuth/workflow scope risk. The PR remains a draft solely pending the maintainer proof/canary decision above.

@brokemac79
brokemac79 force-pushed the codex/csw-031-exact-review-churn branch from a748ada to 9455fc0 Compare July 13, 2026 15:02
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper

clawsweeper Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 13, 2026, 6:07 PM ET / 22:07 UTC.

Summary
Routes failed review-shard recovery through the durable exact-review queue, bounds enqueue attempts, preserves live work and target branches, makes recovery publication non-actionable, narrows permissions, and adds focused regression coverage.

Reproducibility: yes. Multiple linked production runs show the pre-fix failed-shard fan-out, and the isolated Docker comparison reproduces the old direct workflow-dispatch call while the fixed path performs signed durable enqueue without direct fan-out.

Review metrics: 2 noteworthy metrics.

  • Changed surface: 8 files; 566 additions, 67 deletions. The patch spans workflow orchestration, durable queue state, comment publication, and tests, making deployed integration behavior more important than green CI alone.
  • Regression coverage: 4 test files changed. Coverage exercises queue ownership, recovery completion, branch transport, acknowledgement bounds, review-only publication, and marker suppression.

Merge readiness
Overall: 🦐 gold shrimp
Proof: 🦐 gold shrimp
Patch quality: 🐚 platinum hermit
Result: blocked until stronger real behavior proof is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Obtain an explicit maintainer proof override or add redacted staging or naturally occurring run evidence covering acknowledgement, ownership, publication, routing suppression, and bounded completion.
  • After adding proof, update the PR body to trigger review; if it does not, ask a maintainer to comment @clawsweeper re-review.

Proof guidance:

  • [P1] Needs stronger real behavior proof before merge: The Docker evidence uses the real local Worker and Durable Object and shows an improved result, but it omits the deployed Actions, live lease, target publication, and scheduled-router path. Add redacted staging or natural-run evidence, or obtain an explicit maintainer override, then update the PR body for a fresh review; redact tokens, private endpoints, repository details, and other private information.

Risk before merge

  • [P1] The local comparison does not observe the deployed GitHub Actions job, a real queue lease, target-comment publication, or the scheduled comment router, so an integration mismatch could still recreate fan-out or actionable routing after merge.
  • [P1] Recovery now depends on the signed control-plane enqueue and acknowledgement contract; a deployment, secret, response-shape, or completion mismatch could leave failed shards unrecovered even though focused tests and local Worker proof pass.

Maintainer options:

  1. Merge with a natural canary (recommended)
    Accept the current local integration evidence, monitor the first naturally occurring failed shard, and revert immediately if acknowledgement, ownership, routing, marker, fan-out, or retry invariants fail.
  2. Hold for full-path evidence
    Keep the draft open until a staging, shadow, or natural deployed run covers GitHub Actions, a live queue lease, target publication, and scheduled routing.

Next step before merge

  • [P1] A maintainer must choose whether the current deterministic evidence warrants the monitored rollout; the reviewed head has no narrow remaining defect for an automated repair worker.

Maintainer decision needed

  • Question: Is the real local Worker and Durable Object before-and-after evidence sufficient to merge under a monitored natural-failure canary, or must this PR wait for staging, shadow, or naturally occurring deployed-path proof?
  • Rationale: The reviewed patch is internally coherent and well covered, but automation cannot decide whether the unobserved deployed Actions, lease, publication, and router interactions are an acceptable rollout risk.
  • Likely owner: steipete — This is a live ClawSweeper rollout and proof-acceptance choice rather than a remaining mechanical code repair.
  • Options:
    • Approve monitored canary (recommended): Accept the deterministic local integration proof, merge with the documented rollback criteria, and capture the first naturally occurring failed-shard run without manufacturing a failure.
    • Wait for deployed proof: Keep the PR draft until staging, shadow, or a naturally occurring deployed failure demonstrates the acknowledgement, lease, publication, marker-suppression, routing, and bounded-completion invariants.

Security
Cleared: The patch reuses the existing webhook secret, narrows recovery-job permissions, and adds no dependency or third-party execution surface; no concrete security or supply-chain regression is evident.

Review details

Best possible solution:

Use the durable queue as the single recovery authority, preserve all live ordinary work, publish recovery reviews without actionable markers, and require a monitored rollback-safe deployment that proves exactly-once acknowledgement, bounded completion, and no direct or deferred fan-out.

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

Yes. Multiple linked production runs show the pre-fix failed-shard fan-out, and the isolated Docker comparison reproduces the old direct workflow-dispatch call while the fixed path performs signed durable enqueue without direct fan-out.

Is this the best way to solve the issue?

Yes technically: routing recovery through the existing durable queue, preserving live ownership, making recovery one-shot, and suppressing actionable markers is the narrowest coherent fix. Whether its present proof is enough for rollout remains a maintainer decision.

AGENTS.md: found and applied where relevant.

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

Label changes

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.

Label justifications:

  • P1: The PR addresses active failed-shard recovery behavior that can fan out repeated stale reviews across target repositories.
  • merge-risk: 🚨 automation: Merging changes enqueue, lease ownership, recovery completion, publication, and routing behavior whose full deployed path has not yet been observed after the fix.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs stronger real behavior proof before merge: The Docker evidence uses the real local Worker and Durable Object and shows an improved result, but it omits the deployed Actions, live lease, target publication, and scheduled-router path. Add redacted staging or natural-run evidence, or obtain an explicit maintainer override, then update the PR body for a fresh review; redact tokens, private endpoints, repository details, and other private information.
Evidence reviewed

What I checked:

  • Current main still uses legacy recovery fan-out: Current main’s recover-review-failures job retains actions write permission and directly invokes the sweep workflow for failed shards, so the central bug is not implemented on main. (.github/workflows/sweep.yml, 3b4a1894fc85)
  • Durable acknowledgement replaces event delivery: The PR sends signed requests to the existing exact-review enqueue endpoint, requires queued, deduplicated, or explicitly disabled acknowledgement, and bounds attempts at three. (.github/workflows/sweep.yml, f4c2bb345a5d)
  • Queue ownership invariant: The PR reclaims expired leases before enqueue and prevents failed-shard recovery from superseding pending, dispatching, or leased ordinary work or an active recovery. (dashboard/worker.ts:490, f4c2bb345a5d)
  • Recovery comments become non-actionable: The PR adds marker suppression to review-comment rendering and uses sync-only publication for recovery results, preventing recovery comments from carrying close, repair, or merge routing markers. (src/clawsweeper.ts:17788, f4c2bb345a5d)
  • Focused regression coverage: Added tests cover acknowledgement and retry bounds, active and expired lease behavior, one-shot recovery completion, target-branch transport, review-only publication, and automation-marker suppression. (test/dashboard-worker.test.ts:2615, f4c2bb345a5d)
  • Real local integration evidence has a known boundary: The PR reports an isolated before-and-after Docker run using the real local Worker and Miniflare Durable Object: the base shell invoked direct workflow dispatch, while the fixed shell made no such call and received durable queue acknowledgements. It explicitly did not exercise a deployed Action, live lease, target comment, or scheduled router. (f4c2bb345a5d)

Likely related people:

  • brokemac79: Beyond authoring this branch, this contributor documented the production incident, built the local Worker and queue comparison, and opened the separate permission fix at fix(sweep): allow PR review lease comments #539, showing sustained involvement in the same control-plane area. (role: adjacent automation investigator; confidence: medium; commits: 565a0aecbe45, 77b11bbaad6c, f61020790c40; files: .github/workflows/sweep.yml, dashboard/worker.ts, src/repair/publish-event-result.ts)
  • steipete: The unresolved choice is an operational proof and rollout decision for the live ClawSweeper control plane; available evidence does not identify a narrower current-main owner with higher confidence. (role: likely operations decision owner; confidence: low; files: .github/workflows/sweep.yml, dashboard/worker.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

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.

How this review workflow works
  • 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.
Review history (8 earlier review cycles)
  • reviewed 2026-07-13T16:05:35.010Z sha 877fc54 :: needs real behavior proof before merge. :: [P1] Protect ordinary work while its lease is active
  • reviewed 2026-07-13T16:22:41.115Z sha 877fc54 :: needs real behavior proof before merge. :: [P1] Preserve ordinary work while its lease is active
  • reviewed 2026-07-13T16:39:52.530Z sha 877fc54 :: needs real behavior proof before merge. :: [P1] Preserve ordinary work while its lease is active
  • reviewed 2026-07-13T16:57:20.137Z sha 877fc54 :: needs real behavior proof before merge. :: [P1] Preserve ordinary work while its lease is active
  • reviewed 2026-07-13T18:41:07.799Z sha a5c4111 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-13T20:35:43.577Z sha f4c2bb3 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-13T20:41:57.936Z sha f4c2bb3 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-13T21:10:50.796Z sha f4c2bb3 :: needs real behavior proof before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P1 Urgent regression or broken agent/channel workflow affecting real users now. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 13, 2026
@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@brokemac79

Copy link
Copy Markdown
Contributor Author

@clawsweeper review

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Jul 13, 2026
@brokemac79
brokemac79 force-pushed the codex/csw-031-exact-review-churn branch from a5c4111 to f4c2bb3 Compare July 13, 2026 20:30
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jul 13, 2026
@steipete
steipete marked this pull request as ready for review July 13, 2026 23:17
@steipete
steipete requested a review from a team as a code owner July 13, 2026 23:17

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f4c2bb345a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread dashboard/worker.ts
Comment on lines +2445 to +2447
const oneShotRecovery =
item.leaseDecision?.sourceAction === FAILED_REVIEW_SHARD_RECOVERY_SOURCE_ACTION;
const requeued = (!oneShotRecovery && retryingFailure) || hasNewerRevision || requeueLatest;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Stop retrying recovery dispatch failures

This one-shot gate only covers failures reported through /complete; if a failed_review_shard_recovery item is accepted by the queue but dispatchClawsweeperItem throws before a workflow run is created (for example workflow dispatch is disabled, credentials are bad, or GitHub returns a persistent API error), the alarm dispatch-failure path still clears the lease and puts the same item back to pending with backoff. That leaves recovery retrying indefinitely despite the new bounded enqueue attempts, so the dispatch-failure handler needs the same recovery check and should terminally drop these items unless a newer revision superseded them.

Useful? React with 👍 / 👎.

@steipete
steipete merged commit 7296ed7 into main Jul 13, 2026
9 checks passed
@steipete
steipete deleted the codex/csw-031-exact-review-churn branch July 13, 2026 23:25
azaj01 pushed a commit to azaj01/clawsweeper that referenced this pull request Sep 21, 2026
* fix(sweep): bound failed shard recovery

* chore: retrigger validation

* test(sweep): cover recovery branch transport

* fix(sweep): complete review-only recoveries

* fix(queue): keep failed-shard recoveries one-shot

* fix(sweep): require recovery queue acknowledgement

* test(sweep): cover split recovery router guards

* fix(sweep): clear failed recovery reactions

* fix(sweep): keep recovery comments non-actionable

---------

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. P1 Urgent regression or broken agent/channel workflow affecting real users now. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants