Skip to content

fix(pr): land without waiting for advisory ClawSweeper reviews - #169739

Merged
steipete merged 1 commit into
mainfrom
steipete/merge-run-no-clawsweeper
Oct 12, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/merge-run-no-clawsweeper

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes scripts/pr merge-run failing and retaining its operation lock when required CI is ready but ClawSweeper has not published a completed review comment. The reported queue delay was 5–13 minutes to first review, with 58 dispatch runs queued.

User Impact

Maintainers can land an otherwise eligible PR without waiting for the advisory bot. Required CI, exact-head local review, security, authority, and merge-recovery checks remain enforced. There is no product runtime change.

Why This Change Was Made

ClawSweeper feedback is advisory, as documented in the PR review flow. Remove both admission-time comment reads, the completion parser and its tests, the retained ClawSweeper evidence field, and obsolete fixture/setup assertions. Keep ordinary comment reconciliation and operation-lock safety. ClawSweeper dispatch, rank-up, and review workflows are untouched.

The agent guidance no longer requires a completion comment or the already-retired 12-hour freshness window. Changes to landing and recovery guidance are limited to those preconditions, avoiding the inherited-failure work in #169647.

Evidence

A real-Git, supervised merge regression failed before the fix because the comment API was unavailable and retained the lock. After the fix it merges once without any comment read and releases the lock. The shared fixture now starts without a ClawSweeper comment, so correction, recovery, hosted, and prior-CI scenarios exercise that condition too.

Each command below used pnpm test test/scripts/<file> --maxWorkers=1:

File Passed Wall time
pr-merge-admission.test.ts 72 359.87s
pr-merge-recovery.test.ts 42 349.63s
pr-merge-correction.test.ts 22 175.19s
pr-merge-prior-ci-auto-replacement.test.ts 42 696.84s
pr-crabbox-merge-bypass.test.ts 40 69.63s
pr-review-artifact-validation.test.ts 18 16.68s
pr-merge-body-provenance.test.ts 18 109.49s
pr-main-refresh.test.ts 84 866.22s
pr-merge-hosted.test.ts 21 170.14s

The hosted suite initially failed on its obsolete assertion requiring two comment reads (107.00s); that assertion and its unused fixture event were removed, then all 21 cases passed. These existing integration suites use real Git repositories, subprocess supervision, and retained outcomes; their wall time reflects the boundary they protect.

Additional checks passed:

  • PR wrapper import inventory: 1 selected test, 11.38s.
  • pnpm tsgo:test:root: all four graphs, 43.82s.
  • Targeted test lint: 16.80s; final hosted/support lint: 26.31s.
  • pnpm check:script-erasability: 847 files, 0.61s.
  • Bash syntax for scripts/pr and scripts/pr-lib/merge.sh, changed-file formatting, and git diff --check.
  • Frozen dependency install: 18.9s.

One final Codex autoreview at P2 finished scoped-clean, with no actionable P0–P2 findings. Broad proof belongs to PR CI. No real PR merge or remote proof box was used for local validation.

@clawsweeper

clawsweeper Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: M labels Oct 12, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 12, 2026
@clawsweeper

clawsweeper Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR lets eligible PRs land without a completed ClawSweeper comment while preserving the other merge checks.

Example: A prepared PR has passing required checks, but its ClawSweeper review is still queued.

  • Before: Merge verification rejects the missing completion comment and leaves the failed operation lock for recovery.
  • After: Merge admission proceeds through the remaining checks without reading bot comments.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and source review found no defect; validation is production-owner integration evidence rather than a live GitHub landing.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; supplied validation exercises the production merge owner with real Git and simulated GitHub transport, and explicitly claims no live PR merge.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Maintainers cannot land an otherwise eligible PR while the advisory bot review is queued or its comments cannot be read.
Reason: The maintainer-authored direction removes a demonstrated workflow obstruction without adding another option or competing owner.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-directed change removes an advisory bot dependency from landing, and the pinned diff has no actionable correctness findings.

Priority: P2
Reviewed head: 70faaa5e5fbf5247f5bfbdbd09388442a0d8eace

Before merge

None.

Findings

None.

Agent review details

How this fits together

The maintainer landing tool consumes prepared review artifacts and current GitHub state, validates merge admission, submits a pinned request, and retains its outcome for reconciliation.

flowchart TD
  A[Prepared review artifacts] --> B[Merge admission]
  C[Current GitHub checks and policy] --> B
  B --> D[Exact head merge request]
  D --> E[Retained outcome and reconciliation]
  F[Advisory ClawSweeper feedback] --> A
