Repository navigation
docs(provider): a setup prompt for AI agents (one Mac or a two-Mac pair), for 0.10.8 - #1775
Merged
Merged
Conversation
…c pair)
docs/provider/agent-setup.md is the file a person hands to their own AI agent
("point your agent at this file"). It walks the agent from install to a Mac,
or a two-Mac Thunderbolt pair, that serves through Darkbloom: the official
installer and signature check, login, doctor, one-Mac start, cable/link check,
pairing, model choice (tensor parallel vs pipeline), start, and verification
that does not trust the setup screen alone (status lines, the pair's log, a
self-routed test request). It lists the human-only actions up front, explicit
STOP points, the agent's safety rules, troubleshooting signals (App Attest
safeguard, the pre-0.10.8 link isolation false alarm, stale pairings, memory,
login), reporting and uninstall. Lines that describe 0.10.8 behavior still on
unmerged branches carry <!-- 0.10.8: confirm after merge --> markers.
One pointer line each in docs/README.md and README.md; changelog fragment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ter status --json, uninstall) Resolves the guide's 22 "0.10.8: confirm" markers against the PRs' own code (#1761-#1770, #1772, #1774) and removes them: - Verify a pair with `darkbloom cluster status --json` (schema 1, exit 0/3/4/5/6/7, #1774) instead of an interactive re-run and the rank.log grep: the `Pair:` line is written on whichever Mac runs rank 0. - On a paired Mac, `darkbloom start/stop/restart/status` act on the pair (rule 11, Manage it later, #1774); `--solo`, `cluster stop --service` and `--local-only`, `cluster --help`, and `link --remove`'s question. - Script `darkbloom start`: saved model, 10-minute wait, result block, exit 0/3/4/5 or 1 (#1774 code; `waitUntilServing`). - Login check, loading rows, 15-minute pair wait, the ✗ block and its choices (#1764); Pair again, Start over, the silent other Mac (#1770); free disk now plus 2.1 GB (#1766); memory with apps closed and the GPU limit (#1767, #1768); App Attest keeps an attestation across a stop (#1763) and refreshes LaunchServices after an update (#1765); no false link-isolation FAIL (#1761); one late request fails alone (#1762); the update record corrected after an install.sh reinstall (#1769); `darkbloom uninstall` modes, --dry-run, --yes, exit 64 (#1772). - After setup, `darkbloom cluster` on the leader is written to the cluster-clarity owner direction (model list with the current model selected, result block); those lines are listed in the PR notes. Code citations name only files that exist on dev; symbols from files the PRs add are cited without a path, so docs-check passes before they merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… keys, cluster stop --service) The required refactor pass (AGENTS.md) over the agent setup guide. Clarity and accuracy only: - Step 7.1: the login check's choices in plain sentences. Log in on this Mac runs `darkbloom login` in the terminal; Check again takes its place when only the other Mac lacks a login (`ClusterOnboardingDriver.checkLogins`). - Verify: `service.running` and `service.starts_at_login`, so `service` is not read as a string (`ClusterPairSummary.JSON.Service`). - Manage it later: `darkbloom cluster stop --service` stops the pair first, as #1774 now documents (46df80f: two-mac-cluster.md, cluster-always-on.md; `Cluster.Stop.pairStop`). - Changelog fragment: the person-only steps and the safety rules read as examples rather than full lists, the model choice is named, and the read-only `cluster status --json` is no longer said to act on both Macs. No rule, STOP point, command, flag, exit status or JSON key changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…1772 Re-checked the lines that waited on the cluster-clarity redesign against #1778 (a148285), and the guide's #1774 (04dfdde) and #1772 (1821a01) facts: - After setup, the pair's model list is the screen ("The pair's model list"): Enter on the serving model sends one test request (✓ Already serving …; test response in N s, the ✗ block, or no local API to test from); another model asks once; " · not enough free disk" is refused; the local/Darkbloom switch and Start over (unpair and set up again) are list lines. - The success ending is the ✓ block and the pair's card (Model, Macs, Serves or Local, Logs, Starts by itself at login), then the shell. - The joining Mac follows the first start ("Waiting for the other Mac (…) to choose the model and start…", "Choose Retry on the other Mac (…)"); the offered line replaces "registered with, or offered to"; the follower says "This Mac runs its part by itself." and offers Close / Start over. - #1774: stop says "Stopped on both Macs." only once both parts end, else "Asked both Macs to stop; …" (exit 1); restart doesn't start again while a part still holds memory; single-Mac options are refused by name (exit 64); --solo only while the pair is stopped (rule 11 and the --solo row were wrong); a leftover cluster service is "not in a cluster". - #1772: sudo refused (exit 64), "not removed: <why>" exits 1, Remove everything asks once more on the screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Adds
docs/provider/agent-setup.md, a setup prompt a person hands to their own AI agent: install and check the signedrelease, log in with the person's help, serve on one Mac or pair two Macs over Thunderbolt 5, then prove it serves
(
darkbloom status,darkbloom cluster status --jsonand a self-routed test request) instead of trusting a setupscreen. It lists the steps only the person can do, the agent's safety rules and STOP points, troubleshooting by
message, and
darkbloom uninstall. It describes provider 0.10.8 as the PRs below make it.Linked issue
None filed: an agent-led setup guide requested for the 0.10.8 release.
Test plan
onto
dev), not their descriptions; 22 "0.10.8: confirm" markers resolved and removed.make docs-check(207 files OK),make docs-impact-check BASE=origin/dev(coverage OK),make changelog-check(39 valid fragments),
git diff --check(clean).devand after all 12 PRs merge.git merge-treeclean against each documented PR and all of them combined; this PR touches none of the docs theyedit.
Components touched
Protocol / interface changes
Documentation impact
docs/provider/agent-setup.md, indexed indocs/README.mdandpointed to from
README.md. Facts are linked to their canonical pages (cli-reference.md,two-mac-cluster.md,troubleshooting.md) rather than restated.Changelog
changelog.d/<topic>.mdfragment and ranmake changelog-check(
changelog.d/provider-agent-setup-guide.md).Notes for reviewers
and fix(cluster): on a paired Mac, darkbloom start/stop/restart/status control the pair; plain cluster status --json (stacked on #1764) #1774. It links anchors those PRs add (
two-mac-cluster.md#free-disk,#pairing-again,#stopping-and-starting-again;cli-reference.md#darkbloom-cluster-status,#darkbloom-uninstall;troubleshooting.md#a-two-mac-cluster-says-not-serving-yet,#two-mac-pairs).docs-checkignores anchors, and codefrom files those PRs add is cited by symbol only, so lint passes before they land.
darkbloom clusterclarity PR, cluster: after setup, darkbloom cluster works like darkbloom start; both windows end with the same ✓/✗ (stacked on #1770) #1778: after setup,darkbloom clusteris written to itsowner direction (the pair's model list with the current model selected, a result block, back to the shell; the
following Mac's screen; Start over's place). Fourteen lines depend on it; they are listed in
overnight/docs-agent-setup.md§2 and need one check once that PR exists. Where possible they are worded to holdwith fix(cluster): say Serving only once the pair is loaded, end with a clear outcome, and say why it isn't #1764/cluster: Macs paired before get Pair again, Start over and plain next steps (stacked on #1764) #1770 as well.
darkbloom cluster status --json(schema 1, exit0/3/4/5/6/7),
darkbloom start(saved model, waits up to 10 min, exit 0/3/4/5 or 1) anddarkbloom stop(fix(cluster): on a paired Mac, darkbloom start/stop/restart/status control the pair; plain cluster status --json (stacked on #1764) #1774).Pairing, the code, macOS prompts and model choice stay with the person in a terminal.
startcan also exit 4; two lines stillsay a service is off after plain
cluster stop;start --model Xon a paired Mac starts the saved model; feat(provider): darkbloom uninstall, remove everything or keep models #1772'suninstall needs fix(cluster): on a paired Mac, darkbloom start/stop/restart/status control the pair; plain cluster status --json (stacked on #1764) #1774's
--servicefollow-up; doctor'sis_supported_falsefix suggestsdarkbloom restart, whichrestarts both Macs on a pair.
Re-checked against the final PRs (
8bf65d80ff)8bf65d80ffagainst cluster: after setup, darkbloom cluster works like darkbloom start; both windows end with the same ✓/✗ (stacked on #1770) #1778a148285f70, fix(cluster): on a paired Mac, darkbloom start/stop/restart/status control the pair; plain cluster status --json (stacked on #1764) #177404dfdde06dand feat(provider): darkbloom uninstall, remove everything or keep models #17721821a01b69. Four lines thatdepended on the clarity redesign were wrong or out of date and are fixed:
stop,--solo(only while the pair is stopped), the refused single-Mac options (exit 64) and uninstall'ssudorefusal match the moved PRs.
Before And After
flowchart LR subgraph Before R1[README.md] --> I1[provider/installation.md] D1[docs/README.md] --> I1 D1 --> T1[provider/two-mac-cluster.md] X1["An agent assembles install, login, pairing and checks from several pages and trusts the setup screen"] end subgraph After R2[README.md] --> G[provider/agent-setup.md] D2[docs/README.md] --> G G --> I2[installation.md] G --> T2["two-mac-cluster.md: #free-disk, #pairing-again, #stopping-and-starting-again"] G --> C2["cli-reference.md: #darkbloom-cluster-status, #darkbloom-uninstall"] G --> S2["troubleshooting.md: #a-two-mac-cluster-says-not-serving-yet, #two-mac-pairs"] endflowchart TB subgraph Before B1[agent] --> B2["darkbloom cluster screens, read by the person"] --> B3["'✓ Serving … Done.' taken as proof"] end subgraph After A1[agent] --> A2["install · signature check · login · doctor"] A2 --> A3{one Mac or two?} A3 -->|one| A4["darkbloom start --model"] --> A5["darkbloom status: Daemon, Traffic, Warm models"] --> A9[self-routed test request] A3 -->|two| A6["person in Terminal: darkbloom cluster (pair, code, model, start)"] --> A7{"darkbloom cluster status --json"} A7 -->|"exit 0, state serving"| A9 A7 -->|"3 / 4 / 5 / 6 / 7"| A8["act on reason and next, or STOP and ask"] endRefactor Pass
A dedicated refactor subagent reviewed the guide (d-inference
AGENTS.md, "Required Refactor Pass") and added onesigned commit,
c493c7fd38, on4e1da80f8c. It changes clarity and accuracy only. No rule, STOP point, command,flag, exit status or JSON key changed: 29 STOP points and 11 rules, as before.
ClusterOnboardingDriver.checkLogins).service.runningandservice.starts_at_login, soserviceis not read as a string.darkbloom cluster stop --servicestops the pair first, as fix(cluster): on a paired Mac, darkbloom start/stop/restart/status control the pair; plain cluster status --json (stacked on #1764) #1774's latest head (46df80f3ff)documents.
cluster status --jsonis no longer said to act on both Macs.Checked and left as is:
strings on
dev;devor at the PR that adds it;cli-reference.md,two-mac-cluster.mdandtroubleshooting.md.Lines that repeat as separate ways in (the up-front lists, the step, the troubleshooting lookup) were kept.
Gates on
c493c7fd38:make docs-check: 207 files OK.make docs-impact-check BASE=origin/dev: coverage OK.make changelog-check: 39 valid fragments.git diff --check: clean.git merge-tree: clean against each of the 12 PR heads.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.