Skip to content

feat(macos): package an exact prewarmed development runtime - #124831

Closed
hannesrudolph wants to merge 10 commits into
openclaw:mainfrom
hannesrudolph:feat/macos-prewarmed-runtime-pr
Closed

hannesrudolph wants to merge 10 commits into
openclaw:mainfrom
hannesrudolph:feat/macos-prewarmed-runtime-pr

Conversation

@hannesrudolph

@hannesrudolph hannesrudolph commented Aug 16, 2026 •

Copy link
Copy Markdown
Member

Builds on #124829.

What Problem This Solves

Development macOS builds can install the exact OpenClaw core revision that produced the app, but official external plugins may not yet be published at that same version. That makes onboarding tests fail at plugin installation even though the app and core runtime are correct.

Why This Change Was Made

The opt-in prewarmed development build now carries exact .tgz packages for every publishable official external plugin (currently 89) in a separate commit/version/hash-bound cache. Installing the app copies that cache transactionally into profile state without installing, enabling, discovering, or exposing any plugin or Codex executable.

When normal onboarding later selects an official plugin, the existing managed npm-pack path consumes a matching verified cache entry. Dependencies still download from npm, the resulting install record keeps normal npm semantics, and nonmatching versions or update-channel tags fall back to the registry. No HTTP server, registry override, LaunchAgent environment change, or generic install override is introduced.

User Impact

Developers using OPENCLAW_BUNDLE_PREWARMED_RUNTIME=1 can test the app's matching build and onboarding flow without waiting for that exact official plugin version to reach npm. Standard builds and published releases are unchanged, and prewarmed plugins remain dormant until the user selects one through the normal setup flow.

Evidence

  • pnpm test:macos:ci passed all 496 tests across seven Vitest shards, including Darwin installer and packaging coverage.
  • Focused tooling, onboarding-command, and plugin suites passed 348 tests; focused CI-routing coverage passed 37 tests.
  • swift test --package-path apps/macos --filter CLIInstallerTests passed 24 tests.
  • The real macOS packager completed core runtime verification and generated a verified cache containing exactly 89 plugin tarballs plus manifest.json; the manifest SHA matched the schema-2 app manifest and Codex resolved to @openclaw/[email protected].
  • The core runtime archive contained no installed Codex package; cache tampering, identity mismatches, nonmatching selectors, and transaction backup/activation/restore failures are covered by fail-closed tests.
  • The ChatGPT desktop probe allows a 3-second cold start only for known macOS app binaries; the VM's authenticated codex login status was recognized on the first onboarding pass.
  • Automatic Gateway-profile Keychain reads and migration are noninteractive when the login Keychain is unavailable, while explicit user mutations reload hidden data before saving. Injected tests prove an unavailable read cannot overwrite existing profiles.
  • Script typechecking, focused lint, formatting, shell syntax, diff checks, and the max-lines ratchet passed. Repository-wide lint still reports the pre-existing 1,003-line src/scripts/ci-changed-scope.test.ts baseline; this change leaves that file's line count unchanged.
  • Full core typechecking is unavailable in this sparse RooClaw checkout because tracked packages inputs are excluded; root-test typechecking is likewise blocked by the deliberately excluded .agents/skills/openclaw-live-updater fixture.
  • Parallels macOS 26.6 acceptance used the live logged-in Base state without restarting or logging out. Exact app commit e942563ddc4eacea978b70d1b86c951c9c23d1da installed its matching runtime and staged the 89-plugin cache with no Codex plugin or binary present before selection.
  • Onboarding showed no Keychain dialog, detected the authenticated ChatGPT/Codex install on the first pass, logged Using verified prewarmed plugin cache for codex, installed trusted official @openclaw/[email protected], and restarted healthy with Codex loaded.
  • A live Gateway agent turn completed in 4.98 seconds on openai/gpt-5.6-sol through agentHarnessId: codex. The successful onboarded VM snapshot is {010bf818-6ed5-43e6-b290-7bae4f914801}.

@clawsweeper

clawsweeper Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: macos App: macos scripts Repository scripts size: XL maintainer Maintainer-authored PR labels Aug 16, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 16, 2026
@clawsweeper

clawsweeper Bot commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 22, 2026, 11:24 PM ET / August 23, 2026, 03:24 UTC.

ClawSweeper review

What this changes

Adds an opt-in macOS development build containing an exact Node runtime and verified plugin archives so first-run onboarding can avoid downloading those artifacts.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

The prewarmed runtime and archive-cache path remains useful. The prior mutable-cache trust concern is resolved because cache hits still enter the ordinary mutable-archive policy and hook path and the staged archive is re-hashed; direct Codex runtime-contract inspection is still required before merge.

