control-panel observability: Fleet device drill-in + resource telemetry #759

Closed
opened 2026-08-25 01:35:41 +00:00 by ben · 2 comments
Owner

Context

Filed from the 2026-08-24 comparison of the matou-distributed-servers admin dashboard
(roles/admin_dashboard/files/dashboard/, Quasar/Vue read-only observability panel for the
ansible-deployed fleet) against this repo's control panel. That dashboard is a working
prototype of the observability tier the IDSS control panel lacks: IDSS is strong on verbs
(provisioning, updates, members, rescue, brand kit) and thin on telemetry. Its styling is a
drifted fork of the same Matou visual language, so only the widget vocabulary and
mechanics transfer — all visuals re-encode as --oc-* tokens per ADR 0122
, and every
surface here flows through the design tier (grill → wireframe → DDR → /to-spec) before
implementation.

Siblings: this ticket is one of six filed together under the
"control-panel observability" title prefix: #760, #761, #762, #763, #764.

Gap

FleetScreen rows have exactly two actions (health chip → P5-S3, "set up"/"change" →
P4-S1). There is no way to look at a device: no per-device detail, and no CPU / memory /
disk / temperature anywhere in dashboard/ — no chart or gauge primitive exists in the kit.
ADR 0063 rules the P4 wizard as the standing surface for changing a node; this is the
observing counterpart.

Prototype (matou-distributed-servers)

  • src/pages/DevicesPage.vue — fleet table with per-row CPU/Mem/Disk ResourceBars + temp;
    clicking a server row expands an inline DeviceDrawer below the table.
  • src/components/devices/DeviceDrawer.vue — hostname/status/IP, container chips, three
    GaugeRings (CPU/Mem/Disk).
  • src/components/devices/GaugeRing.vue — 46px SVG donut (r=15.9 so circumference ≈ 100,
    stroke-dasharray="{pct} 100" reads as a percentage directly).
  • src/components/devices/ResourceBar.vue — 54×6px graded bar + mono NN%.
  • Backend: node_exporter-backed nodemetrics collector.

Adopt / adapt

  • Gauge ring, resource bar, LED status dot as new kit primitives + wireframe vocabulary
    (wireframes first — they are the contract).
  • Status-grading thresholds as kit constants shared by all telemetry surfaces:
    resource ≥80% bad / ≥60% warn (and cert ≤14d / ≤30d for the sibling network ticket).
  • Drill-in opens in place on Fleet, the established pattern (DDR 0101 §1 for P4, DDR
    0109 for device-add/DF2) — not a new tab, not a route.
  • Fleet table gains telemetry columns; grill decides how much density the product type
    scale (ADR 0122 amendment, 0.75rem floor) allows vs. the prototype's 11px tables.

Do not adopt

  • The short-name keyspace and hand-fed env topology (ansible-specific).
  • Container chips as the service model (docker-compose assumption) — adapt to the
    services-on-this-device list the seams already know.
  • Pinia stores / naive setInterval polling — IDSS pattern is injected clients +
    useAsyncGuard + explicit refresh (Services already polls at 30s via mountRegistry).

Route

grill-ux-with-docs (fleet/device-observability) → /wireframe → DDR → /to-spec.

