6
4 Setup
Dai Ha edited this page 2026-08-25 04:08:38 +02:00

4. Setup

Status: ⚫ Superseded by 13 User Guide §2 (2026-08-17). This page was written in the design era as a scope note and the procedure was never filled in. Its content had gone wrong in every detail — a decommissioned model host, port 8080, herdr protocol 14, a systemd unit that does not exist on this host, Redis Streams / NATS that were never built. Rather than leave those claims in place, the page now points at the written procedure.

Go to 13 User Guide → §2 Install. It covers, against the running system:

  • herdr, and why you check the protocol number rather than the version;
  • building and starting the daemon;
  • the login shell rule for ${SHARED_ENV}/tools/secrets.sh — the single most expensive trap in bring-up, and why scripts/fleetd-launchd-wrapper.sh exists;
  • the lead's tab label, which is how the daemon resolves who the lead is.

The one rule that was already right on this page

The lead host and process must never be given ANTHROPIC_BASE_URL or ANTHROPIC_AUTH_TOKEN. Only member panes carry them, and only the daemon sets them, at spawn. See Architecture → Subscription boundary.