Skip to content

Commit b2db92c

Browse files
authored
docs(fleet): declare native MCP launch admission (#19438) (#19439)
* docs(fleet): declare native MCP launch admission (#19438) * docs(fleet): align the native admission diagram (#19438)
1 parent 966eec8 commit b2db92c

2 files changed

Lines changed: 23 additions & 4 deletions

File tree

‎learn/agentos/FleetManagerArchitecture.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ flowchart TD
2424
subgraph Host["Host machine (relay · seats · wake · actuation)"]
2525
Transport["Transitional fleet relay<br/>devFleetServer :8083"]
2626
Seat["Managed harness seat"]
27+
Launcher["Seat's fixed MCP launcher"]
28+
LaunchIssuer["Fleet native launch issuer<br/>(local Start authority)"]
2729
Receiver["Signed graphless wake<br/>receiver — launchd (osascript/tmux<br/>final mile is host-only)"]
2830
Actuator["Host actuator<br/>(spawn/stop, signed receipts)"]
2931
end
@@ -44,6 +46,8 @@ flowchart TD
4446
Page -. "class-1 FM admission bearer —<br/>the cutover: cockpit dials ingress" .-> Ingress
4547
Seat -- "class-3 seat MCP bearer" --> Ingress
4648
Seat -- "class-4 repo PAT" --> Forge
49+
Seat -- "Desktop starts" --> Launcher
50+
Launcher -. "class-8 launch capability · accepted, pending Brain #909<br/>(native loopback redemption)" .-> LaunchIssuer
4751
Transport -. "class-7 observe read · accepted, pending Brain #823<br/>(each seat's own PAT, read-only)" .-> Forge
4852
Ingress -- "routes /fleet*" --> FS
4953
Ingress --> MC
@@ -54,7 +58,7 @@ flowchart TD
5458
FS -. "class-5 signed command envelope<br/>(per-command, replay-bounded)" .-> Actuator
5559
```
5660

57-
*Authority: ADR 0038 §2.1 (topology) and §2.5.1 (the seven-row credential-class ledger — all seven rows placed at their boundaries above, numbered as the ledger numbers them; the page→relay process-lifetime bearer is the transitional pre-cutover credential, ADR 0019 §10.8's process-bearer class, and retires with the relay). The ingress routes `/fleet` + `/fleet/probe` to the optional composed service today (`ai/deploy/Caddyfile`; optionality per §2.7). **The wake corner is two actors, two homes** — the plane's signed dispatcher (`WebhookDeliveryService`, in the Memory Core container) POSTs class-6-signed Shape-B digests at the host's **signed graphless wake receiver** (`receiver.mjs`, run by launchd on client machines), which verifies the signature and then performs the host-local adapter final mile — `osascript`/`tmux` prompt injection can only execute at the host, never from inside a container, which is exactly why the receiver lives there. Live receipt: [#16694's closing trail](https://github.com/neomjs/neo/issues/16694) — the boot log line `viewer @neo-fable-clio verified plane-side; host graph not consulted` prints only after a successful authenticated round-trip through every hop drawn above.*
61+
*Authority: ADR 0038 §2.1 (topology) and §2.5.1 (the eight-row credential-class ledger — all eight rows placed at their boundaries above, numbered as the ledger numbers them; the page→relay process-lifetime bearer is the transitional pre-cutover credential, ADR 0019 §10.8's process-bearer class, and retires with the relay). The ingress routes `/fleet` + `/fleet/probe` to the optional composed service today (`ai/deploy/Caddyfile`; optionality per §2.7). **The wake corner is two actors, two homes** — the plane's signed dispatcher (`WebhookDeliveryService`, in the Memory Core container) POSTs class-6-signed Shape-B digests at the host's **signed graphless wake receiver** (`receiver.mjs`, run by launchd on client machines), which verifies the signature and then performs the host-local adapter final mile — `osascript`/`tmux` prompt injection can only execute at the host, never from inside a container, which is exactly why the receiver lives there. Live receipt: [#16694's closing trail](https://github.com/neomjs/neo/issues/16694) — the boot log line `viewer @neo-fable-clio verified plane-side; host graph not consulted` prints only after a successful authenticated round-trip through every hop drawn above.*
5862

5963
Walk the hops. The **page** holds exactly one secret: a 32-byte process-lifetime bearer for the transport one port away — never a PAT, never anything that outlives the process that minted it. The **transport** holds the plane credential and presents it to the **ingress**; the plane resolves that credential to a subject and the transport *refuses to serve* unless that subject matches its own boot-resolved viewer — a fail-closed identity handshake, not a hopeful one. And the browser never touches the plane credential at all. The remaining ledger rows live off the cockpit path, each at its own boundary: in normal setup a managed seat holds one PAT, given once at Add Agent, that serves as both its plane MCP bearer (class 3) and its repo-workflow PAT (class 4) — a reuse the ledger declares, never one that happens silently, while an existing plane binding keeps its own authority — and the accepted observe read (class 7) has the relay read each seat's open work with that seat's own PAT, read-only, once [neomjs/neo-agent-brain#823](https://github.com/neomjs/neo-agent-brain/issues/823) lands (until then it reads with whatever `GH_TOKEN` or `GITHUB_TOKEN` its own process carries); lifecycle commands reach a host only as class-5 signed one-shot envelopes, replay-bounded, with no standing bearer on that hop; and wake delivery carries class-6 per-subscription HMACs bearing zero read or write authority. When the composed fleet-server takes over the relay's job — [#16168](https://github.com/neomjs/neo/issues/16168), Euclid's epic, authored and steered by him on its own record, its service already composed and ingress-routed at `/fleet` today — the cutover is the dashed class-1 arrow above: the cockpit authenticates to the plane as the *operator's* provider identity, a different credential class with its own custody rules, and the relay retires.
6064

0 commit comments

Comments
 (0)