## Context Filed from the 2026-08-24 comparison of the `matou-distributed-servers` admin dashboard (`roles/admin_dashboard/files/dashboard/`, Quasar/Vue read-only observability panel for the ansible-deployed fleet) against this repo's control panel. That dashboard is a working prototype of the observability tier the IDSS control panel lacks: IDSS is strong on verbs (provisioning, updates, members, rescue, brand kit) and thin on telemetry. Its styling is a drifted fork of the same Matou visual language, so **only the widget vocabulary and mechanics transfer — all visuals re-encode as `--oc-*` tokens per ADR 0122**, and every surface here flows through the design tier (grill → wireframe → DDR → `/to-spec`) before implementation. Siblings: this ticket is one of six filed together under the "control-panel observability" title prefix: #760, #761, #762, #763, #764. ## Gap `FleetScreen` rows have exactly two actions (health chip → P5-S3, "set up"/"change" → P4-S1). There is **no way to look at a device**: no per-device detail, and no CPU / memory / disk / temperature anywhere in `dashboard/` — no chart or gauge primitive exists in the kit. ADR 0063 rules the P4 wizard as the standing surface for *changing* a node; this is the *observing* counterpart. ## Prototype (matou-distributed-servers) - `src/pages/DevicesPage.vue` — fleet table with per-row CPU/Mem/Disk `ResourceBar`s + temp; clicking a server row expands an inline `DeviceDrawer` below the table. - `src/components/devices/DeviceDrawer.vue` — hostname/status/IP, container chips, three `GaugeRing`s (CPU/Mem/Disk). - `src/components/devices/GaugeRing.vue` — 46px SVG donut (`r=15.9` so circumference ≈ 100, `stroke-dasharray="{pct} 100"` reads as a percentage directly). - `src/components/devices/ResourceBar.vue` — 54×6px graded bar + mono `NN%`. - Backend: node_exporter-backed `nodemetrics` collector. ## Adopt / adapt - Gauge ring, resource bar, LED status dot as new kit primitives + wireframe vocabulary (wireframes first — they are the contract). - Status-grading thresholds as kit constants shared by all telemetry surfaces: resource ≥80% bad / ≥60% warn (and cert ≤14d / ≤30d for the sibling network ticket). - Drill-in opens **in place on Fleet**, the established pattern (DDR 0101 §1 for P4, DDR 0109 for device-add/DF2) — not a new tab, not a route. - Fleet table gains telemetry columns; grill decides how much density the product type scale (ADR 0122 amendment, 0.75rem floor) allows vs. the prototype's 11px tables. ## Do not adopt - The `short`-name keyspace and hand-fed env topology (ansible-specific). - Container chips as the service model (docker-compose assumption) — adapt to the services-on-this-device list the seams already know. - Pinia stores / naive `setInterval` polling — IDSS pattern is injected clients + `useAsyncGuard` + explicit refresh (Services already polls at 30s via `mountRegistry`). ## Route `grill-ux-with-docs` (fleet/device-observability) → `/wireframe` → DDR → `/to-spec`.
Author
Owner