Priority: P2
Reviewed head: 6c720951182a0c6130b90f08e27246877b4ae99f
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The implementation addresses the earlier cache-trust concern and has focused coverage, but dependency-contract proof remains incomplete.
Proof confidence 🌊 off-meta tidepool Not applicable: The PR is member-authored; its reported macOS acceptance is supplemental, while this review cannot independently inspect the required Codex checkout.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The PR is member-authored; its reported macOS acceptance is supplemental, while this review cannot independently inspect the required Codex checkout.
Evidence reviewed 8 items Cache hits retain the normal archive security path: The cache resolver supplies an expected SHA-256 but does not propagate the official-source trust bypass; the installer therefore treats the cached pack as a mutable archive.
Staged archive integrity is rechecked: The npm-pack installer hashes the copied temporary archive and rejects a mismatch before its atomic activation.
Regression coverage pins the trust boundary: The cache-hit test requires an expected archive hash and asserts that no trusted-source flag reaches the install call; a separate cache test demonstrates that mutable cache contents can be replaced, which is why the normal policy path remains necessary.
Findings None None.
Security Needs attention Codex executable contract has not been directly inspected: The macOS-specific Codex version probe changes timeout behavior at a credential-adjacent executable boundary; direct Codex source inspection is required before treating the dependency contract as verified.

Live Verification

Command: bash scripts/install-cli.sh --help

Result: PASS (completed)

bash scripts/install-cli.sh --help
runner@runnervm76f27:/tmp/clawsweeper-live-proof-124831-qSIOAE/target$ bash scripts/install-cli.sh --help
Usage: install-cli.sh [options]
  --json                              Emit NDJSON events (no human output)
  --prefix ‹path›                     Install prefix (default: ~/.openclaw; use $OPENCLAW_PREFIX to override)
  --install-method, --method npm|git  Install via npm (default) or from a git checkout
  --npm                               Shortcut for --install-method npm
  --git, --github                     Shortcut for --install-method git
  --git-dir, --dir ‹path›             Checkout directory (default: ~/openclaw, or $OPENCLAW_HOME/openclaw)
  --version ‹ver›                     OpenClaw version (default: latest)
  --prewarmed-runtime ‹archive›       Install a complete bundled runtime archive
  --prewarmed-manifest ‹manifest›     Verify the bundled runtime manifest
  --compatible-with ‹ver›             Refuse a CLI that cannot modify config written by ‹ver›
  --node-version ‹ver›                Node version (default: 24.15.0; 22.22.3 on Linux ARMv7)
  --onboard                           Run "openclaw onboard" after install
  --no-onboard                        Skip onboarding (default)
  --set-npm-prefix                    Force npm prefix to ~/.npm-global if current prefix is not writable (Linux)

Environment variables:
  OPENCLAW_NPM_LOGLEVEL=error|warn|notice  Default: error (hide npm deprecation noise)
  OPENCLAW_INSTALL_METHOD=git|npm
  OPENCLAW_HOME=...
  OPENCLAW_PREFIX=...
  OPENCLAW_VERSION=latest|next|‹semver›
  OPENCLAW_GIT_DIR=...
  OPENCLAW_GIT_UPDATE=0|1
runner@runnervm76f27:/tmp/clawsweeper-live-proof-124831-qSIOAE/target$ bash scripts/install-cli.sh --help
Usage: install-cli.sh [options]
  --json                              Emit NDJSON events (no human output)
  --prefix ‹path›                     Install prefix (default: ~/.openclaw; use $OPENCLAW_PREFIX to override)
  --install-method, --method npm|git  Install via npm (default) or from a git checkout
  --npm                               Shortcut for --install-method npm
  --git, --github                     Shortcut for --install-method git
  --git-dir, --dir ‹path›             Checkout directory (default: ~/openclaw, or $OPENCLAW_HOME/openclaw)
  --version ‹ver›                     OpenClaw version (default: latest)
  --prewarmed-runtime ‹archive›       Install a complete bundled runtime archive
  --prewarmed-manifest ‹manifest›     Verify the bundled runtime manifest
  --compatible-with ‹ver›             Refuse a CLI that cannot modify config written by ‹ver›
  --node-version ‹ver›                Node version (default: 24.15.0; 22.22.3 on Linux ARMv7)
  --onboard                           Run "openclaw onboard" after install
  --no-onboard                        Skip onboarding (default)
  --set-npm-prefix                    Force npm prefix to ~/.npm-global if current prefix is not writable (Linux)

