Skip to content

fix(crabbox): recover interrupted staging after a host reboot - #200486

Open
vincentkoc wants to merge 4 commits into
mainfrom
fix/crabbox-reboot-writer-retirement
Open

vincentkoc wants to merge 4 commits into
mainfrom
fix/crabbox-reboot-writer-retirement

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

After a host reboots, an interrupted Crabbox source capsule can remain marked as admitted with active writers even though those processes belonged to the previous boot. Native staging recovery then refuses to retire that capsule.

User Impact

Operators can use the existing recovery command to retire this specific, verified prior-boot state while preserving its source and diagnostics. This is an internal tooling repair; it does not change OpenClaw runtime behavior or trigger automatic cleanup.

Why This Change Was Made

Recovery distinguishes prior-boot retirement from successful finalization and keeps the existing same-host provenance, claims, holder, exact mirror/lock, source and receipt checks. Once diagnostics have a recorded identity, retries must verify that same evidence instead of replacing it after corruption.

The regression fixture uses its injected provenance consistently for the real process-domain digest, including Linux execution of the simulated Darwin scenario. Production lock checks remain unchanged. The final test-only correction preserves all eight diagnostic-custody matrix rows while satisfying root-test lint.

Evidence

Current scoped proof passed; landing remains blocked. The signed candidate is 84642284bb759be76223f9e8e5e105a08f9bfd81. The exact tested synthetic merge is 808ef161e425480ffc08ef58e231be79f7f738d1, with ordered parents 62bb5d3bcfba77d2e5d461c8f1708ea96fb6e54d and this candidate. Its two changed file blobs match the reviewed candidate. This identifies the tested merge, not a moving current merge ref.

  • Fresh complete committed-source review: zero findings. Signed-commit hooks, targeted formatting and whitespace checks passed.
  • Independently verified 123 cases on Node 24.22.1 and 123 on Bun 1.4.4-canary.1+191755ec1: reboot 62, provenance 21 and staging 40 per runtime. All six file results and ten invocations completed without failed or skipped cases, including mirror/lock and diagnostic-corruption coverage. Node reboot, Bun reboot, Node staging, Bun staging, Node provenance, Bun provenance.
  • Ordinary root-test lint explicitly covered the modified test and passed. Current supplemental build, lint/resource-safety/format and scripts/test-root-scripts types passed. Locale verification passed all 22 locales with zero fallbacks; release-checklist fixtures passed all 152 assertions.
  • Actual Windows shard 5 UI-loader regressions and worker-media cases passed; all five Windows jobs succeeded. Swift release lint, formatting, build and the later Swift test job passed. Android Wear, screenshots and third-party checks passed, but the separate Android failures below remain unresolved. Skipped Windows shutdown cases are not proof.

R2 dependency/deadcode proof is now resolved. On November 19, the canonical pnpm deadcode:report passed all three Knip 6.40.0 scans (scripts, production and full tree), with exit 0 in 94.087 seconds, on Node 24.22.1 and pnpm 12.15.0. The tested current-target source was 996e4bcfd6bf07433f3601259674193192fb30fa, ordered parents 11b65598aa4d6b56ce786a611efbb172775a165b and this candidate; its transport carrier was f42b0e7dc0dd3308881fdfde992eae4f422dc33c. Native proof run 44479999705/1, job 135409793394, used workflow/checkout 0ff5c3354cbb31f03c379c703e177aad1bd92b1c; all 931 reviewed tracked workflow inputs matched. Source identities stayed unchanged, the native child joined with complete output and remote settlement completed. Actions reports cancelled because the native controller stopped its completed allocation; this is scoped workload proof, not a green CI aggregate. Independent audits accepted the separate association supplement after correcting the checkout-log parser. The original refusal receipt and logs remain unchanged. R5 and the recovery/landing gates remain open.

