Files
stack/docs/fleet
jason.woltje 3ae1411d5f
ci/woodpecker/pr/ci Pipeline was successful
docs: PRD rev1 re-review — repoint PRD heading anchors to GOV.4, complete archive line cites
Addresses CPS-PRD-REV1-REREVIEW findings on PR #1491 head 13968e9a:

F1 (blocker; the CI test failure): docs/PRD.md is now the permanent shim, so
heading-fragment links into the former PRD body no longer resolve —
fleet-documentation.spec.ts failed on docs/fleet/README.md's FCM anchor. The
Part II workstream contracts live in
docs/PRDs/2026-08-31_PRD_rev1/GOV.4-workstream-contracts.md; all five anchored
links in the tree are repointed there (fleet/README.md, TASKS.md,
release-integrity/TASKS.md, ADMIN-GUIDE mos-connector-lease-operations.md,
DEVELOPER-GUIDE mos-runtime-portability-m1.md). Each anchor verified against
the GOV.4 headings with the spec's slug rule. Bundle content unchanged.

F2 (minor): the rev0 archive README's ./ROADMAP.md row now cites all three
source lines (18, 177, 249).
2026-09-02 10:15:21 -05:00
..

Fleet Configuration Management

This book documents the local roster-v2 desired-state control plane delivered under issue #758. The normative requirements are the FCM section of the repository PRD, not the older fleet-suite or observability planning pages.

Authority boundary

<MOSAIC_HOME>/fleet/roster.yaml is the sole writable desired-state authority for local fleet membership, launch policy, and persisted lifecycle. Generated environment files, systemd enablement, tmux sessions, heartbeat files, and status output are derived or observed. Rebuild projections from the roster; never edit them as desired state.

This control plane is local tmux/systemd only. Remote/SSH entries and connectors are inventory, not reconciliation targets. Arbitrary commands, channels, secret references, gateway catalog convergence, and UI configuration storage are outside this workstream. mos-comms is temporary transport glue, not permanent fleet architecture.

Choose the right workflow

  1. Need to inspect intent? Read the roster and use mosaic fleet get; see desired versus observed state.
  2. Need to inspect reality? Use status or doctor; use verify for a strict non-zero drift/ownership gate. These commands do not repair anything.
  3. Need to change membership or persisted policy? Use generation-guarded plan, create, update, or delete; see safe CRUD.
  4. Need a one-time runtime action? Use start, stop, or restart. These do not change persisted desired state.
  5. Need convergence? Review apply --dry-run, resolve blockers, then use apply with the same current generation; see reconcile and recover.
  6. Need v1 migration evidence? Use preview only. Cutover, canary, and rollback remain held for FCM-M4-002.
  7. Need the gateway-backed agent catalog? That is the separate mosaic agent surface, not local fleet desired state.

Concepts

Operator how-to

Operations and recovery

Reference and migration

Acceptance evidence and holds

The canonical publishing source remains this repository. This card does not publish externally, run a migration, operate a live fleet, or close parent issue #758.