Repository navigation
refactor(cron): publish receipt authority from the Gateway owner (cron 1/3) - #164805
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed October 4, 2026, 7:24 AM ET / 11:24 UTC (Revision 7). ClawSweeper reviewWhat this changesThe branch coordinates cron writes, approval changes, agent deletion, and shutdown through a Gateway-owned barrier that publishes committed receipt facts before returning. Merge readiness✅ Ready for maintainer review This PR remains useful and is not implemented on current main. The prior expiry finding is fixed, and the new native-effect and update evidence satisfies the previous proof requests; no actionable introduced defect remains. Likely related people: steipete and Jacob Tomlinson, based on prior cron and approval work. Priority: P2 Review scores
Verification
How this fits togetherCron schedules automated work and records each run in SQLite. Its receipt authority connects job and approval mutations to the guards that permit subsequent messaging and command execution. flowchart TD
A[Job and approval changes] --> B[Gateway receipt owner]
B --> C[FIFO writer admission]
C --> D[SQLite transaction]
D --> E[Committed receipt facts]
E --> B
B --> F[Message and execution guards]
G[Gateway shutdown] --> B
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +1017, Tests +1282, Docs +21. Total +2320 across 64 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Retain one publication owner for canonical cron writes, preserve existing receipt and grant policies, and keep the subsequent consumer cutovers separately scoped. Do we have a high-confidence way to reproduce the issue? Not applicable to the central refactor. Source inspection and supplied production-boundary traces establish the changed ordering; this read-only review ran no target code. Is this the best way to solve the issue? Yes. The gate extends the existing SQLite writers and settlement contracts while preserving final consumer guards, avoiding a competing durable authority store. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 31a1705cca22. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
Recheck standing-grant expiry after receipt publication and retain the caller's live approval scope while persistence settles independently. Permit only guarded consumption of an already-recorded handoff during close. Align fixtures with async database custody and the single Gateway writer, preserve admission identity during receipt-loss injection, and keep generic detached-exec tests from cold-loading an unrelated channel runtime. Receipt semantics, eligibility, schema, ledger, retention, and released SDK signatures remain unchanged. Final-head published-driver update proof is still a merge precondition for #164805.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Merge main to resolve the Gateway close-prelude conflict while retaining cron receipt admission sealing before scheduler cancellation and main's model-account shutdown fence and settlement join. Focused real-close proof: cron receipt publication/finalization and an accepted personal model-account write both pass (2 tests, 521.35s wrapper wall on the loaded local host). Receipt semantics, eligibility, and storage schemas are unchanged.
Wait for the saved dashboard row publication before deliberately closing its database for the durability probe. Retain every close/reopen and live-authority assertion. Full owner file: 34 passed, 241.25s wrapper wall; fresh P2 review clean.
Use the existing read-operation admission owner before raw schema and launch-receipt reads. Main's schema-facts change in #164490 moved foreign commit freshness to operation admission, leaving three fixtures reading stale facts or skipping a required freshness probe. Preserve same-handle rollback/retry, table visibility, reopen durability, and the exact nine-probe assertion. Each original failure reproduced five out of five times on unchanged main. The three repaired files pass all 89 tests (544.71s wrapper wall on the loaded local host), and P2 review is clean. Found while landing #164805.
Merge main through 8cabfb2, including the three read-admission fixture fixes proved while investigating this PR's CI. The merge is conflict-free; only worker-access documentation overlaps the cron-specific delta, preserving both sections. The cron receipt-authority delta and package manifests remain unchanged by this integration. The main repair reproduced all three failures five times each, then passed 89 tests, scoped checks, and P2 review. The earlier close-prelude resolution passed both real-close regressions, and the dashboard drain passed its full 34-case owner file. Final-head package/update and standing-grant proof remain required before merge.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
The schema-tracking generator delegated to native SQLite iterators without closing the delegate when next() threw. Callers could close only the already closed outer generator, leaving a cached statement to report the old error on a later valid write. Close the native delegate at that producer boundary while preserving the original error and schema/transaction bookkeeping. The node-turn retry failure reproduces on unchanged main with Node 24.19; newer Kysely all() calls do not exercise the faulty iterator path. A direct tracked-iterator regression also reproduces on newer Node. The regression fails before this fix and passes after it; 188 tests pass across the owner, Kysely, schema-contract, and node-turn files (two existing capability skips, 286.80s wrapper wall). Production/test types, focused lint, line limits, and P2 review pass. No signature, schema, dependency, or configuration change. Found while investigating CI for #164805.
|
Merged via squash.
|
…e transports (cron 2a/3) (#164906) * refactor(cron): publish receipt authority from the Gateway owner * fix(cron): preserve SDK admission factory contracts * fix(cron): settle receipt authority before releasing close custody * refactor(cron): add held receipt authority uses Bind prepared effects to exact receipt facts and the existing Gateway-owned FIFO. Keep repeatable assertions separate from one-shot native initiation, and release exclusion before awaiting the provider response. Allow a use to borrow its own gate for consumption while preserving native publication and settlement. Closing retires unused effects and joins accepted borrowed persistence independently of scheduler cancellation. This additive interface supports the message and standing-grant cutovers; it does not activate either consumer or change schema, retention, or policy. * fix(cron): retain approval authority through publication Recheck standing-grant expiry after receipt publication and retain the caller's live approval scope while persistence settles independently. Permit only guarded consumption of an already-recorded handoff during close. Align fixtures with async database custody and the single Gateway writer, preserve admission identity during receipt-loss injection, and keep generic detached-exec tests from cold-loading an unrelated channel runtime. Receipt semantics, eligibility, schema, ledger, retention, and released SDK signatures remain unchanged. Final-head published-driver update proof is still a merge precondition for #164805. * test(sessions): drain publication before durability close Wait for the saved dashboard row publication before deliberately closing its database for the durability probe. Retain every close/reopen and live-authority assertion. Full owner file: 34 passed, 241.25s wrapper wall; fresh P2 review clean. * refactor(cron): hold message authority through core transport initiation * refactor(cron): define held-use refusal in a shared error leaf * style(cron): disambiguate authority callback bindings * fix(cron): preserve transport refusal and cancellation semantics (#164906) Keep unguarded Discord fetch callbacks on their existing two-argument path. Cancel Telegram's deferred request through its AbortSignal when authority refuses initiation, so unread uploads are cleaned up and the original local-authority error survives retries without being wrapped twice. The real HTTP regression fails before the repair on unread upload cleanup and refusal identity. Focused Discord/Telegram proof passes 108 tests; the suppression inventory passes 4 tests. Extension production/test types, targeted lint, formatting and the raw-channel-fetch guard pass.
…elete the native checker (cron 2b/3) (#165129) * refactor(cron): publish receipt authority from the Gateway owner * fix(cron): preserve SDK admission factory contracts * fix(cron): settle receipt authority before releasing close custody * refactor(cron): add held receipt authority uses Bind prepared effects to exact receipt facts and the existing Gateway-owned FIFO. Keep repeatable assertions separate from one-shot native initiation, and release exclusion before awaiting the provider response. Allow a use to borrow its own gate for consumption while preserving native publication and settlement. Closing retires unused effects and joins accepted borrowed persistence independently of scheduler cancellation. This additive interface supports the message and standing-grant cutovers; it does not activate either consumer or change schema, retention, or policy. * fix(cron): retain approval authority through publication Recheck standing-grant expiry after receipt publication and retain the caller's live approval scope while persistence settles independently. Permit only guarded consumption of an already-recorded handoff during close. Align fixtures with async database custody and the single Gateway writer, preserve admission identity during receipt-loss injection, and keep generic detached-exec tests from cold-loading an unrelated channel runtime. Receipt semantics, eligibility, schema, ledger, retention, and released SDK signatures remain unchanged. Final-head published-driver update proof is still a merge precondition for #164805. * test(sessions): drain publication before durability close Wait for the saved dashboard row publication before deliberately closing its database for the durability probe. Retain every close/reopen and live-authority assertion. Full owner file: 34 passed, 241.25s wrapper wall; fresh P2 review clean. * refactor(cron): hold message authority through core transport initiation * refactor(cron): define held-use refusal in a shared error leaf * style(cron): disambiguate authority callback bindings * fix(cron): preserve transport refusal and cancellation semantics (#164906) Keep unguarded Discord fetch callbacks on their existing two-argument path. Cancel Telegram's deferred request through its AbortSignal when authority refuses initiation, so unread uploads are cleaned up and the original local-authority error survives retries without being wrapped twice. The real HTTP regression fails before the repair on unread upload cleanup and refusal identity. Focused Discord/Telegram proof passes 108 tests; the suppression inventory passes 4 tests. Extension production/test types, targeted lint, formatting and the raw-channel-fetch guard pass. * refactor(cron): hold authority across remaining transport handoffs Complete the bundled message transport cutover and remove the native current-job checker. Preserve exact receipt authority, release at SDK or CLI initiation, and retain refusal identity. Shared SQL kernels remain worker or Doctor owned. * test(cron): preserve generic authority fixtures Keep the Nostr handoff fixture generic without a cast and document the WhatsApp SDK initiation window. * test(cron): normalize transport authority regression fixtures * test(clickclack): isolate authority handoff regressions * test(nostr): observe the production relay handoff * test(cron): keep Synology handoff cases lint-clean * docs(cron): remove superseded native-checker migration note * fix(cron): clear receipt cutover lint and documentation gates Bind the loopback socket writer's call to the original method, retaining the socket receiver, and remove shadowed bindings. Regenerate the assertion baseline after the LINE cleanup removes one assertion. Remove the remaining obsolete statement that final message SQL guards await migration. The IRC owner tests pass (41 tests, 69.26 seconds overall), and the bounded P2 review is clean. The assertion baseline shrinks by exactly one. Local type-aware lint stopped at declaration preparation's 300-second timeout; the Linux full changed check remains required before merge. * test(cron): bind native write faults after socket connection Scope the IRC fault to the real client socket, install it after Node's connect restores write, and preserve the method's boolean return type. Synchronize and restore Node's connection-factory exports around the fixture. Use the canonical Teams channel-result helper when aggregating earlier receipts. Validation: all 22 IRC client tests pass (46.70 seconds overall), all 26 Teams outbound tests pass (131.13 seconds overall), and the bounded P2 review is clean. The full Linux changed check remains required before publication.
Use the existing read-operation admission owner before raw schema and launch-receipt reads. Main's schema-facts change in openclaw#164490 moved foreign commit freshness to operation admission, leaving three fixtures reading stale facts or skipping a required freshness probe. Preserve same-handle rollback/retry, table visibility, reopen durability, and the exact nine-probe assertion. Each original failure reproduced five out of five times on unchanged main. The three repaired files pass all 89 tests (544.71s wrapper wall on the loaded local host), and P2 review is clean. Found while landing openclaw#164805.
The schema-tracking generator delegated to native SQLite iterators without closing the delegate when next() threw. Callers could close only the already closed outer generator, leaving a cached statement to report the old error on a later valid write. Close the native delegate at that producer boundary while preserving the original error and schema/transaction bookkeeping. The node-turn retry failure reproduces on unchanged main with Node 24.19; newer Kysely all() calls do not exercise the faulty iterator path. A direct tracked-iterator regression also reproduces on newer Node. The regression fails before this fix and passes after it; 188 tests pass across the owner, Kysely, schema-contract, and node-turn files (two existing capability skips, 286.80s wrapper wall). Production/test types, focused lint, line limits, and P2 review pass. No signature, schema, dependency, or configuration change. Found while investigating CI for openclaw#164805.
…n 1/3) (openclaw#164805) * refactor(cron): publish receipt authority from the Gateway owner * fix(cron): preserve SDK admission factory contracts * fix(cron): settle receipt authority before releasing close custody * fix(cron): retain approval authority through publication Recheck standing-grant expiry after receipt publication and retain the caller's live approval scope while persistence settles independently. Permit only guarded consumption of an already-recorded handoff during close. Align fixtures with async database custody and the single Gateway writer, preserve admission identity during receipt-loss injection, and keep generic detached-exec tests from cold-loading an unrelated channel runtime. Receipt semantics, eligibility, schema, ledger, retention, and released SDK signatures remain unchanged. Final-head published-driver update proof is still a merge precondition for openclaw#164805. * test(sessions): drain publication before durability close Wait for the saved dashboard row publication before deliberately closing its database for the durability probe. Retain every close/reopen and live-authority assertion. Full owner file: 34 passed, 241.25s wrapper wall; fresh P2 review clean.
…e transports (cron 2a/3) (openclaw#164906) * refactor(cron): publish receipt authority from the Gateway owner * fix(cron): preserve SDK admission factory contracts * fix(cron): settle receipt authority before releasing close custody * refactor(cron): add held receipt authority uses Bind prepared effects to exact receipt facts and the existing Gateway-owned FIFO. Keep repeatable assertions separate from one-shot native initiation, and release exclusion before awaiting the provider response. Allow a use to borrow its own gate for consumption while preserving native publication and settlement. Closing retires unused effects and joins accepted borrowed persistence independently of scheduler cancellation. This additive interface supports the message and standing-grant cutovers; it does not activate either consumer or change schema, retention, or policy. * fix(cron): retain approval authority through publication Recheck standing-grant expiry after receipt publication and retain the caller's live approval scope while persistence settles independently. Permit only guarded consumption of an already-recorded handoff during close. Align fixtures with async database custody and the single Gateway writer, preserve admission identity during receipt-loss injection, and keep generic detached-exec tests from cold-loading an unrelated channel runtime. Receipt semantics, eligibility, schema, ledger, retention, and released SDK signatures remain unchanged. Final-head published-driver update proof is still a merge precondition for openclaw#164805. * test(sessions): drain publication before durability close Wait for the saved dashboard row publication before deliberately closing its database for the durability probe. Retain every close/reopen and live-authority assertion. Full owner file: 34 passed, 241.25s wrapper wall; fresh P2 review clean. * refactor(cron): hold message authority through core transport initiation * refactor(cron): define held-use refusal in a shared error leaf * style(cron): disambiguate authority callback bindings * fix(cron): preserve transport refusal and cancellation semantics (openclaw#164906) Keep unguarded Discord fetch callbacks on their existing two-argument path. Cancel Telegram's deferred request through its AbortSignal when authority refuses initiation, so unread uploads are cleaned up and the original local-authority error survives retries without being wrapped twice. The real HTTP regression fails before the repair on unread upload cleanup and refusal identity. Focused Discord/Telegram proof passes 108 tests; the suppression inventory passes 4 tests. Extension production/test types, targeted lint, formatting and the raw-channel-fetch guard pass.
…elete the native checker (cron 2b/3) (openclaw#165129) * refactor(cron): publish receipt authority from the Gateway owner * fix(cron): preserve SDK admission factory contracts * fix(cron): settle receipt authority before releasing close custody * refactor(cron): add held receipt authority uses Bind prepared effects to exact receipt facts and the existing Gateway-owned FIFO. Keep repeatable assertions separate from one-shot native initiation, and release exclusion before awaiting the provider response. Allow a use to borrow its own gate for consumption while preserving native publication and settlement. Closing retires unused effects and joins accepted borrowed persistence independently of scheduler cancellation. This additive interface supports the message and standing-grant cutovers; it does not activate either consumer or change schema, retention, or policy. * fix(cron): retain approval authority through publication Recheck standing-grant expiry after receipt publication and retain the caller's live approval scope while persistence settles independently. Permit only guarded consumption of an already-recorded handoff during close. Align fixtures with async database custody and the single Gateway writer, preserve admission identity during receipt-loss injection, and keep generic detached-exec tests from cold-loading an unrelated channel runtime. Receipt semantics, eligibility, schema, ledger, retention, and released SDK signatures remain unchanged. Final-head published-driver update proof is still a merge precondition for openclaw#164805. * test(sessions): drain publication before durability close Wait for the saved dashboard row publication before deliberately closing its database for the durability probe. Retain every close/reopen and live-authority assertion. Full owner file: 34 passed, 241.25s wrapper wall; fresh P2 review clean. * refactor(cron): hold message authority through core transport initiation * refactor(cron): define held-use refusal in a shared error leaf * style(cron): disambiguate authority callback bindings * fix(cron): preserve transport refusal and cancellation semantics (openclaw#164906) Keep unguarded Discord fetch callbacks on their existing two-argument path. Cancel Telegram's deferred request through its AbortSignal when authority refuses initiation, so unread uploads are cleaned up and the original local-authority error survives retries without being wrapped twice. The real HTTP regression fails before the repair on unread upload cleanup and refusal identity. Focused Discord/Telegram proof passes 108 tests; the suppression inventory passes 4 tests. Extension production/test types, targeted lint, formatting and the raw-channel-fetch guard pass. * refactor(cron): hold authority across remaining transport handoffs Complete the bundled message transport cutover and remove the native current-job checker. Preserve exact receipt authority, release at SDK or CLI initiation, and retain refusal identity. Shared SQL kernels remain worker or Doctor owned. * test(cron): preserve generic authority fixtures Keep the Nostr handoff fixture generic without a cast and document the WhatsApp SDK initiation window. * test(cron): normalize transport authority regression fixtures * test(clickclack): isolate authority handoff regressions * test(nostr): observe the production relay handoff * test(cron): keep Synology handoff cases lint-clean * docs(cron): remove superseded native-checker migration note * fix(cron): clear receipt cutover lint and documentation gates Bind the loopback socket writer's call to the original method, retaining the socket receiver, and remove shadowed bindings. Regenerate the assertion baseline after the LINE cleanup removes one assertion. Remove the remaining obsolete statement that final message SQL guards await migration. The IRC owner tests pass (41 tests, 69.26 seconds overall), and the bounded P2 review is clean. The assertion baseline shrinks by exactly one. Local type-aware lint stopped at declaration preparation's 300-second timeout; the Linux full changed check remains required before merge. * test(cron): bind native write faults after socket connection Scope the IRC fault to the real client socket, install it after Node's connect restores write, and preserve the method's boolean return type. Synchronize and restore Node's connection-factory exports around the fixture. Use the canonical Teams channel-result helper when aggregating earlier receipts. Validation: all 22 IRC client tests pass (46.70 seconds overall), all 26 Teams outbound tests pass (131.13 seconds overall), and the bounded P2 review is clean. The full Linux changed check remains required before publication.
Related: #162433.
What Problem This Solves
Cron needs one Gateway owner that suspends receipt authority before a writer commits and installs committed facts before acknowledging the mutation. Post-acknowledgment revision notifications cannot establish that boundary for subsequent worker-backed message and execution guards.
Why This Change Was Made
This is the publication foundation for cron 1/3. One canonical receipt/job projection owns physical-database custody, FIFO writer enrollment, nonced pending barriers, and synchronous publication from native COMMIT receipts. Unknown outcomes retain settlement custody until native completion or confirmed worker retirement; writes are never replayed. Failed reconstruction keeps authority unavailable.
Runtime mutations, raw saves, mutable-load repairs, approval mutations, existing native standing-grant consumption, and agent-deletion authority changes enter that gate. Gateway close seals new admission before scheduler cancellation and joins accepted persistence before worker transports close. Standing grants are checked for expiry again after publication settles. Approval guards retain the caller's live scope while guarded consumption of an already-recorded handoff retains its independent settlement scope.
Commit observers remain an internal binding, preserving the released SDK admission-factory shape. Existing message and execution guards remain for their separate consumer cutovers; this PR does not claim an atomic consume-to-native-launch cutover.
User Impact
Receipt revision semantics, force-run eligibility, standing-grant policy, schema versions, ledgers, retention, and offline routing remain unchanged. Live cron writes belong to the Gateway; concurrent direct SQLite writers are unsupported. The file lock coordinates participating owners and does not fence arbitrary older binaries. Hardlink aliases refuse with offline-maintenance guidance. No configuration or data migration is introduced.
No SQL census reduction is claimed. Added
OPENCLAW_*names: 0. New receipt guard callbacks add no SQL. Existing deletion lease/journal authority reads atsrc/agents/agent-lifecycle-registry.ts:206,:216, and:217stay live inside their native transaction/cleanup grants. Retained consumer debt:src/cron/store/run-receipt-store.ts:557is the message guard for PR 2;src/gateway/operator-approval-standing-grants.ts:299is the native grant kernel for PR 3.Overlaps: #158244 shares the exec caller, but Gateway autoAllowSkills is not adopted. #158888 shares recovery code without changing its semantics; #135889 is adjacent provenance work. #112375's execution-revision reinterpretation is not adopted. Main now contains the identical dashboard publication-drain repair from #164779; no sibling branch was modified. Both main's model-account close owner and cron admission sealing are preserved.
Evidence
Candidate:
6a5411208f6287155550fa1440d73a7e38a32c2c, treeb640557864f4f4e65f75372fc53b41026e9a2635, integrating main throughc190df12716a17d23a1c00eaf106044d2f2c9317. Wall times below come from the repository runner with--maxWorkers=1on a loaded local host; historical proof is labeled rather than presented as current-head CI.processGatewayAllowlistconsumption and read-worker publication prove FIFO enrollment, no early use, publication before returned authority, and expired denial after held publication. The expiry case failed before repair. The five-case group also passed on the final-head Testbox in 20.915s (Vitest 7.24s). Separate native-effect proof below covers the changed wait; atomic consume-to-spawn redesign remains outside scope.2c39da96: 147 tests / 13 files, plus approval-manager lifetime 11/11; final exec/Gateway run 63 tests / 3 files, 398.57s wall, including the full 42-case exec file. The former detached timeout took 128ms.observeRequestsrelease difference predates this PR. The canonical comparison for 6a54112 completed successfully, with verified cleanup. Release-wide drift is 1 added/8 removed entrypoints and 2,338 export changes (1,192 reachable, 78 signatures, 61 additions, 1,007 removals), including inherited main changes. There are no additional direct changes versus the earlier candidate; 131 updated reachable fingerprints match incorporated main. Digest:87d6a2c983aec9c1eb197d2d1d8d751c75670a5b45de98158d12cc7ce477f6fe./readyzreturned 200. All four phase exits and wrapper exit were 0; lease stopped.Final-head native-effect and update-cell evidence
The isolated native proof ran on macOS arm64 / Node 24.21.0 with production head
6a5411208f6287155550fa1440d73a7e38a32c2cand treeb640557864f4f4e65f75372fc53b41026e9a2635verified unchanged. It used real policy resolution,processGatewayAllowlist, SQLite owners, receipt publication/read worker, source execution budget,runExecProcess, supervisor, spawn broker, and nativeprintf/tee. The fixture only held delivery of an actual completed read result, advanced the expiry clock, counted pass-through calls, and installed an unused fail-fast RPC guard. No policy, authority, runtime, supervisor, or broker implementation was replaced.Cancellation occurred while publication was held. Its accepted grant use settled and emitted the grant event; the runtime's source guard then rejected the cancelled source before command I/O. Expiry produced the exact
(expired)preflight denial. Case times were 5.871s / 2.442s / 4.156s, Vitest 85.56s, complete wrapper 188.36s. This was a synthetic final-effect composition, not a full installed Gateway or an atomic-launch redesign. Temporary changes were limited to the proof test and its existing infra-fork test routing entry; proof patch SHA-256:05b8ab59238a7781fe558aa5deceef22f5ee3e8b16c3f91c6d8352af462d90f2.The mandatory Testbox used Linux Node 24.19.0, pnpm 12.5.1, and Docker 28.0.4. The source receiver verified that head/tree before execution. Transport/build commit
45209562e541f76ae690433584f1dd3df2629d78is the capsule's synthetic carrier for those exact source bytes. Candidate tarball SHA-256:9bfa6cf1de895ed692d03e22fb082db0fd0c8b06e7c50198f76c4afa3720ff60.Package phase: 559.328s; standing grants: 20.915s; Doctor consumers: 619.428s; published-driver cell: 207.756s (actual update 172.003s). Wrapper total: 26m31s. The published driver and candidate both carry version
2026.9.8; the cell also verifies installed build metadata and managed-service replacement, so this is not merely a same-version label check. Leasetbx_01m438ajcamptg3ezevb0nzghbis verified completed.CI attribution and repair proof
The original PR integration failures were repaired in
2c39da9600191c6faf295ca42d797fe6ea29ed5d: preserve canonical admission identity in fault fixtures, await async custody before reopen/child/Doctor handoff, retire the cron singleton with its SQLite generation, and distinguish fixture preparation from cleanup. Standing-grant expiry is rechecked after awaited publication. Crash, foreign-owner, rollback, and close-settlement coverage remains.The detached-exec timeout is inherited fixture cold-loading. Plain main reproduced it; five original-base and five original-head runs each yielded one timeout and four slow passes. An irrelevant Feishu initiating surface loaded bundled channel runtime. Changing only that generic fixture surface to
webchatpreserved every assertion and explicit agent-followup mode; controlled main probes took 199/220ms. All 42 exec cases passed after the six fixture substitutions. No timeout was raised or passing replay presented as a fix.Main repair
8cabfb2814f4bcf9bca9666ee51a246ab4ae2c69fixes three fixtures affected by #164490's operation-owned freshness: push-target table visibility, standing-grant companion rollback/retry visibility, and launch-store dataVersion probes. Each reproduced 5/5 on unchanged main. Reads now enter the existing admission owner, preserving same-handle ordering and the expected 9 probes. Repaired files: 89 passed, 544.71s wrapper wall; scoped checks 1191.73s; P2 clean.The dashboard test closed storage while its accepted row publication was still pending. It now drains that publication before its durability probe, preserving all close/reopen and revocation assertions. 34/34 passed, 241.25s wall, P2 clean. This repair was committed here as
557f93eaand is now identical to main's #164779 fix. Five head and five main controls passed before repair; those passes were not called inherited-failure proof.CI at
ca821d76finished with 73 successful jobs, 22 skipped, one failed test job and its dependent aggregate gate, no cancellations. The remaining node-turn uniqueness failure independently reproduces on unmodified main under official Node 24.19. The turn was durably completed, but the schema-tracking generator had left its native iterator open after a stepping error. Closing the already-closed outer generator could not reset the cached native statement. The newer Kyselyall()path did not exercise this bug; a direct tracked-iterator probe reproduced it on newer Node too.Main repair
c190df12716a17d23a1c00eaf106044d2f2c9317closes the native delegate at the producer while preserving the original error and existing bookkeeping. The new 14-line owner regression fails before repair and passes afterward. 188 tests passed across four files on Node 24.19, with two existing capability skips; 286.80s wrapper wall, new regression 16ms, original caller 3813ms. Production/test types, lint, formatting, line limits, and P2 review passed. The repair is integrated into this candidate.Earlier Testbox attempts produced no package/update proof. Local source preparation exhausted an old lease's idle window; a later proof-harness assertion incorrectly expected the source SHA as transported Git HEAD. The supported capsule uses a synthetic carrier. The corrected payload verifies the exact tree, physical checkout, and clean tracked source, and records the carrier alongside the wrapper-verified source SHA. Superseded attempts and owned leases were stopped; the final-head run uses preparation before allocation.