Loading

Technical review

Best possible solution:

Land the focused removal through the existing required review, CI, and merge-admission checks.

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

Current main explicitly rejects missing completion comments before merge admission; the PR reports a failing-before and passing-after supervised regression, but this read-only review ran no target code.

Is this the best way to solve the issue?

Removing the prerequisite at its merge owner, together with its parser, fixtures, registration, and guidance, is a coherent fix that preserves the independent admission checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5a1f8c692e94.

Provenance checked

  • Completion-marker admission and retained bot evidence changes intended behavior with a stated reason (3254c6c: Require a trusted completed review before verification and final admission, retaining the selected evidence for audit and recovery.)
  • Review-age guidance keeps the original intent (7c8d77b: The later policy removed expiration because review age did not indicate correctness; this PR also removes obsolete freshness instructions.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit ad8327f adds scripts/pr-lib/merge.sh:90 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ad8327f58692; files: scripts/pr-lib/merge.sh)
  • Vincent Koc: Raw commit df93a28 adds scripts/pr-lib/merge.sh:699 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: df93a28f0bc5; files: scripts/pr-lib/merge.sh)

PR surface

Tests -269, Docs -3, Other -146. Total -418 across 19 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 11 27 296 -269
Docs 4 10 13 -3
Config 0 0 0 0
Generated 0 0 0 0
Other 4 6 152 -146
Total 19 43 461 -418

Labels

Label changes:

  • add P2: This resolves a concrete maintainer landing failure with no product-runtime change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: This resolves a concrete maintainer landing failure with no product-runtime change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 12, 2026, 4:03 AM ET / 08:03 UTC.