First current-target Linux batch accepted: 125 selected cases passed (90 Node, 35 Bun). Ten ordered invocations ran against M996 (996e4bcfd6bf07433f3601259674193192fb30fa), with unchanged source, assertions and test limits. Native run 44482234914/1, job 135417103917, used workflow/checkout 0c3f2a4ea2b3527d7cce79494084fc1c2013f7b8 and transport carrier a67574fb483a9b1314242214b6cf499071c7a2f5. All 931 reviewed tracked workflow inputs matched.

  • Node: runtime-worker URLs 23, nested SQLite creation 5, Git execution 27, Git lifecycle 29, Git native settlement 1, session-history benchmark 2, retained-runtime imports 2, and the exact CI-planning Bun-provisioning case 1.
  • Bun: native worker lifecycle 16 and host transport retirement 19. The two retained-import cases also exercised nested Node then Bun in their original order.
  • Node 24.22.1, pnpm 12.15.0, Vitest 5.0.5 and pinned Bun 1.4.4-canary.1+191755ec1; Git 2.55.0 passed the required capability probe. Benchmark cases took 7.198s / 20.355s under unchanged 30s / 60s child limits. The CI-planning filter intentionally excluded 819 other cases; those are not credited.

Independent workload and custody audits accepted all ten invocations, complete output, joined process groups, source/association checks and native resource closure. Actions cancellation records normal cleanup of the completed allocation. The original proof receipt remains unchanged (SHA-256 1399354d4317f174e75c922df1e600ab86707630590ab9c38a3dae0c81f2fcdf); this is accepted scoped proof, not a passing full CI aggregate or whole-R5 qualification. The two Git-release service fixtures were not part of this batch.

Further focused proof accepted; R5 remains open. The following results have independent workload, source/association and custody acceptance. Historical failed and partial receipts remain unchanged.

  • On unchanged M996, run 44492995114/1, job 135453201396, passed 42 Node cases: context-engine 3, initial setup 13, flight recorder 22 and observer 4. The only skip was the declared Node26-only spinning-function case on Node24; the real profiling, interrupted Node24 owner and live-futex cases passed. Actual workflow/checkout 0d4eacf5b9e2414d85980498066b6652a9f4a76f and all 931 tracked inputs were verified by a separate read-only supplement after the partial batch. npm/maintenance were not admitted in that attempt. Context direct ownership took 55.494s under its current 180s limit; observer tests use a controlled clock, not five minutes of wall time. Neither result establishes the historical timeout cause.
  • A separate unchanged-M996 run 44494946512/1, job 135459772634, passed 10 cases: Node npm 5, then Bun maintenance 5, with no skips. Actual workflow/checkout 3a93a8d232859796d5ad4146258d392512091561 and all 931 tracked inputs matched. The full npm flow retained 101 packages, 203 entrypoints and 4,900 requests; it took 92.744s under the current 300s cap, also below the former 240s bound without claiming a causal repair. Maintenance covered real scheduler/SQLite invalidation, deferred pruning and stop behavior.
  • The reproduced cron requester failure required a fixture-only prerequisite, now landed in fix(cron): restore native requester integration coverage #201731 at 157f1efe5f2b840ee3440e7f3e875663238b3edd. Intentional host-admission requirements made the old raw-sender fixture invalid. The repair uses the existing bound ingress helper and retains persistence, scheduled-edit and revocation assertions. Separately tested source fef7ac94399d5d3e1188741f162e52e0a1120f1f is one such commit on M996: run 44488100893/1 passed 13 requester + 9 full integration Bun cases. The ordinary PR source had separate 22-case and targeted static proof before native landing. Original M996 remains immutable; its failed result is not rewritten.
  • The two Git-release fixture metadata omissions are fixed by landed fix(test): restore Git release service inspection fixtures #201730 at fd4807ae11361d77fc25a702abf835a6b55ad71b. Its ordinary-source 12-case Node proof passed on bd314268ae9c3a81af6dda9312089d651853dcda. Private M996-derived execution is also accepted: signed source 1f91c2a682a278d173216dd874005255183cca28, tree c58da8b54f6679e38d4bf8e2670ce1d33a7455b5, contains only the canonical two-line fixture patch. Run 44506253927/1, job 135498652544, passed all 12 Node cases, no skips, in 50.743s. Actual checkout 4c11507996d17dd19af6dc278e25786f14000971, all 931 reviewed inputs and closed custody were independently verified. Original unpatched M996 remains unchanged.