Design tier COMPLETE (commit 2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDR docs/adr/0202-design-device-telemetry-observing-drill-in.md (accepted, agent-decided under ADR 0174 — async veto), flow docs/ux/flows/p9-device-telemetry.mermaid, wireframes per the DDR; CONTEXT.md vocabulary merged. Open gates for Ben are recorded in the DDR's closing section — the cross-sibling headline is the D1 placement cluster (see DDRs 0204/0206). Relabelling needs-design → ready-for-session: next step is /to-spec for this feature (design-tier session run). Flow: p9-device-telemetry.

Design tier COMPLETE (commit 2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDR `docs/adr/0202-design-device-telemetry-observing-drill-in.md` (accepted, agent-decided under ADR 0174 — async veto), flow `docs/ux/flows/p9-device-telemetry.mermaid`, wireframes per the DDR; CONTEXT.md vocabulary merged. Open gates for Ben are recorded in the DDR's closing section — the cross-sibling headline is the D1 placement cluster (see DDRs 0204/0206). Relabelling needs-design → ready-for-session: next step is /to-spec for this feature (design-tier session run). Flow: p9-device-telemetry.

Close report — the P9 route is walked end to end

The ticket's stated route was grill-ux-with-docs → /wireframe → DDR → /to-spec. The first three landed in commit 2a37ef8 (design tier). This session ran the last one.

What landed

  • Child spec #769 — "control-panel observability child spec: device telemetry (P9) — Fleet drill-in + resource telemetry", labelled enhancement + no-triage (the standing child-spec label: #17–#22 precedent). 40 user stories in ten groups, each with Given/When/Then acceptance criteria sourced from the flow's nodes and edges and written against the wireframes' data-field / data-action / data-status contract, so design-verify can check the shipped UI against them. Covers all five object-states (reporting, stale, last-known, no-telemetry-yet, unavailable), the DF telemetry columns, the shared kit primitives, and the collection path — plus seams, testing decisions, a scope fence, and six named vertical slices.
  • Commit 9687012 — STATUS.md: the header's observability paragraph and the pipeline row now read "/to-spec tail 1 of 5 done".
  • Follow-up #770 — the observability /slice-map fan-in, ready-for-session, natively blocked by #760–#763 so the runner cannot claim it until the four sibling specs exist.

Rulings made this session — Ruled by agent under ADR 0174 — veto anytime

  1. P9's /to-spec does not wait on D1. STATUS.md said "next = /to-spec per feature once D1 is ruled". D1 is the cross-sibling placement cluster — the new tabless drill-in grammar (DDR 0204) and Overview's RECENT ACTIVITY row (DDR 0206). P9's placement is not part of it: DDR 0202 mounts the drill-in on the already-ruled in-place pattern (DDR 0101 §1 / DDR 0109), the same mechanism FleetSurface already uses today for P4-S1 assess, device-add and the DF2 codes ledger. Nothing in the spec turns on D1. Proof: DDR 0202's "Open gates (Ben)" section lists exactly two gates, G1 and G2 — neither is D1; and D1 is named in DDRs 0204/0206, not 0202. Two-way door: if D1 lands somewhere unexpected, the spec is a tracker issue, edited with a comment.
  2. The two gates that DO touch P9 stay veto-open on their DDR defaults, and the spec is written against them. G1 (three DF telemetry columns, temperature excluded) and G2 (device name as the look-at affordance). The spec's "Further Notes" records exactly which stories each veto retires — G1 retires stories 1/3/4/6 and leaves the drill-in whole; G2 swaps story 5's affordance for a per-row view act and nothing downstream changes. Neither gate touches a seam, a state, a threshold or a primitive, which is why the rest can be sliced now.
  3. The spec is no-triage, not ready-for-agent. A child spec is a Phase-1 artifact with no task manifest; #767 demonstrated the failure mode two days ago (labelled ready-for-agent, picked up by a swarm worker, correctly blocked). no-triage matches every prior child spec in this repo (#17–#22).
  4. The seams grow; none is minted. Following /to-spec's "prefer existing seams, use the highest seam, the ideal number is one": the Fleet aggregating read — FleetSource.load() on the dashboard, FleetService behind GET /fleet in the control plane — gains nullable per-node readings and the drill-in's per-device read. A separate telemetry source was rejected: it would give the row and the detail two paths to one truth, which is what DDR 0155 §3 forbids. Proof: the existing seam already aggregates the fleet store × per-node monitoring server-side and is already faked once in the component tests.
  5. Freshness is classified server-side, once. The telemetry state (reporting / stale / last-known / none / unavailable) travels on the wire as a named verdict; the dashboard renders it and performs no timestamp comparison or threshold arithmetic. This follows ADR 0097 and DDR 0071 (monitoring owns the silence judgement) and is what makes the honesty stories checkable at a seam rather than a matter of front-end discipline.

Not done, and deliberately — the four sibling /to-spec runs (#760–#763 stay ready-for-session), the fan-in itself (#770), and any implementation. No code was written this session: /to-spec produces a spec, and the slices it names are to-tickets' to emit after the fan-in.

Closing: the route this ticket describes is complete, and its output is #769.

## Close report — the P9 route is walked end to end The ticket's stated route was `grill-ux-with-docs` → `/wireframe` → DDR → `/to-spec`. The first three landed in commit `2a37ef8` (design tier). This session ran the last one. **What landed** - **Child spec [#769](https://git.matou.nz/Matou/idss/issues/769)** — "control-panel observability child spec: device telemetry (P9) — Fleet drill-in + resource telemetry", labelled `enhancement` + `no-triage` (the standing child-spec label: #17–#22 precedent). 40 user stories in ten groups, each with Given/When/Then acceptance criteria **sourced from the flow's nodes and edges** and written against the wireframes' `data-field` / `data-action` / `data-status` contract, so `design-verify` can check the shipped UI against them. Covers all five object-states (reporting, stale, last-known, no-telemetry-yet, unavailable), the DF telemetry columns, the shared kit primitives, and the collection path — plus seams, testing decisions, a scope fence, and six named vertical slices. - **Commit `9687012`** — `STATUS.md`: the header's observability paragraph and the pipeline row now read "`/to-spec` tail 1 of 5 done". - **Follow-up [#770](https://git.matou.nz/Matou/idss/issues/770)** — the observability `/slice-map` fan-in, `ready-for-session`, natively blocked by #760–#763 so the runner cannot claim it until the four sibling specs exist. **Rulings made this session** — *Ruled by agent under ADR 0174 — veto anytime* 1. **P9's `/to-spec` does not wait on D1.** `STATUS.md` said "next = `/to-spec` per feature **once D1 is ruled**". D1 is the cross-sibling *placement cluster* — the **new** tabless drill-in grammar (DDR 0204) and Overview's RECENT ACTIVITY row (DDR 0206). P9's placement is not part of it: DDR 0202 mounts the drill-in on the **already-ruled** in-place pattern (DDR 0101 §1 / DDR 0109), the same mechanism `FleetSurface` already uses today for P4-S1 assess, device-add and the DF2 codes ledger. Nothing in the spec turns on D1. *Proof:* DDR 0202's "Open gates (Ben)" section lists exactly two gates, G1 and G2 — neither is D1; and D1 is named in DDRs 0204/0206, not 0202. Two-way door: if D1 lands somewhere unexpected, the spec is a tracker issue, edited with a comment. 2. **The two gates that DO touch P9 stay veto-open on their DDR defaults, and the spec is written against them.** G1 (three DF telemetry columns, temperature excluded) and G2 (device name as the look-at affordance). The spec's "Further Notes" records exactly which stories each veto retires — G1 retires stories 1/3/4/6 and leaves the drill-in whole; G2 swaps story 5's affordance for a per-row *view* act and nothing downstream changes. Neither gate touches a seam, a state, a threshold or a primitive, which is why the rest can be sliced now. 3. **The spec is `no-triage`, not `ready-for-agent`.** A child spec is a Phase-1 artifact with no task manifest; #767 demonstrated the failure mode two days ago (labelled `ready-for-agent`, picked up by a swarm worker, correctly blocked). `no-triage` matches every prior child spec in this repo (#17–#22). 4. **The seams grow; none is minted.** Following `/to-spec`'s "prefer existing seams, use the highest seam, the ideal number is one": the Fleet aggregating read — `FleetSource.load()` on the dashboard, `FleetService` behind `GET /fleet` in the control plane — gains nullable per-node readings **and** the drill-in's per-device read. A separate telemetry source was rejected: it would give the row and the detail two paths to one truth, which is what DDR 0155 §3 forbids. *Proof:* the existing seam already aggregates the fleet store × per-node monitoring server-side and is already faked once in the component tests. 5. **Freshness is classified server-side, once.** The telemetry state (`reporting` / `stale` / `last-known` / `none` / `unavailable`) travels on the wire as a named verdict; the dashboard renders it and performs no timestamp comparison or threshold arithmetic. This follows ADR 0097 and DDR 0071 (monitoring owns the silence judgement) and is what makes the honesty stories checkable at a seam rather than a matter of front-end discipline. **Not done, and deliberately** — the four sibling `/to-spec` runs (#760–#763 stay `ready-for-session`), the fan-in itself (#770), and any implementation. No code was written this session: `/to-spec` produces a spec, and the slices it names are `to-tickets`' to emit after the fan-in. Closing: the route this ticket describes is complete, and its output is #769.
matou-build-agent 2026-08-25 04:19:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#759
No description provided.