control-plane: fleet-overview-real — the Fleet and Overview reads retire restingFleet #201
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
Reference
Matou/idss#201
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
Shell spec #22 (the Fleet and Overview tabs). Gap audit 2026-07-30 (post #191–#195 sweep of the composition roots and both app shells). Filed per the #191–#195 precedent: a close-out blocker of #183 found while preparing the run, confirmed by Ben.
What's true today
Nodes()returns nil unconditionally,PendingDevices()returns nil — while the real fleet-state projection is built a few lines above and never threaded in.What to build
Thread the real fleet-state projection into the Fleet and Overview services in the whole branch (gateway row and node rows from the projection's real state; pending devices from the real enroll ledger's projection). The resting branch keeps its honest resting rows. Seam-prove it: an enrolled device appears in the Fleet read.
Acceptance criteria
Task manifest
Blocks
#183 — leg B·2's evidence ("Fleet view with both connected").
Done — landed on
origin/mainasd85a4c5.The whole composition's Fleet and Overview reads now serve the ONE real fleet-state projection instead of the resting literal (ADR 0107):
wholeFleet(embedsrestingFleetfor the chip join + never-empty fallback):Gateway()andNodes()readprojection.Devices()— real name + role per row, the gateway excluded from Nodes as row one. When the inventory places no gateway yet it falls back torestingFleet's structural row-one gateway (DDR 0095), never an invented device. AC1 ✓ — an enrolled+placed device shows its real row, no invented literal.wholeOverview(embedsrestingOverview):PendingDevices()reads the real enroll ledger's pending projection (#184) — a called-in device's real probed hostname — instead of the unconditional nil. AC2 ✓.restingFleet/restingOverviewunchanged. AC3 ✓ — covered by the existingTestRestingFleet…/TestRestingOverview…seam tests.Evidence:
control-plane/cmd/control-plane/whole_surfaces.go(the two whole faces) +whole_surfaces_test.go(the composition seam: enrolled/placed state in, real rows out — gateway row, node rows, the no-gateway fallback, and the pending-devices queue over a real ledger seeded mint→redeem→pair). Wiring inwhole_composition.go;STATUS.mdupdated.Note: the Sandcastle sandbox has no Go toolchain (#198), so this was verified by careful review of the types/APIs against the source; the CI seam validates the build/lint/tests on push.