Gateway artifact fixture proof accepted on both repaired sources. The unchanged-M996 Gateway attempt reproduced an unsafe pre-existing state-directory refusal in the first Node caption case; it had 0 passed, 1 failed, and the three later invocations were not run. The exact historic permissions and umask were not recorded. Both artifact fixture producers now request mode 0700; production admission, assertions, timeouts and cleanup remain unchanged. The two-line test-only repair is tracked by #201763, now merged at signed squash 00f49d807fa59f1986505ace9bbc2834dca65a85 after exact-head CI, Security, ClawSweeper and native qualification. Its ordinary and native PR checkouts were removed; the separate private proof source remains retained for this unfinished parent.

  • Ordinary repair source: run 44499535745/1, job 135475468242, passed 30 cases with no skips: Node caption 1, Bun caption 1, Node canonical-publication 1, and Node temp-directory guards 27. Each invocation inherited umask 0000 from its isolated child, verified by four exact-process receipts; no global policy was changed. Targeted formatting, type-aware lint and the canonical core-test-gateway-server type graph passed. The complete committed-range local review was P0-only with zero findings; independent broader source review is separate.
  • Parent proof derivative: source 764aeb1fb9fa801085bd28f915e56dd1f7dd2d8c, tree d6a5548dbda48fcfde695c440c9f9274663ddeaa, is exactly the same two-line fixture patch on immutable M996. Run 44501408875/1, job 135481997693, separately passed the same 30 cases with no skips under unchanged ambient creation policy. The full caption/publication scenarios and real unsafe-ancestor rejection remain intact; original M996 failure evidence is retained.

Independent workload and custody reviews accepted both results. Each binds actual workflow/checkout 5ce057b893ddf478995496cc17cba177f287f6dd, all 931 reviewed tracked inputs, unchanged executed source, joined output/process groups, retired temporary Bun and closed native custody. The cancelled Actions carriers record normal teardown, not passing CI aggregates. These results close the named caption fixture scope. Bun catalog and repeated Stop are also independently accepted on unchanged M996: run 44503321469/1, job 135488541857, passed both full cases in separate invocations (15.838s and 30.452s), no skips. Actual checkout dbf41b9173f6c3eb128221387533a1096ab1c43a, all 931 reviewed inputs and closed custody were verified. Original failures and the other R5/recovery gates remain unchanged.

UI fixture lifetime repair is now qualified on separate repaired sources. Run 44505495811/1 on unchanged M996 remains 19 Node passes/1 failure and 20 Bun passes; those 39 observed passes lack final actual-workflow qualification. The instrumentation-only 17-case diagnostic passed but showed no retired-client calls, so it did not establish a cause or repair.

The subsequent controlled 19-case BASE experiment on c6891747c4e3e6c076befaa145757a8819e93c89 produced 18 passes and the required final invariant failure. In 179 observations with none dropped, a retired fixture dispatched the next fixture's exact run and deleted its canonical queued row while its visible projection remained unchanged. One held-history response was released across real fixture teardown, using different storage without advancing the clock. Actual checkout bd9166435e98460dee2f6bfa53c301ca1ff96a98, all 931 inputs and closed custody were independently verified. This failed experiment establishes a fixture-lifetime defect; it does not establish the historical CI failure's cause or count as passing qualification.

The six-file test-only owner repair landed in #201781 at signed squash 35181e642ac523d298af9db100bbcc1fad2f449c. Cleanup now retires connection/history ownership before callbacks and asynchronous continuation; copied fixtures register their actual host, while shared clients remain owned by their existing lifetimes. Original assertions and timeouts are preserved.

  • Ordinary source 26b971ee932f87974cd0a69748ab6dbb94916889: 99 cases passed (80 Node, 19 Bun), no skips, plus targeted formatting, lint and UI test types. Complete committed-range P0-only review found zero findings; independent broader source review was also accepted. Exact-head CI, Security, ClawSweeper review and native squash gates subsequently passed. Its native PR and ordinary author checkouts are removed.
  • Private M996 derivative 0e369a37117866134ec9fe3fb99c0b96ebe33da0, tree 883eabb080a582f55bebc606883ee8a0e2abcd9b: 44 cases passed, each runtime's three browser cases plus 19 unit cases, no skips. This independently accepted proof covers both original UI regression files and the new held-history pair, with actual 931-input association and closed custody. Its source remains retained for the parent; unpatched M996 is not relabeled passing.

