Skip to content

Release dev into master: provider 0.10.9 - #1809

Merged
jonathan308 merged 834 commits into
masterfrom
release/dev-to-master-0.10.9
Nov 5, 2026
Merged

jonathan308 merged 834 commits into
masterfrom
release/dev-to-master-0.10.9

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Ready for review. Merge only after the DevNet proof of the release's dev build (0.10.7-dev.branch.95) on both pairs is recorded below and the release owner orders it. Merge with squash, as #1754 and #1782 were, so no dev commit enters master's history.

What this is

The provider 0.10.9 release: everything on dev since 0.10.8, into master. The head is the snapshot branch release/dev-to-master-0.10.9:

Toolchain: Xcode 27.2 / SDK 27.2 / Swift 6.4.2, with David's Date fix. master's #1791 and dev's #1815 (port of #1791 + #1807) agree, so this release includes #1791. SDK 27.2 back-deploys Foundation's Date >= and Date <= as weak imports; macOS 27.2 pre-release builds (seed 26B5091g) lack both symbols, and DevNet branch.87 crashed in a loop on such a Mac. #1815 brings the fix from #1807: no Date >= / <= in shipped source (scripts/check-date-comparisons.py, run in CI and Release Integrity), and the release build refuses any CLI, enclave, fan-helper or cluster-helper binary that imports either symbol (scripts/check-provider-weak-imports.py). Results: the source check passes on dev b7c52e4ece (1,936 Swift files); DevNet 0.10.7-dev.branch.93 (SDK 27.2) passes the release kit's check-weak-imports.sh, and the M3 Ultra Studio on 26B5091g has run it without a crash. The earlier hold (the first merge commit kept Xcode 27.1 / SDK 27.0, #1804) is lifted by the refresh: its tree takes dev's SDK 27.2 files, and changelog.d/ci-xcode-27-2-toolchain.md is present and renders in 0.10.9.

Release-notes wording (one signed commit e53957facf, changelog fragments only, no code): the D2 review of the release notes fixed the wording of 9 changelog.d entries (internal names, "tonight's", a stale CI entry, GLM "where it fits", Qwen's assistant marked local-only) so 0.10.9's rendered changelog reads plainly. b2-check.sh passes on this head.

dev is not changed. Version stays 0.10.8 here: the "Prepare provider 0.10.9" PR bumps it and renders the changelog.

How master was merged

Master took 0.10.8 as a squash (d758f9fba1, the same tree as #1782's head ffacffc446, which carries dev 79051ff73a). So git's own merge base of dev and master is older than that squash, and a plain merge would conflict in files both sides only share through it. The merge commit therefore uses 79051ff73a as its base: the dev commit the 0.10.8 squash carries. The result is exact:

Exceptions, all in changelog.d/: fragments that v0.10.7 or v0.10.8 already rendered and published, and that dev reworded afterwards, stay deleted, as on master, so 0.10.9 does not render them again (guide L9). There are six on dev 832c9b91f3 (b2-snapshot.sh lists them in the merge commit message):

  • cli-darkbloom-look.md, cluster-candidate-findings.md, cluster-console-clarity.md, cluster-everyday-commands-on-a-pair.md, provider-uninstall-keep-or-remove.md (6b7dedbd21: wording only, rendered in v0.10.8);
  • cluster-pair-equal-tensor-shares.md (d5f66e7bb2, rendered in v0.10.7): "press m" became "choose the model again in darkbloom cluster". The Prepare PR's upgrade notes carry that change.

The branch is rebuilt by a script (release-0.10.9/scripts/b2-snapshot.sh <dev head>). A fix merged into dev after validation comes in as one more signed merge (b2-refresh.sh), pushed as a fast-forward; nothing is force-pushed.

Master keeps its prod default

Pull requests in this release

From dev (all contained in 832c9b91f3):

PR What State (read 05:24Z)
#1785 Tests: remove provider tests that dependencies already run, and low-value tests (no provider behaviour change) merged
#1792 DevNet round 5 (integrate/devnet-round-5): pair setup, progress, single-Mac serving, updates, uninstall, GLM on 128 GB Macs (details below) merged 23:43:30Z, aa2ca85c9e
#1793 A Mac that stopped clustering serves normally again (the "online, no traffic" report) merged 00:34:55Z, ee0a4e5c09
#1794 Connect's first line says "Allow macOS permissions." merged 01:04:10Z, 7ee753f867
#1797 Each mode's line fits the window as it is now, and redraws on resize merged, 456651c965
#1795, #1796, #1798, #1799 A pair whose Macs run different versions converges; single-Mac serving that blocks a pair is said on both screens with no loop; the joining Mac ends with the leading Mac's outcome; a pair the coordinator's catalog won't pair says why merged (carried by #1800)
#1800 DevNet round 6: fixes from tonight's real-hardware tests (incl. fix/solo-steps-stick, fix/glm-128gb-offer-only-possible, fix/cluster-first-offer-split) merged, c85e011334 (DevNet branch.85)
#1801 Provider toolchain on dev: Xcode 27.2 (port of #1791) merged 219523dfd2, reverted by #1804
#1802 DevNet round 6b: engine concurrency, Gemma replan, honest waits, role label, folded steps merged, 814268cfd1 (DevNet branch.87, crashed on a macOS 27.2 seed: the SDK 27.2 toolchain)
#1803 CI on dev: route the macOS jobs through Darkbloom again (Blacksmith fallback), as master does since #1771 merged, c6278ee5c6 (CI only)
#1804 Provider toolchain: build with Xcode 27.1 / SDK 27.0 again (revert #1801) merged 03:46:50Z, 73ecb2bc72 (DevNet build C = branch.88: SDK 27.0, metallib = v0.10.8's, no weak Date imports)
#1787 CI: dev and master workflows over one reusable test workflow; fewer, fuller macOS jobs (brings master's 0.10.7-era CI history into dev) merged, 32bf1adc73
#1810 Share-probe budget (David) merged, 2662b3da04
#1815 Provider on dev: Xcode 27.2 / SDK 27.2 with the back-deployed Date fix (port of #1791 + #1807; David) merged 13:09Z, 835e5fbfa5 (DevNet branch.93)
#1811 The mode question without tok/s merged, 4f5bce81b5
#1812 A measured mode beats a predicted one merged, b7c52e4ece
#1828, #1831 Planning skips a served-speed record it can't evaluate (over-limit Qwen records made the whole plan fail); an approved model that can't be offered says why above the list; #1831 adds the review's refactor (2de284127a, no force-unwrap) and wording nits #1831's head 3d636268b3 (on b7c52e4ece, includes #1828 f0b40bedcb) merged into this branch directly, because dev now holds 0.10.10 work (#1817, #1819)
#1805 Test follow-ups (David): drop the KEPT_APART pin, MiMo TP schedule checks, tp-check MTP refusal, a stale weight (tests and tools only) merged 04:28:36Z, 4e51f42d6c
#1808 DevNet round 7: no false ✗ on the joining Mac; Gemma's mode prediction; MiMo tensor parallel loads in time (+ status says why a load restarts); the single-Mac block on both screens merged 05:23:52Z, 832c9b91f3 (DevNet build D, run 41973762695)

#1792 carries:

  • GLM-5.3-Flash loads on two 128 GB Macs: requests admitted on arrival, darkbloom cluster gpu-limit with consent (re-applies cluster: GLM-5.3-Flash loads on two 128 GB Macs: requests admitted on arrival, GPU limit raised with consent (owner decision) #1719 on dev);
  • switching a pair to serving through Darkbloom plans it for Darkbloom; no screen claims Darkbloom serving before the coordinator has the pair;
  • a pair answers Darkbloom's checks and cancels while a long prompt is read; a long prefill no longer marks a pair crashed;
  • the mode question shows the split that loads, says how many requests at once, and recommends one mode; Local Network hints name the "Darkbloom" row;
  • darkbloom uninstall / cluster link --remove undo every port Darkbloom set up, including a port whose only service is Darkbloom's;
  • the Mac that joins says what it waits for; every live line is one line that fits the window;
  • single-Mac serving that blocks a pair is found before the start and can be stopped with consent;
  • after a pair update the second Mac waits for the new setup; darkbloom update ends once this Mac runs it; cluster stop --service works when the other Mac is off;
  • both Macs show the start's progress (steps, byte bars, per-Mac rows);
  • darkbloom cluster says up front that macOS prompts appear on each Mac's own screen (Screen Sharing), and detects SSH before any prompt.

From master (already there, CI-checked on master; their fragments render in 0.10.9): #1759, #1791, #1807, #1826.

Not in this release: #1719 itself (its change arrives re-applied through dev; close #1719 after the tag, owner go).

Size against master: 274 files changed, 13,546 insertions, 2,565 deletions. SDK and MLX pins are unchanged from v0.10.8: libs/mlx 72dffa2d, libs/mlx-swift c633d221, libs/mlx-swift-lm 32f5c744. The release workflows, the registration scripts and ClusterPublicModels are unchanged; under scripts/ and .github/, apart from the held-back #1791 files, only the test-shard weights change (#1785, #1805).

Checks on the head (B2.1)

b2-check.sh 78d32c40e9 832c9b91f3 (pre-push, 2026-11-05 ~05:27Z; the first head, superseded by the refresh):
head contains master; head contains Prepare 0.10.8 e8f3d53f6d; head contains dev 832c9b91f3
prod default count: 1; submodule pins == dev's; BuildEnvironmentTests.swift vs master: 0 bytes
Package.swift vs master numstat: 0 12 (only #1785's GPTOSSOptimizationTests target)
toolchain: swift = "6.3"; no DARKBLOOM_PROVIDER_TOOLCHAIN; build_sdk_version == '27.0'; ci-xcode-27-2-toolchain.md absent -> toolchain OK
head version "0.10.8"; rendered fragments back: none; pending fragments: 29
the snapshot's merge commit signed (G); origin/master..head: 781 commits verified, 0 unverified (+ the merge commit, verified after the push)
After the refresh, expected: head contains master and dev; prod default count 1; pins == dev's;
BuildEnvironmentTests 0 bytes; Package.swift numstat 0 12; head version "0.10.8"; toolchain: swift = "6.4.2", DARKBLOOM_PROVIDER_TOOLCHAIN: release, build_sdk_version '27.2', both Date checks wired, source check clean; ci-xcode-27-2-toolchain.md present; rendered fragments back: none;
every commit verified.

Refresh for master's #1826 (2026-11-05 ~22:05Z, local, evidence/b2-refresh-5-master-12e8f0d44c.out, b2-check-prepush-be5a90ece0.out): one signed merge (G) of master 12e8f0d44c on 2ccd9516eb. Head be5a90ece0, tree 6394795d59. One conflict, scripts/test-darkbloom-route.py, resolved to dev's version, which already holds #1826's watchdog test (since #1787) along with its routing changes; darkbloom-watchdog.yml is identical on both sides. Net change: #1826's changelog fragment only. 38 pending fragments; toolchain, source check, version 0.10.8, prod default 1 all as before.

Refresh for #1828 + #1831 (2026-11-05 ~21:05Z, local, evidence/b2-refresh-4-fix-3d636268b3.out, b2-check-prepush-2ccd9516eb.out): one signed merge (G) of #1831's head 3d636268b3 on the pushed e53957facf (D2b's fragment wording); clean, no conflicts. Head 2ccd9516eb, tree 53aea62c72. Toolchain OK, source check clean, version 0.10.8, prod default 1, Package.swift vs master 0 12, rendered fragments back: none, 37 pending (+ cluster-served-speed-out-of-limits.md), 832 commits verified on GitHub plus the new merge.

Refresh (2026-11-05 ~17:40Z, local, release-0.10.9/evidence/b2-refresh-1-dev-b7c52e4ece.out, b2-refresh-2-master-63ecb97e65.out, b2-check-prepush-95d1da5a42.out): two signed merges on 78d32c40e9, both G; head 95d1da5a42, tree e38d44824a.

Validation state

DevNet builds: 0.10.6-dev.branch.81 (aa2ca85c9e, #1792; run 41935969045) and branch.82 (ee0a4e5c09, #1793; run 41942397330, success on rerun after a flaky parity test). Then branch.85 (build A, c85e011334, #1800; Xcode 27.1), branch.87 (build B, 814268cfd1, #1802; the first Xcode 27.2 build: metallib changed to 5b97893c…, and it crashed in a loop on an M3 Ultra running macOS 27.2 seed 26B5091g; overnight/crash87-diagnosis.md), and build C (run 41963716423, 73ecb2bc72, #1804; Xcode 27.1 again), = DevNet branch.88: metallib = v0.10.8's 98bab9d7…, scripts/check-weak-imports.sh clean on all four binaries (sdk 27.0). Build D (run 41973762695, 832c9b91f3, #1808) is building.

Found and fixed so far on real Macs (branch.81/82):

Found on branch.87/88 and fixed in #1808: the joining Mac's false ✗ after its local test; Gemma's pipeline prediction (recommended pipeline at 59.9 tok/s against 105.1 for tensor parallel); MiMo tensor parallel missed its load deadline (98.6 M small reads per Mac; it had never loaded on real Macs); status said loading with no reason while a load restarted; the single-Mac block was missing on the joining Mac's screen and in cluster status.

Proven on build C (branch.88, pair-2) and build B (branch.87, same code, M5 Ultra pair): no crash on the macOS 27.2 seed (23+ min); GLM tensor parallel and pipeline, Qwen 3.8 27B tensor parallel, Gemma 4 26B tensor parallel and pipeline load and answer public requests through DevNet; the single-Mac block with the consented stop; the version split converges by itself (38 s); role label, folded steps, q.

CI note (05:35Z): on this PR, Provider Unit Tests fail at the step "Select SDK 27 provider toolchain" ("Xcode 27.2 / Build version 27B52 … Provider release requires the macOS 27.0 SDK"). The Darkbloom sandbox runners now default to Xcode 27.2, and the held-back toolchain (above) requires SDK 27.0, so this is the runner image, not the code. The release workflow is unaffected, because its macOS jobs are pinned to blacksmith-12vcpu-macos-27 (Xcode 27.0, SDK 27.0). The same provider tests run there in the DevNet qualification shards of build D (run 41973762695). The required check, Release Integrity, passes.

DevNet proof of the release's dev build (0.10.7-dev.branch.95, b7c52e4ece; Xcode 27.2):

  • Build: bundle 28cc400c4bce… = release row; check-weak-imports.sh clean on all four binaries (sdk 27.2, no weak Date >=/<=); metallib 5b97893c….
  • M3 Ultra (macOS 27.2 seed 26B5091g) + M5 Max: PASS (2026-11-05 17:34–17:53Z).
    • No crash on the 27.2 seed: no new report in 4 h on SDK 27.2 builds .93/.95.
    • Both Macs moved .93 → .95 through the pair's update slot.
    • Qwen 3.8 27B tensor parallel, 18.8 tok/s at 1 at once, every answer from this pair's leader (x-provider-id checked).
    • Gemma 4 26B tensor parallel 67.8 and pipeline 54 tok/s.
    • The mode question shows no tok/s, and the recommendation follows measurements ("Tensor parallel, measured here").
    • The single-Mac block: both cluster status --json give the reason with exit 3; the consented stop starts the pair and holds.
  • M5 Ultra pair: in progress (production window).

DevNet proof on the final build (D = 0.10.6-dev.branch.90, 832c9b91f3), both pairs: PASS. Build D: binary 00e5922cc1a5…, metallib = v0.10.8's, check-weak-imports.sh clean on all four binaries (sdk 27.0).

  • M3 Ultra (macOS 27.2 seed) + M5 Max: darkbloom-dev update .88 → .90 in 164 s on the leading Mac; the other Mac followed through the pair's update by itself. Both Macs then served Qwen 3.8 27B tensor parallel through DevNet. No new crash report on the 27.2 seed.
  • M5 Ultra pair (production window, 16 min 24 s, restored to 0.10.8 at 06:10:24Z):
    • MiMo-V2.6-Flash tensor parallel loads in 2 min 27 s and serves. It never loaded on any earlier version. 1 request at a time: 46.4 tok/s.
    • MiMo speculative pipeline loads in 3 min 24 s: 40.0 tok/s.
    • The joining Mac's window ends with ✓ (no false ✗).
    • Gemma now recommends tensor parallel on this pair.
    • The single-Mac block: both screens show the same ✗, both cluster status --json give the reason with exit 3, and the consented stop starts the pair.
  • Follow-ups found (not blocking):
    • for a moment during a load's local test, the leading Mac's status reads "not offered to Darkbloom";
    • before any start is tried, a block shows as stopped with no reason;
    • a cancelled MiMo tensor-parallel prefill holds its single slot until the prompt is read.

Merge rules (ruleset 15055885)

  • Squash only; required check Release Integrity; signed commits; review threads resolved.
  • It needs one approval from someone other than the last pusher. jonathan308 pushes this branch, so the approval must come from David, Gajesh or Kydo. Requested: @davidtai, @Gajesh2007, @0xkydo.
  • The refresh push dismisses the existing approval (Gajesh, 07:52Z on 78d32c40e9): dismiss_stale_reviews_on_push and require_last_push_approval. A new approval from David, Gajesh or Kydo is needed on the refreshed head.

Before/After

flowchart LR
  subgraph Before
    M1["master: v0.10.8 (#1782 squash + #1789) + #1759"] --- D1["dev: #1785, #1792–#1799 and later fixes, not on master"]
  end
  subgraph After
    M2["master: v0.10.8 + #1759 + every 0.10.9 change (one squash); version still 0.10.8; prod default"] --> P2["next: Prepare provider 0.10.9 (version, changelog), then tag v0.10.9"]
  end
Loading

Order

  1. DevNet proof of the final dev build on both pairs. Then, on the release owner's order: ready, an approval from David, Gajesh or Kydo, squash.
  2. "Prepare provider 0.10.9" on master (prepared locally on this head; cherry-picked onto the squash).
  3. Tag v0.10.9 on the owner's go.

jonathan308 and others added 30 commits November 4, 2026 02:19
… this install's incidents, per-Mac login line

The integration edits after merging the six DevNet round 2 branches.

1. One CLI name: ClusterOnboardingCommand.name starts from
   BuildEnvironment.current.cliName in the package (#if SWIFT_PACKAGE; the
   checks that compile the screens alone keep "darkbloom" and set theirs
   with use), and OnboardingLive.cli reads it. The wizard's and main.swift's
   own use(...) calls set the same value again and go. Production bytes are
   unchanged.
2. One app name: ClusterService.appName (the identity's appDisplayName)
   everywhere. The screens' seam starts from it and the link follower's
   refusal reads it; Cluster.LinkFollower.localNetworkApp(cli:) goes.
   Production's hint now says "Allow Darkbloom under ..." (decided), as the
   ✗ does. The DevNet exit test that pinned "darkbloom" through the helper
   now checks the follower's real output.
3. The follower writes the words the service reads from ClusterService's
   constants (followerLinePrefix, followerConnected, followerSessionOpened,
   followerLinkRefused); followerLinkOpenedLines and followerLinkRefusedLine
   are built from them. Bytes unchanged.
4. A-4 reads this install's incidents: OnboardingLive.ownWorker passes
   ClusterIncidentLog.forThisInstall() (its file and install filter)
   instead of production's defaultFile; the static reader takes the log, and
   F1's real-records test passes it, its records and expectations unchanged.
5. P2-11, the ✓ card's login line (loginLine): "on both Macs" only when this
   Mac's service outlives its window and the other Mac's status says
   startsAtLogin; otherwise it names the Mac that doesn't, or says the other
   Mac doesn't say. The new operation otherMacStartsAtLogin reads the other
   Mac's status over the cable (default true). The guide's card line holds
   (an example; verify checks each Mac).
6. P2-2 in onboarding: the member's Local Network hint names the app; its
   command and the stop line already named OnboardingLive.cli, which now
   follows the identity in exit tests too.

7. Found in validation: placement flow-run and setup didn't compile on
   the CLI branch's changes (its validation didn't run them). run-flow.sh
   now compiles ClusterIncidentLog+Install.swift and BuildEnvironment, as
   the CLI branch did for the diagnostics runner; the setup runner gets
   OnboardingCommandStandIn.swift (production's name), in its stand-in
   pattern.

The development-build check (developmentBuildKeepsTheWindowsOpen) now says
the other Mac's service doesn't start at login either, as in a real
development pair; the card then says to keep both windows open, as before.
The changelog's A-4 sentence says the ✗ names this Mac's worker too, so it
doesn't read as contradicting the earlier "names the other Mac's side".

Red first:
- theLoginLineNamesTheMacThatDoesNot against the merged screens with only
  the knob added: 6 failures; green with the change.
- onboardingTextsNameTheIdentity (DevNet identity): 3 issues;
  followerWritesTheWordsTheServiceReads: 1 issue ("Allow darkbloom under").
Guards: onlyThisInstallsRecordsNameThisMac, theNamesAreThisBuildsWithoutBeingSet.
Docs: two-mac-cluster.md (the login line), architecture/inference.md (one
CLI name, one app name, the follower's phrases); changelog: a bullet in
cluster-candidate-findings.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d's stand-in

ClusterConfigurationChecks compiles ClusterConfiguration.swift without the
onboarding screens. Since the CLI branch, its tensorAssistantServesLocally
names the command with ClusterOnboardingCommand.named, so the check stopped
compiling ("cannot find 'ClusterOnboardingCommand' in scope"), as the
placement setup check had; neither runs in CI.

It now compiles the setup check's OnboardingCommandStandIn.swift
(production's name), as it already compiles the installed session's
AttestationSignerStandIn.swift.

Red: on the integrated head 5732dda the check fails to compile. On dev
6497e8e it passes (9 file groups, the provider config file, 14
configuration groups). Green with this change: the same three pass, and
placement setup still passes 264.

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

Read as a user, the 0.10.8 section contradicted itself: the console's
bullet said every start ends with "Starts by itself at login on both
Macs.", and P2-11's bullet says the card says so only when the cluster
service on both Macs does, and otherwise names the Mac where it doesn't.

The console's bullet now names the line by what it tells (whether it
starts by itself at login on each Mac), as the guide does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ✗ line for a worker that ended on this Mac named the incident code ("worker_crashed in its incident log"). It now says "its worker ended unexpectedly"; the incident list in `cluster status` keeps the code.

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

Release Integrity's test-provider-identity.py allows the DevNet and staging names only in the generated identity. Three doc comments added in this round quoted them; they now say the value comes from the build identity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(cluster): DevNet round 2: what both pairs' validations found, the agent setup guide, plain-words changelog
…cident log

Pair-2 re-test (R-6): `darkbloom-dev uninstall --keep-models` keeps the
shared ~/.darkbloom/cluster* for the production app, and so left the
DevNet-only incident log (its log and lock, and a corrupt copy if any)
behind. As a test, both directions, with the files named by the log's own
`ClusterIncidentLog.defaultFile(homeDirectory:install:)`:

- uninstalling the non-production install removes its own incident files
  and names them in the summary; the other install's files and every
  shared cluster file stay;
- uninstalling production beside it keeps production's log: it is the
  shared folder's `incidents.json`, which an older build of the other
  install still writes.

Red at 6940be3: the non-production install's three incident files stay
and no summary line names them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ir reads stopped (red)

From the pair-2 re-test of dev @ 6940be3:
- R-1: with the member's link follower refused by macOS, both Macs'
  `status` and `cluster status` read `loading` with no reason. They must
  read not_serving with the setup screens' words: on the refused Mac its
  own service's state, on the leading Mac the other Mac's refusal under
  the ✗'s 20 s rule.
- R-5: a stopped pair whose other Mac is gone read other_mac_away; it
  must read stopped, with a line that the other Mac isn't answering.
Adds, at today's behavior, ClusterLocalNetworkAccess.Refused,
otherMacRefused, refusalCanBeCurrent, otherMacStatus and statusWords, and
ClusterPairSummary.read(localNetworkRefused:).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…says its refusal once (red)

The pair-2 re-test of DevNet 6940be3, R-3 and R-4:
- R-3: the 2/4 Pair hint's firewall bullet said "Darkbloom" in the DevNet
  app, whose firewall entry is its own name. pairingLinesNameTheApp (the
  onboarding checks) runs the pairing with the DevNet app's name;
  thePairingLinesNameThisBuildsApp checks this build's name (DevNet in a
  dev-identity build).
- R-4: the leader's Local Network ✗ added the follower's own instruction
  as a fourth line, cut at 300 characters inside a parenthesis.
  theLocalNetworkCrossSaysTheRefusalOnce and
  aLongLineIsCutAtAWordOutsideAnyParenthesis.

The seams the tests call are added with today's behaviour, so they fail
on what they check: ClusterConsoleText.boundedAtWord cuts as bounded
does, and errorLines' refusalSaid is ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r reads stopped

From the pair-2 re-test of dev @ 6940be3:
- R-1: `status` and `cluster status` read not_serving (exit 3) while
  macOS keeps a Mac's link follower off the local network, by the setup
  screens' rule and in their words: on the refused Mac its own service's
  state (ClusterLocalNetworkAccess.serviceState, as `start` reads it); on
  the leading Mac the other Mac's status, asked over the cable only while
  the pair has been starting past the ✗'s 20 s settle time. reason and
  next come from localNetworkBlockedLines and localNetworkRefusalLines,
  ending with `<cli> start` or Retry in `<cli> cluster`
  (ClusterLocalNetworkAccess.statusWords). A script start on the leading
  Mac ends its wait on it, as the ✗ does.
- R-5: a stopped pair reads stopped (exit 4) whatever the other Mac's
  presence, with "<the other Mac> isn't answering over the cable." after
  the stopped line; other_mac.answers is false.
ClusterOnboardingLive.swift is unchanged: ClusterLocalNetworkAccess calls
its internal refusal rule and words (otherMacRefused, refusalIsCurrent,
localNetworkRefusalLines, answerSeconds).
Docs: cli-reference (exit table, the refusal's words, the stopped
precedence), two-mac-cluster, architecture/inference; changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ays its refusal once

The pair-2 re-test of DevNet 6940be3:
- R-3: the 2/4 Pair hint's firewall bullet and the line that asks to pair
  again after a reinstall name the app (ClusterOnboardingCommand.app):
  Darkbloom Dev in the DevNet app. The prose that means the service
  stays. Production's text is unchanged.
- R-4: the Local Network ✗ already says what macOS did and what to do, so
  its line for the refused Mac now says only that its part can't reach the
  local network (errorLines' refusalSaid), instead of the follower's own
  instruction; every other ✗ keeps the part's reason (A-3). Each
  lastErrors line is cut at a word, never inside a parenthesis, and ends
  with "…" (ClusterConsoleText.boundedAtWord).

Docs: two-mac-cluster.md (the leading Mac's Local Network ✗) and
architecture/inference.md (the app's name; the ✗'s lines). Changelog: one
bullet in cluster-candidate-findings.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…de the other

R-6: with another install on this Mac, the uninstall keeps the shared
cluster folder for it, which held this install's own incident log (A-13:
each non-production install keeps its own file there).

- `ClusterIncidentLog.files` names the files a log keeps, in order: the
  log, its lock sidecar and the copy a corrupt log is moved aside to (the
  log's own rename now uses the same name).
- When the shared folder stays for the other install, the inventory lists
  this install's own incident files, from
  `ClusterIncidentLog.defaultFile(homeDirectory:install:)`, as items to
  delete before the install folder, so the summary names them ("This
  install's incident log"). Production's log is the shared
  `incidents.json`, which an older build of the other install still
  writes: it stays with the folder. When the whole cluster folder goes,
  nothing changes.
- `ProviderUninstallPaths.environment` records the install the paths are
  for.

The CLI reference, `docs/architecture/inference.md` (where the incident log is
described) and the changelog fragment say so.

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

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

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

# Conflicts:
#	docs/architecture/inference.md
…ntegration

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1 to G-R4)

An agent set up pair-2 on DevNet 0.10.6-dev.branch.77 by following the guide,
end to end. Its four differences and the status gap (R-1), fixed with the
strings of fix/cluster-status-truth (f92a578), which ships in the same dev
round:

- G-R1: after installing the other app on a paired Mac, choose Pair again
  when the screen offers it ("This Mac's Secure Enclave key changed after it
  paired (…)", Pair again / Quit), otherwise Start over on both Macs.
- G-R2: `darkbloom status --solo` on a paired Mac with nothing beside the
  pair prints "Single-Mac serving: off (this Mac serves in its two-Mac
  cluster: `darkbloom cluster status`)": go on.
- G-R3 with R-1: during a Local Network refusal, `cluster status` says
  not_serving (exit 3) with the screens' reason; the verify table now stops
  and asks the person to turn the setting on, on the Mac `next` names,
  instead of waiting 15 minutes on loading. The troubleshooting row shows the
  status signal (the leader's once its part has run 20 s). A stopped pair
  reads stopped even when the other Mac isn't answering (R-5).
- G-R4: stop, restart and a scripted start say their waiting lines only if
  the wait lasts.

fix/cluster-ln-wording (97005b1) changes no line the guide quotes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Step 1.4: after installing another app on a paired Mac, the agent acts on
  what each Mac's `darkbloom cluster` shows (Pair again on a Mac that offers
  only Pair again and Quit, else Start over), instead of one choice "on both
  Macs": one Mac can offer only Pair again while the other offers Start over,
  as the screen itself says after Pair again.
- Step 4.3: while the pair's own part runs, `status --solo` shows `Daemon:
  running` with "This is the cluster's part on this Mac, not single-Mac
  serving (…)": go on, instead of asking to stop single-Mac serving that
  doesn't run.
- Verify, the Local Network row: ask the human (the page's word for the
  person) to turn the setting on, on the Mac `next` names; the agent then
  starts the pair, so the two don't both run `darkbloom start`.
- Verify, the `loading`/`unknown` row: after 15 minutes, STOP, and the human
  runs `darkbloom cluster` on the leader. Split from the old exit-3 row, it
  had no end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e ✗'s step as a parameter

The refactor pass over the DevNet round 3 integration (R-1 with R-4).

- `ClusterLocalNetworkAccess.otherMacRefused()` is the leading Mac's one
  entry, beside `serviceState()`. It asks the other Mac's status
  (`otherMacStatus`) only once this Mac's part has run the ✗'s settle time,
  then applies the ✗'s rule (`otherMacRefused(member:own:now:)`). That rule
  and the status request are internal again, and `refusalCanBeCurrent` is
  gone. ProviderCore's public API grows by `Refused`, `otherMacRefused()` and
  `statusWords` only, and the CLI no longer runs the rule in three steps.
- `OnboardingLive.localNetworkRefusalLines(otherMac:app:then:)` takes the step
  after the instruction, as `localNetworkBlockedLines(app:then:)` does.
  `statusWords` passes the start command instead of replacing the screen's
  "Then choose Retry here." in the text, which a reworded ✗ would have left
  in `cluster status` without a sound.
- A test pins the ✗'s own step; the rule's test reads
  `OnboardingLive.refusalIsCurrent` directly.

Behaviour-preserving: the ✗'s lines, `cluster status`'s reason and next,
and when the other Mac is asked are as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Local Network refusal

R-1 made a leading Mac's script `start` end its wait once `cluster status`
reads the other Mac's refusal (`ClusterPairCommands.waitUntilServing`), as the
✗ ends the screen's wait; no test covered it. The new test gives the wait a
"Starting" look, then the refusal, then a serving look: the start ends at the
refusal with its ✗ line and next step, and exits 3.

With R-1's condition in `waitUntilServing` taken out, it fails: the wait goes
on to the serving look and exits 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The round's bullet in `cluster-candidate-findings.md` began "In the DevNet
app, …", which also scoped the Local Network ✗'s change to the DevNet app,
although every build's ✗ changed: its last line no longer repeats the
instruction cut off mid-sentence, and a ✗ line too long for the screen is cut
at a word, marked with "…". The bullet now says that first, then the two
DevNet-only names.

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(cluster): DevNet round 3: status says a Local Network refusal, a stopped pair reads stopped, wording, the uninstall's own incidents, the guide
…r's restarts; JSON lines agree; DevNet's local command

Three findings from the pair-2 re-test of the DevNet build of 3ac8dd7:

- R-7 (`status` on the leading Mac):
  - While the other Mac is refused, the leading Mac's part ends after its 32 s wait for the link and starts again.
    `refusalIsCurrent` timed its 20 s from the current part only, so `status` and `cluster status` on the leading Mac
    said `not_serving` in only 6 of 29 samples, and `loading` with no reason the rest of the time.
  - The cluster service now publishes how long its last part ran (`ClusterServiceStatus.Child.lastRunSeconds`, a new
    optional field that older readers ignore).
  - A status read also counts the refusal when this Mac's last part ran 20 s (`acrossRestarts`), so it holds across
    the leading Mac's part restarts.
  - A start's own wait, both the wizard's and `darkbloom start`'s looks, keeps the strict rule, so a Retry just after
    the setting is turned on never ends at once on it.
  - A refusal the follower got past still never counts.
- R-9 (`cluster status --json`): during the refusal, `lines` were still "Starting …" while `state` was `not_serving`.
  They now hold the ✗ line, "Not serving: <reason>.", as the plain output does. The plain output is unchanged.
- R-8 (the DevNet command name): a stopped local-only DevNet pair said "API key: `darkbloom local`".
  - The scope's line, the API line of a pair the other Mac serves, and the missing-login remedy reach `cluster status`
    without the console's rename. They now name this build's command themselves (`ClusterOnboardingCommand.name`).
  - Production's text is byte-identical.

Red first:
- `ClusterStatusTruthTests`: 8 tests with 3 issues (R-7 1, R-9 2).
- The onboarding checks: 1211 passed, 3 failed (R-8).

Green:
- Prod: the truth suite 9, CLI pair 72, neighbours 114, look 22, ProviderCore 52, onboarding filter 80, #1774's 67.
- Onboarding 1214/0.
- Dev identity: the truth suite 9, which prints "API key: `darkbloom-dev local`".

Docs: cli-reference.md, two-mac-cluster.md, architecture/inference.md, and the changelog fragment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The guide's third literal run on pair-2 passed; its two timing wordings follow
from R-7, fixed on fix/cluster-status-truth-2 (bfdda27):

- G-R6: the leader's ✗ comes within about 20 seconds of its part starting
  (refusalSettleSeconds), not at once. The same wording in step 7.3's
  Retry paragraph is corrected too.
- G-R5: `darkbloom cluster status` names the refusal on the Mac kept off at
  once, and on the leading Mac from about 20 seconds into its part, steadily
  after that while that Mac stays refused (the status read keeps it across
  the leader's part restarts).

The guide quotes neither the JSON `lines` during the refusal nor the stopped
local-only pair's "When it starts: …" line, so neither needed a change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…a status read asks for it

Comment-only refactor pass on R-7 (no code or output change):

- `ClusterServiceStatus.Child.lastRunSeconds` is set only when a part ends by itself; a stop the service makes
  (`stopChild`: a planned restart, `cluster stop`, the service's own stop) leaves it as it was. The wire field's doc
  now says so, since `refusalIsCurrent(acrossRestarts:)` reads it.
- `ClusterPairSummary.live(config:bounded:)`: `bounded` (a person's `status` or `cluster status`) also selects the
  status read's rule for the other Mac's refusal; nil keeps the strict rule of a start's looks.
- `ClusterLocalNetworkAccess.otherMacRefused(member:own:now:acrossRestarts:)` names its `acrossRestarts` case.

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

Regression test, red on purpose: a synthetic local history (dev pull
requests, a master-only pull request, a master-into-dev sync, a squash
promotion, a dev pull request merged after the promoted commit and a
Prepare pull request) publishes v1.1.0 through publish_github_release.
Today the notes file holds only the header, and the pull request list is
left to --generate-notes, which lists master's pull requests only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e (red)

From the round-3 re-test (branch.78), R3-4: serving GLM-5.3-Flash in
pipeline, `cluster status --json` gave mode and split as null and the
"Model:" line had no mode, though the ✓ line said "(pipeline)". The
deployment line is read from its first ": ", which GLM's display name
("Z.ai: GLM-5.3-Flash") already holds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ollow reads the login state at its end (red)

The M5 Ultra pair's round-3 re-test of DevNet 3ac8dd7 (branch.78):
- R3-3: GLM's mode question offered "this Mac 1 layers / the other Mac
  44 layers" while Qwen served, and 26 / 19 while GLM's tensor parallel
  served; 44 / 1 loaded both times. theModeSplitIsTheOneThatLoads: each
  share is named for the Mac that runs it, in either order; one layer is
  "1 layer"; no number while a model serves.
- R3-2: the joining Mac's window ended "After a restart, this Mac serves
  again by itself" with a session service in place.
  theLoginStateIsReadWhenTheLineIsSaid.

The seams the tests call are added with today's behaviour, so the tests
fail on what they check: modeSplit words the shares as screenMode does
(ignoring serving, "1 layers"), startsAtLogin(now:setUp:) returns this
run's setup, and the phrase constant exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
R3-4: serving GLM-5.3-Flash in pipeline, `cluster status --json` gave mode
and split as null and the "Model:" line had no mode, though the ✓ line said
"(pipeline)". ClusterPairSummary read the leader's deployment line ("Serving
<model> across both Macs: <mode>, <split>") from its first ": ", which GLM's
display name ("Z.ai: GLM-5.3-Flash") already holds. It now takes the first
": " that a mode's words follow, so every mode comes back whatever the
model's name. Without a recorded line, the mode is the ✓ line's own marker
(the saved setup's mode, as the serving line marks it), with no split.
Docs: cli-reference's mode and split rows; changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ev's

GitHub's generated notes list only the pull requests merged into master
between two tags, so a squash promotion of dev (0.10.7's #1754) showed as
one pull request and the 45 dev pull requests it carried were missing.

scripts/provider_release_notes.py builds the GitHub release body from the
release's contents in Git: the retained header, the version's CHANGELOG.md
section at the tag (candidate heading and note left out), the pull requests
that reached master through dev and those merged directly into master, the
release pull requests named once (promotions, preparation, syncs of master
into dev), and the compare link.

- The carried dev commit is the newest dev first-parent commit that the tag
  or a promotion head contains. A promotion is found by its history: its
  head (merge commit's other parent, or the squash's refs/pull/N/head,
  fetched read-only) holds a dev first-parent commit master lacked. A
  release without a promotion carries what the release before it carried.
- dev pull requests are dev's first-parent commits between the previous
  release's carried commit and this one's, not a date window.
- Titles and authors come from one GraphQL query per 100 numbers.
- Over GitHub's 125,000-character limit the body keeps the upgrade notes and
  every pull request and links CHANGELOG.md. A generation failure logs a
  warning and still publishes the release.

publish_github_release creates the draft with that body and drops
--generate-notes. Only prod publishes a GitHub release; the dev, dev-branch
and staging lanes create none, so they need no change. The release callers'
push paths include the new module and scripts/changelog.py, which it imports.

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

Reader-facing wording in nine pending fragments, ahead of the 0.10.9 render:
no "tonight", "today" or internal identifiers; GLM tensor parallel "where it
fits"; "takes in each new request as soon as it arrives" instead of "reads
every request at once"; the version-split catch-up and screens hold from
0.10.9 on; the macOS CI route entry no longer names jobs and a ci.yml that
later entries removed. Only changelog.d changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathan308 and others added 4 commits November 5, 2026 12:26
… model says why

A pair of M5 Ultras served Qwen 3.8 27B in tensor parallel with 7 prompts of
71,545 to 94,423 tokens (2026-11-05, 10:06-10:22Z). Their prompt plus answer
is over the 65,536-token context the 27B's tensor-parallel request allowance
covers, so every later plan of the 27B on that pair threw ("Tensor-parallel
request allowance does not cover the requested context and chunk", from
`ClusterPlacementPlanner.evaluate`) while calibrating the served records. The
plan failed, the setup list keeps only choices without a blocker, and the 27B,
tensor parallel only on that pair, left `darkbloom cluster` without a word;
`darkbloom start` could not start it either.

- `ClusterServedCalibration.measurements(entries:)` never fails the plan on a
  record: when a setup's calibration throws, each pair request the planner
  cannot evaluate on that placement is skipped, and the rest are calibrated as
  before (a setup that still cannot be calibrated is skipped whole). The
  skipped are counted in one plain line under the plan's served speeds. A
  setup whose calibration does not throw is calibrated exactly as before.
  The skip sits inside the calibration, so it holds whichever way the worker
  build filter (`servedBy`) ran first: an earlier build's records are left out
  before they are evaluated, the same build's (an update that kept the worker)
  are evaluated and skipped.
- `darkbloom cluster` names each approved model it cannot offer, with its
  reason, in one line above the model list ("Qwen 3.8 27B: not offered on
  these two Macs: <reason>"), instead of hiding it.

Tests: PlacementChecks plans the 27B (its product layout with the
tensor-parallel allowance, saved as
Golden/served/qwen38-27b-tensor-parallel-priced-layout.json) on the pair's
anonymized records (Golden/served/m5ultra-pair-qwen-over-limit-2026-11-05.json:
token counts, durations and modes as served; members, builds and request IDs
synthetic); PlacementSetupCheck runs the provider's own decision on them;
OnboardingChecks shows a blocked approved model with its reason.

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

Behaviour-neutral: the same line for the same choices, read through if-let.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…plan failure (#1828 nits)

Completes #1828 for 0.10.9 (review: ship with nits).

- The pipeline speculative credit that #1828 stopped failing the plan on
  (`crediting`) is no longer dropped silently: the plan says in one line,
  beside the skipped-records line, which Mac's served speed-up was not
  credited. Without it that pipeline is predicted at its plain decode, so the
  plan may choose another mode where the speculative pipeline served faster.
- The skipped-records line is plain, with thousands separators: "Skipped 7
  speed records longer than the 65,536 tokens planning covers (the longest
  was 94,522); the other records still count". Records skipped for another
  reason read "Skipped N speed records the plan could not evaluate on this
  model (the longest was N tokens)".
- A model whose plan threw reads "not offered on these two Macs: the plan for
  it failed (<cause>)" instead of "Planning failed (<cause>)."
- Tests: the whole-setup fallback (a setup that cannot be calibrated even
  after its unevaluable requests are skipped), the credit and its line, the
  line's wording and separators, and the not-offered line at 40 columns.
- The fixture's `finishedAt` / `updatedAt` are rounded to the minute.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o the dev-to-master release snapshot (provider 0.10.9)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#1826 (master) adds the watchdog test that dev already has since #1787 (same test; dev's version also covers its routing changes from #1787 and #1803), so this file takes dev's version:

- scripts/test-darkbloom-route.py

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

This branch had an error being deployed

2 failed and 3 active deployments
Preview – d-inference-landing — be5a90ec Deployed Nov 5, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — be5a90ec Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — be5a90ec Deployed Nov 5, 2026 by vercel[bot]
Preview – darkbloom-status — be5a90ec Deployed Nov 5, 2026 by vercel[bot]
Preview – d-inference — be5a90ec Deployed Nov 5, 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.

4 participants