Environment variables:
  OPENCLAW_NPM_LOGLEVEL=error|warn|notice  Default: error (hide npm deprecation noise)
  OPENCLAW_INSTALL_METHOD=git|npm
  OPENCLAW_HOME=...
  OPENCLAW_PREFIX=...
  OPENCLAW_VERSION=latest|next|‹semver›
  OPENCLAW_GIT_DIR=...
  OPENCLAW_GIT_UPDATE=0|1
runner@runnervm76f27:/tmp/clawsweeper-live-proof-124831-qSIOAE/target$

Assertions:

  • PASS expect_output: --prewarmed-runtime

How this fits together

The macOS app installer stages a bundled development runtime before starting the local Gateway and onboarding flow. A dormant plugin archive cache can accelerate official-plugin installation, but archives still pass through the normal installer security policy.

flowchart LR
  A[macOS development build] --> B[Prewarmed runtime manifest]
  B --> C[Installer validates version, commit, architecture, and hashes]
  C --> D[Staged local runtime]
  D --> E[Onboarding plugin install]
  E --> F[Archive hash and policy checks]
  F --> G[Gateway and macOS app ready]
Loading

Decision needed

Question Recommendation
Should this opt-in development-runtime feature proceed after a direct Codex runtime-contract check and exact-head macOS acceptance? Complete the contract and acceptance checks: Inspect the relevant Codex executable behavior directly and record an exact-head macOS install/onboarding result before merging.

Why: The repository policy requires direct inspection of the Codex implementation for this changed executable-probe behavior, which this read-only environment cannot perform.

Before merge

  • Resolve security concern: Codex executable contract has not been directly inspected - The macOS-specific Codex version probe changes timeout behavior at a credential-adjacent executable boundary; direct Codex source inspection is required before treating the dependency contract as verified.
  • Resolve merge risk (P1) - The changed macOS Codex executable probe depends on Codex runtime behavior, but direct sibling-Codex source inspection was unavailable; record that contract evidence and rerun exact-head macOS acceptance before merge.
  • Complete next step (P2) - Maintainer review must obtain the required direct Codex contract evidence and exact-head macOS acceptance; this member-authored PR is not an automated repair candidate.

Findings

  • [medium] Codex executable contract has not been directly inspected — src/commands/onboard-inference.ts:202
Agent review details

Security

Needs attention: Archive integrity and normal policy enforcement are preserved, but the affected Codex executable contract still needs the repository-required direct source check.

PR surface

Source +210, Tests +785, Docs +14, Config 0, Other +1182. Total +2191 across 31 files.

View PR surface stats
Area Files Added Removed Net
Source 4 219 9 +210
Tests 11 790 5 +785
Docs 1 14 0 +14
Config 1 1 1 0
Generated 0 0 0 0
Other 14 1258 76 +1182
Total 31 2282 91 +2191

Review metrics

Metric Value Why it matters
Production versus test delta production/docs/config +1,330/-84; tests +952/-7 The feature adds a substantial installer and packaging surface with proportionate targeted regression coverage.
Files affected 31 files changed The change spans macOS packaging, shell installation, plugin installation, onboarding, documentation, and tests.

Stored data model

Persistent data-model change detected: database schema: apps/macos/Sources/OpenClaw/CLIInstaller.swift, database schema: apps/macos/Tests/OpenClawIPCTests/CLIInstallerTests.swift, database schema: scripts/install-cli.sh, database schema: src/plugins/prewarmed-plugin-cache.test.ts, database schema: test/scripts/prewarmed-plugin-cache.test.ts, persistent cache schema: apps/macos/Tests/OpenClawIPCTests/CLIInstallerTests.swift, and 20 more. Confirm migration or upgrade compatibility proof before merge.

Root-cause cluster

Relationship: canonical
Canonical: #124831
Summary: This PR is the canonical prewarmed macOS runtime work; the linked Codex onboarding PR and restart-race issue are adjacent but distinct.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Verify the Codex contract before merge (recommended)
    Add direct Codex source evidence for the bundled executable probe and rerun exact-head macOS acceptance.
  2. Pause pending dependency evidence
    Keep this development-only runtime feature open until the required Codex contract check is possible.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Record the direct Codex source file and line evidence for the executable probe, then attach exact-head macOS install and onboarding acceptance.

Technical review

Best possible solution:

Keep cached packs as mutable local archives under the existing policy and scan owner, then complete direct Codex source inspection and exact-head macOS acceptance before merging.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this PR adds an opt-in development build capability rather than repairing a reported current-main failure.

Is this the best way to solve the issue?

Unclear: the archive-security design is sound on the reviewed paths, but direct Codex contract evidence is required to conclude this is the best complete implementation.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 2a87667bb256.

