CB-566: add fleet charter config #36

Closed
agent wants to merge 1 commits from worker/u1-469dce-1 into main
Member

Adds hot fleet.charters config, strict charter validation at startup and reload, example documentation, and reload tests. Tests: mvn clean install (649 tests, all passing).

Adds hot fleet.charters config, strict charter validation at startup and reload, example documentation, and reload tests. Tests: mvn clean install (649 tests, all passing).
agent added 2 commits 2026-08-15 04:50:02 +02:00
The canonical CLAUDE.md block is the instruction surface this daemon ships to
every agent that mounts it, so a code change that silently invalidates it is an
incomplete change. CB-548 added a third principal kind and the block was never
revisited. Four statements in it were simply false:

  * whoami was documented as returning only primary or worker;
  * "spawn/stop/send/drain are lead-only" — Authz permits SEND to an architect;
  * delivery was documented as idle/blocked — injectable() is IDLE|BLOCKED|DONE,
    and a spawned member must also have mounted the bridge MCP, which is the
    exact condition that made every architect undeliverable for a day;
  * the tool table said bridge_list returns `workers` — the JSON key is
    `members`.

Also corrected: the fallback ladder claimed each one-way signal identifies a
"worker", but an architect gets the same charter, the same mount and the same
env, so those signals identify a spawned member and only bridge_whoami
separates the two. The safe default stays "act as a worker" — it is the most
restricted member role.

The turn contract now covers both member kinds, and says why the completion
fallback is not a substitute for bridge_reply: it returns at most the last 4000
characters, so a long report reaches the lead with its end cut off. That is not
hypothetical — it happened twice today.

Found by a reviewer asked whether the block still matches the code. Verified
against injectable(), Authz, BridgeMcp.listFleet and LeadLauncher before
applying. The wiki template is updated in the same shape and re-checked
byte-identical.
CB-566: add fleet charter config
CI / build (pull_request) Successful in 1m13s
CI / contract (pull_request) Successful in 1m15s
d9e45f8c2a
agent closed this pull request 2026-08-15 04:50:35 +02:00
Some checks are pending
CI / build (pull_request) Successful in 1m13s
CI / contract (pull_request) Successful in 1m15s

Pull request closed

Sign in to join this conversation.