Repository navigation
fix: preserve newer data across failed update rollback - #145169
fuller-stack-dev wants to merge 81 commits into
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. |
|
Codex review: needs real behavior proof before merge. Reviewed September 26, 2026, 5:59 AM ET / 09:59 UTC (Revision 74). ClawSweeper reviewWhat this changesThe branch adds update-state captures, Doctor and plugin resource inventory, rollback preparation, recovery records, Gateway admission guards, tests, and recovery documentation. Warning SQLite table change This PR modifies persisted SQLite tables in Merge readiness⛔ Blocked before merge - 15 items remain Keep open under the maintainer’s stated plan. The credited replacement at #158491 remains open with merge conflicts, and the complete no-loss recovery behavior has not landed on main. Priority: P0 Review scores
Verification
How this fits togetherThe installed updater activates a candidate OpenClaw package while Doctor may migrate configuration and databases. Recovery must reconcile the package, persisted state, and Gateway startup before returning service to users. flowchart LR
A[Installed updater] --> B[Pre-update capture]
B --> C[Doctor and plugin migrations]
C --> D{Update succeeds?}
D -->|Yes| E[New Gateway serves]
D -->|No| F[Recovery admission]
F --> G[Verified package and state]
Before merge
Findings
Agent review detailsSecurityNeeds attention: No dependency or workflow change was introduced, but recovery’s final filesystem authority requires verification. PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Ship one recovery owner that captures state before mutation, preserves newer writes across package and SQLite recovery, and proves safe refusal and restart through published updaters. Do we have a high-confidence way to reproduce the issue? No high-confidence live reproduction was run in this read-only review. The pinned source directly exposes the omitted plugin resources, deferred recovery entry, and schema-19 refusal. Is this the best way to solve the issue? No. This original branch is not a safe landing path; the credited replacement should retain its design and attribution while qualifying the complete installed recovery flow. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 90869ccd9cfb. LabelsLabel changes: No label changes. Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (73 earlier review cycles; latest 8 shown)
|
d9d8b28 to
f956f30
Compare
Reconcile pending markers against terminal update outcomes and retain unresolved sets after their owners exit. Restore declared database inventories while leaving live SQLite sidecars under the online restore owner, and expose recovery guidance in update status.
Integrate the reviewed allocation prerequisite and align update transport, cutover, and executable Windows cleanup fixtures with their current owners.
|
@fuller-stack-dev I am reconciling #144005 and #145169 with current main while keeping capture and newer-write preservation together. Your updated split index references receiver Separately, #145043 now preserves its original ancestry and carries the remaining post-convergence config handoff repair at |
|
@steipete — you’re right: the index cited local snapshots without fetchable source. Those sources are now reviewable:
Identifier correction: What is actively advancing:
Your public #145043 repair at |
|
Thanks — I verified the complete raw current-source export independently:
I do not yet see a qualified handoff for the two contracts that blocked the prior receiver:
The README also correctly leaves affected checks, independent review, upper executor/terminal/config integration, and installed no-loss/newer-write acceptance open. Please hand off the next candidate as either a signed commit/ref or another exact patch + reconstructed tree, with:
I have not touched the private R31 worktree or either public PR branch. Original authorship and the paired #144005/#145169 acceptance remain intact. |
|
@steipete — confirmed. Both contracts remain unresolved in the current receiver. I rechecked The next candidate handoff must include:
I have not narrowed legacy compatibility. If no supported route satisfies the unchanged-runtime contract, I’ll bring back a concrete compatibility proposal and its consequences for an explicit decision before changing support claims. Independent schema/recovery work continues in the meantime. The existing |
|
The current-owner repair required a full rewrite that no longer descends from this contributor branch. To preserve Jason's original ancestry and review record, I restored this PR to its |
|
Closing as superseded by the credited maintainer rewrite #158491 (merged 2026-09-28), per the plan above. Remaining no-loss recovery goals are tracked in the narrower split PRs. |
Atomic-update split tracking
Public PR state checked 2026-09-24T18:29:59.776424+00:00. Shared original tracking: #144005 and #145169.
Status: split in progress, not fully published or landed. The 19 rows below are retained behaviors, not 19 completed PRs. The original public containers remain 209 and 411 files. Existing destinations do not imply that all narrow hunks are accepted or that the published PR is already reduced.
This index is the current split-delivery plan; older whole-stack/omnibus delivery wording below is historical. No-loss requirements, attribution, meaningful tests, independent review, required CI, and applicable isolated native acceptance remain binding. Raw baseline restore must not land as a lossy substitute.
Published PRs and dependencies
c86ef04bf095; merge78d5bedb34de4146d06f8a32/ 209 original pathsf6feb6b75d08; unpublished reviewed CLI completionc9413cbb88e6/d25e6d13; receiver checkpointadd7adbf1f5b644ef9cdc9a9; receiver caller source03acab67accepted by #14516903acab67/da13b8f4includes the accepted caller and retained-reader correction; no duplicate e93 patch is needed. Existing lower/upper owners supply the missing early-entry/writer and terminal/retirement/receipt closure for guarded integration by the same #145043 owner. Current producer bytes and original full-recovery/newer-write goals are preserved; receiver export gate still fails 17 production / 11 full-tree. Independent primary8de6df2native aggregate remains running (build/check passed, no aggregate pass); natural terminal collection, narrow publication, exact-head CI/review and LAND remain open.73cf3fd44ecd; private candidate4caf5778e7ad, treed9ceda1b3dcdprepare-gatesoperation: build and check passed; the same full-suite operation is running, including its native private-QA runtime preparation. Exact-candidate source review and the two-case source-bundled replay pass; these do not prove installed full-CLI recovery. Parent/child/worker isolation controls passed, but whole-suite physical SQLite/handoff/state-path witnesses and final descendant/resource settlement remain required. Actual capacity includes other active claims; 16 GiB growth remains reserved. Historical Testbox native exit 1 / remote 255 remains failed, cause unresolved; no provider-fix claim or new allocation. Correction mode and all ten mappings plus 2221/f832/e93 custody, original 19+3 goals/10 gaps and genuine Linux-only acceptance remain intact. Native qualification, correction publication, exact-result-head review/CI/ClawSweeper, applicable installed acceptance and verified LAND/cleanup remain open. No full-recovery/no-loss credit or live deployment.44f32040f0f7; owned07aad1b4qualified; receiver extraction989a6188pending07aad1b4: 56 passing cases (31 post-core, 13 sibling custody, 12 native custody), 11 static/type checks and scoped-clean full-file API-direct review. Accepted receiver03acab67/da13b8f4uptake is bound; extraction preview989a6188preserves receiver cleanup but changes the test postimage, so its composed-source tests/review remain pending. Same #144319 owner advances that independent qualification; existing #144318 owner supplies the qualified minimal lower frontier for final integration. Public PR remains draft/DIRTY; required checks, publication and landing are not complete. Receiver export gate still fails 17 production / 11 full-tree findings; original capture-before-mutation, full recovery and newer-write acceptance remain open.1c9303cea9e90; private signedfdb6266d40a6/ treebb44b2545df3cd354cec/ 4 files376d13b6c778. 442 affected tests plus 3 exact-head native regressions, required CI and API-direct review passed; whole touched-test files audited. Owned worktrees/scratch removed and exact worker incarnation archived. Receiver adoption and #155544 composed native acceptance remain open.1b01b2b9d62d/ 628d3296aaf2b81d1f3424349/ 3a976c5cb3f71; exact-head CI and required security status passed; native accepted intent reconciled; owned worktrees and residual snapshot/registry entries verified removed; dedicated worker archived748ef9efdf13/ 1144b5df106030; required CI and review passed; owned cleanup verified8d21ae0f6248/ 8 publishedc7ee253e2c4c. Exact-head review, required CI and native landing passed; owned native checkout removed. Prior managed snapshot/registry retirement independently verified; exact dedicated worker archived after all-host owned cleanup, with transcript history preserved. This parser/status leaf is not complete capture/recovery acceptance8a8f90eb2f28/ 23 files; merge4c468412dfef| #156421 | Private stores before update/Doctor; explicit direct-update leaf | Public
98f4a930459d; unchanged private8b457ff2| Same6ea bounded diagnosis settled: adjacent-order 36/36 and exact shared-worker prefix 224/224 selected cases passed under frozen guard; warnings reproduced without timeouts. Original 48-file replay remains exit 1 with three unresolved RPC timeouts; no loader/crash/native clearance or source fix claimed. Reviewed guard restored; consumed private fixtures/helpers removed. Same594 completed static native-source diagnosis: registration returns before coverage, and ADD/REMOVE rebuild with SinceNow does not preserve existing-watch continuity. Distinct owner 0e1e1909 published qualified libuv#5296 at98ccd0db63ce: 59 native checks, 51 TSAN checks with zero warnings, scoped API-direct review and 49/49 exact-head upstream CI passed. Upstream maintainer review/merge is required because authenticated access is read-only. Same6ea is consuming the source for isolated Node 24.20.0 integration and unchanged receiver acceptance; no repaired Node binary or receiver clearance yet. No further unchanged replay. Receiver native acceptance, exact-source API-direct review/publication, required CI (currently failed) and LAND remain open; no whole-#147281 or composition blanket hold. | Bind private stores before update and Doctor · #156421 || #156459 | Three copied tooling-fixture/workflow repairs required by update qualification; Peter Steinberger attribution retained |
bca82d882107/ 3 | Closed as superseded, not merged: all three outcomes are in merged #156136,ceb109668b43. Same owner verified 58/58 on main and whole-file API review; original PR CI was not green. Owned control/native checkout and registrations verified absent; exact dedicated worker incarnation archived with transcript retained | Repair copied CI fixtures · #156459 || #147781 | Captured-output closure supplier for independent Doctor/update qualification; Vincent Koc attribution retained | Public
b2bbd40cdb98| Repaired and published; local behavior checks and scoped independent API-direct review passed. Native preparation usedgithub_pending, not a native-test pass. Same63bf reran exact-head CI run 36059277744 after the release-priority variable was verified absent; attempt 2 is queued, and the prior release-deferral failure is not clearance. No accepted auto-merge or landing yet. Preserve main's separate nestedError.errorsimprovement during any downstream composition. #147281 merged atf53cce01b45aon September 24; same594 is verifying delivered scope, residual private custody and cleanup. All original recovery/receiver goals remain mapped separately. | Keep child ownership until output closes · #147781 — 63bf24ae || libuv/libuv#5296 (successor to issue #3866) | Native watcher prerequisite for #156421: admission coverage and existing-watch continuity across stream rebuilds | Published
98ccd0db63ce; treef73905d9e7fe| Qualified source: 59 native checks, 51 TSAN checks with zero warnings and eight existing skips, scoped independent API-direct review, 49/49 upstream CI checks passed. Public ABI unchanged; libuv #5283 allocation and #5287 failed-init scope preserved. OPEN and mergeable; upstream maintainer review/merge required by read-only access. Same6ea has resumed supported isolated Node 24.20.0 integration; no Node/receiver clearance or live-runtime changes. Same upstream worker retains ownership through landing. | Preserve macOS watcher events · libuv #5296 — 0e1e1909 |Retained behavior checklist
Unchecked means the complete retained behavior is not yet verified landed; narrow component publication or a merged prerequisite is not full-outcome completion.
c7ee253e2c4cfrom reviewed8d21ae0f6248. Original #145169 retains the capture/verification producer, complete recovery and newer-write preservation; those outcomes are not proved by the landed parser/status leaf.b9917c2de1cfhas verified postimages, 2/2 receiving cases, types and scoped API review; the unchanged lifetime bridge passes 21/21. Guarded caller/lower adoption is next. These source checks do not prove capture-before-mutation, installed no-loss recovery or current-head CI.4c468412dfeffrom reviewed head8a8f90eb2f28; all 23 landed file postimages verified. The guarded Doctor rehearsal consumes declared resource paths and persisted/reported warnings before migration, retaining malformed-resource and physical-locality refusals. Required CI is green; three actual published-updater cells pass (2026.9.2 and 2026.9.4 configured-plugin installs, plus 2026.9.4 Workshop Doctor recovery). Hosted qualification usedfa349d3c2ccc; all non-test product source is identical to final head, whose only later change is the reviewed producer test. Whole touched-test-file audits and API review are recorded; Peter’s source credit is preserved. Both worktrees and eight hosted artifacts are gone. Exact snapshot retirement and worker archival are independently verified complete, with retained source and native merge outcome preserved; complete live capture/recovery/newer-write acceptance is not claimed by this leaf.29d830e5f2b0; test-onlyd040300a6376still exposes two valid DELETE/WAL failures because preserved SQLite snapshot bytes differ from stopped-C bytes. The original fix(update): back up state before migrations and restore it on rollback #144005 capture owner supplied reviewed source-image primitive treeee96e21303fc(7 native tests pass), not a complete binding fix. Existing fix: preserve newer data across failed update rollback #145169 producer adaptation2be66849fca9now forwards the required original-capture proof through the original generation adapter; its 12 owned files plus five accepted lower files are source-verified, with clean scoped API review and 11 writer/2 binding tests reported passing. The eight dependency preimages are restored. The qualified two-manifest package correction is now adopted, with exact resulting manifest hashes verified and full producer/writer import-closure type checks reported exit 0; subsequent automatic-caller edits still require affected requalification. Actual original-producer execution remains blocked at baseline capture/plugin discovery, and automatic caller integration is not accepted. The feat(update): add sealed package-publication recovery #144318 lower attestation baseb61618542e5cremains unchanged; its later scoped-qualified correctionc2dc5f3692fbintentionally changes three guards and preserves five, with exact pre/postimage evidence. That correction is not yet accepted as producer/composed integration. Canonical has routed its requiredbinding.sourceAttestationref and first-admission original-capture proof to the same producer and fix(doctor): finish state migration after legacy install repair #145043 composition owner; real producer/durable-journal integration is not yet accepted. Immutable source attestation preserves the landed manifest payload-digest contract without changing fix(update): inspect retained recovery sets safely #156366. Actual C→T/resource assembly must retain original publication maintenance, exhaustive inventory/sidecars and newer-write refusal. Composed regressions, installed no-loss acceptance and exact-head CI/LAND remain open; caller/lower adoption continues independently. Two source-bound producer findings from the excluded historical implementation remain with the same fix: preserve newer data across failed update rollback #145169 owner for current-source applicability and proof: directory-child B/C/T protected-path metadata divergence and interruption between terminal-receipt hardlink publication and temporary unlink. Neither is declared fixed; strict lower equality and newer-write protections remain binding.ec8a496f82a9(92 scoped native cases and independent API review). Private current-main preparationf7de79df07f2preserves all 40 lower paths/eight guards; overlap review is scoped-clean, not new runtime or CI evidence. The sealed three-file generic snapshot-child transportfe75f7f93cc7is integrated into the existing fix(update): preserve executor custody across post-core continuation #144319 receiver at6932c8011df5: transport 3/3 and scoped review pass, with zero shared-store attempts. Receiver native 11/12 followed by diagnostic 12/12 does not resolve the first cancellation-readiness failure or prove full recovery acceptance. The existing fix(doctor): finish state migration after legacy install repair #145043 composition owner must supply the immutable minimal caller/recovery/native/bridge closure against diagnostic-only receiver1f7a80297c13. Sealed delta7c82a8d79398has 14 source-verified paths, but its cumulative 61-path import is rejected because five of eight protected receiver files differ. The original-adapter capture-proof forwarding correction is now adopted in shared83be4ca33d5f(two exact source/test paths verified; 37 scoped tests, types, lint and formatting pass). The completed composed review confirmed the adapter-forwarding correction but required continuing publication authority and last-await pre-effect proof. The lower owner has now sealedc2dc5f3692fbon unchangedb61618542e5c, treed5e950948d833: all 27 pre/postimage mappings (14 production, 13 test/private-harness paths) and eight guards are parent-verified. Swap, activation and activation-journal have three intentional reviewed corrections; five other guards remain byte-identical, and retained f7/b616 trees are unchanged. The c2 lower checkpoint retains its 51 scoped cases and clean API-direct review as historical evidence. The subsequent sealed inline native adapter7ab5c2127080on c2, treed8c2b940d4e2, now passes the unchanged selected-pair/provider displacement oracle and 37 affected cases (15 native composition, 14 journal/transaction, 8 source proof). Its exact 28-input TypeScript qualification has zero total diagnostics without filtering; the old 45-diagnostic custom-host result is superseded, not counted as a pass. API-direct review is clean P0–P2; lint and format exit zero, with one unsuppressed existing inline-size warning. Parent verified all 12 delta pre/postimages, eight guards (three intentional changes and five unchanged against b616), both patch hashes and 24 evidence hashes. Lower remains fail-closed. The fix(doctor): finish state migration after legacy install repair #145043 shared supplier has now qualifiedb3868fb92058, treeadaf6f4f03cd: an exact three-file delta on83be4ca33d5f, nine passing native controls, two meaningful red-to-green regressions, affected types/lint/format and final API-direct review clean. Parent verified all 19 reviewed source files and all eight unchanged shared guards. The ninth lexical-scope cleanup correction is included; old836e203a7b72is superseded. The qualified inline adapter retains original executor displacement and successor selection, exact-once onDisplaced, captured original authority and authenticated durable-journal synchronization; a private one-shot dispatch latch refuses foreign/replaced providers, and legacy rollback refuses before poisoning native reverse state. This is not a donor-module transplant or accepted receiver envelope. The same fix(doctor): finish state migration after legacy install repair #145043 supplier has prepared a provisional 25-path envelope (24 production paths and one regression test), treeda2f31a87c5d, patch SHA2568f82b1180bf1c84874431d97e5b710d3d0539fc0c70665f77045a5d4387f6dd0. Parent verified all 25 pre/post source mappings, 15 guards and seven native source pins; four receiver corrections and three transport files remain unchanged. It is not qualified for import. The additive parser bridge has 8/8 tests, actual-preimage 7-fail/1-pass evidence, lint/format and scoped API-direct review; the ordinary backup implementation remains byte-identical. All 15 native controls on the common pre-parser closure fail at missing receiver exports, and final 25-path native/type qualification is unrun. The same fix(update): preserve executor custody across post-core continuation #144319 owner has sealed the current authority/currentStores contract on clean7e9abd880e87/ treec0fe01f7:captureUpdateCommandRecoveryGenerationAuthority(fence, runId)takes two arguments, shares the original admitted-authority/run registries and currentStores, and re-admits the original generation before commitInvocation/ready. All 22 current source pins and 120 return artifacts are parent-verified; no donor executor registry is imported. Full build and isolated CLI smoke pass; 52 distinct cases pass with scoped static/API-direct evidence reuse, but three inventory maintenance-lease failures and two original B/C/T 120-second deadlines remain open. A heartbeat worker’s shared coordinator SQLite attempt was correctly refused before open; same2221 is continuing owned private resolver/worker binding qualification without weakening that guard. Existing e384 lower-native qualification remains running and is preserved. Latest-main clean merge preview is not runtime evidence. Same e93 retains original-caller adaptation; rollback dispatch, pre-C config receipt settlement, startup admission and state preparation remain with their actual owners. Original-caller recovery publication, actual native cancellation, exact-head CI/native acceptance and LAND are not cleared. The same fix(doctor): finish state migration after legacy install repair #145043 owner retains envelope custody and will qualify the affected composition after the immutable native export handoff. No donor executor transplant, declaration stub, changed refusal or broad import is accepted. The 12-path private harness export and old cumulative 61-path import must not be transplanted wholesale. Same e384 retains lower source/PR custody; same e93 retains stopped-C/C→T/DELETE/WAL/newer-write producer acceptance. Scoped lower-provider positives/refusals do not establish installed-runtime, receiver, full-CLI or no-loss acceptance. Four receiver corrections and three transport files are untouched by this lower delta. The diagnostic-only receiver remains1f7a80297c13; original native cancellation readiness and composed lifetime/API acceptance remain open. The old cumulative 61-path import remains rejected; only five needed unchanged donor prerequisites are retained, not the whole historical transport. Original-native maintenance admission/ancestor capture, source-proof retention, atomic original journal binding and owner-preserving publication/completion remain required. Publication, actual-candidate CI and applicable recovery acceptance remain open; no unrelated whole-stack landing hold applies.98f4a930459d(12 files; not landed); frozen correction8b457ff2remains local under the same6ea owner. Historical native05665e497cc5passed build/check but failed tests (exit 139; 15/610 shards failed); the later full attempt also failed (143/SIGTERM). The exact original 48-file, one-worker Gateway replay has now settled: exit 1, 667 passes and three custom-provider RPC timeouts, with no SIGSEGV in that replay. Its processes and private fixtures were settled and removed. Task-only compute bootstrap qualification has causal two-case 16 MiB OOM red/green and 73 affected passes; QA source-tsconfig/worker bootstrap has causal red/green, the original lifecycle case passing, and scoped API-direct review. These results do not explain the retained RPC timeouts or clear either historical crash/full-gate failure. Same6ea completed the bounded predecessor-order RPC discriminator against the frozen guard: adjacent-order 36/36 and original shared-worker prefix 224/224 selected cases passed with original assertions and timeouts; both listener warnings reproduced without timeouts. The three historical RPC failures remain unresolved, with no justified source fix or crash/native clearance. Reviewed guard restored and consumed fixtures/helpers removed; no further unchanged replay. The earlier three-file watcher repair from the existing #147281 owner was adopted with exact postimages, receiver 11/11 and changed checks; a later full-native watcher-link failure remains open. Same594 has bounded native close/reacquire event-loss evidence, including without receiver hooks, under the original 3000 ms assertions; historical receiver causality is unproved. Same594’s independently reviewed static diagnosis identifies libuv v1.52.1 registration returning before coverage and shared-stream ADD/REMOVE rebuilds using SinceNow without preserving existing-watch continuity; no owned-JavaScript repair is justified. Distinct libuv owner 0e1e1909 published libuv#5296 for issue #3866, preserving adjacent allocation/failed-init work. Exact head98ccd0db63cepassed 59 native checks and 51 TSAN checks with zero warnings (eight existing skips), independent API-direct review and 49/49 upstream CI checks. The public ABI is unchanged. Upstream maintainer review/merge remains external because authenticated upstream access is read-only. This source qualification does not establish a repaired Node binary, receiver acceptance or historical RPC causality. Same6ea has resumed supported isolated Node 24.20.0 integration, with exact source/receiver hashes, Vitest 5.0.1 and the unchanged 704/708, symlink-refusal, ordinary-restoration and 3000 ms contracts. Same594 retains residual private-source custody while closing merged #147281, merged atf53cce01b45aon September 24; its merge does not deliver all original recovery obligations. This is not whole-fix(doctor): release isolated state before cleanup #147281 acceptance or a blanket composition hold. Exact-candidate native qualification, independent API-direct review, supported correction publication and resulting-head required CI/landing remain open; public required CI is failed. The three-file fixture prerequisite #156459 is closed as evidence-backed superseded by merged #156136,ceb109668b43(58/58 on tested main); dependent exact-candidate qualification remains required. #145043 retains broader invocation/lifetime integration; every actual helper/daemon/Worker/terminal private-store binding and composed original recovery acceptance remain separately required. A scoped leaf or source test is not proof of the complete outcome.1c9303cea9e9; signed privatefdb6266d40a6/ treebb44b254remains unpublished and clean. The earlier native attempt passed build/check but stopped with exit 130 after seven failures; two harness incompatibilities were identified, while the other original timeout causes remain unresolved. Same7ab qualified the changed task-private route with compatibility controls and scoped independent API-direct review; four exact running-route postimages and the review receipt were verified. The existing selectors-unset full-native process passed build/check and remains in tests: three completed summaries total 156 files / 2,111 tests, with no failure observed at the checkpoint. This is not terminal full-native or hosted-CI clearance. The prior appended-byte isolation census had zero unsafe admissions; a current terminal census and child/resource settlement remain required. Existing same-owner native completion notification continues into actual-failure diagnosis or supported signed correction publication, exact-head review/required CI/runtime and LAND/cleanup. Preserve physical private handoff-store binding in every helper; no blind unchanged rerun, forged stamp, weakened isolation/assertion, unrelated whole-stack hold or complete-recovery credit. Previously consumed 1.59 GB caches and the old operation lock were removed; current gate resources remain owned. No live deployment.a976c5cb3f71from reviewed head81d1f3424349; ten focused behavioral cases, independent API review and required CI passed, with required security status successful. Native accepted intent reconciled without redispatch. Peter Steinberger’s original PR and Jason’s cleanup implementation attribution are preserved. Dedicated owner: Stop updates when schema snapshot cleanup fails · fix(update): stop schema admission when snapshot cleanup fails #156265, owned cleanup verified complete and exact worker session archived. Other original capture/recovery outcomes remain separately open.44b5df106030from reviewed head748ef9efdf13: 11 files, +555/−15. Exact-head CI, required aggregate review, native preparation, and independent API review passed. The wrapper regression was reproduced and repaired with one inventory entry; the original ten product/test files remain unchanged. Peter Steinberger’s original capture-design credit is preserved in the landed commit. Dedicated owner: Preserve update recovery receipts · fix(update): preserve recovery receipts across progress updates #156298, owned cleanup verified; dedicated worker archived with transcript history preserved. This is only the receipt predecessor; fix: preserve newer data across failed update rollback #145169 retains generation and all untransferred capture/restore outcomes.Additional linked components: #144319 supplies post-core executor custody; #156211 supplies ordinary-backup completeness. Neither is counted as complete recovery/no-loss coverage.
Original-goal details retained across the split
The 19 broad outcomes are a baseline, not proof of exhaustive delivery. Their acceptance also includes these explicit original requirements:
Each coherent piece may land independently after its actual dependencies, exact-head behavioral/integration checks, whole-touched-test-file audit, independent API review, required CI and applicable runtime acceptance pass. An unrelated whole-stack/native hold is not a landing dependency. Newer-write preservation and full recovery remain composed acceptance obligations, not ordinary-backup or package-rollback equivalents.
Already merged prerequisites
These merged PRs provide their bounded component behavior only; they do not close the 19 retained outcomes by themselves.
Tracking and closure rule
Maintain this section on both originals whenever a successor is published, reassigned, superseded, or merged. Every distinct open split PR keeps its own named session in Atomic update workers. Link the parent tracking from each successor. Keep unpublished pieces explicit; do not drop them when a worker turn ends. Close the originals only after every retained outcome is verified landed or explicitly superseded with semantic evidence. Verify cleanup before archiving the corresponding completed worker.
Related: #144005, #142770.
What Problem This Solves
Failed protected updates can trap Doctor recovery or overwrite newer user state when recovery falls back to an older baseline. The published 2026.9.3/2026.9.4 updater records its Doctor step only after its candidate child returns, so candidate-side correlation must use the actual live driver/run/activation facts.
User Impact
Doctor repairs current state and admits a later protected update while preserving acknowledged inserts, edits, deletions, operator configuration, retained recovery generations, and the original failed-update history. Unsafe recovery remains a reported refusal.
Solution
The original capture contribution by @steipete and its authorship remain in this stack. This PR contains the complete #144005 ancestry and owns the combined current-main qualification. #144005 must not land independently of the generation/publication correction and pre-mutation cutover work.
Verification
Prior reviewed follow-up head:
f158d29ad020f1a3a6f00e3989e8eaa46ea6856b.Fresh independent review of the final integrated 17-file follow-up found no actionable P0-P2 issues; the reviewed source was unchanged at exit.
All 35 selected changed-source check stages passed, with the separate warning-only temporary-creation report preserved. The final fixture correction also passed affected Doctor test types, scoped lint and diff checks.
Native delegated-retirement regression: before repair, only the delegated case failed and 4 controls passed; after repair, 5/5 passed. The full lifecycle suite previously passed 17/17 with original bundled coverage. Synthetic child-diagnostic/ownership controls passed 13/13 after reproducing 4 failures.
Runtime prerequisite admission passed 125/125. The isolated legacy Doctor correlation cases passed 3/3 after the original development-checkout inventory timeout was corrected.
Final Doctor recovery and ledger callers passed 100/100. The retained-forward producer initially hit its unchanged 120-second timeout while traversing obsolete generated worker trees. After ownership-checked cleanup, the exact uninstrumented reviewed source passed both retained-forward cases (2/2); the original failure and diagnostic run are retained separately.
Retained built acceptance for the earlier 13-file follow-up passed the unmodified published 2026.9.4 first hop, separately built Doctor and a distinct second protected update preserving newer acknowledged state. Those accepted runs were not replayed or retroactively extended to the subsequent fixes.
The published
4bc320ahead had 145 passing hosted jobs but failed the 2026.9.3 Docker lane. The unchanged local native Docker harness reproduced the pending-capture refusal after a migrated worker adopted the run. The follow-up reproduced that refusal through the real Doctor/capture boundary, then passed both Doctor suites (102/102). A separate authority-lifetime regression reproduced acceptance after verification had settled; final affected-route tests passed 36/36 after fixing the shared predicate. Fresh independent review of this five-file follow-up found no actionable P0-P2 issues. The corrected native Docker scenario passed end to end onf158d29: unmodified published 2026.9.3 updater, adopted-worker Doctor, plugin convergence, fixture restart/readiness, state survival, cron owners, agent turn, second-update no-op, and clean Doctor. The hosted Docker job also passed. The 2026.9.3 harness explicitly marks its backup-rollback probe not applicable; the retained 2026.9.4 no-loss proof keeps its separate scope.Combined Candidate and Remaining Landing Gates
Current combined source:
eadc86689c8994e0a364f1c7caa72c97cf8f6f0b, tree1ebccfa77bf3fc9c0ffc17a2ccd7f47c0d5a273c. This preserves the complete #144005 ancestry and integrates main929bafb35f5628f11bc9464a41951c52f69df1b6, including already-landed Windows, native-scope, clone and linked-runtime prerequisites.--no-restart, followed by candidate self-update/authenticated restart; they do not prove shipped-driver automatic restart.No combined end-to-end success or native LAND is claimed yet. No live Odin Gateway restart/update was performed; original recovery captures remain unchanged. Historical CI and fixture failures remain failures, not waivers.