Repository navigation
feat(macos): bundle an exact prewarmed core runtime - #130543
Patrick-Erichsen wants to merge 8 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. |
|
CI note: the two red |
|
Codex review: blocked before merge. Reviewed October 7, 2026, 4:42 AM ET / 08:42 UTC (Revision 4). ClawSweeper reviewWhat this changesThe branch lets development macOS apps bundle a verified, matching Node and OpenClaw archive and install it into the selected profile without downloading or building OpenClaw. Merge readiness⛔ Blocked before merge - 9 items remain Keep open for maintainer handling. Current main now bundles a matching private runtime, substantially overlapping this proposal, but the protected PR cannot be automatically closed. All five previously reported defects remain in the unchanged head. Priority: P2 Review scores
Verification
How this fits togetherThe macOS packager creates the runtime archive, and app onboarding passes it to the managed CLI installer. The installed runtime then supplies the CLI and local Gateway service. flowchart TD
A[Development app build] --> B[Runtime packaging]
B --> C[Archive and identity manifest]
C --> D[App setup and repair]
D --> E[Verify and install runtime]
E --> F[Profile CLI]
F --> G[Local Gateway service]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +244, Docs +12, Config 0, Other +558. Total +814 across 17 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use current main's canonical bundled-runtime staging and seeding owners, carrying forward only demonstrably missing behavior with transactional recovery and packaged-app upgrade proof. Do we have a high-confidence way to reproduce the issue? Yes, the unchanged branch provides clear source-level triggers: packaging with a loaded Gateway, installation beneath a path containing spaces, Node-pointer activation failure, and automatic repair of a prewarmed build. These scenarios were not executed during this read-only review. Is this the best way to solve the issue? No, this branch is no longer the best implementation shape: current main already owns matching-runtime packaging and profile seeding, while this parallel installer retains five concrete defects. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fa420c6eb275. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (3 earlier review cycles)
|
|
Closing as stale: this macOS onboarding/prewarm stack has been inactive since August, and Closed by Roboclaw at the author's request after an audit of his open PRs. The branch is kept, so this can be reopened if needed. |
Summary
Let opt-in development macOS builds embed and install the exact OpenClaw core runtime that produced the app. The runtime is verified and installed transactionally into profile-owned state; release builds continue to reject the opt-in flag.
This is layer 3 of the macOS onboarding/prewarm stack and extracts the core-runtime half of #124831. Hannes Rudolph remains the author of the feature commits.
Stack
Scope boundary
This PR contains the packaging/install contract for the core runtime only. It deliberately excludes the official-plugin archive cache and its onboarding consumer, which live in #130544.
Evidence
CLIInstallerTests: 24/24 on the Mac Studio.emit_jsoncontract.OpenClaw.appsuccessfully with the explicit ad-hoc development-signing fallback.fd4b38b6a5727302776dd5975af5165149265e52.Draft status
The dedicated
macOS Tahoe CleanVM could not begin app acceptance after either pristine snapshot was restored: Parallels reportedGuestTools: state=not_installed,prlctl execcould not open a session, no guest IP was available, and evenprlctl capturehung. The VM was restored to snapshot{1cca537a-4fa6-45b0-864c-174cadeca6f4}and left stopped; unrelated installer VMs were untouched.