Repository navigation
DevNet round 5 for provider 0.10.9: pair setup, progress, single-Mac serving, updates, uninstall, GLM on 128 GB Macs - #1792
Merged
Merged
Conversation
…ls, capacity reads or challenges (red) A two-Mac pair's reservation waits on the engine queue until both ranks answer at their next step boundary, up to 30 s. On dev a capacity read and a cancel wait for it, a submission whose caller already left still asks the ranks, and a cancel waiting on the engine stops the provider's coordinator work FIFO, so an attestation challenge and the next request wait behind it. - DistributedCBv2StalledReservationTests: an owner whose reservation is held; a capacity read, a cancel and the cancel of the reserving request must return at once and land once it returns; a lost peer reads as no capacity at once; a submission cancelled while it waits for the queue must never reserve. All five fail on dev. - ServeLoopCancelBesideFIFOTests: with the engine held under a cancel, a challenge must be answered and the next request accepted, and the cancel must still land with one terminal. Fails on dev. - ServeLoopColdLoadTests: a cancel for a request queued behind another admission runs only after its own admission (a guard; passes on dev). - PrefillScriptEngine: an optional capacity hold, and cancel finishes the cancelled request's own stream. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd nothing says it serves there unless offered The DevNet traffic run on pair-2 (an M3 Ultra leads, an M5 Max follows; dev 79051ff, branch.79): "Switch to serving through Darkbloom" on a pair serving Qwen 3.8 27B locally only kept the local plan's unequal tensor-parallel shares [2, 3]. The coordinator can't register such a setup (ClusterApprovalAttachment refuses it), the switch never asked it anyway (finishStart(registers: false); the cluster service asks only at the first check of its run), and still the screen said ✓ "Serving … through Darkbloom on both Macs" while status and cluster status said serving, exit 0, "earning through Darkbloom". - changeScope: a serving pair switched to Darkbloom goes through chooseAndServe for its model with the public scope. It is planned for Darkbloom (equal shares, no speculative assistant under mtp_mode auto), adopted before anything stops, the scope saved after the adopt, then started, tested and registered as a start is. ✓ only once the coordinator has the pair (awaitPairServing). - A start set to serve through Darkbloom whose pair isn't offered ends with the leading Mac's status (a new operation, notOfferedStatus): ✗ "Not serving: not offered to Darkbloom (<why>)." and where it answers meanwhile. Retry asks the coordinator again. - OnboardingLive.localStatus: a pair on the leading Mac's API with the public scope says "<model> is not serving yet: not offered to Darkbloom (<why>)." instead of "Serving … (earning through Darkbloom).". servesWords never says earning: a pair on that API is never offered. The adopt clears the replaced setup's approval note. - The joined Mac's follow ends with that ✗ at once; it said "Offered to Darkbloom…" and waited for the pair. - Choosing the serving model again while the status says it isn't offered asks once and starts it again from a plan for Darkbloom; it said "✓ Already serving" from a test on the local API and planned nothing. - ClusterPairSummary: the not-offered reason ends darkbloom start's wait and has its own next step, the plain Serves line says "(not offered)", and this Mac's own view reads a ready local API in the public scope as not offered. Red, against origin/dev 447b230: its five onboarding sources with a shim that adds only the new names, 1217 passed, 20 failed, all in the four new and three updated checks; the two new CLI tests with the summary's two files as on origin/dev, 5 issues. Green (prod identity; swift test filtered, --skip-build, sandboxed): onboarding checks 1237 passed, 0 failed; the new tests 3; ClusterStatusTruthTests 9; ClusterStatusModeTests 3; ClusterServiceStopReasonTests 21; the CLI pair suites 74 in 11; onboarding-side 87 in 9; neighbours 37 in 8; the approval suites 53 in 8, whose only failure is the next commit's red test. docs-check, changelog-check and docs-impact pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the key m
The DevNet traffic run (2026-11-04): the refusal of a plan the coordinator can't register said "press m in
`darkbloom cluster` to plan equal shares" (and, for Qwen's speculative assistant, "to plan without it"). No item of
the list starts with m, so ClusterOnboardingChoice.match took nothing and the prompt came back. v0.10.7's menu had no
m either.
- ClusterApprovalAttachment.unequalTensorSharesServeLocally and ClusterConfiguration.tensorAssistantServesLocally say
to choose the model again in `darkbloom cluster`, which since the previous commit starts a pair that isn't offered
again from a plan for Darkbloom. Both are named for this build's command (the shares one was always production's).
- Both stay within 240 characters after the other Mac's refusal prefix and the link's "the other Mac refused: ", so
the leader still gets them whole. The first wording didn't: the test caught "…to plan witho".
- docs/provider/two-mac-cluster.md and the pending fragment cluster-pair-equal-tensor-shares.md said "press m" too.
Red: theRefusalsNameAStepTheScreenHas before the text change, 4 issues ("press m", no step). Green (prod identity,
filtered, sandboxed): it and ClusterApprovalTensorSharesTests, ClusterApprovalTensorAssistantTests and
ClusterApprovalSyncTests, 18 tests in 3 suites.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The DevNet traffic run (2026-11-04), during the update: `cluster status --json` carried "Then choose Retry, or serve locally only now." under "This Mac isn't verified by Apple yet; …". `cluster status` has no Retry; neither has the other Mac's window, which shows the same lines. - OnboardingLive.localStatus no longer appends ClusterOnboardingNotServing.remedy under an offered pair's reason (offeredWaitLines). The leading Mac's setup screen still adds it under its own ✗ (notServing), where Retry is a choice, and `cluster status` says what to do in Next: as before. Its plain output already dropped the line; its JSON `lines` and the other Mac's window no longer get it. - docs/provider/two-mac-cluster.md's status table and the fragment say so. Green (prod identity, filtered, sandboxed): anOfferedPairsWaitNamesNoScreenChoice with ClusterOnboardingPeerLabelTests (18) and ClusterStatusTruthTests (9). No red run: the test reads the new seam; the tester's u1-watch sample at 17:22:54Z is the before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d reason The DevNet traffic run (2026-11-04) followed this table: ✓ in the result block, then `serving`, exit 0, so "Go on", for a pair the coordinator never had. Since the first commit of this branch such a pair reads `not_serving`, exit 3, with `reason` `not offered to Darkbloom (…)`; the table now says what that means and what the human does (choose the model again in `darkbloom cluster` on the leader), instead of leaving it to "another reason". docs-check passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…els, capacity reads or challenges A two-Mac pair's reservation waits on the engine queue until both ranks answer at their next step boundary, up to 30 s each. Capacity reads and cancels waited for that queue, and the leader's coordinator work FIFO awaited each cancel, so attestation challenges and new requests queued behind it (DevNet pair-2: a request waited 17.9 s before it was read). - DistributedCBv2Engine: capacity() off the queue answers from the snapshot the queue publishes after every change, with readiness read live, and queues one refresh for its checks. cancel() and the deadline timers hop onto the queue without waiting, so a stop is applied in queue order. A submission whose caller went away while it waited for the queue never reserves. - ProviderLoop: the connection reader answers attestation and code-attestation challenges and routes coordinator cancels. A cancel for a request whose admission has not returned is held and applied when it returns, where the serial FIFO applied it; any other cancel runs beside the FIFO. - Tests that check a cancel's effect wait for the engine queue first. - Docs (engine queue, process boundaries, connection control) and a changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… or an update R4-16 (the DevNet runs, 2026-11-04): during a model or mode change, or a pair update, `status` and `cluster status` can read `stopped` (exit 4) or `unknown` for a minute or two while the pair is actually reloading. The fix needs a marker shared by both Macs and goes to 0.10.9. Until then, the agent guide's `stopped` row, the `cluster status` reference and the two-Mac guide's status table say to wait about a minute and check again before running `darkbloom start`, rather than interrupting the reload. Docs only; no code. make docs-check, make docs-impact-check BASE=origin/dev and git diff --check pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s for its reservation (red) A pair measures no prefill rate, so the bridge submits its requests without a projected admission, synchronously on its actor. While another request's reservation holds the engine queue, the bridge's actor waits there too, and a cancel or a capacity read through the bridge waits with it: the engine-level fix alone leaves R4-9's cancels as late as before. The new check holds a reservation and expects the bridge to answer a capacity read and a cancel at once, the cancel to land once the reservation returns, and a request cancelled while it waited never to ask the ranks. It fails at the previous commit: the bridge answered only after the ranks' step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hile it waits for its reservation A pair measures no prefill rate, so the bridge submits its requests without a projected admission, and it did so synchronously on its actor. While another request's reservation held the engine queue (up to 30 s), the actor waited there too, and every cancel and capacity read through the bridge waited with it. R4-9's cancels would still have landed only after every reservation queued ahead of them. - DistributedCBv2Engine.submitAwaitingQueue runs the same admission on the engine queue, in order, without blocking its caller, and trips the admission cancellation when the caller goes away. A request cancelled while it waits never reserves; one cancelled during its reservation is stopped before its prompt starts. It replaces submitWithRetirement, which nothing else used. - EngineV2Bridge awaits it for a pair's submission without a projection, so the actor stays free for cancels and capacity reads. The atomic path already had this suspension point, and the bridge's pending-cancel latch and teardown cover it unchanged. - One more HTTP test that reads a cancel's effect waits for the engine queue first. - Docs (the engine queue paragraph) and the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Darkbloom branch Since the switch to Darkbloom of a serving pair re-plans through chooseAndServe, changeScope's last finishStart is reached only for the switch to local only, so its "Switching to serving through Darkbloom: the leading Mac's part starts again that way." branch was dead. finishStart's doc comment no longer says the switch leaves registering to the cluster service, and the guide quotes the lines the switch says now. No behaviour change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…th Macs R4-13 (the M5 Ultra pair's DevNet run, branch.80): with nothing serving, GLM-5.3-Flash's mode question offered Pipeline as "this Mac 1 layer / the other Mac 44 layers", and 44 / 1 loaded. The question showed the pipeline in the listed tensor-parallel plan's own assessment; the start then made another plan in the chosen mode, from new samples (this Mac's memory and speed index are read again at every plan), and loaded that one. - ClusterSetupPlanning.decide plans each other mode the question offers as the start plans it once chosen (ClusterPlacementFlow.decide with chosenMode), from the same samples, and keeps that plan with its setup (ClusterSetupModelOption.familyPlans, Decision.familySetups). ClusterSetupPlanning.offered shows each mode's split from the plan that loads for it; a mode that can't be planned on its own shows no split. - localAdopt adopts the plan the question showed for the mode chosen when nothing serves (OnboardingLive.adoption), and LiveContext.adopt takes it by its plan key. While a model serves it still plans again once that memory is back, and the question still says "decided when it loads" (round 4's R3-3). - On both Macs: an adopt forwarded from the joining Mac carries the mode chosen on its screen (ClusterControlRequest.mode, OnboardingLive.adoptRequest); before, the leader adopted its own list's default. The fit check before a start checks the plan that mode loads. Docs: two-mac-cluster.md and architecture/inference.md. Changelog: cluster-mode-question-and-local-network-row.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s at once R4-15 (the M5 Ultra pair's DevNet run, branch.80): GLM-5.3-Flash's pipeline served one request at a time (its owner's concurrentRequests defaults to 1, DistributedEngineFactory's maxConcurrentRequests), so DevNet queued every other request for about 6 s and answered 429 "at capacity": 1 of 4 and 1 of 8 in the sweep. On the same pair, tensor parallel served 8 at once with no 429, each about 2.6x faster (105.6 against 40.8 tok/s alone). The question offered Pipeline as an equal choice and didn't say so. - Each mode the question offers says it, from the plan that loads for it: "serves one request at a time" or "serves up to 8 requests at once" (ClusterSetupPlanSummary.Mode.concurrentRequests, from the setup through DistributedInstalledPlan.batchLanes(configuration:capability:environment:), which the installed plan's batchLanes now calls; ClusterOnboardingMode .requestsWords in modeLine). - Wording only: the modes offered and the defaults are unchanged. cluster status isn't changed: its Model line and JSON split come from the deployment line, which ClusterPairSummary parses. Docs: two-mac-cluster.md says to choose tensor parallel on a GLM pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hat to do without one
R4-4 (the M5 Ultra pair's DevNet runs): the screens, status and the link
follower's log told the owner to turn on a "Darkbloom Dev" row under
Privacy & Security -> Local Network. Both apps share the bundle ID
io.darkbloom.provider, so macOS lists the DevNet app as "Darkbloom"; and
where macOS never recorded an answer for the app there is no row at all:
it asks on that Mac's own screen the next time the app dials, and someone
must click Allow.
- ClusterService.localNetworkRow: the row's name in every build, the
production app's name (BuildEnvironment.prod.appDisplayName);
ClusterOnboardingCommand.localNetworkRow reads it.
- Every hint names that row, says when it is the DevNet app's ("macOS
lists Darkbloom Dev as "Darkbloom""), and what to do when it isn't
listed: ClusterOnboardingDriver.localNetworkBlockedLines (through
localNetworkSteps), OnboardingLive.localNetworkRefusalLines (and so
cluster status, through ClusterLocalNetworkAccess.statusWords),
OnboardingLive.localNetworkHint, and the follower's refusal line
(Cluster.LinkFollower.refusalLine). The production app's words still
name "Darkbloom".
Docs: two-mac-cluster.md, agent-setup.md and cli-reference.md, which
quote these hints. Changelog: the DevNet bullet of
cluster-everyday-commands-on-a-pair.md no longer says the hint names
Darkbloom Dev; one bullet in cluster-mode-question-and-local-network-row.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the two-Mac guide D2's review of the 0.10.8 Prepare (refactor-prepare-0.10.8.md, section 3): - cluster-console-clarity.md: the screen's words are in a code span, so GitHub keeps "<model>" (it read "Offered to Darkbloom as a pair for ; waiting..."). - cluster-candidate-findings.md: the title says each ✗ names the Mac where the problem is. - cluster-everyday-commands-on-a-pair.md: "stays refused" says what it means: macOS keeps the other Mac off the local network. - provider-uninstall-keep-or-remove.md: "(and the files kept beside it)". - cli-darkbloom-look.md: "its one-line live status". docs/provider/two-mac-cluster.md: "an older build" (twice) is an earlier Darkbloom release, "a scope switch" (twice) is switching between local only and serving through Darkbloom, "tensor assistant" is the speculative assistant. "The planner's mode" went with the paragraph the mode question's fix rewrote. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tor has the pair; an offered part reads loading The refactor pass on this branch (overnight/round5/r4-7-validation.md): - B1: past the registration, a start through Darkbloom whose pair isn't offered fell back to the old "✓ Serving … through Darkbloom" when the leading Mac's status read didn't say "not offered". A pair on the leading Mac's API never earns, so startOutcome now always ends it with ✗: the status's reason when it gives one, else ClusterOnboardingReady.notOfferedLines (no approval attached, or a coordinator that can't take a cluster member), with where it answers meanwhile and the test's time. ✓ comes only from awaitPairServing, as for every start the coordinator takes. - The onboarding checks' scripted world now models that start: by default the coordinator serves an approval, the parts start again as the pair's members and the pair is awaited, so every default start ends with ✓ through Darkbloom and "No local API". Sequences, the refused registration (now ✗, not offered) and the leader's line and word budgets (+2 lines, +25 words for the offered line and the restart) follow. - B2: this Mac's own view read a member part registered with the coordinator, before its pair line, as not offered; it now reads loading (child.notice == ClusterLocalServing.offeredNotice). Red: aStartTheCoordinatorDidNotTakeNeverEndsWithATick against the flow before this commit, 4 failures (✓ shown); ownStateOfALocalAPI before B2, 1 issue. Green: onboarding checks 1245 passed, 0 failed; prod identity, filtered, sandboxed: new tests 5, ClusterStatusTruthTests 9, ClusterStatusModeTests 3, ClusterServiceStopReasonTests 21, CLI pair suites 74 in 11, approval suites 53 in 8, onboarding-side 88 in 9, neighbours 37 in 8; dev identity: ClusterStatusTruthTests 9 and the new tests 3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The wedge monitor marks a slot crashed when three requests have had no first token for 10 s while the engine's step counter stands still. A two-Mac pair's engine has no step counter, and its ranks prefill one prompt at a time and send nothing before a prompt's first token, so any burst of three long prompts on a pair with lanes read as crashed after 10 s, a plausible cause of the coordinator's member_not_idle pair ends. - WedgeMonitor.marksCrashed keeps wedgeSuspected for engines with a step counter. For a pair's engine it marks the slot crashed only when a waiting request is still without a first token 40 s past its own first-token allowance, which grows with the prompt: by then the engine's own deadline should have failed it, so a hang of the engine itself is still reported. The bridge records each admit's allowance. - wedgeSuspected still feeds the step_wedge telemetry and heartbeat field unchanged. - Tests: three pair prompts without a token for 11 s read running (red before); a single-Mac engine whose steps stop under three waiting requests still reads crashed; the monitor's allowance rule. - Docs and a changelog line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The three Local Network hints (the blocked and refusal lines, the unanswered-Mac hint and the follower's refusal) each spelled out "(macOS lists <app> as “<row>”)" for a build whose own name differs from the row. ClusterOnboardingDriver.localNetworkRowNote now says it once, and all three read it. The words are unchanged in both identities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…equests The wedge monitor kept each hanging admit's first-token allowance in the admit FIFO and dropped the oldest one whenever any request ended without a first token. A pair prefills one prompt at a time, so a short request behind a long prompt ends at its own allowance first, the long prompt inherited that expired allowance, and the pair read crashed 40 s later while it was still prefilling normally. - Allowances are keyed by request id: recorded at admit, removed by that request's own first token or end. The count rule keeps its FIFO. - A first token on another lane no longer untracks a hung request, and an entry whose request already left the bridge never counts. - A pair request without a coordinator budget is tracked by the allowance its engine arms (its first-token deadline, else its request deadline). - Tests: the reviewer's probe (600 s and 20 s, the short one ends, +61 s) as a regression test, red before; the escapes above; a pair request without a budget is tracked and its first token clears it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner (2026-11-04): "it also does not suggest which one to select for the hardware like it should." The question listed each mode, its split and its requests at once, but never which to pick for these two Macs. On two M5 Ultras, GLM-5.3-Flash in tensor parallel served 8 at once and each request about 2.6x faster than its pipeline; on a memory-tight pair a mode may not fit at all. - ClusterOnboardingModeAdvice.advise picks exactly one mode, or none with the reason, from what the plans know. Only modes whose own plan fits now count (while a model serves, its memory is freed first). One that fits alone is "the only one that fits these Macs now"; through Darkbloom a mode served publicly comes first (ClusterSetupPlanSummary.Mode.publicTraffic). Then, through Darkbloom, more requests at once wins (the rest are turned away at capacity); locally, the clearly faster one (measured, else the planner's prediction; within 5 % is the same speed). No fit, or no speed and no difference in lanes: no recommendation, and why. It never guesses. - The leading Mac makes it with its plans (OnboardingLive.modeAdvice, each mode's own plan: the listed one or its family plan) and sends it in ClusterOnboardingModelChoice.modeAdvice, so both Macs' screens show the same. The question says "Recommended for these Macs: <mode>, <why>." (or "No recommendation for these Macs: <why>."), marks that line "· recommended for these Macs", and the cursor starts on it. - The split while a model serves still reads "decided when it loads". Docs: two-mac-cluster.md (how the recommendation is made) and agent-setup.md (agents take the recommended mode). Changelog: one bullet in cluster-mode-question-and-local-network-row.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… arrival, GPU limit raised with consent Re-applies #1719 (fix/glm-pair-128gb-load, 71158b5..163f78f) on origin/dev for 0.10.9. Owner decision, verbatim: "raise limit and don't require as much memory for reserve (it shouldn't be gated)". - A GLM pipeline serving rank loads on what loading needs; each request is admitted on arrival against live memory, the allocator and the GPU working set, with a retryable 503 instead of an out-of-memory crash. Only GLM5NextResidentRuntime.serving opts in. - `darkbloom cluster gpu-limit [--undo]` raises iogpu.wired_limit_mb on M5 Macs with 128 or 256 GB, with one confirmation and macOS's administrator prompt, plus a boot job. - The planner prices a GLM pair rank like the worker (requestsOnArrival). - Refusals name the GPU limit, the cut and each memory term. Resolved against dev (#1767's memory rule and GPU limit planning): - The PR's ClusterDeviceProfile.gpuLimitReserveBytes is dropped; the planner, the plan's GPU-limit lines and the checks use dev's ClusterGPUMemoryLimit ceiling (equal for 128 and 256 GB; a test now holds the command's value to it). - An on-arrival rank records gpuResidentBytes (weights plus the whole request, or what loading holds) and passes it to dev's hardwareFits, so ClusterPlacementMemoryVerdict prices its raise too. - ClusterPlacementRank's explicit CodingKeys gain the PR's two optional fields. - NativeWorkerRuntime: GLM pipeline refreshes its serving context; dev's MiMo TP and Gemma TP rows stay nil. - Docs: dev's uninstall section keeps its form and lists gpu-limit --undo; "nothing in Darkbloom raises the limit" now names the one command that does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ions - ClusterPlacementPlanner.onArrivalRequirement: drop the first `serving = low`, which the assignment after the search always overwrites. - GLM5NextResidentResourceEnvelope.capacityRefusal: one guard picks the request-capacity sentence for both kinds of rank (LOAD's bytes are initialLoadPeakBytes on arrival, the whole peak otherwise, as in `quote`); every sentence and the branch that picks it are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t ends in a ✗ A user's two-Mac setup showed "an infinite loop of waiting for the other Mac, Apple M5 Max 128 GB". The joined Mac's follow screen gave no reason, no timer and no bound, and ended after 15 minutes with a plain sentence. A live line cut to the width read at startup wrapped once the window was made narrower, and each redraw left a wrapped copy behind. - The leading Mac's screen records each step it waits on (Local Network Allow, reading both Macs, Try again, the model list, a copy, a login, starting, a refusal) in its setup record. Its status reply carries the step (ClusterControlReply.step). The step counts only while that screen runs; a refusal counts for 30 minutes after it was set. Older replies have no step, and the generic words stay. - The follow screen says each step once and keeps a live line with the elapsed time and the bound, fitted to the current window width. Status lines that go back and forth are said once each. A plain transcript gets a line per change only. - A refusal ends the wait at once with the leader's ✗. For different builds it names both versions and the Mac to update. The leader shows the same ✗. Running out of time ends with a ✗, what the leader was last doing, and next steps. - The terminal reads the window width at each redraw and climbs back over the rows a reflowed window shows. - The leader's Local Network Allow wait has a 10-minute bound with a timer. It ends with a ✗ naming "Darkbloom" and saying what to do when that row is missing. Onboarding checks: 1283 passed (1214 on origin/dev). The new checks failed 45 on the base with only the interface stubbed. Control 229. Diagnostics, installed-session, placement-flow and GLM-image checks pass. Filtered swift test: 38 tests in 2 suites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two-Mac guide, the agent setup guide and the inference architecture page now describe: - the leader's published setup step; - the follow screen's live line, with its width fit and its plain transcript; - the different-builds and timed-out ✗ endings; - the bounded Local Network wait. Adds the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… and stop before trying over SSH The owner, 2026-11-04: "When you run `darkbloom cluster` it should tell you that you need Screen Sharing access to go through the approval prompts." - The opening on both Macs folds the note into its one list: each Mac's own screen, its password for the cable port, Allow for Local Network, Yes to the pairing code, and Screen Sharing first for a Mac with no display. - The other Mac's Local Network line names that Mac and Screen Sharing. - Over SSH with no desktop (SSH_CONNECTION/SSH_TTY and no graphic access in this security session), `darkbloom cluster` says macOS can't show its approval prompt before 1/4 and offers Quit (default, ✗ with the next step) or Go on over SSH. `cluster link --fix/--remove` say it before they start, and the live link environment no longer runs osascript where it cannot prompt. `darkbloom uninstall` stops before changing anything when a cable port setup is left to undo over SSH. - Checks: onboarding (both Macs at 80 and 40 columns, SSH quit, the other Mac's line, word budgets), link (the SSH check); the onboarding runner now frees each flow's pseudo-terminal. - Docs: two-mac-cluster "Before you start", agent-setup rule 12; changelog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he model The owner (2026-11-04): "a more prominent location … say which is recommended for the model selected." The question's first line now names the model and the mode: "Recommended for Gemma 4 26B on these two Macs: Tensor parallel, faster here (about 106 against 41 tokens/s, measured) and serves up to 8 requests at once." (or "No recommendation for <model> on these two Macs: <why>."). - ClusterOnboardingModeAdvice.line(model:width:) keeps the mode apart, so a colour terminal shows it in bold (ClusterOnboardingConsole.sayStressed, the outcome title's bold); the plain text is the same with colour off. - The line fits the window (ClusterOnboardingConsole.width, two columns of indent): too wide, the reason is shortened (brief: "faster, up to 8 at once"), then left out; the model's and the mode's names never are. - The leading Mac's list carries the advice, so both Macs show the same words. Docs: two-mac-cluster.md and agent-setup.md quote the new line. Changelog: one bullet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… says GB Review findings on dfd1cf4 (round5/pr1719-validation.md): - After macOS reports an approved change as made, `darkbloom cluster gpu-limit` reads the Mac back. A raise is ✓ only when every limit meets the recommendation and the boot job is the one it writes; `--undo` is ✓ only when iogpu.wired_limit_mb reads 0 and no job is at its path. A limit that cannot be read is not proof. Otherwise it prints ✗, each setting that is off, the command to run again and the administrator's commands, and exits 1. Before, both printed "Done." on macOS's word alone. - macOS's administrator prompt names sizes in GB ("up to 112 GB of its 128 GB resident, leaving macOS 16 GB"), as the rest of the product names a Mac's memory, instead of GiB. Red first: the new and tightened tests fail on the previous sources (7 tests, 22 issues, prod and dev identity) and pass with this change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…round 5 integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 5 integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd 5 integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # docs/provider/agent-setup.md
…integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…is off On pair 2, the leader's `darkbloom cluster stop --service` failed (exit 1) once the MacBook's service was already off, and left the leader's service and login agent running (R5-1). Only `--local-only` finished it, and the error did not say so. OnboardingLive.localStop now marks the one failure where this Mac stopped serving and the other Mac did not answer (ClusterOnboardingFailure.otherMacUnanswered). Cluster.Stop.finishStop then still removes this Mac's service and login agent and says what happened on each Mac. A local drain that did not finish, and a stop forwarded to the leading Mac, still fail and keep the service. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…wrapped
A 0.10.8 leader started Gemma 4 26B tensor parallel next to an M4 Max. Its
live line repeated end to end ("▗ Loading Gemma 4 26B on both Macs
(starting; this Mac's part ended (exit 1: another update operation owns the
lock (pid 952 ▖ Loading …"). The row was cut to a character count, but the
terminal drew it wider (a petal or ellipsis shown two columns wide, a wide
character, a control character in the reason). So it wrapped, and each turn of
the petal climbed back only one row and left the wrapped start behind.
The two shared renderers now draw every live row the same way:
ClusterOnboardingTerminal, used by the cluster screens, and
DarkbloomCommandLook, used by start, stop, restart and update.
- ClusterOnboardingBrand.liveText fits a row to the room (width - 6). It
counts wide characters as two columns and turns control characters into
spaces. A row that ends with its time (" · 1 min 3 s") keeps the time and
shortens the reason before it.
- Line wrap is turned off for each redraw and back on in the same write
(ESC[?7l … ESC[?7h), so a row the terminal counts wider is cut at the edge,
never wrapped. The cluster console's signal handler turns wrap back on too.
- DarkbloomCommandLook reads the window width at each redraw, as the cluster
console already does.
Download progress (ModelDownloadProgress) already re-reads the width, clips
its ASCII line and prints only on change when plain, so it is unchanged.
Onboarding checks: 1305 passed. They include the user's long line in a pty
at 80 and 40 columns with the petal turning, and plain mode (NO_COLOR,
TERM=dumb). Red on the previous commit with only the interface stubbed: 8
failed. swift test: DarkbloomCommandLookTests (a new 40-column test with a
narrowed width), ClusterOnboardingPeerLabelTests, ClusterServiceStopReasonTests
and ModelDownloadProgress: 63 passed. DarkbloomCommandLookRunTests has 5 issues
with the dev identity ("darkbloom-dev start" against "darkbloom start"); the
same 5 fail on the base.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CLI reference now says how the live line stays one row: - it is fitted to the width at each redraw; - control characters become spaces; - a long reason is shortened and keeps its time; - line wrap is off while the row is drawn. The fragment gains the user-facing bullet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd 5 integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 5 integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # provider-swift/Sources/ProviderCore/Inference/Distributed/Onboarding/ClusterOnboardingFlow.swift # provider-swift/Tests/ProviderCoreTests/Inference/Distributed/ClusterOnboardingPeerLabelTests.swift
… round 5 integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # docs/provider/agent-setup.md # provider-swift/Sources/ProviderCore/Inference/Distributed/Onboarding/ClusterOnboardingLive.swift # provider-swift/Tests/ClusterConsoleChecks/run.sh # provider-swift/Tests/ClusterControlChecks/run.sh # provider-swift/Tests/ClusterDiagnosticsChecks/run.sh # provider-swift/Tests/ClusterInstalledSessionChecks/run.sh # provider-swift/Tests/ClusterOnboardingChecks/OnboardingChecks.swift # provider-swift/Tests/ClusterOnboardingChecks/run.sh
…part
The owner asked that the Mac that joins a pair show progress at each step, not
sit in the dark. On top of the follow screen's wait (merged), the joining Mac
now reads the start's progress the leading Mac publishes (its status reply's
`start`, carried in ClusterOnboardingLeaderStatus).
- Once the start publishes a step, the joining Mac opens its own "4/4 Start"
heading. Right under it the live rows show the step and its time, a bar of the
real bytes during a copy or download, each Mac's part (this Mac first, with
its layers), and what comes next. Each finished step is said once ("✓ Files
(9 min 12 s)"). Every row fits the room a live row has (window less 6) at 80
and 40 columns.
- A plain transcript says each step, each part change and a copy's bytes about
every 10% and 30 s, once each, with no bar or escapes.
- Each new step gets the follow's whole bound again, and copy bytes that still
move reset the wait for the start, so a long copy no longer ends in a ✗.
- With an older leading Mac (no `start`), the screen is unchanged.
Onboarding checks: 1354 passed (the joining-Mac checks failed 22 before the
wiring, with only the interface in place). Filtered swift test: 21 tests in 2
suites. docs-check and changelog-check OK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…luster-member-progress No conflicts. Onboarding checks: 1376 passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ks close each terminal once - OnboardingChecks: TerminalRun closed its pseudo-terminal in release() (follow-wait) and again in deinit (screen-sharing note); the second close hit a later run's reused descriptors, so random flows hung at "Checking the cable". Closed once now. - ClusterService: a comment named the DevNet display name literally, which test-provider-identity.py refuses outside the identity JSON. - ClusterLinkApproval.request(wiredLimit:) moves beside GLM5NextWiredLimitRequest, so the link runner compiles without the GLM memory closure. - run-flow.sh compiles ClusterOnboardingSoloServing.swift, as the other runners do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…round 5 integration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # provider-swift/Sources/ProviderCore/Inference/Distributed/Onboarding/ClusterOnboardingFlow.swift
…ntegration Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # provider-swift/Sources/ProviderCore/Inference/Distributed/Onboarding/ClusterOnboardingFlow.swift # provider-swift/Sources/ProviderCore/Inference/Distributed/Onboarding/ClusterOnboardingLive.swift # provider-swift/Tests/ClusterOnboardingChecks/run.sh
…in place, removed through SCPreferences
R5-2 on pair-2's MacBook (macOS 27.0): `networksetup -removenetworkservice`
refuses a port's last service ("You cannot remove Darkbloom Cluster Link
(en6) because there aren't any other network services on Thunderbolt
2."). On a Mac whose Thunderbolt ports start in the Thunderbolt Bridge,
Darkbloom's service is always the port's only one, so the restore
stopped at its first command every time, and the setup's repair
(remove, then create) failed the same way.
- Setup (ClusterLinkIsolationPlan.commands): an existing Darkbloom
service is reconfigured in place (switched on, -setmanual,
-setdnsservers Empty, -setv6LinkLocal), never removed and made again.
- Restore (ClusterLinkIsolationRestore, ClusterLinkLastService): where
Darkbloom's service is the port's only one, it is removed through one
`scutil --prefs` session (remove the service and its link in the
current set, the IPv4 order without it, commit, apply), after
PlistBuddy guards on its name and device and with a read-back that it
is gone. The service ID, the set and the order are read before the
prompt (`plutil -extract` of the world-readable preferences: new
read-only tool commands); only validated IDs reach the commands, and
every removal in one approval leaves all removed IDs out of the order.
Unreadable preferences guess nothing (probeFailed). A port with other
services keeps `networksetup -removenetworkservice`.
- The AppleScript line now escapes backslash and double quote.
- Kept: `set -e`, "Still to undo", `remaining`, one approval for every
port, the service before the bridge.
Proven by hand on p2-max as root with the same command shape: en6
(22:31:33Z) and en1/en2 (22:32:11Z) exit 0, no Darkbloom service left,
macOS put en6 back into bridge0 live by itself, both Thunderbolt Bridge
services enabled. Not run through the app's prompt there (Darkbloom is
uninstalled on it).
Docs: two-mac-cluster.md (Uninstall), cli-reference.md. Changelog: one
bullet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tops the restore; IDs are ASCII Review of bac9a58 (r5-2-lastservice-review.md): - Finding 1: `scutil --prefs` exits 0 even when its `commit` fails, and the read-back `! PlistBuddy … Print …` does not stop a `set -e` script, so the bridge entry and the services were still switched on beside Darkbloom's service: the port in both, R5-2's own bug, and "the commands after it did not run" untrue. The read-back is now `if PlistBuddy … Print …; then exit 1; fi`. - Finding 5: ClusterLinkLastService.isID accepts ASCII 0-9, A-F and a-f only (Character.isHexDigit accepted fullwidth digits). Check: the cluster link checks run the generated restore line in /bin/sh with stubs for PlistBuddy, scutil, networksetup and ifconfig (paths rewritten in the check's copy only): with scutil removing nothing it exits non-zero and no later step runs; with the service gone it runs to the end. A fullwidth digit is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…oarding checks fit the merged flows - Control, installed-session, diagnostics, console and placement-flow runners compile ClusterOnboardingStartProgress.swift (member progress), which ClusterControlLeadership now uses. - The onboarding checks' own alarm is 600 s: with follow-wait, solo-serving and start-progress checks the run takes about 300 s, the old bound. - The plain start-progress check counts each row once per wait: a start through Darkbloom restarts both parts as cluster members after the registration, and that second wait shows the rows again, truthfully. - StartProgressChecks.swift ends without a blank line (git diff --check). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…rogress CI's Cluster Focused Checks (PR #1792, job 126919032698) failed to compile focused-GLMImageAdmissionChecks: ClusterOnboardingFlow.swift:1199 names ClusterOnboardingStartProgress, which fix/cluster-member-progress added in its own file. 888b43e added that file to five runners; this is the sixth that compiles ClusterOnboardingFlow.swift. Locally: exit 0, 40 CPU checks pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…under set -e Integration review of 6a38748: where no manual script could be written, the fallback printed each command behind `sudo `. Two of the SCPreferences removal's lines then failed when pasted: `sudo if …; then exit 1; fi` is a syntax error, and in `sudo printf … | scutil --prefs` only printf ran as root, so scutil's commit failed. ClusterLinkIsolationRequest.manualCommands is now one block: `sudo /bin/sh -e <<'DARKBLOOM_CLUSTER_LINK'`, the same commands one per line, and the delimiter. No generated line can be the delimiter (each starts with a path or a shell keyword). Setup's and every restore's fallback take the same form; the first version's single commands (ClusterLinkPrivilegedRequest) are unchanged. Check: the printed block, pasted in /bin/sh with the stubs of the 6a38748 check and `sudo` passing through, runs exactly the script's steps and stops where it stops; setup's and the restore's blocks are one root shell with the commands unchanged. The removal's doc comment is rewrapped to 120 columns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nd 5 integration The fallback for a script that can't be written prints one root shell block (468d5cf). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 5, 2026
davidtai
added a commit
that referenced
this pull request
Nov 6, 2026
…re retries, and provider TP work (post-0.10.9) (#1837) * fix(provider): single-Mac serving that blocks a pair is named once, with `stop --solo`, never retried On 0.10.8 a pair's start looped "this Mac's part ended (exit 1: another update operation owns the lock (pid 9523, provider-instance))" on the leader while the follower's single-Mac provider (process 2282) refused its worker; the leader read the follower as "no error reported", and the guidance said `darkbloom stop`, which on a paired Mac stops the pair and leaves single-Mac serving running. - UpdateProcessLock names its owner: a single-Mac provider serving (with `stop --solo`), this Mac's part of the pair, an update, a rollback, a stop. - ProviderInstanceHolder tells a single-Mac provider from a pair part (argv and the parent's argv, no files read). - Each cluster service holds its part back while single-Mac serving runs (no exit-1 restart loop) and reports it in its status (`soloServing`, child lastError), so the other Mac's screen gives the real reason. - `darkbloom cluster` checks both Macs before starting the parts and during the wait: one ✗ naming the Mac and process with `darkbloom stop --solo`, and "Stop single-Mac serving on both Macs and start the pair" (new `stopSolo` command), acting only with consent. No Retry for this cause. - local_provider_running guidance and the worker's refusal say `stop --solo`. - `darkbloom update` on a Mac whose pair is started restarts the pair, not a leftover single-Mac job; the watchdog no longer revives that job there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * cluster: the leader publishes the start's progress and shows each Mac's part The owner asked that the Mac that joins a pair show progress at each step, "maybe a progress bar and so on". This is the half that does not touch the follow screen: the published fields, the leader publishing them, the leader's own per-Mac rows, and the shared step, bar and row components. - ClusterOnboardingStartProgress (new, optional everywhere) travels in the leading Mac's status reply (ClusterControlReply.start) and its setup record. It carries the phase (downloading, copying, stopping, loading, testing, registering; a later one reads as unknown), a copy's or download's bytes as the sending Mac counts them, and each rank's part (ready, loading, starting, ended with its restart), with its layer range. A mark fences it by the publishing process; a copy's, download's or load's figures count for 30 s. - The leader publishes bytes about once a second from the copy (either way) and the download, "stopping" before a model change drains both Macs, the parts on each readiness poll, then testing and registering. It clears them when the start ends. - ClusterServiceStatus.Session.readyRankList (optional) names the ready ranks. - The leader's load wait shows one row per Mac: "This Mac: ready (layers 0-46)", "The other Mac: loading its share (layers 47-93)". A row that does not fit drops its layers, then shortens; a plain window says each row once. The wait's ✗ counting still reads the line without the rows. - Shared components: the bar (real bytes only, never 100% before the last byte), the step rows with "Next: …", and the plain log that says each change once. All fit the room a live row has (the window less 6 columns). Onboarding checks: 1260 passed (the new plain-row checks failed 3 on the base with only the components present). Filtered swift test: 20 tests in 2 suites, including the wire tests (older shapes decode; later values read as unknown). docs-check OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): the cable port removal undoes every port Darkbloom set up, service first, and says what is left R5-2 (pair-2, 2026-11-04): - `darkbloom uninstall` on the MacBook gave up with "More than one port qualifies (rdma_en2, rdma_en1, rdma_en6); choose one, for example … --device rdma_en2", naming a disconnected port, after it had already forgotten the pairing. - The restore wrote the port's bridge entry before it removed Darkbloom's service, which left en6 in saved bridge0 and in its own "Darkbloom Cluster Link (en6)" service ("not isolated: member of bridge0"). - The restore ran every command (joined with "; "), yet a failure said "the commands after it did not run". Fix: - ClusterLinkRepair.removeIsolation undoes every port Darkbloom set up (its records, and its own services whose record is gone) under one approval (ClusterLinkIsolationRequest.Purpose.restore takes them all; the prompt names them); `--device` still names one. The uninstall and `cluster link --remove` without `--device` never ask for a choice. - ClusterLinkIsolationRestore.commands: the keeper, Darkbloom's service, a leftover address, then the bridge entry, the services switched back on (which apply it) and the live bridge member. - A restore stops at the first failing command (`set -e`, as an isolation and the manual script). What is left is read per port: done ports are forgotten, the rest are named (ClusterLinkRepairResult .remaining, JSON `remaining`) in a message that now says truthfully the commands after the failure did not run. - The uninstall forgets the pairing before the cable step (it tells the other Mac over the cable); a failed cable step now says the pairing is already forgotten, that only the cable port setup is left, and that `<cli> uninstall` again finishes it (ProviderUninstall.cableLeftNote). Not changed: the first version's address-only removal still asks for a port among several recorded aliases. Docs: two-mac-cluster.md (Uninstall) and cli-reference.md. Changelog: one bullet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): the member waits for the leader's setup after an update After the pair restarted into 0.10.8, the member started its part from the setup saved for 0.10.7 six times; each ended within a second with "Installed input identity or SHA-256 differs" until the leader synced the new setup (R5-4, about 2 min of the 2 min 33 s outage). ClusterService.supervise now compares the member's installed worker with its saved setup's pin before a cluster part starts. When they differ it starts nothing, rewrites nothing, and says once "waiting for the other Mac's setup for v<version>". The part's own identity and SHA-256 checks are unchanged. The control leader, waiting for both Macs to answer with one build, checks again every 5 s instead of every 60 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(update): end `darkbloom update` once this Mac runs the new release On the M5 Ultra pair, Mac B's `darkbloom update` waited its full 600 s and ended "Still waiting after 600 s" although Mac B had restarted into 0.10.8 (R5-3). The command waited for its own request to reach `restarting`, but the restarted service had already published `idle` with no request, running 0.10.8. ClusterServiceUpdateRequest.restart now also ends, with a new `.restarted` outcome, as soon as the service's progress says this Mac runs the target release, and says so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): `cluster stop --service` stops this Mac when the other is off On pair 2, the leader's `darkbloom cluster stop --service` failed (exit 1) once the MacBook's service was already off, and left the leader's service and login agent running (R5-1). Only `--local-only` finished it, and the error did not say so. OnboardingLive.localStop now marks the one failure where this Mac stopped serving and the other Mac did not answer (ClusterOnboardingFailure.otherMacUnanswered). Cluster.Stop.finishStop then still removes this Mac's service and login agent and says what happened on each Mac. A local drain that did not finish, and a stop forwarded to the leading Mac, still fail and keep the service. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * terminal: every live line stays one row, its reason shortened, never wrapped A 0.10.8 leader started Gemma 4 26B tensor parallel next to an M4 Max. Its live line repeated end to end ("▗ Loading Gemma 4 26B on both Macs (starting; this Mac's part ended (exit 1: another update operation owns the lock (pid 952 ▖ Loading …"). The row was cut to a character count, but the terminal drew it wider (a petal or ellipsis shown two columns wide, a wide character, a control character in the reason). So it wrapped, and each turn of the petal climbed back only one row and left the wrapped start behind. The two shared renderers now draw every live row the same way: ClusterOnboardingTerminal, used by the cluster screens, and DarkbloomCommandLook, used by start, stop, restart and update. - ClusterOnboardingBrand.liveText fits a row to the room (width - 6). It counts wide characters as two columns and turns control characters into spaces. A row that ends with its time (" · 1 min 3 s") keeps the time and shortens the reason before it. - Line wrap is turned off for each redraw and back on in the same write (ESC[?7l … ESC[?7h), so a row the terminal counts wider is cut at the edge, never wrapped. The cluster console's signal handler turns wrap back on too. - DarkbloomCommandLook reads the window width at each redraw, as the cluster console already does. Download progress (ModelDownloadProgress) already re-reads the width, clips its ASCII line and prints only on change when plain, so it is unchanged. Onboarding checks: 1305 passed. They include the user's long line in a pty at 80 and 40 columns with the petal turning, and plain mode (NO_COLOR, TERM=dumb). Red on the previous commit with only the interface stubbed: 8 failed. swift test: DarkbloomCommandLookTests (a new 40-column test with a narrowed width), ClusterOnboardingPeerLabelTests, ClusterServiceStopReasonTests and ModelDownloadProgress: 63 passed. DarkbloomCommandLookRunTests has 5 issues with the dev identity ("darkbloom-dev start" against "darkbloom start"); the same 5 fail on the base. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs: every live line is one row; changelog bullet The CLI reference now says how the live line stays one row: - it is fitted to the width at each redraw; - control characters become spaces; - a long reason is shortened and keeps its time; - line wrap is off while the row is drawn. The fragment gains the user-facing bullet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * cluster: the joining Mac shows the start's steps, bar and each Mac's part The owner asked that the Mac that joins a pair show progress at each step, not sit in the dark. On top of the follow screen's wait (merged), the joining Mac now reads the start's progress the leading Mac publishes (its status reply's `start`, carried in ClusterOnboardingLeaderStatus). - Once the start publishes a step, the joining Mac opens its own "4/4 Start" heading. Right under it the live rows show the step and its time, a bar of the real bytes during a copy or download, each Mac's part (this Mac first, with its layers), and what comes next. Each finished step is said once ("✓ Files (9 min 12 s)"). Every row fits the room a live row has (window less 6) at 80 and 40 columns. - A plain transcript says each step, each part change and a copy's bytes about every 10% and 30 s, once each, with no bar or escapes. - Each new step gets the follow's whole bound again, and copy bytes that still move reset the wait for the start, so a long copy no longer ends in a ✗. - With an older leading Mac (no `start`), the screen is unchanged. Onboarding checks: 1354 passed (the joining-Mac checks failed 22 before the wiring, with only the interface in place). Filtered swift test: 21 tests in 2 suites. docs-check and changelog-check OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(integration): the round 5 runners compile and the onboarding checks close each terminal once - OnboardingChecks: TerminalRun closed its pseudo-terminal in release() (follow-wait) and again in deinit (screen-sharing note); the second close hit a later run's reused descriptors, so random flows hung at "Checking the cable". Closed once now. - ClusterService: a comment named the DevNet display name literally, which test-provider-identity.py refuses outside the identity JSON. - ClusterLinkApproval.request(wiredLimit:) moves beside GLM5NextWiredLimitRequest, so the link runner compiles without the GLM memory closure. - run-flow.sh compiles ClusterOnboardingSoloServing.swift, as the other runners do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): a port whose only service is Darkbloom's: reconfigured in place, removed through SCPreferences R5-2 on pair-2's MacBook (macOS 27.0): `networksetup -removenetworkservice` refuses a port's last service ("You cannot remove Darkbloom Cluster Link (en6) because there aren't any other network services on Thunderbolt 2."). On a Mac whose Thunderbolt ports start in the Thunderbolt Bridge, Darkbloom's service is always the port's only one, so the restore stopped at its first command every time, and the setup's repair (remove, then create) failed the same way. - Setup (ClusterLinkIsolationPlan.commands): an existing Darkbloom service is reconfigured in place (switched on, -setmanual, -setdnsservers Empty, -setv6LinkLocal), never removed and made again. - Restore (ClusterLinkIsolationRestore, ClusterLinkLastService): where Darkbloom's service is the port's only one, it is removed through one `scutil --prefs` session (remove the service and its link in the current set, the IPv4 order without it, commit, apply), after PlistBuddy guards on its name and device and with a read-back that it is gone. The service ID, the set and the order are read before the prompt (`plutil -extract` of the world-readable preferences: new read-only tool commands); only validated IDs reach the commands, and every removal in one approval leaves all removed IDs out of the order. Unreadable preferences guess nothing (probeFailed). A port with other services keeps `networksetup -removenetworkservice`. - The AppleScript line now escapes backslash and double quote. - Kept: `set -e`, "Still to undo", `remaining`, one approval for every port, the service before the bridge. Proven by hand on p2-max as root with the same command shape: en6 (22:31:33Z) and en1/en2 (22:32:11Z) exit 0, no Darkbloom service left, macOS put en6 back into bridge0 live by itself, both Thunderbolt Bridge services enabled. Not run through the app's prompt there (Darkbloom is uninstalled on it). Docs: two-mac-cluster.md (Uninstall), cli-reference.md. Changelog: one bullet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): a service still there after the SCPreferences removal stops the restore; IDs are ASCII Review of bac9a58c4f (r5-2-lastservice-review.md): - Finding 1: `scutil --prefs` exits 0 even when its `commit` fails, and the read-back `! PlistBuddy … Print …` does not stop a `set -e` script, so the bridge entry and the services were still switched on beside Darkbloom's service: the port in both, R5-2's own bug, and "the commands after it did not run" untrue. The read-back is now `if PlistBuddy … Print …; then exit 1; fi`. - Finding 5: ClusterLinkLastService.isID accepts ASCII 0-9, A-F and a-f only (Character.isHexDigit accepted fullwidth digits). Check: the cluster link checks run the generated restore line in /bin/sh with stubs for PlistBuddy, scutil, networksetup and ifconfig (paths rewritten in the check's copy only): with scutil removing nothing it exits non-zero and no later step runs; with the service gone it runs to the end. A fullwidth digit is refused. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(integration): the runners compile the start progress, and the onboarding checks fit the merged flows - Control, installed-session, diagnostics, console and placement-flow runners compile ClusterOnboardingStartProgress.swift (member progress), which ClusterControlLeadership now uses. - The onboarding checks' own alarm is 600 s: with follow-wait, solo-serving and start-progress checks the run takes about 300 s, the old bound. - The plain start-progress check counts each row once per wait: a start through Darkbloom restarts both parts as cluster members after the registration, and that second wait shows the rows again, truthfully. - StartProgressChecks.swift ends without a blank line (git diff --check). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(integration): the GLM image admission runner compiles the start progress CI's Cluster Focused Checks (PR #1792, job 126919032698) failed to compile focused-GLMImageAdmissionChecks: ClusterOnboardingFlow.swift:1199 names ClusterOnboardingStartProgress, which fix/cluster-member-progress added in its own file. 888b43e041 added that file to five runners; this is the sixth that compiles ClusterOnboardingFlow.swift. Locally: exit 0, 40 CPU checks pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): the pasted fallback runs as the script: one root shell under set -e Integration review of 6a3874827c: where no manual script could be written, the fallback printed each command behind `sudo `. Two of the SCPreferences removal's lines then failed when pasted: `sudo if …; then exit 1; fi` is a syntax error, and in `sudo printf … | scutil --prefs` only printf ran as root, so scutil's commit failed. ClusterLinkIsolationRequest.manualCommands is now one block: `sudo /bin/sh -e <<'DARKBLOOM_CLUSTER_LINK'`, the same commands one per line, and the delimiter. No generated line can be the delimiter (each starts with a path or a shell keyword). Setup's and every restore's fallback take the same form; the first version's single commands (ClusterLinkPrivilegedRequest) are unchanged. Check: the printed block, pasted in /bin/sh with the stubs of the 6a3874827c check and `sudo` passing through, runs exactly the script's steps and stops where it stops; setup's and the restore's blocks are one root shell with the commands unchanged. The removal's doc comment is rewrapped to 120 columns. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): a Mac that stopped clustering serves normally again 0.10.8: a Mac left with a saved pair start (its other Mac no longer taking part) ran its pair part as a cluster member with no ordinary models: online, no traffic. Every ordinary way back (start, the app's Go Online, Autopilot enroll, restart, start --solo) acted on the pair or was refused, and 0.10.9's update and watchdog guards read the same stale start. - Whether the pair runs here comes from what runs (ClusterPairWatch): the saved start, the other Mac's real answers over the link, and whether the pair has served. The cluster service publishes the verdict (pairRunning, pairNotRunning); ClusterService.pairServesHere uses it, so update and the watchdog restart and revive single-Mac serving on a Mac whose pair doesn't run, and keep the existing protection where it does. A 0.10.8 service with no verdict is read by its control mode. - start --solo is never refused for a stale start: it stops the leftover part (clears the saved start, waits for the serving lock), then serves alone, saying so in one line. A script, the app's Go Online (start --model) and Autopilot enroll do the same; in a terminal, start offers "Serve on this Mac alone" (the default when the other Mac isn't answering) or "Start the pair". stop and restart act on what runs here. - The leftover part doesn't hold the Mac forever: after 15 minutes without an answer from the other Mac the service stops its part (freeing the lock) and says why with the command to serve alone; it starts the part again when the other Mac answers. A reboot of a few minutes keeps the pair. - status says the pair isn't running here and the one command to serve alone. Tests (red: the new suites don't compile on 8e931784cb): ClusterPairWatchTests, UnpairedMacServesNormallyTests, stale-pair command runs in ClusterPairCommandsTests, and the reboot/give-up check over the real lease exchange in ClusterControlChecks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(cluster): going back to serving on one Mac, and the 0.10.8 workaround - two-mac-cluster.md: "Going back to serving on one Mac" (what "the pair runs here" means, start/stop/restart/update/watchdog on a Mac whose pair doesn't run, the 15-minute give-up, and the 0.10.8 steps: cluster pair --status, cluster pair --forget <pin>, start). - cli-reference.md: start, stop and restart while the pair doesn't run here. - agent-setup.md: rule 11 and a troubleshooting row for "online, no requests" after clustering stopped. - architecture/inference.md: ClusterPairWatch's verdicts and who reads them. - start's help text; changelog fragment unpaired-mac-serves-normally.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): a loading pair is never stopped without asking A pair whose other Mac answers but that hasn't served in its first 15 minutes (notServing: a large first load, or the coordinator away after a pair restart) read as "not running here", so the app's Go Online or Autopilot enroll clicked by mistake, a script's start, restart, stop, and update with a leftover single-Mac job cleared the saved start and stopped the pair's part. - ClusterService.pairKeepsLock: update and the watchdog leave the serving lock to the pair while it runs here or its other Mac answers. - Start.pairStart, Restart.pairRestart and Stop.pairedStop: while the other Mac answers, only start --solo and the terminal's choice serve this Mac alone; the other forms act on the pair as while it runs (stop on a follower would otherwise be undone by the leader's next lease). A Mac whose other Mac is gone or whose pair is stopped is unchanged. Tests (red first): ClusterPairWatchTests.pairKeepsLockWhileTheOtherMacAnswers, UnpairedMacServesNormallyTests.loadingPairIsNotStoppedUnasked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: the cold-retry test follows the two remaining build directories Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): time asleep doesn't count toward the pair's 15-minute windows ClusterControlClock.seconds is CLOCK_MONOTONIC_RAW, which keeps counting while macOS sleeps, so a Mac waking after more than 15 minutes asleep could give up its part on the first tick, before the other Mac's next answer, and reload the model when it came back. - ClusterControlClock.awakeSeconds (CLOCK_UPTIME_RAW, paused in sleep). - ClusterPairWatch.tick(raw:awake:...): the windows run on the awake clock; each new answer from the lease clock is placed on it no earlier than the previous tick. ClusterService.watchPair uses it. A Mac whose other Mac stays gone still gives up 15 awake minutes after its last answer. Tests (red: tick(raw:awake:) doesn't exist): ClusterPairWatchTests .sleepDoesNotCount and .startWindowSkipsSleep. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): serving alone on the following Mac says the leader may start its part again A following Mac records its leader's start from the leader's next accepted lease, so the start that serving alone clears there comes back while the leading Mac keeps the pair started; its part then waits for single-Mac serving to stop. The line said only "its saved start is cleared". - ClusterPairSummary.servingAloneLine on the following Mac adds: while the other Mac leads with the pair started, it may start this Mac's part again once single-Mac serving stops here; `darkbloom stop` on it stops the pair. - two-mac-cluster.md and the changelog fragment state it as a known limitation (and that sleep doesn't count toward the 15 minutes). The proper fix (the follower declines the leader's start after the person's choice, with a reason both screens show) is left for a follow-up. Tests (red first): UnpairedMacServesNormallyTests.followerServingAloneIsTruthful. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: test each tree once, one plan routes every job, no audit-only Macs - provider-plan.yml (new, shared by CI (dev) and CI (master)): the classifier, the tested-tree lookup (scripts/ci-tested-tree.py) and the run's one route request, with the caller's Linux lanes. A run whose tree a completed, successful run of the same workflow file from this repository recorded (artifact ci-tested-tree-<tree>, uploaded by the gate) selects no component; any doubt tests. - provider-tests.yml takes the plan as inputs. Pull requests and pushes run the same jobs; only pushes save caches. A push of a tested tree runs one build-only job, Refresh build caches, for the components it changed. - The classifier selects pushes by their diff like pull requests (no full-run rule for default branches, no push-only cluster rule). - Cluster GPU Tests run whenever the cluster jobs run. - Provider Unit Tests Summary is folded into the shards: each audits its own selections against `swift test list` of its own build (provider-test-shards.py audit-job; the last shard checks that the plans cover the list once) and reports its own coverage. - Cluster Metadata Checks run first in Cluster Focused Checks. - Release Integrity and Docs Lint read their Linux lanes of the plan's route. Only the lookup, the component choice and the gate stay GitHub-hosted. - CI (dev) pushes are no longer collapsed: each push runs, and a tested tree costs only the plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: a third Swift build cache tier keyed on the toolchain and the MLX pins Keys nest MLX tier > dependencies > recipe > commit (v3), so a restore key matches each tier by prefix. The MLX tier binds the toolchain, the checkout path and the libs/mlx, libs/mlx-swift and libs/mlx-swift-lm gitlinks (nested ones included); restore-mtimes keeps SwiftPM to rebuilding what changed, and a failed build over it builds once from nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): a pair Mac follows the other Mac forward to a newer release at once The pair's coordinated update moved an older Mac only at the shared 30-minute slot, and only the rollback was followed between slots. A Mac whose partner updated alone (single-Mac updater, watchdog, manual update, asleep at the slot) stayed behind, and after R5-4 the newer member waits quietly for a leader setup the older leader never makes. The minute's follow check now also returns .otherMacNewer when the other Mac runs a strictly newer release that is not quarantined here; with automatic updates on the supervisor runs the pair's cycle at the next tick (once per release, then the slots), which finds the other Mac ready (ClusterPairUpdate.partnerState: running == target). With them off it logs the version and `darkbloom update`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): the start's ✗ names a version split, the Mac behind and `darkbloom update` The start-wait ✗ read the other Mac's whole service status but never compared its version (pairUpdate.running, published by supervisors from 0.10.7 on) with this Mac's, so a pair split across releases looped on 'its service reports its part running and no error…'. errorLines now leads with both versions and the command on the Mac that's behind, in either direction; one version or an unknown one keeps the lines as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): Connect's first line says "Allow macOS permissions." The owner asked to rename "allow macOS password" to "allow macOS permissions". ClusterOnboardingDriver.approvalsLine now reads "Allow macOS permissions." and, over SSH, "Allow macOS permissions here and on this Mac's screen (Screen Sharing if headless)." The lines that say what each prompt literally asks are unchanged. The onboarding checks and a ProviderCore test assert both lines word for word; the docs that quote the line and the 0.10.9 Screen Sharing changelog fragment are updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(cluster): two idle M5 Ultra 256 GB split GLM's pipeline about evenly The M5 Ultra pair's mode question offered GLM-5.3-Flash's pipeline as "this Mac 1 layer / the other Mac 44 layers". On the recorded M5 Ultra, both Macs sampled idle, the forced pipeline is cut 24 (24 / 21 layers), both ranks loading now and admitting 65,536 tokens: a split that degenerate comes from a Mac whose sample admitted about 10 GB, not from the planner's arithmetic. This check pins the even split on idle Macs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(provider): a pair's lanes go on, and are counted, while a request reserves (red) A pair's reservation holds the engine queue until both ranks answer at their next step boundary. Every running lane's token is answered on that queue, and rank 0 waits a bounded time each step for those answers, so a reservation stalls every lane. And a request reserving, or waiting to, is counted nowhere: the heartbeat advertises its lane as free, the coordinator sends one more, and the engine refuses it for capacity. Four checks, red on this base: - a running lane's token waits for another request's reservation; - a capacity read counts neither the request reserving nor the one queued behind it (`waitingRequests` 0); - a request beyond the lanes waits for that reservation before it is refused; - the heartbeat's `num_waiting` is 0 while a request is being reserved. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): single-Mac serving blocking the pair is said on both screens, and nothing loops on it 0.10.9 DevNet, pair-2 (f1): with single-Mac serving (process 68099) on the joining MacBook, the leader showed the block, but the joining Mac said "registering with the coordinator" for minutes; `cluster status` said "Both Macs keep trying by themselves"; and the leader's part ended and restarted every 38 s. - The joining Mac's window reads single-Mac serving on both Macs before each look of the leader and shows the same ✗, naming its own provider, `darkbloom stop --solo`, and that the leading Mac offers the stop. The leader's block line is the block (`followed` .soloBlocked), never an offered pair to wait on. It follows the start by itself once single-Mac serving stops. - Each Mac's status reports single-Mac serving whenever no part of its own holds the lock, not only once a part is wanted, so the leader sees it before starting; it also publishes `heldBack`, why its part can't start. - The leader's service reads the member's held-back reason at each sync and doesn't start its part while the other Mac reports one (`ClusterControlPartChoice. waitsForOtherMac`): no 38-second start-and-end loop. Serving alone never waits. - `next` says what to run on both Macs; a scripted `darkbloom start` ends its wait at once for this reason (`isFinalReason`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(provider): the usage history's warning goes to the running identity's log subsystem It named production's `dev.darkbloom.provider` in every build, so a DevNet app's `darkbloom-dev logs` never showed it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): each mode's line fits the window as it is now, and redraws on resize R6-2 (M5 Ultra pair, DevNet branch.81): each mode's line in the mode question was cut at 120 columns ("… the other Mac 44 layers) · ser…"), losing how many requests the mode serves at once, and a window widened to 220 columns never redrew it: the list fitted its rows once, to the width it opened at. - ClusterOnboardingConsole.chooseFitting: options asked for their text at every draw with the room a row has then (nil: the whole line). The default (and a plain terminal) shows the whole lines. - The colour list (pick) reads the width at every draw, redraws when it changes (checked between keys, every 100 ms), turns wrap off while it draws (ESC[?7l … ESC[?7h), and climbs back by the rows a narrower window shows each drawn row on, as the live rows do since 1693f0c70a. Lists of plain strings keep their cut, now counted in display columns. - ClusterOnboardingDriver.modeLine(_:recommended:room:): too wide, a line loses the split, then what each Mac does, then the long words ("106 tok/s", "serves up to 8 at once", "recommended"), as the recommendation's line does. The mode's name and how many requests it serves at once are never cut: where one row cannot hold them they take two. The mode question uses it. Onboarding check modeLinesFitTheWindowAsItIsNow: GLM-5.3-Flash's two modes in a colour pty at 220, 120, 80 and 40 columns, and one list resized 120 -> 220 -> 80 -> 40 -> 120 while open: redrawn each time, every row within the window, no mode row cut, each mode's name and concurrency whole, the whole pipeline line where it fits; plain at 40 columns prints the whole lines. Red on the previous commit with only modeLine(room:) stubbed: 47 of 71 failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(cluster): the mode question's lines fit the window (inference.md, changelog) Docs Impact on PR #1797 asked for the canonical inference doc; this documents d3d2e76911's fitting and adds the changelog bullet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * cluster: the joining Mac ends with the leading Mac's outcome, never its own verdict 0.10.9 DevNet, pair-2 (f2, 00:23:20Z): 6 s after its part registered with the coordinator, the joining Mac's window ended with "✗ Not serving: This Mac isn't verified by Apple yet …" and "Choose Retry on the other Mac". The leading Mac kept waiting and showed "✓ Serving Qwen 3.8 27B through Darkbloom on both Macs" 41 s later. On an offered status the joining Mac had run its own pairServing wait and ended on its own App Attest state. - A state that clears by itself keeps the joining Mac waiting: Apple's verification, the coordinator's pairing, registering, the leader still deciding. The live row reads "Waiting for Apple to verify this Mac (Darkbloom retries by itself) · n of 15 min"; plain output says it once. Offered is its own stage with the whole bound, as the leader's wait. followPair is gone and the joining Mac never calls pairServing. - Its final ✓/✗ is the leader's. ✓ comes from the leader's status. The leader's screen ✗ is published as ClusterOnboardingStartProgress.failed (title, lines, retry) in ClusterControlReply.start, each Mac's name kept as a token, so the joining Mac shows the same ✗ named from its side. It counts for 30 minutes after the leader's screen ends; a new step published by a leader screen clears it. A later phase reads as unknown on an older Mac. - "Choose Retry on the other Mac" appears only under that ✗, when the leader's screen shows Retry: no longer mid-start, nor in the joining Mac's timeout. - An older leader publishes no outcome: the joining Mac waits until the stage's bound, then "✗ Not serving: The other Mac (…) didn't say how its start ended within 15 minutes.", the last state, and where to look. - The joining Mac's own blocking reasons (a different build) still end it at once; the single-Mac serving path is untouched (fix/solo-block-both-screens). Onboarding checks: 1540 passed, 0 failed. FollowFinalChecks failed 20 on the base with only the data interface present (the f2 run printed the field's exact ✗); seven older checks that encoded the old verdict were rewritten to these rules. Filtered swift test (ClusterOnboarding), sandboxed away from ~/.darkbloom*: prod 28 tests in 2 suites + 1, dev the same. docs-check and changelog-check OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): only the leading Mac waits on the other Mac's held-back reason The leader keeps the other Mac's reason (`peerHeldBack`) in memory and refreshes it only while it leads and runs the cluster (`syncMembers`). If control moved to the other Mac, that reason stayed, and this Mac's part, now a member, never started: the new leader's part then waited for its missing follower and ended every 38 s, the loop the rule exists to stop. `waitsForOtherMac` now takes `leads`, and the service passes `leadsAndRunsCluster()`. Red: ClusterControlChecks failed to compile (no `leads`), and the new check "no longer leading: never waits". Green: 682 passed, 0 failed. Docs: the rule and the status fields in docs/architecture/inference.md, the block's `reason`, `next` and exit 3 in docs/provider/cli-reference.md (Docs Impact), and a missing full stop in the agent-setup troubleshooting row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): single-Mac serving steps aside for a started pair unless chosen; blocked ends never set the approval aside From "none of the steps worked" (solo-steps-failed.md §3–§5): - Self-heal for the 0.10.8 → 0.10.9 rollout: when the pair is started and wants this Mac's part ("cluster:" key) while single-Mac serving holds the lock, and no choice of single-Mac serving stands (`ClusterSoloChoice`), the cluster service runs `stop --solo` once per process, logs it and leaves a note `darkbloom status` shows. `start --solo` / "Serve on this Mac alone" record the choice; an explicit pair start here (onboarding serve, `start` → pair) and `stop --solo` clear it; a Mac updated from 0.10.8 has none, so the pair wins. Never when no part or only the degraded server is wanted, so it never fights #1793's "pair isn't running → serve alone". - Ends caused by the held lock (either Mac held back, or the lock's words) don't count toward the local-only fallback; when the blocker clears (step aside, offer, or the other Mac's held-back reason gone) the count resets and a `failing` set-aside approval is dropped, so the pair is offered to Darkbloom again at once. - The version split is said before the single-Mac ✗ (`blockApplies`). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): a version split is named everywhere, ends the wait at once, and single-Mac updates bring the pair along - ClusterOnboardingVersionSplit: both versions, the Mac behind and the build's own command (darkbloom-dev on DevNet). The leader's start reads it before the parts start, every few polls of the wait (before single-Mac serving), and before a Retry; it offers Check the versions again / Leave, never a Retry loop. The joining Mac's wait ends at once on it, from its own side. - The status line both Macs show carries a Mac-neutral reason; darkbloom status / cluster status --json read it as notServing with a final reason, and next names the Mac to update for each window. - The R5-4 member wait line and the leader's same-build wait line name the other Mac's version and the command (asked over the cable, at most every 30 s). - The follow check also follows a partner that is updating to a newer release. The provider's background updater, on a Mac whose pair actually runs there (ClusterService.pairServesHere), asks the cluster service to restart into the release with the other Mac; the watchdog never installs under a running pair. A Mac whose pair is gone simply updates. - Docs (two-mac-cluster.md: pair owners' top line, different versions) and the changelog fragment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): a pair the coordinator's catalog won't pair says why DevNet 2026-11-05 (0.10.6-dev.branch.81): a Gemma 4 26B tensor-parallel pair offered under devnet/gemma-4-26b-qat-4bit/s1 sat on "waiting for the coordinator to pair both Macs" (cluster status: loading, exit 3) for 11+ minutes. The coordinator refused it on every one-second pass with `serves_model`: its pair check needs a model-catalog row for each member's model (modelAllowedByCatalogLocked), and DevNet's catalog has no Gemma, though its pair-approval catalog does. The coordinator tells neither Mac. The member registration was not the cause: a member already sends an empty ordinary inventory and exactly its setup's model in cluster_models (ClusterMemberRegistrationTests cover it). - An offered part reads the coordinator's public /v1/models/catalog once after it registers; when the catalog doesn't list its model it writes "Notice: The coordinator does not pair Macs for <model>: its model catalog does not list it" (ClusterLocalServing.catalogRefusal). An unreadable catalog says nothing; the part keeps running. - The service reads that notice as the part's current one; the setup screens on both Macs end at once with it (pairLook, pairServing), and cluster status reports not serving with it instead of loading (ClusterPairSummary.ownState). Tests (red first): ClusterLocalServingTests.aPartOfferedForAModelTheCoordinatorsCatalogDoesNotListSaysSo, ClusterPairCommandsTests.ownState. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): `stop --solo` on the wrong Mac stops it on the other Mac; a blocked pair's `start` never serves alone - `stop --solo` where nothing runs here asks the other Mac (its status) and, with consent or `--yes`, stops single-Mac serving there (`.stopSolo`); declined, it says where to run it and exits 1. Its "nothing to stop" line no longer suggests plain `stop` (solo-steps-failed.md §3.3). - #1793 coordination: while single-Mac serving blocks a started pair whose other Mac answers, `start` goes to the pair (`.openScreen` / `.startPair`), never `.choose` or serve-alone (pinned by a test); "set up" means the job is loaded (`LaunchAgent.singleMacSetUp`), not that the plist exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): the version split's hunks sit apart from the single-Mac and follow-final branches The joining Mac reads the versions on its own cadence at the top of its wait loop, the final-reason check is its own line, and the checks file is listed beside the onboarding sources, so this branch merges cleanly with fix/solo-block-both-screens and fix/follow-final-outcome. No behavior change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): an orphaned pair part is never single-Mac serving; a check proves the stop sticks - `ProviderInstanceHolder.singleMacServing` excludes the part this Mac's cluster service recorded, even once launchd adopted it (its arguments read like `start --local`), so nobody is told to `stop --solo` what it can't stop. - `SoloStopSticksTests`: after the stop, a watchdog tick doesn't revive it, an update restarts the pair and not it, and a login or 0.10.8's updater that starts it anyway meets the step aside while the pair's blocked ends never cost its approval. - Docs: the step aside, the recorded choice, the reset of the fallback, and `stop --solo` on the wrong Mac. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(cluster): the agent's troubleshooting row says single-Mac serving steps aside by itself Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(provider): a pair's lanes stream while it reserves, and count what is being admitted A GLM-5.3-Flash tensor-parallel pair on branch.81 decoded at 7.5 tok/s (min 2.7) under DevNet's soak and refused 6 dispatched requests for capacity. Two causes in DistributedCBv2Engine, both on the pair's one serial queue: - A reservation ran on the engine queue and held it until both ranks answered at their next step boundary. Every running lane's token is answered on that queue, and rank 0 waits a bounded time each step for those answers, so a reservation stalled every lane and the step that answers it. Since R4-9 the bridge awaits admissions, so several queue back to back. Reservations now wait on `admissionQueue`, one after another; the engine queue only checks, holds a lane and completes the admission. - A request waiting for its reservation, or in it, was counted nowhere: the published capacity said its lane was free, the coordinator sent one more, and the lane check refused it. A submission now holds a lane from acceptance (`holdLane`, `admitting`): the lane check counts it and `capacity()` reports it as `waitingRequests` (heartbeat `num_waiting`). A cancel of another request now lands at once; a cancel of a request in its reservation, or waiting for it, stops it once admitted; a shutdown waits for a reservation in flight and stops its request. The R4-9 check that pinned a cancel waiting for another request's reservation now pins it landing at once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * cluster: the joining Mac never ends on an earlier start's published ✗ Review of #1798. The leading Mac's ✗ (ClusterOnboardingStartProgress.failed) counts for 30 minutes regardless of its process, and a new pairing keeps the record; only the new screen's first step clears it. The joining Mac's follow read it on its first look, so pairing again within 30 minutes of a ✗ that was left ended the joining Mac at once with that ✗ and "Choose Retry on the other Mac", before the leading Mac had chosen a model (its first step comes after its own service start). A ✗ now counts as this start's outcome only once this follow saw the leading Mac's screen publish a step (which clears any earlier ✗ in the same write); before that it is not shown, not even as the 4/4 heading. Red: the new check ended with "✗ Not serving: This Mac isn't verified by Apple yet." and Retry; onboarding checks 1557 passed, 2 failed. Green: 1559 passed, 0 failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(cluster): notServing's doc comment back on notServing #1798 split the ✗ block out of notServing (notServingBlock) and left notServing's comment stacked above the new function's. Comments only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): GLM on 128 GB Macs: offer only what loads; gpu-limit step or "needs more memory" Owner: "ensure it only shows the option that is possible, i.e. for there only pipeline is possible as an option" (a user's M4 Max 128 + M5 Max 128 could not load GLM-5.3-Flash). - One rule for the Macs whose GPU limit Darkbloom raises: ClusterGPUMemoryLimit.raisedByDarkbloom (M5 Macs with 128 or 256 GB, by the chip's own name). GLM5NextGPULimitEligibility delegates to it, and ClusterDeviceProfile.withGPUMemoryLimitRaised is nil on any other Mac, so the memory verdict never counts a raise on an M4 Max that gpu-limit refuses. - The model row, when nothing fits as the Macs are: plans again with the eligible Macs raised; if a placement fits, the row is blocked with the `darkbloom cluster gpu-limit` step (the Mac, its part's GPU need, macOS's limit, the raised limit); otherwise "Needs more memory" with the reason (the GPU limits, or the model's size) instead of "Too large ... even with every application closed". Nothing loads before. - The mode question is unchanged: GLMPairOfferChecks pins exactly the modes it offers on M4 Max + M5 Max, M5 Max x 2, M3 Ultra + M5 Max and M5 Ultra x 2, default and raised, and that each offered placement fits every Mac's GPU limit and its memory at rest. Red first: 5 placement checks and 3 provider tests fail without the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(integration): the cluster runners compile ClusterOnboardingBrand.swift The mode lines' fit (#1797, d3d2e76911) measures rows with ClusterOnboardingBrand.textColumns in ClusterOnboardingFlow.swift; the control, installed-session, diagnostics, console and placement-flow runners compile that file without it and stopped at "cannot find 'ClusterOnboardingBrand'". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(provider): publish a pair's capacity once its admission is settled `releaseLane` published the capacity on its own, so `complete` published a snapshot with the admitted request's lane free and not yet in `actives`, and published again a moment later. The caller now publishes once: `complete` on return (as it already did), the refused reservation after its release. The same queue turn, so the lane check and every count are unchanged. Also the bridge's comment on `submitAwaitingQueue` no longer says a reservation holds the pair's queue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): two Macs of the same hardware are planned at the same speed, so the first pipeline offer is the split that loads R6-3 (M5 Ultra pair, DevNet branch.81): with nothing serving, right after production's pair stopped, the mode question's first offer for GLM-5.3-Flash's pipeline was "this Mac 1 layer / the other Mac 44 layers"; 24 / 21 loaded, and every later offer said 24 / 21 (R3-3, R4-7 and R4-13 saw the same flip). Why: until a model has served on the pair, ClusterHardwarePrior.absolute gives each Mac the rates of its own device index, about a second of GPU work sampled when the profile is read (and slow beside other GPU work, such as another app's pair unloading). A pipeline's time is each Mac's layers at that Mac's rate, so between two identical Macs any difference moves the whole cut to one end. In a placement check on two M5 Ultras 256 GB with GLM and the keyed link measured, an index 0.1% lower on one Mac turns 24 / 21 into 1 / 44. Once the pair has served, speeds are keyed by chip and OS build, the same for both, and the cut is balanced: the later offers. No cached plan or stale memory sample was involved; the adopted plan is still the one shown (83bc9b9480). Fix: ClusterHardwarePrior.sameHardwareIndex. Macs with the same chip, GPU cores and OS build take the fastest index any of them measured with the same benchmark, as the speed estimator already takes their ratio as 1. Other hardware keeps its own index. Order-independent, so both Macs compute the same plan. Checks: placement check "glm first offer" (indices equal: 24 / 21; this Mac's 0.1% or 3% lower, the other Mac's 0.1% or 10% lower: the same 24 / 21 and one rate; fewer GPU cores keep a slower rate). Red without the fix: 8 of 1586 failed (1 / 44 and 44 / 1). Two DistributedAutomaticBatchPlannerTests modelled a faster Mac by its index alone on the same hardware; their faster Mac now has more GPU cores. Changelog: cluster-mode-question-and-local-network-row.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * cluster: each paired Mac names its part at the top, "Leading Mac" or "Joining Mac" The owner, 2026-11-05: "at the top of the Dark Bloom logo, if it's darkbloom cluster, put lead and or member … So the user always knows which machine is the leader, and which is the member." - A paired Mac's opening (darkbloom cluster, and the screen start, stop, restart and update open in a terminal) is titled "Darkbloom cluster · Leading Mac" or "Darkbloom cluster · Joining Mac" (ClusterOnboardingDriver .title(_:)), the screens' own words for the two Macs. Beside the mark it is the second row; without room for the mark, the heading line; in plain output, the first line, once. It is read from the saved role at each run, so a lead that moved is named as it is now. - A first setup, before the two Macs pair, keeps "Darkbloom cluster" alone; the pairing's own line then says which Mac leads. - Rendering only: no screen's text below the title changes. Onboarding checks: 1589 passed, 0 failed (the new role checks, both Macs at 80 and 40 columns and plain, failed 12 on the base; one older check updated to the new title). Filtered swift test (ClusterOnboarding|ClusterPairCommands| DarkbloomCommandLook), sandboxed: prod 28 + 105 tests passed. Dev: 28 passed; ClusterPairCommands has 72 issues in dev identity, the same 72 on the base without this change (its expectations name `darkbloom`, the dev build says `darkbloom-dev`). docs-check and changelog-check OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * feat(cluster): gpu-limit on every Apple silicon Mac with 128 GB or more Owner, 2026-11-05: "yes widen, why wouldn't we". - ClusterGPUMemoryLimit.raisedByDarkbloom is capability-based: Apple silicon of any M generation (the chip's own name, no generation allowlist) with 128 GB or more. GLM5NextGPULimitEligibility delegates to it and gives the plain refusal (not Apple silicon; under 128 GB); the command prints it and exits 2. The planner's memory verdict counts an M4 Max's (or M3 Ultra's, M2/M1 Ultra's, M3 Max's) raise where it makes a split fit, so the model row names `gpu-limit` on that Mac first. - The values are the planner's ceiling (memory less 16 GiB, a sixteenth from 512 GB) and 95% wire limits; GLM5NextWiredLimitRequest still refuses any other value. - A Mac that does not report iogpu.wired_limit_mb or a wire limit is never changed: refused with the setting's name before any question. - Consent, macOS's administrator prompt, the boot job, the read-back before ✓ and --undo are unchanged; the prompt's "leaving macOS N GB" is computed. - Wording everywhere: "Apple silicon Macs with 128 GB or more". Red first: 5 placement checks and 3 of 20 provider tests fail on the M5-only rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): ✓ through Darkbloom only for a pair the coordinator serves publicly DevNet 2026-11-05 (0.10.6-dev.branch.82): a Gemma 4 26B tensor-parallel pair committed under the model approval devnet/gemma-4-26b-qat-4bit/s1 and both screens said "✓ Serving … through Darkbloom", cluster status `serving`, while every public request got 429 `cluster_not_public … (unqualified)`. The coordinator serves a session to any account only under a promotable parity qualification of its approval and mode family. Qualifications attach only to a build-pinned approval and a release derives them only for the models it declares public (ClusterPublicModels), so a model approval or a pair approval saved by hand serves its owner only. Branch.82's release block had no Gemma (DevNet's catalog lacked it when it was published), so the Macs could only take the hand-posted model approval. - ClusterPublicServingCheck.ownerOnlyReason applies that rule to the saved approval and the setup's mode family; each offered part writes the reason to its log after it registers (ClusterMemberPreparation.ownerOnlyReason). - pairLook and ClusterPairSummary.ownState: a pair that serves with that notice is "Not serving publicly: the coordinator paired both Macs but doesn't send public requests to this pair (…)", with what to do (ClusterOnboardingNotServing.notPublicRemedy), never ✓. The provider still can't see the coordinator's other public checks (account, data plane, member verification). Tests (red first): ClusterPublicServingCheckTests (DevNet's own approval entries), ClusterPairCommandsTests.ownState. Onboarding checks: 1508 passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(cluster): the coordinator's wait says only what the Macs report, can be left, ends on a stop; the joining Mac follows a model change DevNet pair-2 (branch.81/82, 2026-11-05): - The 15-minute ✗ blamed Apple verification on two authorized Macs (the coordinator refused serves_model): pairServing kept the first reason it ever saw. ClusterOnboardingPairWait decides look by look; at the bound with nothing reported it says the coordinator didn't pair both Macs within 15 minutes (its own reason when known, e.g. #1799's catalog refusal). A trust word on Macs that report their authorization is the coordinator's, never Apple's. - q/Esc did nothing in the coordinator's wait: awaitPairServing now leaves on them, saying the pair keeps trying and to check with `darkbloom status`. A `cluster stop` from anywhere ends the leader's wait at once (its saved start is off) and the joining Mac's once the leader's status stays Stopped 20 s: 'Stopped (by `darkbloom cluster stop` on one of the Macs) …'. - R5-8: `darkbloom cluster` on the joining Mac follows a start the leading Mac publishes (a model or mode change, a Retry) instead of 'This Mac runs its part by itself … Close'. Onboarding checks (WaitHonestChecks.swift) failed first: 8 behaviour failures against 88740bd446's flow, the pure checks by compile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(cluster): the coordinator's wait, leaving it, a stop, and the joining Mac following a model change Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * cluster: a color screen folds each finished step to one line; the whole flow goes to a log The owner, 2026-11-05: "Is there any way to also capture all of the flow in one space, instead of the next line keeps dragging down … instead of keep dropping down a million lines in the CLI." In a color terminal at least 40 columns wide (ClusterOnboardingTerminal only): - When the next step's heading comes, the step that finished folds to one line, "✓ 2/4 Pair (1 min 12 s)", above the lines that stay: the question before each choice with the answer taken (the pairing code among them) and any outcome block. The last step and the outcome stay whole. - It folds only when all of the step is still in the window (its rows, counted at the window's width now, under the window's height now): rows that scrolled off can't be redrawn, so a taller step is left as it is. A step that showed a ✗, or during which another command wrote to the terminal (sudo, darkbloom login, through `suspended`), never folds. - Each run's whole flow, plain and line by line, goes to ~/.darkbloom/cluster-setup/screens/screen-<UTC time>Z-<pid>.log (owner-only, the 20 newest kept). Its path is the last line ("Full log: …"); a ✗ block names it instead. - Plain output (pipes, NO_COLOR, TERM=dumb, narrower than 40 columns) is byte for byte unchanged, and writes no log. - Both Macs; the role title (2d702ae1d9) and the joining Mac's progress rows are unchanged. No screen text changes, so other branches' text merges. Onboarding checks: 1630 passed, 0 failed. The new fold checks (leading Mac at 80 and 40 columns and through a resize, joining Mac at 80, a step taller than the window, plain unchanged and no log, the ✗ block's log line), checked on a small terminal emulator of the raw output, failed 14 on the base with only the interface; one older check's bloom test now matches the bloom's own redraw. Filtered swift test (ClusterOnboarding|ClusterPairCommands|DarkbloomCommandLook), sandboxed: prod 28 + 105 passed. Dev: 28 passed; ClusterPairCommandsTests keeps its 72 dev-identity issues, as on the base (`darkbloom` vs `darkbloom-dev`). docs-check and changelog-check OK. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(provider): a pair's batch replan that cannot be swapped in is proposed again and again (red) Pair-2 (M3 Ultra + M5 Max, Gemma 4 26B tensor parallel served locally) logged proposal lanes=8 -> prepared -> rollback_prepared every ~35 s, each cycle draining the lane and reloading the old setup (~15 s). Gemma has no tensor-parallel batch quote, so queued demand priced an 8-lane pipeline. The local server swaps in only a session with the same endpoint contract, and Gemma captures committed-token logprobs in tensor parallel only, so the swap fails after the drain, and nothing remembers the failure. Four checks, red against stubs that keep today's behaviour: - the planner's endpoint predicate allows a tensor-parallel Gemma generation to be replaced by a pipeline; - it disagrees with the session profiles the server compares; - a replacement that failed after release is allowed again at once; - the factory proposes a width that just failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(provider): a pair's batch replan keeps the API's features and remembers a failed width Pair-2 (M3 Ultra + M5 Max, Gemma 4 26B tensor parallel served locally) repeated proposal lanes=8 -> prepared -> rollback_prepared every ~35 s. Each cycle drained the lane, adopted a setup on both Macs, failed, and reloaded the old setup (load_ns ~15 s), so queued requests waited minutes (4 at once: 118 s; a health request: 412 s). - Gemma has no tensor-parallel batch quote, so its batch scope prices only the pipeline, and the planner proposed an 8-lane pipeline. The local server swaps in only a session with the same profile, and Gemma captures committed-token logprobs in tensor parallel only, so `prepareGeneration` refused it (`replacementIdentityChanged`) after the drain. The planner now refuses a width whose mode changes the endpoint contract before anything drains (`keepsEndpointFeatures`; `cluster.batch_replan refused`, `reason=endpoint_features`). - Nothing remembered a replacement that failed after release. The factory now records it when the host asks for the restore (`cluster.batch_replan failed`), and proposes that setup and width again only after 2 minutes, doubling per repeat, at most 30; a changed setup is tried at once (`DistributedAutomaticBatchFailures`). The memory-based width choice is unchanged: only widths both Macs admit now are proposed. The logprobs rule, the factory's Gemma eligibility and the binding check date from 8197ff922e (v0.10.6), not 0.10.9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * docs(cluster): a Gemma TP pair serves one request at a time, and a cancel in its prompt keeps that lane Option (a), pricing a Gemma tensor-parallel batch width, is not safely possible in this window. Gemma's TP runtime does run batched lanes (`Gemma4TensorParallelLaneReservation`, `pagedHost(lanes:)`, the lane contract), but nothing prices them: there is no Gemma tensor batch quote (`ClusterPlacementTensorBatchQuote.runtimeModelIDs` is Qwen only), no saved `batchLanes` for Gemma TP (`ClusterConfiguration`), and the TP-to-TP replacement path (incumbent shares) is Qwen only. The wording was already truthful: the mode question and the setup's lanes come from `DistributedInstalledPlan.batchLanes`, which gives Gemma TP its default of one. Two guard checks pin it (green on this base; no source changes here), and the docs now state the known limitation: at one lane a cancel during the prompt is a clean stop at the first token, so the lane is held until the prompt is read (~68 s for 15.8K tokens on pair-2), as on a GLM pipeline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Provider toolchain: build and release with Xcode 27.2 (SDK 27.2, Swift 6.4.2) The Darkbloom Sandbox macOS CI base moved to Xcode 27.2 (27B52), which has no SDK 27.0. prepare-provider-release-toolchain.sh accepted only SDK 27.0, so every provider CI job failed in its first step. - DARKBLOOM_PROVIDER_TOOLCHAIN=release (release-provider.yml, provider-signing-validation.yml, master and dispatched release preparation) accepts SDK 27.2 and Apple Swift 6.4.2 only. - The default, qualification (ci.yml, pull-request release preparation, the sandbox base check), accepts SDK 27.2 or 27.0 and Swift 6.4.x. SDK 27.0 stays while production runs the Xcode 27.1 base (issue 1790). - The step tries the image's Xcode, then each installed Xcode, newest first, and takes the first with SDK 27.2. It exports DEVELOPER_DIR when it selects another Xcode, so Metal, xcodebuild and signing match. - PROVIDER_SDK_VERSION is the selected SDK. The older-macOS smoke and the release resume expect 27.2. - The signing validation workflow uses the same step and wrapper. - mise pins Swift 6.4.2. Docs and a changelog fragment follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Provider toolchain: refactor pass on Xcode selection Behavior-preserving cleanup of the 27.2 toolchain step: - One path for an explicit toolchain root and an image CLT; the Xcode candidate search is the select_xcode function. - The Applications folder is read once. - No ticket number in the script, build docs or changelog fragment; the removal condition for SDK 27.0 stays stated. - The toolchain tests share one GITHUB_ENV reader. Accepted SDK and Swift versions, modes, outputs and messages are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * CI: route the macOS jobs through Darkbloom again (Blacksmith fallback); reverses #1733 part 1 (#1771) * ci: route the macOS CI jobs through Darkbloom again (Blacksmith fallback) Reverses only part 1 of #1733, which pinned the macOS jobs of ci.yml to blacksmith-12vcpu-macos-27. The route job again requests a Darkbloom lane for each macOS job that will run, and each job runs on its lane's decision: - test-provider-1..3 (one per shard), test-provider-summary - test-provider-sdk - test-cluster-checks, test-cluster-1..3, test-cluster-gpu-1..2, test-cluster-focused This is dev's wiring from just before #1733 (per-shard lanes from #1691, cluster lanes from #1737) with today's matrices and conditions: 3 provider shards (#1749) and the cluster component gate. The fallback label, the shard matrices, SAVE_CACHES and #1752's .git and SwiftPM caches are unchanged. A lane that the pla…
This branch had an error being 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.
Summary
DevNet round 5 for provider 0.10.9. Each change below is about two Macs serving as a pair.
new plan for Darkbloom. No screen says ✓ until the coordinator has the pair. A pair that isn't offered to Darkbloom
says so and why.
row macOS actually shows.
Sharing for a Mac with no display. Over SSH it stops before trying anything.
and ends with a ✗. Every live line fits in one row.
a copy or download.
darkbloom stop --solo. The pair no longer retries in a loop.darkbloom updateends once this Mac runs the new release.cluster stop --serviceworks when the other Mac is off.cluster gpu-limitsays ✓ only after reading thesetting back.
fix and wedge monitor).
uninstallandcluster link --removeundo every cable port Darkbloom set up.networksetupwon't remove a port's only service, which Darkbloom's always is on a Mac with factorynetwork settings (proven on pair-2's MacBook). So the restore removes it through
scutil --prefs(
remove,commit,apply), guarded by the service's name and device and confirmed afterwards.Linked issue
Closes # (DevNet round 5: R4-4, R4-7, R4-8, R4-9, R4-12, R4-13, R4-15, R4-16, R5-1 to R5-4; #1719)
Test plan
The head is
8e931784cb, prod identity unless noted. Details are inintegration-validation.md.888b43e04190e9060f59bac9a58c4f,6a3874827c(R5-2, a port's only service)3a7ee85540GLMImageAdmissionChecks/run.sh: 40 checks8e931784cb468d5cfd23(a pasted fallback runs as the script does)Release Integrity's one local failure is
test-threat-diagnostics.py, which fails only on Python 3.14.DARKBLOOM_RELEASE_ENVIRONMENT=prod swift build --build-tests: build completebash provider-swift/Tests/ClusterOnboardingChecks/run.sh: 1508 passed, 0 failedClusterControlChecks/run.sh: 229 passed.ClusterInstalledSessionChecks/run.sh: passed.ClusterLinkChecks/run.sh: 2522 expectations passed.ClusterPlacementChecks/run.sh: 268 passedswift test --skip-build --no-parallel, sandboxed (cluster onboarding, status, control, pair commands,solo serving, provider-instance holder, update lock, uninstall, GLM5 limit): 508 tests, all passed
ci.yml: all pass excepttest-threat-diagnostics.py, which fails onlylocally on Python 3.14
make docs-check(207 OK),make changelog-check(67 valid),make docs-impact-check BASE=origin/dev(OK),git diff --check origin/dev HEAD(clean)bac9a58c4f,6a3874827c):ClusterLinkChecks/run.sh2528 passed (red first: 9 and 3 failed). This includes a check that runs thegenerated restore line in
/bin/shwith stubs: a no-opscutilexits non-zero and nothing after it runs.ClusterLinkControlHostTests|UninstallCommandTests|ProviderUninstallTests: prod and dev pass.were removed, and en6 went back into bridge0.
90e9060f59(separate dev build): DevNet names, onboarding wording, status truth anddevBranchBuildsDefaultToDevNet: 15 passed. In the broad dev filter, all 37 failures are inClusterPairCommandsTests, whose expected text uses the prod command name (known)ObservabilityChecks/run.sh(incident classifier): 216 passed, 0 failedGLMImageAdmissionChecks/run.shat3a7ee85540: 40 CPU checks pass (this PR's first CI run failed to compile it)ClusterPlacementChecks/run-flow.sh,ClusterDiagnosticsChecks/run.sh,ClusterConsoleChecks/run.sh: none ofthem is in CI, and none compiles since cluster: GLM-5.3-Flash loads on two 128 GB Macs: requests admitted on arrival, GPU limit raised with consent (owner decision) #1719 (they lack the GLM memory closure). Follow-up
Components touched
Protocol / interface changes
No protocol/interface changes
Yes. Only new optional fields in the cluster service's status and control replies between the two Macs of a
pair, over the cable:
step: kind, reason, version);soloServing);ClusterOnboardingStartProgress: step, bytes, per-Mac parts);otherMacUnansweredon a stop.All of them decode as absent from an older Mac, and an older Mac ignores them, which the tests check. A new
stopSolocluster command acts only after the person consents. A new CLI command isdarkbloom cluster gpu-limit.Nothing changes with the coordinator.
ProviderCore.versionand the release artifacts are unchanged.Documentation impact
docs/provider/two-mac-cluster.md,docs/provider/agent-setup.md(newsignal rows for single-Mac serving and the Local Network row),
docs/provider/cli-reference.md,hardware-requirements.md,installation.md,docs/reference/configuration.md, the architecture pages(provider, inference, hardware support, attestation, local control) and
docs/threat-model.yamlChangelog
changelog.d/fragments (one per branch) and ranmake changelog-check.Notes for reviewers
fix/cluster-scope-switch-public-plan@2fc7a90d45fix/cluster-wedge-pair-no-steps@3d5c23b199(+fix/cluster-coordinator-queue-unblock@278f26b1bf)fix/cluster-round5-mode-and-hints@0e6846cf8c, then3c85bb4949fix/glm-pair-128gb-load-0109@8907239fddfix/cluster-screen-sharing-note@c359a97366fix/cluster-follow-wait-clarity@dcba26f4e3fix/cluster-solo-provider-blocks-pair@168f4a2101fix/cluster-pair-update-member-setup@2075ee648dfix/cluster-member-progress@9077bf429dfix/cluster-round5-mode-and-hints@bac9a58c4f,6a3874827c(merge90e9060f59)fix/cluster-round5-mode-and-hints@468d5cfd23(merge8e931784cb)sh -eblock that runs exactly the script's stepsbc5c7cd530,888b43e041,3a7ee855403a7ee85540: the sixth runner, GLM image admission); the onboarding alarm 300 → 600 sEvery conflict was resolved to keep both sides. The resolutions are recorded in
integration-validation.md. Thestart path now runs: plan for the scope, then the mode, the fit recheck,
publishStep(.starting)andadopt, thenthe readiness wait, which also checks for single-Mac serving and publishes the start's progress.
Before And After
flowchart LR subgraph Before["Before (0.10.8)"] A1[Joining Mac: 'Waiting for the other Mac' with no reason or limit] --> A2[Ends in a plain sentence] B1[Single-Mac serving on a Mac] --> B2[Part exits 1 and restarts in a loop; 'another update operation owns the lock'] C1[Switch to Darkbloom] --> C2[Keeps the local plan; ✓ before the coordinator has the pair] D1[After an update] --> D2[Member starts its old setup; fails 6 times] end subgraph After["After (0.10.9)"] E1[Joining Mac: what the leader waits on, the same progress rows and bar, 'n of 15 min'] --> E2[Every wait ends in a ✗ with the next step] F1[Single-Mac serving on a Mac] --> F2[One ✗ naming the Mac and process; offers to stop it with stop --solo; no retry] G1[Switch to Darkbloom] --> G2[New plan for Darkbloom; ✓ only once the pair is offered and accepted] H1[After an update] --> H2[Member waits for the leader's new setup; update ends when this Mac runs it] endsequenceDiagram participant L as Leading Mac (darkbloom cluster) participant S as Leader's cluster service status participant M as Joining Mac (follow screen) L->>S: publishStep(localNetwork / modelList / starting) M->>S: status (every 1 s) S-->>M: step (optional; absent from an older leader) L->>L: login check → plan for the scope → mode → recheckFit L->>S: publishStep(starting) → adopt → serve loop readiness wait L->>L: soloServing? → ✗ and offer stop --solo L->>S: publishStart(loading, parts) M->>S: status S-->>M: start progress (step, bytes, per-Mac rows) end L-->>M: the same outcome on both screens (✓ only with proof)Refactor Pass
scope switch, wedge, hints
0e6846cf8c, GLM cluster: GLM-5.3-Flash loads on two 128 GB Macs: requests admitted on arrival, GPU limit raised with consent (owner decision) #1719: done on each branch; seer4-7-fix.md(B1/B2),r4-9-fix.md§9,round5-mode-and-hints.mdandpr1719-on-dev.md.follow-wait (4), solo serving (1), hints
3c85bb4949, screen notec359a97366, pair update (3), member progress(2): the integration pass covered these.
ClusterLinkApproval.request(wiredLimit:)moved next toGLM5NextWiredLimitRequest, so the model-free link sources no longer depend on the GLM memory code.the churn in this round.
R5-2, a port's only service (
bac9a58c4f,6a3874827c): an independent review (GO) checked:osascript);set -eagainst the read-back (fixed in6a3874827c);Known limits: other network Locations keep a link to the removed service; the order is the one read before the
prompt; a failed
applyis caught by the re-check afterwards.Final focused validation at
888b43e041: onboarding 1508/0, control 229/0, link 2522, placement 268, filteredSwift suites 508 passed, docs, changelog and diff checks clean.