Repository navigation
fix(desktop): start Autopilot only with Darkbloom network models - #1508
Merged
jonathan308 merged 2 commits intoOct 15, 2026
Merged
jonathan308 merged 2 commits into
jonathan308 merged 2 commits into
Conversation
The desktop model list is the catalog plus every model the scan finds on disk, and models found only on disk were reported eligible. Onboarding's starting model (first eligible downloaded, by id) could therefore be a local Hugging Face copy such as mlx-community/gemma-4-26B-A4B-it-qat-4bit or a legacy prism-ml Bonsai snapshot. `start --autopilot` requires every startup model to be in the verified network inventory, so it failed with "could not all be verified" while printing only "Verifying ternary-bonsai-2-27b..." - the one network model on disk, which passed. - Snapshot models now report `network` (listed by the catalog). - servesNetwork() gates the starting model, onboarding pins for network starts, turning Autopilot on and the Autopilot pool. Disk-only models stay pinnable for Local only and explain why otherwise. - The CLI names the startup models missing from the inventory instead of blaming verification. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathan308
had a problem deploying
to
benchmarks
October 15, 2026 07:19 — with
GitHub Actions
Error
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
connect() maps ENOENT to "missing" (runtime not installed). When the packaged signature check can't run because codesign itself is absent, as on the Linux CI runner, its ENOENT was reported as a missing install. The binary already resolved through realpath, so any verification failure means an untrusted runtime: surface it as an error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathan308
had a problem deploying
to
benchmarks
October 15, 2026 07:23 — with
GitHub Actions
Error
Collaborator
Author
|
Merge-order note: #1502 removes onboarding's local-only mode (and |
jonathan308
merged commit Oct 15, 2026
342b6c7
into
codex/desktop-mac-preview-20261012
21 of 22 checks passed
jonathan308
added a commit
that referenced
this pull request
Oct 15, 2026
desktop-app/storybook renders the real renderer components with fixtures: Before/After stories for every desktop audit fix (#1452-#1508), flow walkthroughs (onboarding, status checks, model loading, Autopilot), the full app window with its sidebar at every page, and the install flow. After is the live desktop-app source (an alias, no copy); Before is a frozen snapshot of the audit's base, bfa75a2. The native bridge is mocked, so nothing contacts a runtime, account or production endpoint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathan308
added a commit
that referenced
this pull request
Oct 23, 2026
Restores desktop-app/storybook (and the Review Storybook docs section), moved out of #1518 so the app PR carries only the app. Before/After stories for each desktop audit fix (#1452-#1508), flow walkthroughs, the app shell with its sidebar at every page, and the install flow. After is the live desktop-app source; Before is a frozen snapshot of bfa75a2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Desktop onboarding fails to start Autopilot:
It looks like Bonsai fails verification. It doesn't: its weights match the manifest (
130de59…), the run takes ~4 s (≈ the 3.2 s it takes to hash 8.6 GB), and noNot reporting …line is printed.Root cause
The desktop model list is catalog ∪ local scan, and models found only on disk were reported
eligible. Onboarding starts Autopilot on the first eligible downloaded model by ID. On the affected Mac, the live runtime reports:mlx-community/gemma-4-26B-A4B-it-qat-4bitprism-ml/Ternary-Bonsai-2-27B-mlx-2bit(legacy copy)ternary-bonsai-2-27bstart --autopilotrequires every startup model to be in the verified network inventory. A disk-only model can never be in it, so the subset check fails. Bonsai is the only network model on disk, so it's the onlyVerifyingline, and the error message blames verification. Any provider with MLX models in their Hugging Face cache hits this.Fix
Snapshot.modelsentry now reportsnetwork(listed by the catalog).servesNetwork()is the single gate for network serving. It applies to the onboarding starting model, network-start pins (usablePins), turning Autopilot on, and the Autopilot pool. Disk-only models stay pinnable under Local only. In network modes they're disabled with "Not on the Darkbloom network. Runs in Local only." A missingnetworkfield (older runtime) keeps the current behavior.prepareModelSelectionnames the startup models missing from the inventory instead of saying they "could not all be verified".docs/reference/desktop-control.mddocumentsmodels[].network.Not changed: the manual (non-Autopilot) Models page can still start network serving with a disk-only model. It doesn't error, but the network never routes to it. This can be a follow-up if wanted.
Testing
desktop-app:vitest runpasses 429/429, andtsc --noEmitandprettier --checkare clean. The 4 new tests (starting model, network-start pins, pool state, onboarding Advanced flow) fail whenservesNetworkis reverted toeligible.provider-swift:swift test --filter "AutopilotStartupSelectionTests|AutopilotInventoryTests|Desktop"passes 76 tests, including the newmissingStartupModelsAreNamed.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.