Existing warnings remain recorded as three follow-ups: theme-fixture style cleanup, pane-retirement mock response contracts, and file-view untracked reactive reads. They were not suppressed or claimed harmless. This closes the named UI regression scope on the repaired derivative, not all R5 work.

Node large-31 remains partially failed. The unchanged-M996 focused attempt 44516403662/1, job 135533481973, passed two filesystem cases with 12 exact authored Darwin skips in 44.927s, proving the pinned Bun prerequisite reached the real tests. The original shared-process Gateway chunk 2 completed all 14 files with 23 passes and three failures in 171.055s:

  • Numeric config-record-keys and canonical config-write-reread each reported config.apply with CLIENT_TIMEOUT, 10,000ms and requestSent=true. In config-write-reread, that call is the fixture’s afterEach restoration, not the config.set test body. The numeric-case timeout phase was not captured in that original attempt.
  • server.guest-resource-access.test.ts:178 received a successful pending status after membership removal instead of the expected FORBIDDEN rejection. That original result is retained; the later canonical expectation correction is described below.

Original chunks 4, 5 and 6 (39 files) were UNRUN in that failed invocation; later source-bound component results appear below. The actual checkout 8a23d7c11d37183b00f5bd0ba4c942bbfe03e116, all 931 inputs, unchanged M996 source, workload census and closed native custody are independently verified; the failed workload and qualifiedR5:false remain unchanged. No timeout extension, retry or full-job pass is claimed.

Canonical guest-test correction, ordinary proof accepted. #201749 landed as 703cd16725348658db97188cba3f03b5acf13baa. It corrects the expectation for an already admitted GitHub receipt read; fresh requests and artifact downloads still recheck membership. No production authorization change was needed. The complete file passed on exact ordinary source 32b2561a5e4a44a8f3c6422b674c94f1f22b6d42: Node one case / Bun one case, 15.279s / 13.404s, no skips. The exact private M996 derivative 96fe441baf29ad7006e659af25929036393f4b2b is source-verified; uninstrumented qualification in the original shared context remains pending.

Config receipt diagnostic completed; both timeouts remain unresolved. Run 44520600496/1, job 135547995029, used private instrumented source 0241f406a42e69241b4d1cde5fa3360a310e483d and the original 14 files / two Node workers. Result: 24 passes, two failures, no skips, with 634 contiguous observations across 14 reports and zero drops/errors.

  • Numeric record keys: the first body config.apply had returned from its write and claimed its receipt by 188.514ms, but the client timed out at 15,457.170ms. The receipt became STOPPED during teardown at 16,221.070ms.
  • Canonical reread: the config.set body passed. Its afterEach restoration had returned from its write and claimed its receipt by 98.114ms; the client timed out at 15,064.902ms. The receipt became APPLIED at 15,158.835ms, followed by a response-send attempt at 15,282.833ms. A send attempt is not proof of client receipt.

The configured client deadline remained 10,000ms. These observations establish delayed settlement, not its cause or CPU pressure. Actual workflow/checkout 18b04f2fd591df17f76755b74c7d47b6c3ab5e62, all 931 inputs, unchanged source and closed custody are independently verified. The native/workload result remains failure and qualifiedR5:false; the 24 diagnostic passes receive no qualification credit.

Phase and catalog diagnostics completed; config qualification remains open. The later phase/event-loop run44526914335, signed source b4e645004ab71f3bf1ad85780f9c0e5abf7802ab, retained the original14-file/two-worker schedule and produced 24 passes, two failures, no skips,1098 observations and228 paired spans. Existing bounded tails placed stalls in sidecars.native-model-catalog, with synchronous ESM/tsx/esbuild transform frames. This narrows the observed boundary; it does not prove a production cause.

The subsequent catalog run44550245206, source ca5bd535720250f97680189f5411220a611a9595, produced 25 passes, one failure, no skips across14files. Numeric record keys failed in51,431ms; reread passed in this instrumented run only. Fourteen complete reports retained1734 observations,749 catalog records,174 paired phase spans and191 catalog scopes across3 attempts, without drops/errors. Roughly26 seconds were inside the harness-call boundary while policy-cache work was fast. Lazy import versus actual catalog execution remains UNKNOWN. Both runs have independently accepted exact-source/protocol/931-input bindings and CLOSED custody; their failed results and qualifiedR5:false remain. Neither grants R5 pass credit. A source-reviewed selected-harness/import/load diagnostic remains NOT_RUN, pending its final source-verification guard correction/review; missing generated-output provenance will remain UNKNOWN/incomplete.

