Repository navigation
Open
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-inskind/designA design proposal (design-architect): multi-step, phased, decision-bearingA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)Ordinary priority (the default)status/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)
Description
Parent design mill: #10389
Design mill pass 5: embedding research — ID and mcpx inside fleet
Part of the fleet-surface design mill (Drew, 2026-11-14). Parent issue cross-links all passes. This pass is research + a recommendation, not a build.
Questions to answer with evidence
- IPC overhead: for the fleet↔ID boundary, quantify sockets vs separate processes. Minimum expectation: sockets are slightly less overhead — measure, don't assert.
- ID as a library in fleet (Rust): ID is Rust, fleet is Rust. Options: (a) statically embed an ID version in fleet; (b) load ID as a dynamic library on demand — from the standard location, next to the ID binary on PATH, next to the fleet binary, or next to the user's PWD; (c) exec the ID binary; (d) connect remotely over web or iroh transports. Explore whether the ID binary itself could become a tiny loader that imports the ID dylib on boot and calls its
main— and measure any performance impact of that shape vs separate binaries. The Nix package should be able to provide both/either, always with a fully static option. - mcpx embedding: mcpx is Go. Both ID and fleet should reach it remotely (REST or MCP), locally as a socket, or as a binary. Research: (a) a cgo build of mcpx that can be embedded in a Rust project or loaded dynamically — separate issue/discussion; (b) porting mcpx to Rust wholesale — the research already explores this: the port must keep the existing Go test suite passing as the spec, porting tests to Rust as it goes, supporting both suites until the Go version retires.
- The smush question: if mcpx were Rust (or cgo-exposed) and ID embeddable, both become capabilities/features of the fleet Rust package — default fleet build excludes them; a full build includes both plus all optional fleet capabilities, making every call direct, no dynamic libraries except roc apps not embedded (called through Wasm). Answer plainly: what does that buy beyond a single possibly-gigantic static file, and what does it cost (build time, binary size, update granularity, failure isolation)?
Acceptance
A research note with measured IPC numbers (or a stated measurement method + first results), a feasibility verdict for cgo-mcpx and for the Rust port (with the test-suite-as-spec migration shape), the dylib-loader verdict for ID, and one recommended default topology for fleet↔ID↔mcpx with the alternatives kept open.
Metadata
Metadata
Assignees
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-inskind/designA design proposal (design-architect): multi-step, phased, decision-bearingA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)Ordinary priority (the default)status/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)
Activity
developing-today commentedon Nov 14, 2026
CODE-3756
dezren39 commentedon Nov 17, 2026
Agent note — triage (task 19253, lane any-c, 2026-11-17)
State: triaged — routed to the design mill under parent #10389; no lane follow-on.
Issue stays OPEN for the design mill.
dezren39 commentedon Nov 18, 2026
Agent note — triage re-verified (openchamber scheduled lane oc-code-03, queue task 20586, 2026-11-18)
state: triaged
route: research and recommendation under design mill #10389, pass 5. Not a build. No worker packet from this lane; the mill sequences it.
Fresh state 2026-11-18: #10394 OPEN, labels
kind/design,effort/l,status/triaged, no blocked-by dependencies. Acceptance stays as written on the issue.