Repository navigation
Open
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-inspriority/highImportant and time-sensitiveImportant and time-sensitivestatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)
Description
Design mill: one fleet surface for OpenCode, OpenChamber, ID, and mcpx
Drew's design, dictated 2026-11-14. Protected design — do not close or drop without Drew.
The idea in plain words
All automation and agent calls to OpenChamber, OpenCode, the ID binary, and the mcpx binary should go through subcommands of the fleet binary. At first this is mostly pass-through to the same underlying binary/endpoint, but fleet automatically resolves WHERE to talk: the right port on localhost, the right socket, the right endpoint path for that service on that host. Credentials are populated automatically and the caller can skip those fields. A raw mode (explicit endpoint path, raw POST body, explicit flag) always exists as an override.
This is a design mill with multiple passes, not one build. Passes are filed as sibling issues and cross-linked here.
Cross-cutting rules Drew set
- Auto-resolution is the default; a specific flag overrides it. Defaults: the service's standard port on localhost or its socket.
- Endpoints can be customized per subprogram: a service may have a standard port, a website port, a homepage path, or a unique-ID custom path taken from settings, used raw.
- Everything exposed as a command should also be exposable as MCP and as REST (flag-gated, not all on at once). Later possibly GraphQL by the same switch.
- ID is the identity/transport layer of the whole system: many fleet commands will read/write the local or configured ID store, which may itself be remote depending on configuration. Some future commands may not work without ID, and some may require a remote ID connection over iroh. Requiring a network is not new (the queue already requires Turso over HTTP); only the transport changes.
- Keep maximizing GitHub while scoping the exits (pass 7): alternatives for repos/issues/PRs/CI across the lab, Cloudflare, and Turso, so the fleet is never trapped on one forge.
The passes
- Fleet subcommand pass-through + endpoint/credential resolution (raw layer for all four services).
- iroh-native ID transport in fleet: fleet initiates iroh connections, identity stamping, postcard handling and format conversion, WebSocket/WebTransport serving.
- ID binary REST session + presentation model: every ID subcommand over REST with full argument parity, streaming sessions with resume, web presentation and bundles, terminal-style rendering over web transports.
- MCP everywhere + aggregation: fleet's MCP runs through mcpx; namespaces, fan-out (map / any / first), remote-connection graph with promotion; ID's own MCP server and world-app MCP tools; mcpx chaining/clustering helpers.
- Embedding research: ID as a library or dynamic library inside fleet; mcpx via cgo embedding or a Rust port (Go test suite as the spec); what smushing ID + mcpx into fleet costs and buys.
- Fork upkeep: merge upstream OpenCode and OpenChamber into the forks; feature-gap analysis (mobile app, features OpenChamber removed) with restore-or-drop decisions made by us, not upstream.
- Beyond GitHub (exploratory): git data in iroh blobs, forge alternatives (including the self-hosted one whose name Drew can't recall — identify it), per-user/per-repo Turso tenancy, Durable Objects for merge queues/CI, Cloudflare Artifacts cost check.
Notes captured with the design
- mcpx fully supports REST and can be used as a binary; its MCP server part should be separately reachable, and mcpx should offer a standardized way to export the full MCP server config for a server marked exportable.
- OpenCode exposes: launch/list/manage sessions, history, answer questions, view errors, generic model endpoints (completion, conversation, decision), and media support (audio, video, two-way audio streams, PDF-like text variants). OpenCode also has ACP support — verify how it relates to the session REST endpoints. OpenChamber launches sessions and has tasks; both have web frontends. Check whether each has an MCP server; if not, we write one that covers everything REST does, plus CLI-only operations.
- Cycle safety for chained MCP/fleet calls is a named TODO, not a V1 blocker: pass-through headers, an incrementing depth count stored with the originating client, per-server max depth, basic cycle detection via initial request IDs.
- ID code mode vs app code mode are different things: an app's code mode is a roc script inside the world's exposed environment/capabilities; ID's code mode is an MCP command whose script runs against the ID server's platform (client or admin). mcpx already has exec/code mode — ensure remote clients get it too.
Metadata
Metadata
Assignees
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-inspriority/highImportant and time-sensitiveImportant and time-sensitivestatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)
Activity
developing-today commentedon Nov 14, 2026
CODE-3751
dezren39 commentedon Nov 14, 2026
The passes, as filed:
Full dictated design captured verbatim-structured in the parent body; local copy at ~/workspace/fleet-mill-2026-11-14/ on the sandbox.
dezren39 commentedon Nov 15, 2026
Supplement filed from Drews 2026-11-14 dictation: #10405 — the middle-road basic fleet MCP (no code mode, no exec runtime), dynamic tool-list refresh, ID MCP dynamic attach by ID/URI, fleet boot orchestration of graph publication, naming conventions + delegated admin + drop-box namespaces, discovery/inspection tooling, the fleet install flow with configurable conflict policies, aggregates and the shadow-world filtering trap, and transitive capability purity (the union of reachable capabilities is the true capability set and must be surfaced).
dezren39 commentedon Nov 17, 2026
Agent note — triage (lane any-j, task 19248)
State: triaged — a design-mill starter in the same family as #9206/#9209 (triaged earlier today): a summit-shaped design brief, already fully specified, whose execution home is the design-mill under the pm-orchestration program (#9196). This triage records the route; it does not re-route or duplicate it.
Fresh evidence (checked 2026-11-17):
Triage verdict:
triaged. The issue stays open as the design parent.Queue: task 19248 (lane any-j) — claimed, triaged inline per runbook §1c.
dezren39 commentedon Nov 18, 2026
Agent note — triage re-verified (openchamber scheduled lane oc-code-03, queue task 20587, 2026-11-18)
state: triaged
route: protected design parent (do not close without Drew). Passes 1 to 7 are sequenced by the design mill. Pass 1 (subcommand pass-through and endpoint/credential resolution) is the first slice. No worker packet from this lane.
Fresh state 2026-11-18: #10389 OPEN, labels
priority/high,effort/l,status/triaged, no blocked-by dependencies. The 2026-11-17 verdict still holds.