Fixture-directory repair landed; original chunk4 now passes on its repaired derivative. #201875 landed at signed squash 44267df6c5eabc0af9bd1b8d4ff223b10f4c6346 (ordinary head 46b757a9e3eb41cc98ab54041f8df4e708d62002,3 test/helper files,+47/-4,production0). Shared fixture atomic writes now preserve the existing private parent directory mode. Under isolated child masks000 and002, each baseline produced one pass/two failures/seven filtered cases: the same parent device/inode changed from0700 to0777/0775. Fixed proof passed all six selected cases across both masks; the ordinary full file passed 10 cases, no skips, plus formatting, lint and both canonical typechecks. Exact-head CI, Security, ClawSweeper and native landing gates passed. Ordinary author/native PR checkouts are removed; unfinished private proof consumers remain. Exact historical worker umask is still unobserved.

The earlier placement run44529340795 on 47cb28ab291ba1ba28682a36d5a37554c7dae45f remains 84 passes,17 failures,two cases without a terminal result, no skips. Placement itself passed4/4. An initial unsafe-ancestor failure preceded timeout/dispatch-unavailable failures; these are not17 established independent bugs. The workload ended with boundedSIGTERM143 without final Vitest/shard summaries. Its raw local closure error remains unchanged; separate identity-matched evidence accepted CLOSED custody and actual checkout/931-input/protocol binding.

Private source 7ab975c477f225975bcd6889705d02c784f4f497, tree 63d10ae30385bab68f667a55a6af073d060fb35b, adds the three reviewed directory-fix hunks to the accepted PR201719 fixture correction/cancellation-owner consolidation. Original chunk4 run44543916180 completed 13 files/103 passes/zero failures or skips, including private-completion27/27 and placement4/4, preserving two-fork shared-process context, order and deadlines. The child completed in263.576s; all source/protocol/931-input and native closure checks were independently accepted. This qualifies that repaired component, not unpatched M996 or the whole PR.

Node31 chunks5/6:97 passes accepted through an exact offline supplement. Run44547378766 on the same 7ab975c4 source completed 26 files,37+60 passes,zero failures/skips, with both child exits and native completions successful. Its original FAILED receipt is retained: the strict parser rejected three ellipsized titles. A separately reviewed23-control supplement derives the exact registered titles from pinned Vitest5.0.5’s39-UTF16-unit-plus-ellipsis rendering and verifies all97 ordered cases. Source/protocol/931-input and CLOSED custody checks passed. No rerun, fuzzy title matching or original receipt rewrite was used; original qualifiedR5:false remains.

Node large5 shared component:557 passes/four declared skips accepted. Run44552459819 on 7ab975c4 completed62files, with561 native JSON assertions: 557 passes and four declared PostgreSQL skips. The child/native completion and CLOSED source/protocol/931-input checks passed. The original FAILED parser receipt stays unchanged. A separately reviewed28-control offline supplement derives the exact two reporter redaction/duration projections from sealed native JSON, source order and pinned formatter behavior. Those two console rows collide; console text alone cannot independently distinguish their identities or detect swapping identical rows. Native JSON per-file occurrence identity remains separate. The Gateway-only11 files are still UNRUN; this is component proof, not a whole-job pass.

Two additional follow-ups remain explicit: private-completion gate waits should race admitted-operation failure/cancellation rather than cascade into120-second timeouts; repeated credential redaction in test reporters can consume duration suffixes and collapse distinct parameterized titles. Neither is suppressed or folded into the completed repairs.

The completed native allocations closed with joined output/process groups and verified custody. Their cancelled Actions carriers record native teardown, not a passing CI aggregate. These scoped results do not authorize parent landing or live staging recovery.

Final supplemental attempt 1: run 44059107545/1 completed with 245 successful jobs, 20 failed, five cancelled and nine skipped (279 total). The complete census was verified November 19, 2026, 06:18:13 UTC. Its workflow revision is e58cd2228d8fc901948f413411200ca2a2b59d61; its tested source is M808 above. All original failures remain retained.