Labels

Label justifications:

  • P2: This is a bounded development-runtime feature with meaningful installer impact but no demonstrated active user outage.
  • merge-risk: 🚨 compatibility: The installer and bundled runtime alter first-run macOS setup behavior and must remain safe across app/version/runtime mismatches.
  • merge-risk: 🚨 security-boundary: Bundled executable and archive handling crosses integrity and credential-adjacent boundaries, while required Codex contract evidence is outstanding.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The PR is member-authored; its reported macOS acceptance is supplemental, while this review cannot independently inspect the required Codex checkout.

Evidence

Security concerns:

  • [medium] Codex executable contract has not been directly inspected — src/commands/onboard-inference.ts:202
    The macOS-specific Codex version probe changes timeout behavior at a credential-adjacent executable boundary; direct Codex source inspection is required before treating the dependency contract as verified.
    Confidence: 0.88

Acceptance criteria:

  • [P1] Directly inspect and cite the relevant ../codex executable/version behavior.
  • [P1] Run exact-head macOS prewarmed-runtime installation and first-run onboarding acceptance.
  • [P1] Confirm a mutable cached archive still invokes the ordinary policy and before-install hook path.

What I checked:

  • Cache hits retain the normal archive security path: The cache resolver supplies an expected SHA-256 but does not propagate the official-source trust bypass; the installer therefore treats the cached pack as a mutable archive. (src/commands/onboarding-plugin-install.ts:1263, 6c720951182a)
  • Staged archive integrity is rechecked: The npm-pack installer hashes the copied temporary archive and rejects a mismatch before its atomic activation. (src/plugins/install-npm-pack.ts:127, 6c720951182a)
  • Regression coverage pins the trust boundary: The cache-hit test requires an expected archive hash and asserts that no trusted-source flag reaches the install call; a separate cache test demonstrates that mutable cache contents can be replaced, which is why the normal policy path remains necessary. (src/commands/onboarding-plugin-install.test.ts:446, 6c720951182a)
  • Normal managed-install policy remains the enforcement owner: Managed npm installs perform policy preflight and the security scan invokes the before-install hook unless an explicit trust bypass is supplied. (src/plugins/install-managed-npm.ts:144, 6c720951182a)
  • Installer validates the runtime bundle before use: The macOS installer constrains archive/cache names and requires the bundled app version and commit to match the manifest; the shell installer also validates manifest, architecture, hash, layout, and rollback behavior. (apps/macos/Sources/OpenClaw/CLIInstaller.swift:220, 6c720951182a)
  • Current main does not already provide this feature: Current main directly installs the requested npm spec in onboarding and has no prewarmed-plugin-cache module, so this PR still owns the requested capability. (src/commands/onboarding-plugin-install.ts:1254, 2a87667bb256)

