Repository navigation
fix: fresh macOS profiles fail Gateway startup and skip automatic setup - #173246
Conversation
Initialize the recognized native SQLite bootstrap catalog after guarded admission and before runtime webhook history reads, reusing admitted schema facts. Keep the macOS first-run readiness waiter attached across supervised retry backoff so writing the initial configuration does not force manual setup.
|
🦞👀 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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: blocked before merge. What this changesThis PR completes native database bootstrap before Gateway history reads and preserves automatic setup across supervised startup retries. Example: A fresh macOS profile contains native identity rows at SQLite user_version 0.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 2 items remain Keep this PR open: it repairs a current first-run startup failure, but its new initializer call breaks an existing test fixture. Priority: P0 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe macOS app creates native profile state and supervises Gateway startup; TypeScript preflight admits that state before runtime history reads, and readiness returns control to automatic setup. flowchart TD
A[macOS first run] --> B[Native SQLite bootstrap]
A --> C[Gateway child supervisor]
C --> D[Startup config preflight]
B --> D
D --> E[Canonical schema initializer]
E --> F[Runtime history reads]
F --> G[Gateway readiness]
G --> H[Automatic setup]
Technical reviewBest possible solution: Complete native bootstrap through the canonical schema owner and keep automatic setup attached through supervised retries. Do we have a high-confidence way to reproduce the issue? The native DDL fixture creates version-zero state without gateway_boot_lifecycle, while current-main webhook readiness queries that table before canonical initialization; the body also reports reproductions through actual runtimes. Is this the best way to solve the issue? The repair uses the existing initialization and supervision owners, preserves the narrow native-bootstrap discriminator, and avoids moving general legacy repair out of Doctor. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 92e62263a2e9. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +39, Tests +151, Docs +6. Total +196 across 7 files. Added test files: 1. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 15, 2026, 12:01 PM ET / 16:01 UTC. |
|
Merged via squash.
|
Backport of 1ed40a1 (partial: startup-config-preflight native bootstrap initialization before webhook history reads, its regression test, the source-captures test isolation, and the database-schemas doc note; skipped the admitStateSchemaFacts catalog-reuse refactor (not required on this branch), the macOS OnboardingFirstRun readiness-waiter change (OnboardingFirstRun from #169568 is main-only), and the Telegram e2e catalog isolation).
…up (#173246) * fix(gateway): keep fresh-profile startup and setup on track Initialize the recognized native SQLite bootstrap catalog after guarded admission and before runtime webhook history reads, reusing admitted schema facts. Keep the macOS first-run readiness waiter attached across supervised retry backoff so writing the initial configuration does not force manual setup. * test: isolate startup capture cleanup from native bootstrap * test: isolate Telegram picker from background catalog updates (cherry picked from commit 1ed40a1)
…up (openclaw#173246) * fix(gateway): keep fresh-profile startup and setup on track Initialize the recognized native SQLite bootstrap catalog after guarded admission and before runtime webhook history reads, reusing admitted schema facts. Keep the macOS first-run readiness waiter attached across supervised retry backoff so writing the initial configuration does not force manual setup. * test: isolate startup capture cleanup from native bootstrap * test: isolate Telegram picker from background catalog updates
…026.10.7) (#2447) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/openclaw/openclaw](https://openclaw.ai) ([source](https://github.com/openclaw/openclaw)) | patch | `2026.10.6` → `2026.10.7` | --- ### Release Notes <details> <summary>openclaw/openclaw (ghcr.io/openclaw/openclaw)</summary> ### [`v2026.10.7`](https://github.com/openclaw/openclaw/releases/tag/v2026.10.7): openclaw 2026.10.7 [Compare Source](openclaw/openclaw@v2026.10.6...v2026.10.7) ##### 2026.10.7 ##### Highlights - **Replay-safe session recovery:** interrupted sessions now retain recovery provenance and unfinished tool outcomes, stopped conversations retire terminal recovery residue before accepting the next message, rejected Claude CLI drafts stay out of final replies, large child-completion batches stay within requester context, and Codex previews no longer block replies after a context refresh. ([#​153728](openclaw/openclaw#153728), [#​168764](openclaw/openclaw#168764), [#​172068](openclaw/openclaw#172068), [#​177716](openclaw/openclaw#177716), [#​176682](openclaw/openclaw#176682), [#​176783](openclaw/openclaw#176783), [#​176675](openclaw/openclaw#176675), [#​159715](openclaw/openclaw#159715), [#​181801](openclaw/openclaw#181801)) Thanks [@​zhangguiping-xydt](https://github.com/zhangguiping-xydt), [@​ruel225](https://github.com/ruel225), [@​Oliver4Spot](https://github.com/Oliver4Spot), [@​jjjhenriksen](https://github.com/jjjhenriksen), [@​enki](https://github.com/enki), [@​PennyVibe](https://github.com/PennyVibe), [@​mbelinky](https://github.com/mbelinky), [@​RomneyDa](https://github.com/RomneyDa), and [@​krjcolby-svg](https://github.com/krjcolby-svg). - **Safer update activation and recovery:** verified activations remain successful through later maintenance or ledger errors, interrupted package updates resume safely, post-activation Doctor waits are bounded, stale receipts cannot veto a valid repair, and Windows deep or 8.3 state paths no longer abort onboarding or migration. ([#​181166](openclaw/openclaw#181166), [#​181307](openclaw/openclaw#181307), [#​173862](openclaw/openclaw#173862), [#​167459](openclaw/openclaw#167459), [#​172768](openclaw/openclaw#172768), [#​172769](openclaw/openclaw#172769), [#​181389](openclaw/openclaw#181389)) Thanks [@​najef1979-code](https://github.com/najef1979-code), [@​agroman1993](https://github.com/agroman1993), [@​shanselman](https://github.com/shanselman), [@​RomneyDa](https://github.com/RomneyDa), [@​dor-sr](https://github.com/dor-sr), [@​wangmiao0668000666](https://github.com/wangmiao0668000666), and [@​brucemccurdy](https://github.com/brucemccurdy). - **Database and worker continuity:** maintenance refusals preserve peer readers and borrowers, incompatible retained agent databases stay isolated, empty transcript deletions skip unnecessary archive materialization, Bun admission deadlines remain thread-local, and worker shutdown completes after inventory retirement. ([#​175987](openclaw/openclaw#175987), [#​179320](openclaw/openclaw#179320), [#​170122](openclaw/openclaw#170122), [#​171372](openclaw/openclaw#171372), [#​172756](openclaw/openclaw#172756), [#​168862](openclaw/openclaw#168862)) Thanks [@​LifeViwer](https://github.com/LifeViwer), [@​Captain69G](https://github.com/Captain69G), [@​RomneyDa](https://github.com/RomneyDa), [@​shanselman](https://github.com/shanselman), [@​dor-sr](https://github.com/dor-sr), [@​wangmiao0668000666](https://github.com/wangmiao0668000666), and [@​brucemccurdy](https://github.com/brucemccurdy). - **Backup and state durability:** snapshots retain supported legacy exec-approval policies, interrupted R2 verification and restores resume safely, config observation keeps the last-known-good snapshot during truncated writes, failed multi-file patches preserve earlier files, and Memory Wiki re-imports preserve human-authored notes. ([#​164297](openclaw/openclaw#164297), [#​171292](openclaw/openclaw#171292), [#​152565](openclaw/openclaw#152565), [#​160409](openclaw/openclaw#160409), [#​175707](openclaw/openclaw#175707)) Thanks [@​wangmiao0668000666](https://github.com/wangmiao0668000666), [@​davidcittadini](https://github.com/davidcittadini), [@​LiuwqGit](https://github.com/LiuwqGit), [@​yetval](https://github.com/yetval), [@​masatohoshino](https://github.com/masatohoshino), [@​YangManBOBO](https://github.com/YangManBOBO), [@​RomneyDa](https://github.com/RomneyDa), [@​shanselman](https://github.com/shanselman), [@​dor-sr](https://github.com/dor-sr), [@​cristianoc](https://github.com/cristianoc), and [@​brucemccurdy](https://github.com/brucemccurdy). - **Operator control continuity:** native computer control recovers after session expiry, late-attached GitHub operators can publish PRs, synchronous node output is not duplicated as a completion wake, cron announcements preserve CLI chats, and history maintenance reads identities before payloads. ([#​169385](openclaw/openclaw#169385), [#​169400](openclaw/openclaw#169400), [#​164511](openclaw/openclaw#164511), [#​176218](openclaw/openclaw#176218), [#​174530](openclaw/openclaw#174530)) Thanks [@​stackingrockss](https://github.com/stackingrockss), [@​Gigaxel](https://github.com/Gigaxel), [@​holgergruenhagen](https://github.com/holgergruenhagen), [@​eliavb43](https://github.com/eliavb43), [@​wangmiao0668000666](https://github.com/wangmiao0668000666), [@​asikorskiy](https://github.com/asikorskiy), and [@​RomneyDa](https://github.com/RomneyDa). - **Provider and plugin continuity:** model refresh, configured-account readiness, GPT-5.6 tool turns, OpenRouter onboarding, incremental plugin loading, and faster external TypeScript plugin startup retain current state instead of rejecting valid setup or discarding providers. ([#​176709](openclaw/openclaw#176709), [#​178522](openclaw/openclaw#178522), [#​173366](openclaw/openclaw#173366), [#​173292](openclaw/openclaw#173292), [#​162226](openclaw/openclaw#162226), [#​161267](openclaw/openclaw#161267), [#​168391](openclaw/openclaw#168391)) Thanks [@​ericcaiwx-star](https://github.com/ericcaiwx-star), [@​eduardonunesfreire-rgb](https://github.com/eduardonunesfreire-rgb), [@​chandraveshchaudhari](https://github.com/chandraveshchaudhari), [@​netcrazed](https://github.com/netcrazed), [@​obviyus](https://github.com/obviyus), [@​jakeaadams](https://github.com/jakeaadams), and [@​RomneyDa](https://github.com/RomneyDa). - **Managed integration reliability:** saved Linux Gateway dashboards preserve pairing across restarts, slow macOS Talk runs retain their replies, app upgrades converge official plugins, Copilot setup verifies SDK-backed agents correctly, Claude CLI cache prefixes stay stable after child completion and retain context when caller-only tools appear or disappear, and passkey prompts no longer block headless browser clicks. ([#​158908](openclaw/openclaw#158908), [#​164485](openclaw/openclaw#164485), [#​174257](openclaw/openclaw#174257), [#​163578](openclaw/openclaw#163578), [#​172026](openclaw/openclaw#172026), [#​178955](openclaw/openclaw#178955), [#​170857](openclaw/openclaw#170857)) Thanks [@​dor-sr](https://github.com/dor-sr), [@​PollyBot13](https://github.com/PollyBot13), [@​kazuyuki-eguchi](https://github.com/kazuyuki-eguchi), [@​lifuyue](https://github.com/lifuyue), [@​Marvinthebored](https://github.com/Marvinthebored), [@​VACInc](https://github.com/VACInc), [@​trukhinyuri](https://github.com/trukhinyuri), [@​Peetiegonzalez](https://github.com/Peetiegonzalez), [@​RomneyDa](https://github.com/RomneyDa), [@​shanselman](https://github.com/shanselman), [@​wangmiao0668000666](https://github.com/wangmiao0668000666), [@​brucemccurdy](https://github.com/brucemccurdy), and [@​rsaeks](https://github.com/rsaeks). - **Cross-platform app-managed upgrades:** native state repair, recovery snapshots, Gateway runtime admission, and post-upgrade service recovery now converge without losing agent access across macOS and Windows. ([#​171508](openclaw/openclaw#171508), [#​174297](openclaw/openclaw#174297), [#​175007](openclaw/openclaw#175007), [#​176174](openclaw/openclaw#176174), [#​178155](openclaw/openclaw#178155), [#​178779](openclaw/openclaw#178779), [#​180010](openclaw/openclaw#180010), [#​180576](openclaw/openclaw#180576), [#​180769](openclaw/openclaw#180769)) Thanks [@​tjarrau-dev](https://github.com/tjarrau-dev), [@​DonnieFi](https://github.com/DonnieFi), [@​jayzhou2309](https://github.com/jayzhou2309), [@​lostsock1](https://github.com/lostsock1), [@​sglion777](https://github.com/sglion777), [@​Almost-Certified-ops](https://github.com/Almost-Certified-ops), [@​billpang1-sketch](https://github.com/billpang1-sketch), and [@​RomneyDa](https://github.com/RomneyDa). ##### Changes - **Google models:** add Gemini 4 Argon support. ([#​171852](openclaw/openclaw#171852)) Thanks [@​RomneyDa](https://github.com/RomneyDa). ##### Fixes - **Update guidance:** avoid irrelevant database-repair advice when a package manager is missing, and remove superseded warnings after a successful update. ([#​173293](openclaw/openclaw#173293), [#​173395](openclaw/openclaw#173395)) Thanks [@​DonnieFi](https://github.com/DonnieFi), [@​RomneyDa](https://github.com/RomneyDa), [@​wangmiao0668000666](https://github.com/wangmiao0668000666), [@​sunlit-deng](https://github.com/sunlit-deng), and [@​bhedanikhilkumar-code](https://github.com/bhedanikhilkumar-code). - **macOS onboarding:** allow fresh profiles to start the Gateway and complete automatic setup. ([#​173246](openclaw/openclaw#173246)) Thanks [@​RomneyDa](https://github.com/RomneyDa). - **Gateway logging:** prevent a deleted or stale temporary log directory from wedging the Gateway at full CPU during date rollover. ([#​160433](openclaw/openclaw#160433)) Fixes [#​130807](openclaw/openclaw#130807) Thanks [@​masatohoshino](https://github.com/masatohoshino), [@​WadeOwenWatts](https://github.com/WadeOwenWatts), and [@​RomneyDa](https://github.com/RomneyDa). - **Control UI queue state:** clear slash-steer chips after the queued command is consumed. ([#​180024](openclaw/openclaw#180024)) Thanks [@​RomneyDa](https://github.com/RomneyDa). ##### Complete contribution record This audited record covers the complete v2026.10.6..[`5c4a797`](openclaw/openclaw@5c4a797) history: 49 in-range PRs + 21 retained seed-only PRs = 70 unique PRs. The generation manifest also supplies direct commits as editorial input; the grouped notes above prioritize user impact. ##### Pull requests - **PR [#​181867](openclaw/openclaw#181867 Backports [#​181801](openclaw/openclaw#181801). Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​181487](openclaw/openclaw#181487 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​181801](openclaw/openclaw#181801 Related [#​181770](openclaw/openclaw#181770). Thanks [@​najef1979-code](https://github.com/najef1979-code) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​173293](openclaw/openclaw#173293 Related [#​173084](openclaw/openclaw#173084). Thanks [@​DonnieFi](https://github.com/DonnieFi) and [@​RomneyDa](https://github.com/RomneyDa) and [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​sunlit-deng](https://github.com/sunlit-deng). - **PR [#​173395](openclaw/openclaw#173395 Related [#​173089](openclaw/openclaw#173089). Thanks [@​DonnieFi](https://github.com/DonnieFi) and [@​RomneyDa](https://github.com/RomneyDa) and [@​bhedanikhilkumar-code](https://github.com/bhedanikhilkumar-code). - **PR [#​178155](openclaw/openclaw#178155 Related [#​177697](openclaw/openclaw#177697). Thanks [@​DonnieFi](https://github.com/DonnieFi) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​175707](openclaw/openclaw#175707 Related [#​175700](openclaw/openclaw#175700). Thanks [@​YangManBOBO](https://github.com/YangManBOBO) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​180024](openclaw/openclaw#180024 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​180010](openclaw/openclaw#180010 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​178779](openclaw/openclaw#178779 Related [#​167385](openclaw/openclaw#167385). Thanks [@​jayzhou2309](https://github.com/jayzhou2309) and [@​RomneyDa](https://github.com/RomneyDa) and [@​lostsock1](https://github.com/lostsock1). - **PR [#​180576](openclaw/openclaw#180576 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​176675](openclaw/openclaw#176675 Thanks [@​enki](https://github.com/enki) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​176682](openclaw/openclaw#176682 Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​enki](https://github.com/enki). - **PR [#​172026](openclaw/openclaw#172026 Thanks [@​Marvinthebored](https://github.com/Marvinthebored) and [@​VACInc](https://github.com/VACInc) and [@​RomneyDa](https://github.com/RomneyDa) and [@​Peetiegonzalez](https://github.com/Peetiegonzalez). - **PR [#​170122](openclaw/openclaw#170122 - **PR [#​178955](openclaw/openclaw#178955 Thanks [@​Marvinthebored](https://github.com/Marvinthebored). - **PR [#​179933](openclaw/openclaw#179933 - **PR [#​179951](openclaw/openclaw#179951 - **PR [#​182030](openclaw/openclaw#182030 - **PR [#​176892](openclaw/openclaw#176892 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​159715](openclaw/openclaw#159715 Thanks [@​mbelinky](https://github.com/mbelinky) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​162226](openclaw/openclaw#162226 Thanks [@​netcrazed](https://github.com/netcrazed) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​161267](openclaw/openclaw#161267 Thanks [@​obviyus](https://github.com/obviyus) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​171852](openclaw/openclaw#171852 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​176709](openclaw/openclaw#176709 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​180769](openclaw/openclaw#180769 Related [#​180636](openclaw/openclaw#180636), [#​180701](openclaw/openclaw#180701), [#​180707](openclaw/openclaw#180707). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​sglion777](https://github.com/sglion777) and [@​Almost-Certified-ops](https://github.com/Almost-Certified-ops) and [@​billpang1-sketch](https://github.com/billpang1-sketch). - **PR [#​178522](openclaw/openclaw#178522 Related [#​178502](openclaw/openclaw#178502). Thanks [@​ericcaiwx-star](https://github.com/ericcaiwx-star) and [@​RomneyDa](https://github.com/RomneyDa) and [@​eduardonunesfreire-rgb](https://github.com/eduardonunesfreire-rgb). - **PR [#​152565](openclaw/openclaw#152565 Related [#​152509](openclaw/openclaw#152509). Thanks [@​LiuwqGit](https://github.com/LiuwqGit) and [@​RomneyDa](https://github.com/RomneyDa) and [@​yetval](https://github.com/yetval). - **PR [#​160409](openclaw/openclaw#160409 Thanks [@​masatohoshino](https://github.com/masatohoshino) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​163578](openclaw/openclaw#163578 Thanks [@​lifuyue](https://github.com/lifuyue) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​180482](openclaw/openclaw#180482 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​180989](openclaw/openclaw#180989 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​164297](openclaw/openclaw#164297 Related [#​164146](openclaw/openclaw#164146), [#​156945](openclaw/openclaw#156945). Thanks [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​RomneyDa](https://github.com/RomneyDa) and [@​shanselman](https://github.com/shanselman) and [@​dor-sr](https://github.com/dor-sr) and [@​cristianoc](https://github.com/cristianoc) and [@​brucemccurdy](https://github.com/brucemccurdy). - **PR [#​158908](openclaw/openclaw#158908 Related [#​156945](openclaw/openclaw#156945). Thanks [@​dor-sr](https://github.com/dor-sr) and [@​RomneyDa](https://github.com/RomneyDa) and [@​shanselman](https://github.com/shanselman) and [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​brucemccurdy](https://github.com/brucemccurdy). - **PR [#​175987](openclaw/openclaw#175987 Related [#​156945](openclaw/openclaw#156945). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​shanselman](https://github.com/shanselman) and [@​dor-sr](https://github.com/dor-sr) and [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​brucemccurdy](https://github.com/brucemccurdy). - **PR [#​179320](openclaw/openclaw#179320 Related [#​156945](openclaw/openclaw#156945). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​shanselman](https://github.com/shanselman) and [@​dor-sr](https://github.com/dor-sr) and [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​brucemccurdy](https://github.com/brucemccurdy). - **PR [#​181389](openclaw/openclaw#181389 Related [#​156945](openclaw/openclaw#156945). Thanks [@​shanselman](https://github.com/shanselman) and [@​RomneyDa](https://github.com/RomneyDa) and [@​dor-sr](https://github.com/dor-sr) and [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​brucemccurdy](https://github.com/brucemccurdy). - **PR [#​167459](openclaw/openclaw#167459 Related [#​167441](openclaw/openclaw#167441), [#​156945](openclaw/openclaw#156945). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​shanselman](https://github.com/shanselman) and [@​dor-sr](https://github.com/dor-sr) and [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​brucemccurdy](https://github.com/brucemccurdy). - **PR [#​153728](openclaw/openclaw#153728 Related [#​144842](openclaw/openclaw#144842). Thanks [@​zhangguiping-xydt](https://github.com/zhangguiping-xydt) and [@​RomneyDa](https://github.com/RomneyDa) and [@​krjcolby-svg](https://github.com/krjcolby-svg). - **PR [#​164485](openclaw/openclaw#164485 Related [#​153145](openclaw/openclaw#153145). Thanks [@​PollyBot13](https://github.com/PollyBot13) and [@​RomneyDa](https://github.com/RomneyDa) and [@​rsaeks](https://github.com/rsaeks). - **PR [#​168391](openclaw/openclaw#168391 Related [#​168130](openclaw/openclaw#168130). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​jakeaadams](https://github.com/jakeaadams). - **PR [#​168629](openclaw/openclaw#168629 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​168764](openclaw/openclaw#168764 Related [#​168676](openclaw/openclaw#168676). Thanks [@​ruel225](https://github.com/ruel225) and [@​RomneyDa](https://github.com/RomneyDa) and [@​Oliver4Spot](https://github.com/Oliver4Spot). - **PR [#​168862](openclaw/openclaw#168862 Related [#​158126](openclaw/openclaw#158126). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​Captain69G](https://github.com/Captain69G). - **PR [#​169385](openclaw/openclaw#169385 Related [#​169353](openclaw/openclaw#169353). Thanks [@​stackingrockss](https://github.com/stackingrockss) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​169400](openclaw/openclaw#169400 Related [#​169377](openclaw/openclaw#169377). Thanks [@​Gigaxel](https://github.com/Gigaxel) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​171292](openclaw/openclaw#171292 Related [#​171165](openclaw/openclaw#171165). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​davidcittadini](https://github.com/davidcittadini). - **PR [#​171372](openclaw/openclaw#171372 Related [#​171348](openclaw/openclaw#171348). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​LifeViwer](https://github.com/LifeViwer). - **PR [#​172068](openclaw/openclaw#172068 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​164511](openclaw/openclaw#164511 Thanks [@​holgergruenhagen](https://github.com/holgergruenhagen) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​172756](openclaw/openclaw#172756 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​172768](openclaw/openclaw#172768 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​172769](openclaw/openclaw#172769 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​173862](openclaw/openclaw#173862 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​176218](openclaw/openclaw#176218 Related [#​176208](openclaw/openclaw#176208). Thanks [@​eliavb43](https://github.com/eliavb43) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​177716](openclaw/openclaw#177716 Thanks [@​jjjhenriksen](https://github.com/jjjhenriksen) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​174530](openclaw/openclaw#174530 Related [#​174078](openclaw/openclaw#174078). Thanks [@​wangmiao0668000666](https://github.com/wangmiao0668000666) and [@​RomneyDa](https://github.com/RomneyDa) and [@​asikorskiy](https://github.com/asikorskiy). - **PR [#​181166](openclaw/openclaw#181166 Related [#​181020](https://github.com/openclaw/openclaw/issues/181020). Thanks [@​najef1979-code](https://github.com/najef1979-code). - **PR [#​181307](openclaw/openclaw#181307 Related [#​181235](https://github.com/openclaw/openclaw/issues/181235). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​agroman1993](https://github.com/agroman1993). - **PR [#​176783](openclaw/openclaw#176783 Related [#​176669](https://github.com/openclaw/openclaw/issues/176669). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​PennyVibe](https://github.com/PennyVibe). - **PR [#​173366](openclaw/openclaw#173366 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​173292](openclaw/openclaw#173292 Thanks [@​chandraveshchaudhari](https://github.com/chandraveshchaudhari) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​174257](openclaw/openclaw#174257 Related [#​174120](https://github.com/openclaw/openclaw/issues/174120). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​kazuyuki-eguchi](https://github.com/kazuyuki-eguchi). - **PR [#​170857](openclaw/openclaw#170857 Thanks [@​trukhinyuri](https://github.com/trukhinyuri) and [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​171508](openclaw/openclaw#171508 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​174297](openclaw/openclaw#174297 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​175007](openclaw/openclaw#175007 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​176174](openclaw/openclaw#176174 Related [#​176163](https://github.com/openclaw/openclaw/issues/176163). Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​tjarrau-dev](https://github.com/tjarrau-dev). - **PR [#​173246](openclaw/openclaw#173246 Thanks [@​RomneyDa](https://github.com/RomneyDa). - **PR [#​160433](openclaw/openclaw#160433 Related [#​130807](openclaw/openclaw#130807). Thanks [@​masatohoshino](https://github.com/masatohoshino) and [@​RomneyDa](https://github.com/RomneyDa) and [@​WadeOwenWatts](https://github.com/WadeOwenWatts). ##### Release verification - npm package: <https://www.npmjs.com/package/openclaw/v/2026.10.7> - registry tarball: <https://registry.npmjs.org/openclaw/-/openclaw-2026.10.7.tgz> - integrity: `sha512-iiZO+kFFBgQvxm17wn3Sc/MSC/GQu01PubAFVNA2Nn736HOHUbR0ra7a9NeW9wpjq3kDkSJ1RB7dTP+qVJFXig==` - release SHA: `157d8c2bc3ea2fa183afdc11088e69690bf8e64e` - full release CI report: <https://github.com/openclaw/releases/blob/main/evidence/2026.10.7/release-evidence.md> - release publish: <https://github.com/openclaw/openclaw/actions/runs/40081926023> - npm preflight: <https://github.com/openclaw/openclaw/actions/runs/40055378381> - full release validation: <https://github.com/openclaw/openclaw/actions/runs/40054950351> - plugin npm publish: <https://github.com/openclaw/openclaw/actions/runs/40082487401> - plugin ClawHub submission: <https://github.com/openclaw/openclaw/actions/runs/40082490562>; public finalization and exact artifact verification follow terminal release-parent completion - plugin ClawHub bootstrap: not needed - OpenClaw npm publish: <https://github.com/openclaw/openclaw/actions/runs/40073183916/attempts/1> - npm Telegram beta E2E: not supplied - Android APK: skipped — apps/android/version.json is 2026.8.2, release train is 2026.10.7; run pnpm android:version:pin -- --from-gateway before the next tag. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNzUuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE3NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: https://git.erwanleboucher.dev/eleboucher/homelab/pulls/2447
What Problem This Solves
This is a latent main bug reachable by today’s shipped macOS app. It fixes first Gateway startup failing with
no such table: gateway_boot_lifecyclewhen the macOS app has created a fresh native profile, and fixes first-run setup falling into manual model setup after supervised startup retries.User Impact
A fresh native profile can start Gateway on its first attempt and reach automatic setup. If startup needs a supervised retry, the original first-run operation remains active until readiness, terminal failure, cancellation, or replacement.
Why This Change Was Made
Today’s shipped macOS app creates a native SQLite bootstrap database at
user_version = 0. Gateway startup then fails at the webhook-readiness read until another component migrates that database; the failed attempts can also skip first-runopenclaw.setup.auto. Startup admission accepts that catalog, but Gateway read webhook boot history before invoking its existing canonical initializer. Initialize it after guarded read admission releases its snapshot and before runtime history reads, reusing the process's admitted schema facts. PostgreSQL stays on its own path.The macOS readiness waiter also mistook the child supervisor's restart backoff for a completed failed startup. It now follows that active startup through the gap. No persistent first-run marker, new retry policy, schema version, or per-read database probe is added.
Evidence
The actual native SQLite DDL reproduces the missing-table failure in loose pnpm, Node, pinned Bun, and the original standalone runtime. A completely empty loose profile starts normally, confirming that native bootstrap ordering is the trigger rather than standalone packaging.
Fixed loose runs are ready on attempt one: Node 11.6s, pinned Bun 10.4s, and pnpm 19.0s under build load. A fresh no-provider fixture is ready in 12.4s;
openclaw.setup.autoreturnsneeds-sign-in, and the UI shows the ChatGPT setup card rather than manual model setup. All migrate to schema v24 with the lifecycle table present. State, config, and browser profiles are isolated.Regression coverage exercises real startup preflight with the native catalog and the real first-run handoff across two supervised failures. It verifies config/native identity preservation, successful readiness, terminal failure, cancellation, and no duplicate health audit.
On the main-based patch, the native bootstrap regression passes (66.43s wall including cold worker compilation), all 44 shared-schema admission tests pass (107.39s wall), and signed/sandboxed macOS tests pass (8 tests, 7.28s wall). SwiftLint/SwiftFormat pass. Independent Codex review found no actionable issues.
The changed-file checks report two pre-existing stale max-lines allowances (
src/agents/embedded-agent-runner/model.test.tsandsrc/channels/plugins/setup-wizard-helpers.test.ts), reproduced on clean main.The exact main PR commit was also built and run from a fresh native-seeded profile: ready on attempt one in 9.0s, schema 24, and automatic setup displayed the ChatGPT sign-in card.
The first CI run exposed a stale capture-cleanup test mock after the new initializer became reachable. The fixture now mocks the initialization owner; the real native bootstrap remains covered by its integration regression. The repaired file passes all 11 tests (240.98s wall including worker preparation), and targeted typecheck, lint, formatting, and final independent Codex review pass.
A second CI run exposed an unrelated race in the Telegram picker fixture: it allowed the real background remote catalog download to replace the catalog generation during its fake Ollama discovery. The fixture now disables only background catalog refresh through the existing config option, preserving explicit discovery, reuse, and callback assertions. Targeted typecheck, lint, formatting, and independent review pass. Local named E2E attempts under Bun (609.01s) and Node (1091.05s) stalled in worker admission before creating a Gateway or reaching assertions, and are recorded as unsuccessful tooling runs. Exact-head CI provides the independent runtime result; these attempts are not reported as local passes.
Compatibility stays at the existing native-bootstrap boundary: the 44 shared-schema tests pass, native identity rows and config bytes are preserved, and unknown or occupied catalogs keep their existing refusal behavior. There is no schema-version or data-format change.
Signed standalone proof passed on the production-pinned runtime: three fresh native-profile starts succeed on attempt one, with no missing lifecycle table. Two full runs verify schema v24 with 105 tables and exactly one
openclaw.setup.autocall returningneeds-sign-in; inspected screenshots show the ChatGPT connection card. The standalone was built on the requested builder stack with byte-identical TypeScript startup changes.Timing remains explicit: the adjacent same-binary empty-profile control was 39.3s and the native-profile run 41.2s on this heavily loaded host. Earlier full standalone runs were 56.6s and 80.0s without retries; these do not establish a 15s absolute standalone time. The quiet main-based loose Node run was 9.0s.
Final exact-head CI passed at
74b1a7f376ecbee6469c632285cfec4b95898cc9: run 38775810134, 93 successful jobs and 23 intentional skips. The previously failing changed-check shard passed. No CI exception is needed.