Ordinary PR CI 44058081286/2 passed on November 19: 29 successful and 31 skipped jobs. The only requested retry was the failed changed-test job; earlier successes were retained. Replacement job 135381658992 checked out M808, passed the existing Git capability guard with installed Git 2.56.1, then passed 26 cases across three completed invocations. The unchanged workflow's explicit rerun selection assigned a GitHub-hosted runner; the original attempt used a different pool. No agent provider override was used. This proves the retry, not recovery of the original pool or a successful PPA installation. Aggregate 135382808030 passed with release-fast-lane, coalesced-iOS and known-main-red exceptions all false. Attempt 1's Git 2.43/PPA HTTP503 failure remains historical evidence.

Automatic Security Review 44471828015/1 also passed: job 135382993578 executed enforcement for this exact head and ordinary CI attempt 2, then posted a successful openclaw/ci-gate. This is CI-bound enforcement, not the earlier fast/preparation-only check.

Android diagnostic retry: the single authorized ktlint job in 44059107545/2, 135382493439, passed against M808 with E58 tooling on November 19 at 06:25:37 UTC: ktlintCheck completed successfully, with 41 tasks executed and one from cache. It follows a successful direct read of the exact plugin-marker artifact. Android Play was not retried; no version or source change was made. Attempt 2 as a whole reports cancelled, not passing; its totals were unavailable because the jobs-list API returned HTTP502. The original attempt-1 census above remains separate.

Known supplemental failures and uncovered results

Each row records a historical failed result. Accepted later scoped results are identified separately; source independence or fix ancestry alone does not convert a failure to a pass.