@steipete
steipete merged commit c2d1513 into main Oct 12, 2026
120 of 121 checks passed
@steipete
steipete deleted the steipete/merge-run-no-clawsweeper branch October 12, 2026 08:13
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 13, 2026
obviyus added a commit that referenced this pull request Oct 18, 2026
…ngs (#176308)

Related: #176053

## What Problem This Solves

Fixes: agents working in this repository shipped fixes whose proof stopped short of the real product, after #176053 removed the root lines that asked for end-to-end reproduction and boundary proof.

## User Impact

No user-visible change. Agents get one short, direct rule set for proof and review: reproduce end to end, prove the fix end to end through the real product and the channel's e2e skill, commit the proof tests, and resolve real ClawSweeper findings while its review stays advisory.

## Why This Change Was Made

A blind replay of 16 held-out historical tasks (16 tasks × 2 instruction versions × 2 seeds, two independent model judges) compared root `AGENTS.md` before and after #176053. Overall results tied, but proof quality was lower with the trimmed file in 25 of 33 judge verdicts that differed (sign test p = 0.005; per pair 16 of 22, p = 0.052). Judges noted runs that left proof tests out of the diff and left consumer tests stale and unrun. #176053 had removed "reproduce defects through actual entry point before editing" and "Behavior-only fix: direct boundary proof".

| Section | Change |
|---|---|
| Execution discipline | "Real failing entry point first" now says to reproduce end to end before editing. Added: ask whether the proof could pass while the task stays broken; a failed setup is not a product verdict. |
| Product and validation | Added **Prove it end to end**: rerun the reproduction on the fix through an isolated Gateway with a real agent and model, the channel e2e skill or Control UI e2e, and an upgrade from the latest stable when update, Doctor, config or state changes. Mocks and helper tests support this proof and never replace it. |
| Product and validation | **Fixes prove the invariant** now says to commit the tests with the fix and to update and run the tests of every consumer of what changed. |
| Product and validation | The ClawSweeper line becomes **Make ClawSweeper happy**: its review is advisory (as #169739 decided); fix every real finding in one batch, request re-review once, and reject findings that add restrictions without a concrete harm. A maintainer's explicit land instruction does not wait for a pending or stale review. |

## Evidence

| | Before (`origin/main`) | After |
|---|---|---|
| Characters | 18,083 | 19,091 |

- `pnpm check:agents-md-size`: 33 files within 20,000 characters. The new pre-commit hook ran on this commit.
- All four linked skill files exist under `.agents/skills/`.
- `git diff --check` and `oxfmt --check` are clean.

**Merge danger:** two-way door. Docs only; a revert restores the previous text. Blast radius: agent instructions for work in this repository.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 19, 2026
…ngs (openclaw#176308)

Related: openclaw#176053

## What Problem This Solves

Fixes: agents working in this repository shipped fixes whose proof stopped short of the real product, after openclaw#176053 removed the root lines that asked for end-to-end reproduction and boundary proof.

## User Impact

No user-visible change. Agents get one short, direct rule set for proof and review: reproduce end to end, prove the fix end to end through the real product and the channel's e2e skill, commit the proof tests, and resolve real ClawSweeper findings while its review stays advisory.

## Why This Change Was Made

A blind replay of 16 held-out historical tasks (16 tasks × 2 instruction versions × 2 seeds, two independent model judges) compared root `AGENTS.md` before and after openclaw#176053. Overall results tied, but proof quality was lower with the trimmed file in 25 of 33 judge verdicts that differed (sign test p = 0.005; per pair 16 of 22, p = 0.052). Judges noted runs that left proof tests out of the diff and left consumer tests stale and unrun. openclaw#176053 had removed "reproduce defects through actual entry point before editing" and "Behavior-only fix: direct boundary proof".

| Section | Change |
|---|---|
| Execution discipline | "Real failing entry point first" now says to reproduce end to end before editing. Added: ask whether the proof could pass while the task stays broken; a failed setup is not a product verdict. |
| Product and validation | Added **Prove it end to end**: rerun the reproduction on the fix through an isolated Gateway with a real agent and model, the channel e2e skill or Control UI e2e, and an upgrade from the latest stable when update, Doctor, config or state changes. Mocks and helper tests support this proof and never replace it. |
| Product and validation | **Fixes prove the invariant** now says to commit the tests with the fix and to update and run the tests of every consumer of what changed. |
| Product and validation | The ClawSweeper line becomes **Make ClawSweeper happy**: its review is advisory (as openclaw#169739 decided); fix every real finding in one batch, request re-review once, and reject findings that add restrictions without a concrete harm. A maintainer's explicit land instruction does not wait for a pending or stale review. |

## Evidence

| | Before (`origin/main`) | After |
|---|---|---|
| Characters | 18,083 | 19,091 |

- `pnpm check:agents-md-size`: 33 files within 20,000 characters. The new pre-commit hook ran on this commit.
- All four linked skill files exist under `.agents/skills/`.
- `git diff --check` and `oxfmt --check` are clean.

**Merge danger:** two-way door. Docs only; a revert restores the previous text. Blast radius: agent instructions for work in this repository.

Co-authored-by: Ayaan Zaidi <[email protected]>
RomneyDa added a commit that referenced this pull request Oct 20, 2026
…8170)

* fix: ClawHub release verification fails while publication is pending (#168153)

* fix(release): verify ClawHub only after public finalization

* fix: align ClawHub recovery with authoritative publication state

(cherry picked from commit 7985ac2)
Co-authored-by: RomneyDa <[email protected]>

* fix: Linux feed publication tolerates stale public downloads (#168179)

(cherry picked from commit 18f2006)
Co-authored-by: RomneyDa <[email protected]>

* feat(pr): scope worktree cleanup to one PR (#168152)

(cherry picked from commit 51c0f56)
Co-authored-by: RomneyDa <[email protected]>

* feat(release): reconcile exact owned validation cancellation trees (#168267)

* feat(release): reconcile exact owned FRV cancellation trees

* fix(release): parse cancellation provenance with fixed patterns

* fix(release): normalize rerun copies before cancellation discovery

(cherry picked from commit 02a2bd2)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): recover failed receipts without rerunning workloads (#168266)

* fix: recover failed release receipts without rerunning workloads

* test(release): materialize publication harness preload closure

(cherry picked from commit 4485101)
Co-authored-by: RomneyDa <[email protected]>

* fix(qa): restore Telegram progress E2E delivery (#168675)

(cherry picked from commit 1fbfd4a)
Co-authored-by: RomneyDa <[email protected]>

* docs(release): generate release notes once after validation-recovery backports (#169495)

(cherry picked from commit 696fb2f)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): explain why release:candidate --workflow-sha must be trusted main (#169496)

(cherry picked from commit 513d0e7)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): full release validation helper fails when main advances before admission dispatch (#169500)

(cherry picked from commit 992410c)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): derive attested publish tooling in npm postpublish verification (#169497)

(cherry picked from commit 1f8307f)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): report candidate supersession and resume watchers (#168271)

* fix(release): report candidate supersession and resume watchers

* fix(release): keep invalid candidate metadata advisory to watchers

(cherry picked from commit cdb57ac)
Co-authored-by: RomneyDa <[email protected]>

* fix(pr): stop waiting for advisory ClawSweeper reviews (#169739)

(cherry picked from commit c2d1513)
Co-authored-by: RomneyDa <[email protected]>

* ci: let PR checks finish and classify inherited failures (#169647)

* ci: finish PR jobs and classify failures against main

* ci: distinguish signature and job-name failure attribution

* test(ci): avoid object spread in failure fixtures

* ci: classify differing validation scopes as unknown

(cherry picked from commit 7c4ff5a)
Co-authored-by: RomneyDa <[email protected]>

* fix(pr): scripts/pr keeps a lock after a failed command that fully drained (#169595)

* fix(pr): release drained failed-operation locks instead of requiring manual recovery

* test(pr): drop unused lock owner initializer

* docs(pr): drop obsolete blanket failure-retention claim

(cherry picked from commit a939a9d)
Co-authored-by: RomneyDa <[email protected]>

* fix(update): success headline hides post-swap steps that did not run (#170490)

(cherry picked from commit f26cdca)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): require current website downloads at closeout (#170704)

* fix(release): require current website downloads at closeout

* fix(release): verify request-time downloads before closeout receipts

* style(release): use braces for dispatch validation

(cherry picked from commit 0c51cc6)
Co-authored-by: RomneyDa <[email protected]>

* fix(ci): prevent avoidable FRV retries and cold setup failures (#170964)

* fix(ci): preserve FRV work through transient GitHub reads

* fix(ci): retain cache reads for frozen workflow targets

* fix(ci): count contributing packed release timing samples

* fix(ci): avoid stalled iOS simulator diagnostics

* test(ci): correct FRV regression assertions and output capture

(cherry picked from commit 5cd688d)
Co-authored-by: RomneyDa <[email protected]>

* fix(update): stabilize stalled recovery cleanup validation (#171507)

* test(update): await recovery descendant before fixture expiry

Expire the generated helper recovery timeout callback after the isolated command has persisted a live descendant PID and emitted readiness. Keep process-group termination and close joins native, retain the durable failed sentinel and dead-descendant assertions, and bound missing readiness with a fixture watchdog.

Refs #170803 (stalled-recovery fixture race only).

* test(update): load recovery clock from fixture module

Replace the added hand-written preload source template with a test-owned ESM fixture and per-case JSON configuration. Preserve exact helper and recovery command scoping, native timeout callback and watchdog cleanup, persisted descendant readiness and existing deadline, close-order, sentinel and process-death assertions.

Production behavior and deadlines are unchanged. Refs #170803 (stalled-recovery fixture race only).

* test(update): join state workers before handoff cleanup

Await the maintained state-database test cleanup owner before removing managed-handoff fixture directories. Synchronous native-handle close only starts worker retirement and can race the final WAL cleanup, observed as ENOTEMPTY in the retained-notification triage case.

Reuse closeStateDatabaseForTest without retries, timing seams, triage behavior changes or production changes. Refs #170803 (managed-handoff test fixtures only).

(cherry picked from commit 4a25358)
Co-authored-by: RomneyDa <[email protected]>

* test(agents): retire session MCP managers left by earlier test files (#172515)

(cherry picked from commit d4be691)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): show publication release and Windows source identities (#170274)

(cherry picked from commit 35fffec)
Co-authored-by: RomneyDa <[email protected]>

* fix: distinguish workflow approval and exception capabilities (#172661)

(cherry picked from commit aade2f8)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): expose Linux builder admission and retain failed bundles (#170297)

* fix(release): expose Linux builder admission and retain failed bundles

* fix(release): preserve unconfirmed Linux dispatch status

* fix(ci): make Linux build event admission explicit

* fix(ci): separate Linux mirror dispatch from release builds

* fix(ci): budget cold Linux source package builds

(cherry picked from commit 614f559)
Co-authored-by: RomneyDa <[email protected]>

* fix(ui): let locale refresh workers bootstrap new locale memory (#172689)

(cherry picked from commit 17bea1c)
Co-authored-by: RomneyDa <[email protected]>

* test(gateway): prewarm history worker before composed SDK request budgets (#172745)

(cherry picked from commit 2051055)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): packed package check refuses a root dist above 10,000 JavaScript files (#172954)

(cherry picked from commit 244cd79)
Co-authored-by: RomneyDa <[email protected]>

* test(agents): Bun agents-support shard fails after the question authority test leaks sharing reads (#172974)

(cherry picked from commit 54f0b41)
Co-authored-by: RomneyDa <[email protected]>

* test(plugins): IRC direct import smoke times out on loaded runners during its cold compile (#173105)

* test(plugins): IRC direct import smoke times out on loaded runners during its cold compile

* test(googlechat): keep the direct smoke test deadline above its child budget

(cherry picked from commit 8bc4915)
Co-authored-by: RomneyDa <[email protected]>

* fix(test): interrupted test wrappers miss their signal exit verifying a generation (#173068)

* fix(test): interrupted test runs miss their signal exit verifying a generation they will delete

* fix(test): keep borrower disposal verification; skip it only for interrupted wrappers

* fix(test): return the shim interruption result on every path

(cherry picked from commit b66e0fc)
Co-authored-by: RomneyDa <[email protected]>

* test(openshell): registration lifecycle test fails when registry retirement outlasts its 1s poll (#173205)

(cherry picked from commit 7cd0f47)
Co-authored-by: RomneyDa <[email protected]>

* fix(android): prepare focused proof before running Gradle (#172668)

* fix(android): prepare focused proof before running Gradle

* test(android): reach proof prerequisites on Linux ARM

* test: remove duplicated Android job structure assertion

* fix: seed stored inference account for Docker cron cleanup

(cherry picked from commit 404b708)
Co-authored-by: RomneyDa <[email protected]>

* fix: preserve bound Codex history after app-server restart (#172705)

(cherry picked from commit 9fe4372)
Co-authored-by: RomneyDa <[email protected]>

* fix(release): Linux channel promotion fails after a withdrawn Windows companion (#173615)

(cherry picked from commit c58afa2)
Co-authored-by: RomneyDa <[email protected]>

* ci(release): temporarily disable Windows companion publication (#173656)

(cherry picked from commit 99ce3ea)
Co-authored-by: RomneyDa <[email protected]>

* fix(qa): Telegram live lane fails scenarios when the stale-update drain hits a transient Bot API error (#173465)

* fix(qa): retry Telegram stale-update drain through transient Bot API failures

* fix(qa): cancel Telegram drain waits on proxy stop and cap attempts by budget

* test(qa): prove the Telegram drain abandons a stalled attempt at its deadline

* test(qa): drop timing-dependent upstream count from Telegram drain deadline test

(cherry picked from commit 387ebd6)
Co-authored-by: RomneyDa <[email protected]>

* test(scripts): give relocated worker facade and image tests the archive budget (#174556)

(cherry picked from commit 746a52a)
Co-authored-by: RomneyDa <[email protected]>

* test(ui): settle lazy preference reader before profile identity waits (#174614)

(cherry picked from commit d6ea634)
Co-authored-by: RomneyDa <[email protected]>

* test(plugins): collect Bun recovery retention from a timer phase (#174924)

Bun's JavaScriptCore scans native stacks conservatively. Under load, the
immediate dispatcher can keep a stale pointer to the completed recovery
fixture graph across every immediate-phase collection, so the retired
PluginInstance stayed reachable only through GC-internal roots. A
collection from a timer callback releases it. When the expected
references are still live after the existing immediate passes, run up to
four timer-phase collections; a strong retainer still fails.

(cherry picked from commit 8919729)
Co-authored-by: RomneyDa <[email protected]>

* test(scripts): adapt worker archive timeout backport

Keep the release branch test inventory while granting the two relocated archive cases the intended three-minute budget.

Co-authored-by: RomneyDa <[email protected]>

* fix(codex): adapt unloaded-thread recovery to release params

Use the release branch request parameter directly when deciding whether an ordinary bound thread may be resumed.

Co-authored-by: RomneyDa <[email protected]>

* test(codex): adapt recovery fixture to release helper

Use the release branch thread-result helper signature so the recovery regression validates the intended thread identity.

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
Co-authored-by: roboclaw-bot <[email protected]>
RomneyDa pushed a commit that referenced this pull request Oct 20, 2026
Allow explicitly confirmed recovery of an accepted, terminally failed direct REST merge only after an authoritative result reread and fresh ordinary admission. Retain the exact async failure and prior outcome through existing CAS ancestry; keep pending, expired, SHA-bearing, and changed-head outcomes fenced.

Backport note: #178170 carried this change's async-failure admission
check and tests (through #169595/#169739 conflict context) without the
async_failure declaration, recovery selection, intent recording, and
outcome validation, so every merge-run under set -u exited with
"async_failure: unbound variable". The merge.sh conflict keeps the
release form without the retired ClawSweeper review gate; the test
file keeps the post-#169595 expectations already on the branch.

(cherry picked from commit 1a6709e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: M 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