transport: control-plane-tracer — the first real seam over HTTP, end to end #127
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#128 transport: members-devices-live — members, device-add and shell surfaces onto the real client
Matou/idss
#129 transport: provisioning-updates-live — provisioning and updates surfaces onto the real client
Matou/idss
Reference
Matou/idss#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
ADR 0037 (OpenAPI client). Filed from Ben's rulings 2026-07-26 after the review sweep of
6596977..9e946b7: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now. The tracer bullet for the whole transport arc.What to build
The control plane serves its first real seam over HTTP — monitoring status (read-only, safest) — and the dashboard's monitoring surface reads it live. The OpenAPI spec grows past
/healthzto describe the endpoints; the dashboard gets its generated client under alib/apilayer; the monitoring client gets its first non-fake implementation. This ticket sets the pattern (endpoint shape, error mapping, client generation, wiring point) every later surface migration copies.Acceptance criteria
Blocked by
Task manifest
Done in
6f8fe10(onorigin/main).The first real seam over HTTP, end to end — the pattern every later surface migration copies.
packages/openapi-spec/openapi.yamlgrows past/healthzto/monitor/status(the P5-S1StatusView) and/monitor/alert-count, plus aProblemerror shape; snake_case wire (#126).internal/controlapi— a narrowMonitorReaderface (*monitor.Orchestratorsatisfies it by construction) behind a method-awarenet/httpmux under/api/v1.control-plane/cmd/control-planenow wires a real (resting) orchestrator and blocks serving the API. httptest handler tests + an integration test drive the real orchestrator’s projection over HTTP.dashboard/src/lib/api/generated.tsis a committed, generated client (from the spec viapackages/openapi-spec/scripts/generate-client.mjs;pnpm --filter @ourcloud/openapi-spec run check:clientinscripts/seam-smoke.shfails CI on drift) — no hand-rolled fetch.HttpMonitoringClientmaps snake_case→camelCase;HttpReachabilitySourcepings healthz so a control-plane error flips the honest DX degraded state the DX tests already drive.productionDashboardDeps+bootstrapselect the real HTTP monitoring client for the services surface, every other surface still its seam fake until its own migration ticket — one place naming, per surface, real-vs-fake (the pattern the fakes:testing-seam ticket generalises).Acceptance: (1)
ServicesSurfacerenders fleet/service status from the real endpoint over the generated client — component integration testdashboard/tests/unit/controlPlaneTracer.test.ts, no fake in the path. (2) spec describes the endpoints, client generated (CI-checked in sync). (3) a 5xx/unreachable control plane flips the reachability probe → the shell shows the DX degraded state. (4) the bootstrap selects real-vs-fake explicitly.Out of scope (their own tickets): the remaining monitoring surfaces (drill-in/respond/alert-contact) and every other feature’s transport.
Note: local sandbox has no Go/pnpm toolchain; verified statically (eslint + prettier over all touched TS, the generator
--check, careful review). Fullnix develop -c scripts/seam-smoke.shruns in CI.