transport: members-devices-live — members, device-add and shell surfaces onto the real client #128
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.
Depends on
Reference
Matou/idss#128
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. 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.What to build
Following the tracer's pattern: the members surface (list, invite, approval, removal, komiti), the device-add dashboard surfaces (codes ledger, watcher), and the shell's overview/fleet/device/logs/settings reads move from fake clients to real control-plane endpoints via the generated client.
Acceptance criteria
Blocked by
Task manifest
Members half delivered and live over HTTP (commit on
main:b66d70b/c03c5a9). Also un-broke the transport test suite, which was red onorigin/main.Done this iteration — no fake remains in the wired Members faces
The P6-S1 Members surface's three wired faces read+act LIVE over the generated client against the real
memberorchestrator (ADR 0077), following the tracer's/backups' pattern:GET /members(list + AWAITING-APPROVAL groups + first-run flag), invite mint/list/revoke, by-hand, approve-group, decline. Mint returns anInviteRow(server-derivedopenstatus).internal/controlapi/members.go+ aWithMembersoption — a thin projection overmember.Orchestrator(attribution from the operator header, faults → the sharedProblem), never a parallel store.dashboard/src/lib/api/membersClient.ts(oneHttpMembersClientsatisfiesMembersListClient+ApprovalQueueClient+InviteClient), wired intoproductionDashboardDeps.httptestover the REAL orchestrator (members_integration_test.go) + a node-env TS client round-trip (membersLive.test.ts) meet at the spec.Also fixed (both were red on
main, blocking every transport slice's tests)\`(backslash+backtick) for parameterised path literals → every such op in the checked-ingenerated.tswas a syntax error; the four transport test files (tracer/backups/rescue/monitor-fault) could not even load. Fixed the template.hasn't signed in yet) were unescaped → syntax error. Escaped them.dashboard/vitest.config.ts: disabled happy-dom's same-origin policy so the cross-origin live-HTTP tests actually run; fixed two pre-existing.get().exists()type errors unmasked oncegenerated.tscompiles.Verified green:
go build/vet/test ./..., golangci-lint (controlapi), openapicheck:client, dashboardvue-tsc, eslint, all 53 dashboard vitest files.Why I'm handing this back for a scoping/design decision
This slice bundles six surfaces (members + device-add + shell overview/fleet/settings). The members half is a clean request/response migration and is done. The remainder is large and carries a genuine design question I shouldn't guess:
CodesLedgerSource.listCodes()is a synchronous snapshot, andDeviceAddSource/PendingSourceusewatch()subscriptions + sync config getters (communityDomain()/releaseChannel()). Making these "live over HTTP" needs reactive HTTP stores that poll/cache. Is that compatible with the manifest'sout_of_scope: [screen changes], or does a real reactive source require a component/seam change? This needs a ruling.fleetstate× monitoring per-node chip) — each warrants its own aggregating control-plane endpoint + slice.main.gocomposition-root wiring of a restingmemberorchestrator was deferred (exactly like #130 deferred rescue's composition wiring): #132 bars prod fakes, so it needs fail-loud resting stubs for the 12 ports, and the founder-row seeding is founding's concern.Recommendation: split #128 into per-surface follow-ups —
members-drill-ins,device-add-live(with the reactive-seam ruling),shell-fleet-live,shell-settings-live,shell-overview-live, and amembers-compose-controlplane(themain.gowiring). The members transport is onmainand ready to build on.Split approved by Ben (2026-07-27). Members transport is done and stays on
main. Remaining work continues as:Closing this issue in favour of the six follow-ups above.