Owner / failed job Observed result and disposition
UI (133957105117) Unsaved file draft resets during navigation; send-deadline discard remains sending instead of waiting-reconnect. Two assertions; historical causes unknown. Full log unavailable; annotations retained. The separately accepted 44-case M996-derived repair proof above now covers both files; this old result stays failed.
Android Play / ktlint (133957106468, 133957106316) ktlint 14.2.0 plugin-marker resolution fails before tasks. The later failure followed successful Android siblings; repository/transport cause remains unknown. The separately recorded ktlint diagnostic retry does not erase these original results or qualify Android Play.
Dependency/deadcode (133957107320) Three unused exports and one unused script. Canonical repairs #200509 and #200534 are now merged; #200526 is also merged. These repairs are absent from historical M808. The separately recorded M996 three-scan proof above now resolves R2; this original failed result is preserved.
Node context-engine ownership (133957136712) Direct-ownership case exceeded 120 seconds; two sibling cases passed. Last stalled boundary is unknown. The separately accepted M996 timing batch now passes all three cases; direct ownership took 55.494s. Current case limits and historical failure attribution remain explicit above.
Node plugin npm fixture (133957112928) Both 101-package consume/authorize cases exceeded 240 seconds despite completing their request/exit assertions. Dominant cost is unknown; the canonical per-route fixture optimization is already included. The separately accepted M996 npm file now passes all five cases, including the 92.744s full flow; the old two failures remain historical.
Node stall recorder (133957136750) Live futex sample reports process state R where S was expected. Full sample/timing attribution is missing. The separately accepted M996 flight/observer files now pass 26 cases plus one exact Node26-only skip; the live-futex case passed without weakening its assertions.
Bun native worker lifecycle (133957143925) Successor resource attachment fails after deliberately exiting the old broker: connection refused / broker unavailable. The suspected admission-closure ordering gap now has a relevant merged repair, #201106. It is absent from M808 and does not prove the original cause. The separate accepted M996 batch now passes all 16 native lifecycle and 19 transport-retirement cases.
Bun cron message read (133957149861) Scheduled native channel-edit returns an error; retained stderr reports the Claude Code child exited 1. Underlying cause unknown. A later M996 reproduction exposed a stale raw-sender ingress fixture. Landed #201731 and the separate M996-derived 22-case Bun proof above close that named prerequisite without changing production or the original assertions.
Node nested SQLite creation (133957143975) Unexpected synchronous realpath count and missing stack marker. #200565 later moved loader work into the worker and repaired pump-observation coverage. It is absent from M808. The separate accepted M996 batch now passes all five nested-creation cases and 23 related runtime-worker URL cases; original failures remain retained.
Node Git service / lifecycle (133957159635) Two service fixtures omit required observed systemd manager metadata; the existing guard correctly refuses them. A separate clean fetch-close assertion had unknown cause. The accepted M996 batch passes 29 Git lifecycle, 27 Git execution and one native-settlement case. The two fixture corrections subsequently landed in #201730 with accepted ordinary-source 12-case proof; the separate M996-derived12-case execution above now covers those fixture corrections. The broader author-owned #200876 is not being taken over or treated as qualified.
Bun cron maintenance snapshot (133957125622) Pending-deletion case retains a session record instead of returning undefined; cause unknown. The separately accepted unchanged-M996 maintenance file now passes all five real scheduler cases.
Node initial worker setup (133957119537) Held input awaiting authoritative syncing exceeded 120 seconds; 12 sibling cases passed. Cause unknown. The separately accepted unchanged-M996 initial-setup file now passes all 13 cases.
Bun gateway caption / catalog (133957155640) Caption/history case reports session-mutation authorization changed; native user-home API-key catalog assertion times out. Historical causes remain unestablished. The later repaired-source Node/Bun caption proof above closes the caption scope; the separate unchanged-M996 catalog case above also passed; historical cause remains unproven.
Node session-history benchmark (133957119652) Source benchmark exceeds its 60-second outer limit after recent/page measurements, before gateway-tail completion. A matching later repair, #200868, gives the invocation an owned tsx cache while preserving the limit and assertions. It is absent from M808. The separate accepted M996 batch now passes both source benchmark cases, including recent/page/gateway-tail, under the unchanged child limits; compiled recent-only success was not used as equivalent proof.
iOS bootstrap retry UI (133957106766) testOnboardingPreservesFailedBootstrapSetupForRetry failed: three tests, one failure. The recovered inner log identifies apps/ios/UITests/BootstrapSetupFailureUITests.swift:53: setup.waitForExistence(timeout: 8) fails for the Enter setup code text field after Connect Manually. This is before bootstrap entry or refusal preservation. The original XCTest activity log shows SpringBoard’s camera permission alert interrupted the tap. XCTest tapped Allow, confirmed dismissal, and calculated {201, 596} for Connect Manually. At failure, the saved accessibility hierarchy still showed Connect Gateway with the app’s QR Scanner Unavailable alert and “QR scanning is not supported on this device.” The setup field never appeared. The second workflow attempt carries the same runner, timestamps and all 30 steps, so this is one observed failure. The later onboarding PR reports this named test passed on iOS 27.2 after camera permission was granted. Its first two permission-prompt runs failed. The test code through the line 53 assertion is byte-identical on M808 and the later PR. A fresh iPhone 17 Pro simulator on iOS 27.2 (24B8117) ran the same named test on the pinned current-target integration 996e4bcf on November 30. XCTest recorded one failure in 45 seconds. The system camera alert interrupted Connect Manually. Its accessibility tree exposed two nested buttons with the same kTCCServiceCamera-allow-button identifier and “Allow” label. The interruption monitor’s single-element tap failed before dismissal, so this run did not reach the setup-field assertion. A separate signed test-only revision (805946d3) selected the first matching Allow button and ran the same case on another fresh iPhone 17 Pro with untouched permissions. XCTest tapped Allow and resumed the manual-button action. The test then failed at the setup-field assertion. The captured app hierarchy showed a “QR Scanner Unavailable” alert over the still-visible Connect Manually button. That run ended before the bootstrap-refusal assertions. A third, signed test-only revision (d53aef9b) also removed the generic application tap between Continue and the named Connect Manually button. On a fresh iPhone 17 Pro simulator running iOS 27.2 with untouched camera and local-network permissions, the onboarding test passed (one test, zero failures or skips). XCTest reached the expected refusal, verified the setup code was preserved and Apply was enabled for retry, and confirmed the host and port stayed unchanged with no trust prompt. A separate invocation of testSettingsPreservesFailedBootstrapSetupForRetry on the same signed revision and simulator failed before entering the setup code. XCTest tapped “Paste setup code” at (201, 511), then failed its three-second keyboard assertion. The failure attachment showed the field at y=525.7–547.7 and no software keyboard. The test never submitted Connect or exercised the settings refusal and retry assertions. On signed test-only revision bc963d6c, the settings test waited for the setup field to return to its original frame after scrolling. On the same iPhone 17 Pro simulator and iOS 27.2 build, testSettingsPreservesFailedBootstrapSetupForRetry passed in 622.192 seconds (one test, zero failures or skips). XCTest reached the keyboard and tapped Connect. The test observed the expected refusal, retained the setup code, enabled Connect for retry and verified that the manual host and port stayed unchanged with no trust prompt. The onboarding pass is on d53aef9b and the settings pass is on its descendant bc963d6c. R5 remains open on the target revision. Original simulator artifact.
Node retained-runtime imports (133957125555) The Bun late-import child failed immediately with spawnSync bun ENOENT; the Node variant passed. E58's selector skipped Bun setup. Later merged #200731 repairs that selector. The separate accepted M996 batch now passes both retained-import cases (nested Node then Bun) and the exact Bun-provisioning planner regression.
Bun queued-child Stop (133957143913) Repeated Stop expected HTTP200 but received HTTP503: ownership changed during cancellation. Cause unconfirmed. The separate unchanged-M996 full Stop case above now passed in30.452s; this original failure remains retained.
Node gateway caption/history (133957155831) The same sanitized history/artifacts case failed with SessionMutationAuthorizationChangedError; historical cause remains unconfirmed. Separately accepted repaired-source Node/Bun caption proof is recorded above; the old failed result remains unchanged.
Final aggregate (134023475690) Failed with all exception flags false. No conversion of failed, cancelled or omitted coverage into passing proof.