Likely related people:

  • Hannes Rudolph: Current-head blame attributes the cache resolution and staged archive hashing to this branch, and related merged PR fix(macos): complete Codex onboarding and model picker #124829 covers the adjacent macOS Codex onboarding surface. (role: recent macOS and Codex onboarding contributor; confidence: medium; commits: 6c720951182a, 34c3d15a6b0a; files: src/commands/onboarding-plugin-install.ts, src/plugins/install-npm-pack.ts, apps/macos/Sources/OpenClaw/CLIInstaller.swift)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Inspect the affected Codex executable behavior directly and cite the exact files and lines.
  • Attach exact-head macOS install and onboarding acceptance after that contract check.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (16 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-19T18:49:46.412Z sha 956b8357abbc6d90de5e0593386b06a0342f6156 :: found issues before merge. :: [P1] Keep external plugins out of core dist | [P2] Repair commit-mismatched bundled runtimes | [P2] Route prewarmed runtime coverage through macOS CI
  • reviewed 2026-08-19T18:59:50.229Z sha e34dca1cd2a7ce6b407c03ef34716f08f06c7a09 :: found issues before merge. :: [P1] Keep external plugins out of core dist | [P2] Exercise the prewarmed path in macOS CI
  • reviewed 2026-08-21T18:13:37.395Z sha a9cb8a4 :: found issues before merge. :: [P1] Keep external plugins out of the core runtime | [P2] Exercise the prewarmed path in macOS CI
  • reviewed 2026-08-21T20:03:24.406Z sha d206c72 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-21T20:18:52.318Z sha d206c72 :: needs maintainer review before merge. :: none
  • reviewed 2026-08-21T22:45:46.966Z sha b0f3948 :: found issues before merge. :: [P1] Retain an immutable cache trust anchor | [P2] Keep commit-mismatched runtimes repairable | [P2] Locate cached archives from the managed prefix
  • reviewed 2026-08-21T23:19:59.364Z sha e942563 :: found issues before merge. :: [P1] Do not mark the mutable cache as trusted
  • reviewed 2026-08-21T23:32:16.617Z sha e942563 :: found issues before merge. :: [P1] Do not treat the profile cache as a trusted source

@hannesrudolph
hannesrudolph force-pushed the feat/macos-prewarmed-runtime-pr branch from 6c28363 to 4fe6098 Compare August 17, 2026 07:51
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Aug 17, 2026
@hannesrudolph
hannesrudolph force-pushed the feat/macos-prewarmed-runtime-pr branch from 4fe6098 to 02a2e31 Compare August 17, 2026 17:15
@hannesrudolph
hannesrudolph force-pushed the feat/macos-prewarmed-runtime-pr branch 2 times, most recently from 8fed736 to 86913da Compare August 18, 2026 15:44
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 18, 2026
@hannesrudolph
hannesrudolph force-pushed the feat/macos-prewarmed-runtime-pr branch 5 times, most recently from d45c5c2 to 956b835 Compare August 19, 2026 18:43
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 19, 2026
@hannesrudolph
hannesrudolph force-pushed the feat/macos-prewarmed-runtime-pr branch from 956b835 to e34dca1 Compare August 19, 2026 18:53
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 19, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 21, 2026
@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations size: XL and removed size: L labels Aug 21, 2026
@hannesrudolph

Copy link
Copy Markdown
Member Author

@clawsweeper please re-review the latest commit; the prewarmed plugin behavior has been redesigned as a dormant exact-package cache.

@clawsweeper

clawsweeper Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper assist is taking a look at your question.

I queued a lightweight read-only assist pass. It will post a separate answer comment and will not edit the durable ClawSweeper review comment or trigger close, merge, repair, label, or branch changes.

Request: please re-review the latest commit; the prewarmed plugin behavior has been redesigned as a dormant exact-package cache.

@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper assist: This needs a full correctness review of the redesigned cache path; please request @clawsweeper review.

Evidence:

  • Latest head is b0f3948ffb11475aefbe14c88c9a3dca4050e772 (“cache exact plugins for prewarmed builds”).
  • The PR describes a dormant, hash-verified cache used only after normal onboarding selects a matching official plugin.
  • Prior review covered d206c72b7727c06db1788f1d49117ff8c2bcc560, before this redesign.

Suggested next action: Post @clawsweeper review on #124831.


Source: #124831 (comment)
Assist reasoning: high.

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 21, 2026
@hannesrudolph

Copy link
Copy Markdown
Member Author

@clawsweeper please re-review e942563ddc4; the VM-discovered keychain prompt and cold ChatGPT detection race are fixed and the live Parallels acceptance now passes.

@clawsweeper

clawsweeper Bot commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper assist is taking a look at your question.

I queued a lightweight read-only assist pass. It will post a separate answer comment and will not edit the durable ClawSweeper review comment or trigger close, merge, repair, label, or branch changes.

Request: please re-review e942563ddc4; the VM-discovered keychain prompt and cold ChatGPT detection race are fixed and the live Parallels acceptance now passes.

@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper assist: The supplied context supports the Keychain and cold-start fixes, but it does not establish that the outstanding P1 cache-trust finding is resolved. This needs a full correctness re-review of e942563ddc4.

Evidence:

  • The previous review on the same SHA reports a P1: mutable cache contents can still gain the trusted install-hook bypass.
  • MacGatewayProfilesTests adds noninteractive Keychain and unavailable-read preservation coverage.
  • onboard-inference gives known macOS app binaries a 3-second probe timeout.
  • The PR body reports a successful Parallels acceptance run.

Suggested next action: @clawsweeper review


Source: #124831 (comment)
Assist reasoning: high.

@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Aug 21, 2026
@hannesrudolph

Copy link
Copy Markdown
Member Author

The two flag-independent macOS onboarding repairs have been split out of this prewarming PR:

Both PRs are based on current main, have focused red/green coverage, and are undergoing independent ClawSweeper review. Once they land, I will merge current main into #124831 so these four files disappear from its net diff and the prewarming PR returns to opt-in runtime/cache scope only.

@steipete

Copy link
Copy Markdown
Contributor

Thanks for the PR. We're closing older pull requests that have gone stale against current main.

This draft has had no commits since August 23, and its flag-independent onboarding repairs were split into #128819 and #128820. Please open a fresh PR on current main if the prewarmed development runtime is still needed.

@steipete steipete closed this Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos commands Command implementations docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants