You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(#6380 slice 3): API documentation for public interfaces - id crates, mcpx MCP surface, fleet CLI + pm-stack HTTP #11190
Sub-issue of #6380 (architecture and design decisions overhaul), slice 3 of 5. Scoped by triage task 20011 (2026-11-17) against the slice-1 index in planning/architecture/README.md. Slice ordering (triage task 11173): slice 1 landed (PR #6995), slice 2 (ADRs) is routed as task 20002, this is slice 3, slice 5 reviews everything last.
Scoping decision (task 20011)
"Public interfaces" for this repo, in the order this slice documents them:
pkgs/id crate public APIs — the workspace of importable crates from the crate split; their public Rust surface is consumed by other crates and apps. Document via rustdoc coverage on the public items of the user-facing crates (starting with id-core and the top-level id crate), plus a short "public API" section in pkgs/id/ARCHITECTURE.md naming which crates are public surface and which are internal.
mcpx MCP tool surface — the tools mcpx exposes to MCP clients are a public contract. pkgs/mcpx/docs/ already carries a compendium; this slice adds/updates the API-level reference for the exposed tool surface and links it from the architecture index's package-docs section.
fleet multicall CLI + pm-stack aggregator HTTP routes — the operator-facing surfaces (fleet queue|dispatch|... verbs and the aggregator's /queue, /today, /api/queue.json routes). Document the verb/route list with one-line contracts in the owning docs home (fleet design record home / pm-stack docs), linked from the index.
Out of scope for this slice: every other pkgs/ package's internals (they are not public interface until a package doc says so), and any API change itself — this is documentation of the surfaces as they are; gaps found get filed as their own issues, not fixed here.
Acceptance
Each of the three surfaces above has an API-level doc in its owning home, linked from planning/architecture/README.md (links verified to resolve).
pkgs/id/ARCHITECTURE.md names the public vs internal crates.
Any surface found to have no stable contract worth documenting is recorded on this issue with the evidence, instead of a doc being invented for it.
state: parked
task: 20722 (repo-health-code-pilot, lane oc-code-03)
issue: #11190 — #6380 slice 3: API documentation for public interfaces
Fresh check 2026-11-18: #11190 OPEN, parent #6380 OPEN, no open blockers. The slice documents public interfaces across the codebase, a multi-package change that this unattended lane does not start.
Resume brief: pick the public crates in scope, write their API docs in a worktree, and verify with the doc build. Parked; no packet filed here.
agent-note:v1
state: parked
task: 20722 (repo-health-code-pilot, lane oc-code-06)
Scheduled lane picked up task 20722 and revalidated fresh: #11190 and parent #6380 are OPEN; #11190 is assigned to Drew (dezren39). The latest prior agent note explicitly says this unattended multi-surface docs lane does not start the work; no PR is open. No files or branch changed.
Parked for 30 minutes naming the existing Drew assignment/prior ownership direction. Resume only when reassigned/unassigned or a fresh owner handoff authorizes a worker to proceed. Resume brief: handle the scoped documentation surfaces in packet order (pkgs/id public rustdoc + public/internal architecture, mcpx tool API reference, fleet CLI and pm-stack routes), link each doc from planning/architecture/README.md, and verify all relative links.
pkgs/id/ARCHITECTURE.md: public-vs-internal crate section (root id and id-core are public surface; the rest internal; id-currency-registry and id-render have no dependents).
rustdoc on the four public items that lacked it (AuthId, Decision, CurrencyOp, backup download constants).
pkgs/mcpx/docs/tool-reference.md (registered in manifest and SUMMARY), pkgs/fleet/docs/verbs.md, pm-stack/docs/routes.md, all linked from planning/architecture/README.md.
Gaps found and recorded here, not fixed (documentation only; no API change in this slice):
fleet registry subcommands arrays are stale: the queue domain lists about 16 verbs, the code dispatches 31. Generated docs from the registry would be wrong.
doc/ interfaces and HTTP API pages say 81 ops; live Ops() count is 93.
server.go comment says "these ten" hand-written tools; there are 12.
compare/matrix-mcpx.md row 19 (isError lost via mcpx_call) is unverified; the generic path keeps it. Needs a targeted check before correcting.
pkgs/id/ARCHITECTURE.md core-module headings predate the crate split (cli.rs, store.rs, tags.rs moved into crates).
Filed as gaps on this issue rather than new issues, so no separate triage packet was needed.
Activity
developing-today commentedon Nov 17, 2026
CODE-4086
dezren39 commentedon Nov 18, 2026
state: parked
task: 20722 (repo-health-code-pilot, lane oc-code-03)
issue: #11190 — #6380 slice 3: API documentation for public interfaces
Fresh check 2026-11-18: #11190 OPEN, parent #6380 OPEN, no open blockers. The slice documents public interfaces across the codebase, a multi-package change that this unattended lane does not start.
Resume brief: pick the public crates in scope, write their API docs in a worktree, and verify with the doc build. Parked; no packet filed here.
dezren39 commentedon Nov 18, 2026
agent-note:v1
state: parked
task: 20722 (repo-health-code-pilot, lane oc-code-06)
Scheduled lane picked up task 20722 and revalidated fresh: #11190 and parent #6380 are OPEN; #11190 is assigned to Drew (dezren39). The latest prior agent note explicitly says this unattended multi-surface docs lane does not start the work; no PR is open. No files or branch changed.
Parked for 30 minutes naming the existing Drew assignment/prior ownership direction. Resume only when reassigned/unassigned or a fresh owner handoff authorizes a worker to proceed. Resume brief: handle the scoped documentation surfaces in packet order (pkgs/id public rustdoc + public/internal architecture, mcpx tool API reference, fleet CLI and pm-stack routes), link each doc from planning/architecture/README.md, and verify all relative links.
Merge pull request #11809 from developing-today/queue/20722-11190-api…
dezren39 commentedon Nov 18, 2026
Agent note — task 20722 done (lane oc-code-06): slice 3 landed in PR #11809 (merge
d3d274d1)Delivered:
pkgs/id/ARCHITECTURE.md: public-vs-internal crate section (rootidandid-coreare public surface; the rest internal;id-currency-registryandid-renderhave no dependents).AuthId,Decision,CurrencyOp, backup download constants).pkgs/mcpx/docs/tool-reference.md(registered in manifest and SUMMARY),pkgs/fleet/docs/verbs.md,pm-stack/docs/routes.md, all linked fromplanning/architecture/README.md.Gaps found and recorded here, not fixed (documentation only; no API change in this slice):
subcommandsarrays are stale: the queue domain lists about 16 verbs, the code dispatches 31. Generated docs from the registry would be wrong.doc/interfaces and HTTP API pages say 81 ops; liveOps()count is 93.server.gocomment says "these ten" hand-written tools; there are 12.compare/matrix-mcpx.mdrow 19 (isErrorlost viamcpx_call) is unverified; the generic path keeps it. Needs a targeted check before correcting.pkgs/id/ARCHITECTURE.mdcore-module headings predate the crate split (cli.rs,store.rs,tags.rsmoved into crates).Filed as gaps on this issue rather than new issues, so no separate triage packet was needed.