Five jobs were cancelled by explicit job timeouts: real-Gateway UI at 40 minutes, and Node large-5, Node large-31, Bun large-38 and Node large-38 at one hour each. Node large-31 additionally has annotations for RPC timeouts and a missing Bun executable; these are not complete case-level causal evidence. None of these cancellations or the nine skipped jobs is passing proof. No attempt-1 jobs remain running.

Other previously failing cases now have actual current-merge passes, including locale and private-server inventory, Windows UI loader, Swift formatting, computer broker, workspace retention, session-message subscription, worker claim/build/run-owner/media/detached-context/failure-recovery, retained-worker pool, update work deadline, session-cost refresh and exec-group cleanup. Passing files inside failed jobs remain file-level evidence only. All historical failed results remain retained.

Remaining gates: R1-R4 are resolved; R5 remains IMPORTANT/unresolved, and the correction stays NEEDS WORK with failed test status. Accepted components retain exact-source limits. Remaining execution covers current-target Android Play; iOS bootstrap/manual-connect; uninstrumented original-context qualification of both config-timeout cases and the canonical guest-test correction; Node large5 Gateway-only11 files; Node large38 and Bun large38 unfinished selections; and four unfinished real-Gateway UI E2E files. Accepted UI44, repaired chunk4 103, supplemental chunks5/6 97, and shared Node5 557+four declared skips do not qualify those remaining scopes. Ordinary parent CI and its CI-bound Security pass, but separately admitted real recovery, current-head ClawSweeper review and final native qualification remain required. Original failures, cancellations and protected staging custody remain unchanged; no inherited-CI exception, parent merge approval or live recovery is claimed.

Read-only checks against the original interrupted capsule confirmed that the old owner refuses absent writer settlement, while the corrected owner reaches the separate diagnostic-preservation guard. Both inspections preserved receipt bytes and physical metadata. No live recovery has been performed. Prior queued-allocation custody, claims and retained staging remain protected.

Candidate and validation history

@vincentkoc vincentkoc self-assigned this Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 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 scripts Repository scripts size: M labels Nov 17, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 3b760a596f1b015b75a189a3743f56b77af8181e, but the PR head is now 84642284bb759be76223f9e8e5e105a08f9bfd81. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (1 earlier review cycle)
  • reviewed 2026-11-17T08:20:27.052Z sha 3b760a5 :: blocked before merge. :: none

@vincentkoc
vincentkoc marked this pull request as ready for review November 17, 2026 09:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant