Skip to content

DO NOT MERGE: 0.10.12 candidate - #1952

Closed
jonathan308 wants to merge 171 commits into
devfrom
release/candidate-0.10.12
Closed

jonathan308 wants to merge 171 commits into
devfrom
release/candidate-0.10.12

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

DO NOT MERGE. A candidate integration of provider 0.10.12 so the full CI (dev) runs on the exact tree the real landings will produce, GPU and cluster shards included. It is closed once dev holds the real merges.

What it is

dev at 0f11fbe01a plus, in the release plan's merge order, every 0.10.12 PR approved by review, each as a signed merge commit of the PR's current head. Each conflict is resolved here exactly as the PR's own dev merge must resolve it when it lands (the resolutions are recorded with the release kit).

Order PR Head Conflict
1 #1928 ecd761565c —
2 #1929 942effd915 —
3 #1931 92d3669ae9 docs/architecture/inference.md (the Gemma Pipeline bullet: #1931's words plus #1928's READY-capacity sentences)
4 #1921 cd4c529e5a —
5 #1941, #1942, #1943, #1945 118cdae448, bc816cf268, b58b276f4f, b8d937a47d —
6 #1949 94e0b25bc3 ClusterOnboardingLive.swift localStatus (#1931's awayLines plus #1949's wait line while waiting)
7 #1950 bc02629520 —
8 #1562, #1609, #1610 c0d33913d0, 265f22f016, 548a04b16c —

Pending (re-merged as their heads land): the D6 stack #1934 → #1935 → #1933 (delta review; then the 262,144 flip), the C1 stack #1936 → #1939, #1937, #1940 (review fixes), #1948 (fix), #1946 (GPU gate), #1449 (iPhone check), #1922 (David's fixes), #1671 / #1944 / #1614 (SDK pin moves).

This branch is rebuilt (never force-pushed: a new merge on top, or a fresh branch) as heads move.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

jonathan308 and others added 30 commits November 8, 2026 00:12
"Recommended for your Mac" ranked models by seven-day network earnings,
which favors models that many fast Macs serve: an M3 Ultra or M4 Max was
steered to Gemma, which pays those Macs almost nothing under speed-first
routing.

When the coordinator publishes /v1/stats model_earnings[].by_chip (what one
Mac of a chip earned per day from each model over 24 hours), rank by this
Mac's chip: the median, then the mean, keeping models whose mean is above
zero. The card shows "$X a day typical · $Y average" and names the chip.
Without per-chip rows, or with stale or malformed data, the ranking falls
back to network totals as before. The Swift runtime already relays
model_earnings unchanged, so no runtime change is needed.

Tests: modelsChipRecommendations.test.ts (parsing, ranking, fallbacks) and
modelsChipRecommendationsView.test.tsx (Models screen copy and order) fail
on master and pass here; the full desktop suite passes (102 files, 669
tests); tsc and prettier are clean.
…nothing here

Refactor pass over "recommend models from Macs with the same chip".

When /v1/stats carries by_chip rows for this Mac's chip, but none for a model
this Mac can serve with a mean above zero (for example only a model too large
for it, or models that paid nothing), recommendedModels returned no model: the
Models screen said "No earning recommendations yet" and onboarding hid the
recommendations, although network totals were available. chipRanking now keeps
the per-chip earnings only when they recommend a model this Mac can serve;
otherwise the ranking and its copy fall back to the seven-day network totals
together. The parser's amount predicate is renamed isAmount.

Tests: modelsChipRecommendations ("falls back to network totals when this chip
earned from no model this Mac can serve") and modelsChipRecommendationsView
("falls back to network totals and says so ...") fail on 2830505 and pass.
…r another model blocked them

A selected model left cold by memory (skipped by the startup preload, or
unloaded by an Autopilot operation to place another model) is retried from
the capacity tick until it is resident again, evicting only idle models
outside the selection within Autopilot's victim rules. `darkbloom status`
says why it waits and when a saved `enabled_models` differs from the
running selection. Shutdown waits at most 15 s per unload instead of
forever for a slot whose native retirement never finishes.

Rebased onto dev as one commit (was 17 commits plus four master merges on
master). The merges carried the #1606 drain and #1620 add-on hold
resolutions, so the branch's net change is re-applied instead of replaying
each commit. Resolved against dev: #1730's operator model filter
(`operatorModelFilter`) is kept beside this PR's `savedEnabledModels` and
`enabledModelsAtLastSwitch`; `DaemonState.registeredModels` is kept beside
the new optional keys; the add-on hold calls dev's `publishBusy()`; the
recovery invariant in model-autopilot.md is numbered 11 after dev's
operator-filter invariant 10.
A video or audio reader that fails twice with a transient decoder fault, and a
Nemotron Super video whose decode allowance runs out, were refused as
requestRejected: 503 capacity with error reason capacity_busy. The coordinator
reads capacity_busy as a full token budget: it clamps the provider's budget
for the model to zero for up to 5 minutes and adds capacity strikes.

These refusals now throw mediaMemoryUnavailable: the same 503 capacity, with
error reason media_memory_unavailable. The coordinator re-routes it like
capacity_busy (TransientCapacity, three capacity refusals at most, reservation
refunded), but the reason is health-neutral, so there is no clamp and no
strike.

- EngineV2VisionPrefill.constructionRefusal(for:mediaKind:) holds the shared
  funnel's refusal (GLM and Qwen4, single Mac and cluster pair).
- MiMoV26EncodedMediaIngress.outwardFailure and SuperHTTPErrors.map use the
  same case.
- The decode allowance doc comment and docs/architecture/inference.md say the
  margin at the 120 s cap is about 6.4 times an idle M3 Ultra for the largest
  movies, not 10 times.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
af057f4fc9 adds CorruptClipDecoderCodesTests, a test-only change: corrupt
H.264 and HEVC clips decode with AVFoundationErrorDomain -11821 <
NSOSStatusErrorDomain -12137, never with a transient code, so
kVTVideoDecoderMalfunctionErr (-12911) stays in the transient set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and immediate; words, keys and status (red)

Red first for D2 (W1's journey 3, "The other Mac away", pair-2 on DevNet c498607), with the new names stubbed:

1. rankZerosPairAPIRefusesAtOnceWithTheTypedAnswerWhileItsPairDoesNotServe: rank 0's real pair API behind a member's
   relay. Before the pair's slot (its part binds the API before the pair forms, as when it starts again), while the
   warmup canary runs, and once a stop begins, a request with the member's key or rank 0's own gets the typed 503
   (pair_api_unavailable, Retry-After: 10) at once, in words true on every Mac; one without a key the API's 401.
   Fails today: "Provider capacity is temporarily unavailable." with no code, and a request during the canary waits
   for it (up to 300 s). aPairNotServingPastTheAPIsDoorIsTheTypedAnswerToo: the same answer when the pair stops
   serving once a request is in (a lost rank, cluster local's session). aDrainRefusesWaitingLocalRequestsAtOnce: a
   drain refuses waiting and new local requests with the pair's 503 (today 429).
2. theRelaysWordsNameTheOtherMacAndWhatToDo: both reasons say `darkbloom stop`, then `darkbloom start --solo`, and
   exactly when `start --solo` by itself is refused (while this Mac's part holds its serving lock: up to 15 minutes
   after the other Mac last answered over the cable). Fails today: pair_api_unavailable says no remedy, and neither
   says when --solo is refused.
3. aRefusalNamesTheOtherMacOnlyToACallerWithAKey: a key in the local key format the member doesn't hold (the leader's
   own, which works through the member while the leader is up) gets the typed 503 without names; no key, no Bearer,
   or a key that isn't a local key keeps the API's 401. Fails today: 401. The fixture keys take the shape real keys
   have (dk-local- and 43 characters).
4. whileRankZerosAPIIsDownTheRelayKeepsItsPortAndItsStatusSaysSo: rank 0's status says its pair's API is down for
   now (part restarting or not bound yet): the relay keeps its port and target, and the service says so
   (relayRankZeroAPIDown); alone, own-Mac-only, stopped or not rank 0 stop it as before. Fails today: the relay stops
   and the member's port refuses connections until rank 0's API is back. CLI:
   aMembersStatusSaysItsRelayAnswers503WhileThePairsAPIStartsAgain, localOnAMemberWhosePairsOtherMacIsAwaySaysSo and
   aRelayThatCantAnswerForThePairSaysWhyAsStatusDoes (doctor) say "answers 503 for now", never "not listening".

Stubs: ClusterServiceStatus.relayRankZeroAPIDown and RelayState.rankZeroAPIDown (published, never set),
ClusterLocalRelay.rankZeroAPIDown (false), ClusterPairSummary.relayRankZeroAPIDown and memberAPIRestarting (nil);
ClusterService.relayTargetPort is readable in tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…vers the longest request it serves

#1923's independent review (`review-1923.md`, §4 and follow-up 1): no test
pinned a pipeline stage's READY capacity or its KV host's bound. Mutants MA
(READY back to the memory plan) and MB (the stage host bounded by the memory
plan) survived every test, CPU and Metal, because no test runs
`QwenResidentRuntime.load` or `Gemma4TensorParallelResidentRuntime.load`.

So both are named functions that `load` calls, moved out of it as they were
(no behaviour change), and tested:
- `QwenResidentRuntime.stageKVHostBound(_:)`: the longest request each
  loaded stage's KV host is bounded by, the served profile's;
- `QwenResidentRuntime.stageRequestCapacity(…)`: READY's request capacity,
  the memory plan's planned bytes, or one request at the served context and
  chunk with the schedule's prefill for the served prompt when that is more;
  `stagePrefillAllowance(…)` is `load`'s former local `prefillAllowance`;
- `Gemma4ResidentLoadedStage.requestAllowance(specification:plan:rank:…)`:
  the stage allowance's arithmetic from the registered row alone, which the
  loaded stage's method calls after its plan check;
- `Gemma4TensorParallelRequestCharge.hostBound`: the bound a rank's paged
  host is built with (READY's capacity was already `capacityBytes`).

Tests:
- ResidentAdmissionGemma4Tests.eachStageHoldsAndCoversTheLongestRequestItServes:
  every registered row, cuts 1, 6, 15 and 29 (sliding-only and full-attention
  stages), both ranks, both prefill schedules. The host bound is 262,144 in
  512-token chunks. READY = max(the memory plan's planned bytes, the 262,144
  request + its prefill), asks the stage for exactly (262,144, 512), and is at
  least what a reservation or a lane charges for 7 request shapes up to
  262,143 + 1 and 229,376 + 32,768.
- Gemma4NativeContextTests.aRankHoldsAndCoversTheLongestRequestItServes: the
  TP host bound is 262,144 in 512-token chunks (65,536 for a profile within
  its memory plan), and READY covers every request shape at chunks 512, 64
  and 1, with and without its capture.
- ResidentAdmission27BTests: a Qwen stage (27B and 9B) bounds its host by
  the memory plan, and its READY is the planned bytes, asking no longer
  request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… to do, and the member's status matches its relay

D2 (W1's journey 3, "The other Mac away"), green:

1. The untyped 503 ("Provider capacity is temporarily unavailable.", once after 19 s) came from the leading Mac's pair
   API, passed through by the member's relay byte for byte. The pair's API now answers the relay's own typed 503
   (pair_api_unavailable, Retry-After: 10) from the first request and never holds one while its pair can't take it:
   - LocalPairGateResponder, behind the key check and inside the router (which may pass it on as any 503 of this
     Mac's), refuses a POST at once while the pair takes no requests: no slot yet, the warmup canary, retiring. It
     reads LocalResponseTracker.pairServes, a lock that follows clusterPairAdmissionOpenSlotID, never the loop actor.
   - The drain door (LocalDisconnectResponder.refusal) answers the typed 503 to a caller with either key and the
     API's 401 to any other (it was the capacity 503, before the key check).
   - CORSResponder maps a refusal raised past the gate (requestRejected(DistributedRequestQueue.unavailableMessage):
     a queued request when a rank is lost, cluster local's session) to the same 503, and a drain refuses waiting and
     new local requests with clusterPairNotServing (it was 429): throwIfClusterPairRefusesLocalWork.
   - The words, true on every Mac and through a relay: ClusterLocalRelay.pairNotServing.
   The 12 s lease-silence rule is unchanged.
2. Both relay 503s and the API's own end with servingAlone: `stop`, then `start --solo`, and exactly when
   `start --solo` by itself is refused (while this Mac's part holds its serving lock: up to
   ClusterPairWatch.giveUpSeconds after the other Mac last answered over the cable).
3. ClusterLocalRelay.Caller.otherKey: `Bearer` with a key in the local key format (LocalEndpoint.isToken) the member
   doesn't hold gets the typed 503 without names (Refusals.otherKey…); a key the member can tell is wrong keeps the 401.
4. ClusterLocalRelay.rankZeroAPIDown: while rank 0's status says its pair's API is down for now, recordRankZeroAsk
   keeps the relay's target (it stopped the relay before) and publishes relayRankZeroAPIDown; status, local and doctor
   say "answers 503 for now" in the 503's words (ClusterPairSummary.memberAPIRestarting).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…when --solo is refused; changelog

two-mac-cluster.md "If a Mac goes away": both reasons' words with when `start --solo` by itself is refused, the key the
other Mac can't judge, what the first 12 s answer (the same 503 within 3 s), and the part stopping while its Mac stays
(pair_api_unavailable at once, from the first request; the other Mac's port stays up and its status says so).
direct-mode.md: the pair's leader rows (the gate, the warm-up request, the drain, a lost rank, the relay's rows) and
the graceful drain. cli-reference.md: status, local, doctor and the signal drain. inference.md: the leader's local
requests (the gate in the flowchart and item 4) and the relay (item 9). New fragment
changelog.d/cluster-pair-relay-first-answer.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the tests that pin them

inference.md's "Gemma 4 native context on a pair": READY's capacity on a stage is
`QwenResidentRuntime.stageRequestCapacity` (the larger of the memory plan's planned bytes
and one 262,144-token request with its prompt's prefill), each stage's KV host is bounded
by `stageKVHostBound` and a tensor-parallel rank's by `hostBound`; `load` takes them from
these functions, and the two new tests pin them per stage and per rank. The sources list
names the functions. `docs-impact-check --base origin/dev` and `docs-check` pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y-pins

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (the focused checks build it without the server)

CI's cluster focused checks (ClusterDiagnosticsChecks, ClusterInstalledSessionChecks, ClusterConsoleChecks,
ClusterPlacementChecks run-flow) compile every Distributed/Installed file with swiftc and no Server files, so
`LocalEndpoint.isToken` didn't resolve there ("cannot find 'LocalEndpoint' in scope"). The relay reads the key's
shape itself, on the head's bytes (ClusterLocalRelay.isLocalKey: `dk-local-` and 43 base64url characters), as it
already reads the API's key check. theRelayReadsALocalKeysShapeAsTheAPIDoes pins it to LocalEndpoint.isToken: the
three fixture keys, two generated ones, and ten that aren't keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pair API's gate and the relay's status

The refactor pass for #1929 (d-inference AGENTS.md, "Required Refactor
Pass"). Behaviour preserved; no assertion changed or weakened.

- One property for the "Local API: … answers 503 for now" line that
  `status`, `darkbloom local` and `doctor` print on a Mac that relays the
  pair's API: `ClusterPairSummary.memberAPIUnavailable` (`memberAPIDown`,
  else `memberAPIRestarting`), in place of four copies of
  `memberAPIDown ?? memberAPIRestarting`. `start --opencode` and the app's
  Start keep reading `memberAPIDown` alone, as before.
- `memberAPIDown` and `memberAPIRestarting` share their rule for a Mac that
  may relay (`mayRelayPairAPI`), the relay's words (`relayWords`) and the
  503 line's text (`answers503(at:_:)`), instead of two copies of each.
- The relay's status is published by name: `ClusterService.RelayState.
  publish(into:)` sets the four `relay…` fields of the status, in place of a
  positional four-tuple (three adjacent `Bool?`) destructured at the call.
- One rule for the pair API's gate: `ProviderLoop.syncClusterPairGate()`
  (the gate follows the slot's admission, on a pair's member only), called
  where the API starts and when admission opens or closes, in place of two
  copies.
- `ClusterLocalRelay.answer` picks the caller's words, then the reason's,
  once; the file's header says which callers get the 401 (any key that
  isn't a local key, or none).
- Tests: the words every pair 503 ends with are one literal,
  `ClusterPairMemberRelayTests.servingAloneWords`, used by the relay's words
  and the API's own (`pairNotServingWords`); still pinned in full.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ires; a pair kept on its leading Mac gives a member no 503 line

Two rules of #1929 that no test held (the refactor pass's mutants G3 and
C2 survived every CPU suite near the change, before and after the
refactor):

- `ClusterPairLocalTests.aLocalRequestWhileThePairIsNotServingIs503`: the
  API's gate (`LocalPairGateResponder`) opens with the slot's admission and
  closes again when the slot retires, so a request after a retirement is
  refused at the gate, without waiting for the loop. A gate that stayed
  open after a retirement passed every test: the loop then answers the same
  typed 503, but only once its actor takes the request.
- `ClusterPairMemberRelayCLITests.aPairKeptOnItsLeadingMacGivesAMemberNo503Line`:
  with the pair's API kept on the leading Mac (loopback or one address),
  `status`, `darkbloom local` and `doctor` never say this Mac's port answers
  503 for now, whatever its cluster service last said of a relay, with Both,
  me first and with Only me.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ght or liveness check with another local key is otherKey

Comments only, from the refactor pass for #1929:

- `ClusterLocalRelay.Caller.open` says the key is read first, so a CORS
  preflight or a liveness check that carries another key in the local key
  format is `otherKey` (whose words name no Mac either), not `open`. That is
  what the relay has done since #1929's fix; the comment still described the
  earlier rule.
- `ClusterPairLocalTests.aLocalRequestDuringTheWarmupCanaryWaitsForAdmission`'s
  comment is wrapped like the rest of the file again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… false or unclear (LS-5b)

Tests first, against today's dev with neutral stubs for the new names (they keep today's behaviour):

- D1: the Mac that follows read "loading" from its own part for as long as the pair served; doctor's pair line
  must be status's, the leading Mac's answer.
- D3: after `cluster leave` on the leading Mac, the Mac left behind said "this Mac leads · the other Mac follows",
  and its screen "serving on this Mac alone" though the leave had stopped the pair.
- D5: a pair's image refusal carried no error code.
- D7: `start --solo --local` saved `[local] mode`, the pair's answer.
- D8: the split question named no mode's context and recommended a faster mode that serves less of it.
- #1911's N7: the cluster service's solo server counted as the pair's.
- J2-a: `darkbloom local` named no key file.
- J-10 / J-7: a refusal after the parse ended with the root's usage block; ^C printed the server's shutdown noise.
- #1908's nits 1 and 2: the app's "Starts the pair" on a started pair; "Press Enter" with the other Mac silent.
- #1930's review: a pin of the Gemma pipeline qualification's 32,768-token prompt limit (passes on dev).

On dev: 9 + 6 tests in the two runs, 32 issues (CPU only); the Gemma qualification pin passes.
…e unsupported_media (D5)

An image sent to Gemma 4 on a pair, which serves it text only, was refused 400 "Media input is not supported."
with no code (journey 3 on pair-2). Every local API answers through the one CORSResponder, so one Mac and a pair
now give that refusal the code this Mac gives the coordinator for it, InferenceFailureCode.unsupportedMedia.
On a Mac in a pair, [local] mode holds the pair's answer (darkbloom cluster saves it). `start --solo --local` on
pair-2's Studio saved mode = 'local' while the pair went on serving Both (journey 3's delta). A flag beside --solo
now serves that start only and saves nothing; without --solo a flag is saved as before.
… (your pair)

#1911's confirmation, N7: the cluster service's degraded solo server (the other Mac away, child.solo) counted as
the pair's, so a tool set up for it named this Mac's models "(your pair)". pairProcesses(of:) leaves it out.
A Mac keeps two key files, local_token and cluster_local_token, and which one a tool needs depended on the mode;
`darkbloom local` named neither (journey 2a). It now prints a key file: line under the key, and on a pair's API
(the leading Mac's, or a member's relay to it) the pair's key file too, whose key works there as well.
…er "loading" while it serves (D1)

Journey 3 on pair-2: the member's doctor said "Cluster: this Mac follows · … · loading" while the pair served and
its status said ✓ Serving, before and after restart. Only rank 0's part writes the pair's line, so the member's own
view read its registered part as loading forever. Doctor now prints the pair line from status's read (the leading
Mac's answer, at most 10 s), and the member's own view (status --solo) says started, not loading.
…ft behind names no roles and never serves alone (D3)

Journey 3 on pair-2: once the Studio left, the MacBook's status said "this Mac … leads · the other Mac … follows"
beside "isn't answering over the cable", and its screen said "degraded: serving on this Mac alone … (its solo server
is still loading)" while the leave had stopped the pair and nothing ran there.

- status, cluster status, status --solo, doctor and the screen's opening name no roles while the other Mac doesn't
  answer: "this Mac (…) is paired with the other Mac (…), which isn't answering".
- The screen's status for a stopped pair whose other Mac is gone (control waiting, alone or cannotServe) says it is
  stopped and that the other Mac doesn't answer, as cluster status does (OnboardingLive.awayLines).
…r of a start the screen doesn't make

- A terminal start on a stopped pair says "Press Enter to start it …" only while the other Mac answers; with it
  silent the screen first offers Try again, Start over or Quit, so the line says "opening the pair's screen".
- The app's summary on a started pair (the Mac that follows, or a pair loading) says "Makes sure the pair serves
  …", as its lead does, not "Starts the pair with …".
…o server shutdown noise (J-10, J-7)

Journey 1: every refusal a command made once it ran ended with the root's "Usage: darkbloom <subcommand> / See
'darkbloom --help' for more information.", which names no step; and ^C on start --local --here printed
"[HummingbirdCore] Server shutdown error: Already closed" and "Waiting on child channel: CancellationError()".

- main.swift and the AppKit host parse first (parse errors keep ArgumentParser's usage), then run; a ValidationError
  from run() prints only "Error: <its words>", exit 64 as before (Darkbloom.exit(afterRunWithError:)).
- The CLI's log handler drops exactly HummingbirdCore's two shutdown lines (QuietShutdownLogHandler).
…nds by context before speed (D8)

Journey 3's second delta: after the update, Gemma 4's question read "Recommended …: Pipeline, faster here" from the
planner's prediction, and Enter took the pipeline, which serves 65,536 tokens (prompts up to 32,768) against tensor
parallel's 262,144, without the screen saying so.

- Each offered mode carries the context and longest prompt its plan serves (ClusterModelFeaturePolicy.servedProfile,
  read in ClusterSetupPlanning.loads), and its line says them: "context 65,536 tokens, prompts up to 32,768".
  The fields are optional on the wire: an older leading Mac's list says none.
- ClusterOnboardingModeAdvice.advise: when the modes left serve different contexts, the one that serves the most is
  recommended ("the longest context here (262,144 tokens; the other serves 65,536)"); a mode that serves less only
  when it alone fits now. Same contexts, or one not known: as before.
…known limit of every pipeline

#1930's review: inference.md named a release and told D6 as an incident. It now states the pipeline's limits
(65,536 tokens of context, prompts up to 32,768, carried by the release facts too, which the new
aGemmaPipelinesQualificationsCarryItsMemoryPlansPromptLimit pins) and the worker exit under a stage's mid-request
memory refusal as a known limit of every pipeline until a stage's refusal ends only its request.
- Nit 8: a script's start on a pair with no model said "…: starting the pair." before the no-model line.
- Nit 3: J2-b's look kept a serving pair as it was while its cluster service ran from a terminal session, so the
  start no longer moved the service to its login agent.

On dev: 2 tests, 4 issues (startWithoutAModel's two expectations now omit the starting line).
- Nit 8: on a pair with no model, only the no-model line, never "…: starting the pair." first.
- Nit 3: the J2-b look keeps a serving pair as it is only while this Mac's cluster service starts at login; one that
  runs from a terminal session gets the start, which moves it to its login agent (as before J2-b).
jonathan308 and others added 8 commits November 9, 2026 22:01
…0.12 candidate; head 8f8ebb3)

# Conflicts:
#	docs/architecture/inference.md
…ile (0.10.12 candidate; head dd17f6d), with #1928's flip to 262,144

# Conflicts:
#	docs/architecture/inference.md
… (0.10.12 candidate; head efb5cd5)

# Conflicts:
#	libs/darkbloom-cluster/Sources/DarkbloomClusterProtocol/ClusterRuntimeCapability.swift
…0.10.12 candidate; head 0d6a80d)

# Conflicts:
#	libs/darkbloom-cluster/Sources/DarkbloomClusterRuntime/Support/ClusterMemoryFault.swift
…t-a-failed-start (0.10.12 candidate; head 42d272a)

# Conflicts:
#	docs/provider/cli-reference.md
#	docs/provider/troubleshooting.md
…a stopped pair never shows the part's wait line)

The block from earnings/review-1948-1949.md, 'Candidate resolutions'. The real merge of
whichever of #1931/#1949 lands second resolves to this same block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathan308 and others added 3 commits November 9, 2026 22:11
The owner decided (2026-11-10) that a Gemma 4 pipeline pair keeps the
one-chunk lookahead and serves one request at a time by default in
0.10.12. On the M5 Ultra pair, serial prefill at 8 lanes made a lone
prompt's first token 1.84 to 1.94 times later at 8K to 64K tokens.

`ClusterPlacementPipelineWidth.qualifiedLanes` now reads a table keyed
by family, `qualifiedLanesByFamily`, which is empty. Every guided setup
and `darkbloom cluster plan` therefore keeps the placement chosen for one
request: for a Gemma layer split, the lookahead, no width, one lane.
Listing a family there (`.gemma4LayerStage: 8`) sizes its guided setups
again, as #1936's `gemmaQualifiedLanes` does for tensor parallel.

Unchanged:
- A setup saved with serial prefill and a width serves that width, and
  LOAD admits it whole. A local pair's automatic replacement saves such
  widths, Qwen 3.5's included.
- A setup saved without a width serves one lane.
- `ClusterPlacementPipelineWidth.size`, `pipelineLanes` pricing and
  `DistributedInstalledPlan.batchLanes`.

The re-plan after an update calls `decide` the same way, so a
coordinator pair approved with the lookahead keeps it and its approval.

Comments in `DistributedInstalledPlan` and two tests no longer say a
placement saves Gemma's width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…serial width is checked whole

- inference.md, Gemma pipeline lanes: guided placement and
  `darkbloom cluster plan` keep the lookahead and save no width (owner,
  2026-11-10), with the M5 Ultra pair's figures. A width is served only
  where a setup saves serial prefill and one, by hand or by a local
  pair's automatic replacement, and LOAD admits it whole. The sizing
  runs for a family listed in `qualifiedLanesByFamily`, none in this
  version. A pair approved with the lookahead keeps it, one lane and
  its approval after the update's re-plan.
- inference.md (automatic policy), hardware-support.md,
  two-mac-cluster.md and test.md say the same.
- configuration.md is back to dev's: the guided setup writes
  `batchLanes` only for a Qwen TP placement again.
- The changelog says what users see: the lookahead stays, a saved
  serial width is checked whole at load, and one saved without a number
  serves one request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… whole context

#1931 (landed before #1933) pinned 0.10.11's Gemma pipeline cap in a facts test
(32,768 / 32,768) and in its docs and fragment examples. With #1933 the pipeline's
qualifications carry 262,143 / 32,768 (the candidate's facts dry run shows exactly that),
so the test pins the whole profile for both modes, and the examples name Qwen's pipeline
for the 65,536 line. The real merge of #1933 after #1931 carries the same edits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… (0.10.12 candidate; head 022696b)

The reviewed resolution (review-c1 delta, scratch 0451645399: planner both gates; flow TP
qualified cap + pipeline size; plan #1939's Set, no Gemma default; test.md both), plus
D6's inference.md sentence on serial lanes (REVIEW-1937-merge.md).
…10.12)

Reverts 679426d (#1937 022696b and its inference.md sentence): without #1937 a
serial Gemma pipeline serves four lanes again, as D6's inference.md says. The tree equals
c85c0c0's, the last candidate CI passed in full.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jonathan308

Copy link
Copy Markdown
Collaborator Author

Superseded by #1958 (release/candidate-0.10.12b at c85c0c0bca, same tree 8f590ec8e8 as this PR's head). #1937 left 0.10.12; landing this branch would have marked #1937 merged with a revert on top.

This branch was successfully deployed

3 active deployments
Preview – eigen-homepages-darkbloom — 0552b096 Deployed Nov 10, 2026 by vercel[bot]
Preview – d-inference-landing — 0552b096 Deployed Nov 10, 2026 by vercel[bot]
Preview – darkbloom-status — 0552b096 Deployed Nov 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants