Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
56d7d96
test(provider): uninstall beside the other install removes its own in…
jonathan308 Nov 4, 2026
a48d82a
test(provider): status says a Local Network refusal, and a stopped pa…
jonathan308 Nov 4, 2026
8afdd42
test(cluster): the pairing screens name the app; the Local Network ✗ …
jonathan308 Nov 4, 2026
f92a578
fix(provider): status says a Local Network refusal, and a stopped pai…
jonathan308 Nov 4, 2026
97005b1
fix(cluster): the pairing screens name the app; the Local Network ✗ s…
jonathan308 Nov 4, 2026
3153c5d
fix(provider): uninstall removes this install's own incident log besi…
jonathan308 Nov 4, 2026
2f19f53
Merge fix/cluster-status-truth (f92a578950) into the DevNet round 3 i…
jonathan308 Nov 4, 2026
ee37a2c
Merge fix/cluster-ln-wording (97005b1167) into the DevNet round 3 int…
jonathan308 Nov 4, 2026
13e950a
Merge fix/uninstall-own-incidents (3153c5dc34) into the DevNet round …
jonathan308 Nov 4, 2026
f93655d
docs(provider): agent setup guide matches its second literal run (G-R…
jonathan308 Nov 4, 2026
9a839b8
docs(provider): agent setup guide's refactor pass on its round-3 fixes
jonathan308 Nov 4, 2026
80c1905
refactor(cluster): one public entry for the leading Mac's refusal; th…
jonathan308 Nov 4, 2026
b4c6a76
test(provider): a script start on the leading Mac ends its wait on a …
jonathan308 Nov 4, 2026
16249ce
docs(changelog): the Local Network ✗'s change isn't DevNet-only
jonathan308 Nov 4, 2026
71fd5b8
Merge docs/agent-setup-retest (9a839b829d) into the DevNet round 3 in…
jonathan308 Nov 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog.d/cluster-candidate-findings.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
and what to do on that Mac (turn on Darkbloom under Privacy & Security → Local Network, through Screen Sharing on a Mac
with no display), instead of "the other Mac did not answer". Retry starts a stopped pair again, q leaves a start's wait
at once, and the joining Mac's window shows how the leading Mac's start is going.
- The Local Network ✗ no longer ends with a line that repeated its instruction and was cut off mid-sentence, and a ✗
line too long for the screen is cut at a word and marked with "…". In the DevNet app, the pairing screen's firewall
hint and its line about a reinstall name Darkbloom Dev.
- The card after a start says "Starts by itself at login on both Macs." only when the cluster service on both Macs
does; otherwise it names the Mac where it doesn't, or says the other Mac doesn't say (an older Darkbloom there).
3 changes: 3 additions & 0 deletions changelog.d/cluster-everyday-commands-on-a-pair.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,6 @@
so when it is slow; past that they show this Mac's own view.
- `darkbloom unenroll` (leaving fully) and the app's local mode no longer stop with an internal error when they stop or
drain the provider first.
- `status` and `cluster status` no longer say "loading" while macOS keeps a Mac off the local network: both Macs say
the pair is not serving and what to turn on, on which Mac. A stopped pair reads stopped even when the other Mac has
gone.
2 changes: 1 addition & 1 deletion changelog.d/provider-agent-setup-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
- New provider how-to, `docs/provider/agent-setup.md`, for a person to hand to their own AI agent. The agent installs and checks the signed release, logs in with the person's help, and either serves on one Mac or pairs two Macs over a Thunderbolt 5 cable. It then proves the result with `darkbloom status`, `darkbloom cluster status --json` (its exit status and `state`) and a test request, instead of trusting the setup screen alone.
- It lists, up front, what only the person can do, such as the Terms of Service, the Darkbloom login, the RDMA switch, the macOS password and Local Network prompts, the pairing code, the model choice and Screen Sharing for headless Macs. It also sets the agent's safety rules, among them: no security settings changed, no Darkbloom files or Keychain items deleted by hand, no `darkbloom cluster link --remove` unless asked, and no large download without asking.
- Once a pair is set up, the agent checks it with `darkbloom cluster status --json` and starts or stops both Macs with `darkbloom start` and `darkbloom stop`, all without a terminal. The page also covers changing the model, pairing again, `--solo`, troubleshooting by message, and `darkbloom uninstall`.
- Checked by an agent that followed it on a real two-Mac pair: it now has a DevNet variant (`darkbloom-dev`, the DevNet installer, `Darkbloom Dev.app`; a pair's local API on port 8000 in both apps), tells the agent to have the person turn on Local Network access in System Settings on each Mac instead of waiting for a macOS prompt, quotes the screens that say when macOS keeps a Mac off the local network, and covers the app switch that offers no **Pair again**.
- Checked by an agent that followed it on a real two-Mac pair: it now has a DevNet variant (`darkbloom-dev`, the DevNet installer, `Darkbloom Dev.app`; a pair's local API on port 8000 in both apps), tells the agent to have the person turn on Local Network access in System Settings on each Mac instead of waiting for a macOS prompt, quotes the screens and the `darkbloom cluster status` reason that say when macOS keeps a Mac off the local network (the agent then stops and asks instead of waiting), and covers the app switch that offers no **Pair again**.
- Documentation only: no provider artifact changes.
1 change: 1 addition & 0 deletions changelog.d/provider-uninstall-keep-or-remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
- On a Mac with both the production Darkbloom and Darkbloom Dev, uninstalling one keeps this Mac's pairing, cluster setup and cable port setup, which the other still uses, removes only its own cluster service, and says so; uninstall the other one too to remove them. When your models folder is `~/.darkbloom` itself, the summary says Darkbloom is not fully removed and what to do. A dry run also names a cluster service running without a login agent.
- A cluster service that runs without its login agent (development builds, or a Mac where launchd did not take it) is now stopped before anything is deleted: with one install, any `darkbloom cluster service` is; beside the other install, only this install's, and the other's keeps running. A cluster service it doesn't stop, or can't tell apart, makes the uninstall delete nothing and say why. The two choices' lines say only what each removes on this Mac.
- Uninstalling one install of a serving pair beside the other install on this Mac now stops the pair first, on both Macs, as `darkbloom stop` does, so the other Mac no longer keeps restarting its part. It says so before it waits for accepted requests to finish (up to about 6 min); if the other Mac doesn't answer, the summary names it and the command to run there.
- Uninstalling Darkbloom Dev beside the production Darkbloom also removes Darkbloom Dev's own cluster incident log (with its lock and corrupt copy), which it kept in the shared cluster folder, and names it in the summary.
- For scripts and agents: `--everything` or `--keep-models` with `--yes`, and `--dry-run` (with `--json`) to list every action and path without changing anything. `darkbloom stop --uninstall` works as before.
28 changes: 23 additions & 5 deletions docs/architecture/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,16 +468,22 @@ checks that compile the screens without the package set theirs with `use`), the
pair commands and the live operations read it (`ClusterPairSummary.cli`,
`OnboardingLive.cli`), and ProviderCore's texts are named with it
(`ClusterOnboardingCommand.named`). Every line that names the app as macOS
lists it under Local Network reads `ClusterService.appName`
(`BuildEnvironment.current.appDisplayName`): the screens and the link
follower's refusal. Both apps serve a pair's API on port 8000,
lists it under Local Network or in its firewall reads `ClusterService.appName`
(`BuildEnvironment.current.appDisplayName`): the screens (through
`ClusterOnboardingCommand.app`, including the pairing hint's firewall line and
the line that asks to pair again after a reinstall) and the link follower's
refusal. Both apps serve a pair's API on port 8000,
so one of them serves a pair on a Mac at a time. Each keeps its own cluster
incident log, owned by `DarkbloomClusterRemote`
(`ClusterIncidentLog.defaultFile(homeDirectory:install:)`): production's is
`~/.darkbloom/cluster/incidents.json`, another install's its own file, such as
`incidents.dev.json`, which a build from before installs had their own files
never reads or rewrites; a corrupt one is kept beside it under its own name
(`incidents.corrupt.json`, `incidents.dev.corrupt.json`). Every reader and writer opens this build's with
(`incidents.corrupt.json`, `incidents.dev.corrupt.json`). `ClusterIncidentLog.files`
names a log's files: the log, its lock sidecar and that corrupt copy.
`darkbloom uninstall` removes an install's own with it while the shared folder
stays for the other install; production's shared `incidents.json` stays. Every
reader and writer opens this build's with
`ClusterIncidentLog.forThisInstall`. Each record also names the install that
wrote it (`ClusterIncident.install`), and a build reads only its own, counting
records without one as production's (`ClusterIncidentLog.install`). The
Expand Down Expand Up @@ -3939,7 +3945,19 @@ away; mixed pairs are first-class).
logs only a change, so a setting just turned on clears first;
`refusalIsCurrent`). The ✗ is worded for the screen that shows it
(`OnboardingLive.localNetworkLine`): a wait the joining Mac forwarded names
that Mac.
that Mac. Its line for the refused part says only that the part can't reach
the local network (`errorLines`' `refusalSaid`), and every ✗ line too long for
its bound is cut at a word, never inside a parenthesis, and marked
(`ClusterConsoleText.boundedAtWord`). `status` and `cluster status` read the
same refusal by the same rule (`ClusterLocalNetworkAccess.Refused`): on the
refused Mac its own service's state, on the leading Mac the other Mac's
status, asked (`otherMacStatus`) only while the pair has been starting past
the settle time (`otherMacRefused`). They say `not_serving` in the screens'
words, ending with the command that starts the pair again instead of the
screen's Retry (`statusWords`, through the `then` of
`localNetworkRefusalLines` and `localNetworkBlockedLines`). A stopped pair
reads stopped whatever the other Mac's presence
(`ClusterPairSummary.state(ofStatus:started:leaderMode:)`).
- **The person's family:** `useMode` keeps the chosen family for every model
(`OnboardingLive.keptFamily`), never inferred from the listing's order, which
says nothing of the plan; `localAdopt` plans again in it only when the listed
Expand Down
Loading
Loading