control-panel observability: fleet-wide ops-events activity feed #763

Closed
opened 2026-08-25 01:35:49 +00:00 by ben · 5 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: #759, #760, #761, #762, #764.

Gap

There is no chronological view anywhere: Overview's NEEDS-ATTENTION is a queue of standing
decisions
, not a feed; P5-S3 has a curated per-service events timeline only. "What happened
across the fleet in the last day" has no answer surface.

Prototype (matou-distributed-servers)

src/pages/ActivityPage.vue — two-pane: left rail = open-incident banner + filter bar
(category / severity / free-text) + clickable event list (incidents merged in as synthetic
critical events wearing an OPEN badge, newest-first); right stage = the live log console
scoped to the selected event's subject. Selection defaults to the first open incident.

The fence (must be respected)

DDR 0172 deliberately keeps audit history off-screen: no sign-in-history surface;
member-removal reasons live in the operator's audit log, never on screen (P6-S6). The
grill must therefore split:

  • ops events (service state changes, deploys, rollouts, backup runs, rescue
    escalations) — surfaceable, this ticket;
  • audit log (sign-ins, member lifecycle reasons) — stays in ADR 0027 cross-cutting
    logs, off-screen.

Design questions

  1. Placement under the closed tab set (ADR 0094) — same option space as the sibling
    network ticket; Overview drill-in is the natural door.
  2. Event taxonomy: derive from existing seams (monitoring events, update rollouts, backup
    runs) rather than minting a new event store — truth stays server-side (ADR 0097).
  3. Pairing with the sibling logs surface: the select-event → scoped-logs interaction is
    the prototype's best trick; it lands only if/after the logs ticket does.

Route

grill-ux-with-docs → /wireframe → DDR → /to-spec. Sequence after the logs surface
sibling if the paired interaction is wanted.

## 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: #759, #760, #761, #762, #764. ## Gap There is no chronological view anywhere: Overview's NEEDS-ATTENTION is a *queue of standing decisions*, not a feed; P5-S3 has a curated per-service events timeline only. "What happened across the fleet in the last day" has no answer surface. ## Prototype (matou-distributed-servers) `src/pages/ActivityPage.vue` — two-pane: left rail = open-incident banner + filter bar (category / severity / free-text) + clickable event list (incidents merged in as synthetic critical events wearing an OPEN badge, newest-first); right stage = the live log console scoped to the selected event's subject. Selection defaults to the first open incident. ## The fence (must be respected) DDR 0172 deliberately keeps audit history off-screen: *no sign-in-history surface*; member-removal reasons live in the operator's audit log, **never on screen** (P6-S6). The grill must therefore split: - **ops events** (service state changes, deploys, rollouts, backup runs, rescue escalations) — surfaceable, this ticket; - **audit log** (sign-ins, member lifecycle reasons) — stays in ADR 0027 cross-cutting logs, off-screen. ## Design questions 1. Placement under the closed tab set (ADR 0094) — same option space as the sibling network ticket; Overview drill-in is the natural door. 2. Event taxonomy: derive from existing seams (monitoring events, update rollouts, backup runs) rather than minting a new event store — truth stays server-side (ADR 0097). 3. Pairing with the sibling logs surface: the select-event → scoped-logs interaction is the prototype's best trick; it lands only if/after the logs ticket does. ## Route `grill-ux-with-docs` → `/wireframe` → DDR → `/to-spec`. Sequence after the logs surface sibling if the paired interaction is wanted.
Author
Owner

Design tier COMPLETE (commit 2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDR docs/adr/0206-design-the-activity-feed-is-fleet-chronology.md (accepted, agent-decided under ADR 0174 — async veto), flow docs/ux/flows/p12-activity.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: p12-activity.

Design tier COMPLETE (commit 2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDR `docs/adr/0206-design-the-activity-feed-is-fleet-chronology.md` (accepted, agent-decided under ADR 0174 — async veto), flow `docs/ux/flows/p12-activity.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: p12-activity.
ben self-assigned this 2026-08-25 04:55:02 +00:00
Author
Owner

CLAIMED by the interactive session (assignee = the claim) for the /to-spec fan-out — four sibling specs running in parallel on the #769 precedent. Runner: please skip; spec lands shortly.

CLAIMED by the interactive session (assignee = the claim) for the /to-spec fan-out — four sibling specs running in parallel on the #769 precedent. Runner: please skip; spec lands shortly.

Close report — /to-spec complete

Child spec: #796 — control-panel observability child spec: activity feed (P12) — fleet chronology, tabless behind Overview (no-triage + enhancement; a spec is not an implementable slice — the #769/#791/#792/#793 precedent).

This is the fifth and last of the arc's five /to-spec runs, so the observability /to-spec tail is complete and the fan-in /slice-map (#770) is now unblocked (its only remaining open dependency was this ticket).

What landed

  • 64 user stories, each with Given/When/Then acceptance criteria sourced from docs/ux/flows/p12-activity.mermaid's nodes and edges and written against the wireframes' data-field / data-action / data-status contract, in eleven groups: A Overview's standing entry · B the resting chronology · C first run (never-empty) · D filters · E the detail pane · F the raised-alert band · G a source that can't answer · H the fence (the subject rule) · I the tabless mount · J the control-plane read · K the gated logs pairing.
  • Seams: one new browser-side client seam (ActivityClient, the recoveryReadiness.ts / overview.ts precedent), one control-plane read-composition (overview.go's shape), and five additive RecentEvents(window) faces on seams that already exist. No new store, bus, collector, loop or pipeline component.
  • Ten vertical slices named for the fan-in — one root, five parallel per-owner leaves, then read → surface → entry, plus one gated tenth.
  • Testing decisions across five seams, an out-of-scope fence, and implementation-time notes.

Rulings made (ADR 0174 — two-way doors; veto anytime)

  1. The DDR 0172 fence is specced into the type, not into review. An ops event's subject carries a kind — machine, service, dataset, release, community — and there is no person kind, so a person-subject event is unrepresentable at the seam and the composition drops any subject kind it cannot honour. Group H + testing seam 2 make it a regression guard; the spec names the fence test as the first red to write (a fixture fleet with sign-ins, invites, approvals, suspensions and removals-with-reasons must produce zero rows). Proves it: the seam test itself, plus the drop-and-report path.
  2. The feed is a query, not a store (ADR 0097 / DDR 0206). No event store, bus, append-only log or feed-side retention. Proves it: every row's words, outcome, problem flag, log handle and drill-in come back from the owner; the surface's only computation is filtering rows it was given.
  3. One sick source is a value, never an exception. Partial results plus a named per-source status (P12-S3x); the read never faults for one owner. Proves it: the Go composition tests over faked owners.
  4. Ordering is deterministic (time desc, stable tie-break on source/subject/record id) — a chronology that reshuffles on refresh is unreadable and makes the component tests worthless.
  5. A log door renders only where the owner genuinely holds a handle — absent, never disabled (ADR 0027's rule kept honest).
  6. A raised alert is a standing band queried live from monitoring's store, never a synthetic row — the prototype's incident-merge stays rejected (CONTEXT.md: an alert is not an event).
  7. select-event stays unsuffixed; the event's identity travels in the emit payload. An id-suffixed action would be ambiguous for any subject name containing a hyphen; P7-S3's open-runs-<id> precedent applies to dataset ids its parser already owns. No frame amendment needed — the depiction is already the contract. (Separately noted: data-status="active" means filter applied on a chip and device is active on a row pill — different elements, no collision, but not one shared status helper.)

Two spec-added gates (named, not specced over — veto-open, non-blocking)

  • G4 — the horizon is whatever the owners keep, including "until the control plane restarts". Backups' per-dataset run history and rescue's ladder memory are in-memory, and monitoring's recorded health history is a 24h window by construction (monitor.DetailWindow) — so a 30-day window can honestly return a day. Default: the horizon line states exactly what came back and claims nothing more. Persisting feed-side is the event store DDR 0206 refuses; durable history is its own decision (which owner, what cadence, what retention), not a slice here.
  • G5 — founding's four first-run rows need a timestamp founding does not record. founding.StandupEvent carries step / stage / message and no time, and the stand-up state is the operator app's. Default: stamp the events and carry the four milestones on the ADR 0043 handover unit founding already hands into the fleet at seeding — additive, revertible, and the only write-path touch in the whole feature. A veto retires that half of slice 3 and first-run renders the milestones the control plane genuinely holds (gateway joined, gateway deployed) and no others — fewer, true rows rather than a fabricated time (ADR 0100). The never-empty rule holds under either answer.

DDR 0206's own three gates (G1 Overview's RECENT ACTIVITY row, G2 tabless vs a seventh tab — the shared D1 cluster with #761/#792 — and G3 the subject rule's strictness) are carried into the spec against their proposed defaults. Exactly one of the ten slices (shell:activity-entry-and-mount) is placement-veto-exposed; every fact, state, seam, filter and fence survives any placement answer, so the spec is sliceable now.

Sequencing

The ticket asked to "sequence after the logs surface sibling if the paired interaction is wanted." Ruled: not sequenced — the pairing is severed into its own gated tenth slice (dashboard:activity-scoped-logs, depending on #791's ui-kit:logs-screen) rather than made a dependency of the feature. Slices 1–9 depend on no sibling spec at all, and P12-S5 is explicitly excluded from design-verify until the gate is met. If #791 slips, nothing here waits.

Proof

  • Spec published: #796 (no-triage, enhancement).
  • STATUS.md updated in the same commit as the state change: 0eedb825 — observability /to-spec: activity feed P12 specced — child spec #796 (advances #763) (the Prior-lead paragraph and the observability fan-out row now read "/to-spec tail COMPLETE — 5 of 5"; #770 marked unblocked).
  • No code changed: this is a design-tier artifact run.

Ruled by agent under ADR 0174 — veto anytime. Every ruling above is revertible with a comment on #796 (a spec is text) and none touches a one-way door: no credential, no security-posture widening, no member-facing trust accept, no data destruction, no spend. Closing this ticket; the next step in the arc is #770, the /slice-map fan-in across all five child specs.

## Close report — `/to-spec` complete **Child spec: #796** — *control-panel observability child spec: activity feed (P12) — fleet chronology, tabless behind Overview* (`no-triage` + `enhancement`; a spec is not an implementable slice — the #769/#791/#792/#793 precedent). This is the **fifth and last** of the arc's five `/to-spec` runs, so the observability `/to-spec` tail is complete and the fan-in `/slice-map` (**#770**) is now unblocked (its only remaining open dependency was this ticket). ### What landed - **64 user stories**, each with Given/When/Then acceptance criteria sourced from `docs/ux/flows/p12-activity.mermaid`'s nodes and edges and written against the wireframes' `data-field` / `data-action` / `data-status` contract, in eleven groups: A Overview's standing entry · B the resting chronology · C first run (never-empty) · D filters · E the detail pane · F the raised-alert band · G a source that can't answer · H **the fence (the subject rule)** · I the tabless mount · J the control-plane read · K the gated logs pairing. - **Seams**: one new browser-side client seam (`ActivityClient`, the `recoveryReadiness.ts` / `overview.ts` precedent), one control-plane read-composition (`overview.go`'s shape), and **five additive `RecentEvents(window)` faces** on seams that already exist. No new store, bus, collector, loop or pipeline component. - **Ten vertical slices** named for the fan-in — one root, five parallel per-owner leaves, then read → surface → entry, plus one **gated** tenth. - Testing decisions across five seams, an out-of-scope fence, and implementation-time notes. ### Rulings made (ADR 0174 — two-way doors; veto anytime) 1. **The DDR 0172 fence is specced into the type, not into review.** An ops event's subject carries a *kind* — machine, service, dataset, release, community — and **there is no person kind**, so a person-subject event is unrepresentable at the seam and the composition drops any subject kind it cannot honour. Group H + testing seam 2 make it a regression guard; the spec names the fence test as the first red to write (a fixture fleet with sign-ins, invites, approvals, suspensions and removals-with-reasons must produce **zero** rows). *Proves it:* the seam test itself, plus the drop-and-report path. 2. **The feed is a query, not a store** (ADR 0097 / DDR 0206). No event store, bus, append-only log or feed-side retention. *Proves it:* every row's words, outcome, problem flag, log handle and drill-in come back from the owner; the surface's only computation is filtering rows it was given. 3. **One sick source is a value, never an exception.** Partial results plus a named per-source status (P12-S3x); the read never faults for one owner. *Proves it:* the Go composition tests over faked owners. 4. **Ordering is deterministic** (time desc, stable tie-break on source/subject/record id) — a chronology that reshuffles on refresh is unreadable and makes the component tests worthless. 5. **A log door renders only where the owner genuinely holds a handle** — absent, never disabled (ADR 0027's rule kept honest). 6. **A raised alert is a standing band queried live from monitoring's store, never a synthetic row** — the prototype's incident-merge stays rejected (CONTEXT.md: an alert is not an event). 7. **`select-event` stays unsuffixed**; the event's identity travels in the emit payload. An id-suffixed action would be ambiguous for any subject name containing a hyphen; P7-S3's `open-runs-<id>` precedent applies to dataset ids its parser already owns. No frame amendment needed — the depiction is already the contract. (Separately noted: `data-status="active"` means *filter applied* on a chip and *device is active* on a row pill — different elements, no collision, but not one shared status helper.) ### Two spec-added gates (named, not specced over — veto-open, non-blocking) - **G4 — the horizon is whatever the owners keep, including "until the control plane restarts".** Backups' per-dataset run history and rescue's ladder memory are in-memory, and monitoring's recorded health history is a 24h window by construction (`monitor.DetailWindow`) — so a 30-day window can honestly return a day. Default: the horizon line states exactly what came back and claims nothing more. Persisting feed-side is the event store DDR 0206 refuses; durable history is its own decision (which owner, what cadence, what retention), not a slice here. - **G5 — founding's four first-run rows need a timestamp founding does not record.** `founding.StandupEvent` carries step / stage / message and **no time**, and the stand-up state is the operator app's. Default: stamp the events and carry the four milestones on the ADR 0043 handover unit founding already hands into the fleet at seeding — additive, revertible, and **the only write-path touch in the whole feature**. A veto retires that half of slice 3 and first-run renders the milestones the control plane genuinely holds (gateway joined, gateway deployed) and no others — fewer, true rows rather than a fabricated time (ADR 0100). The never-empty rule holds under either answer. DDR 0206's own three gates (G1 Overview's RECENT ACTIVITY row, G2 tabless vs a seventh tab — the shared **D1** cluster with #761/#792 — and G3 the subject rule's strictness) are carried into the spec against their proposed defaults. **Exactly one of the ten slices (`shell:activity-entry-and-mount`) is placement-veto-exposed**; every fact, state, seam, filter and fence survives any placement answer, so the spec is sliceable now. ### Sequencing The ticket asked to *"sequence after the logs surface sibling if the paired interaction is wanted."* Ruled: **not sequenced** — the pairing is severed into its own gated tenth slice (`dashboard:activity-scoped-logs`, depending on #791's `ui-kit:logs-screen`) rather than made a dependency of the feature. Slices 1–9 depend on no sibling spec at all, and P12-S5 is explicitly excluded from `design-verify` until the gate is met. If #791 slips, nothing here waits. ### Proof - Spec published: #796 (`no-triage`, `enhancement`). - `STATUS.md` updated in the same commit as the state change: **`0eedb825`** — *observability /to-spec: activity feed P12 specced — child spec #796 (advances #763)* (the Prior-lead paragraph and the observability fan-out row now read "`/to-spec` tail COMPLETE — 5 of 5"; #770 marked unblocked). - No code changed: this is a design-tier artifact run. **Ruled by agent under ADR 0174 — veto anytime.** Every ruling above is revertible with a comment on #796 (a spec is text) and none touches a one-way door: no credential, no security-posture widening, no member-facing trust accept, no data destruction, no spend. Closing this ticket; the next step in the arc is #770, the `/slice-map` fan-in across all five child specs.
Author
Owner

Close report — the design-tier route is walked end to end

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

Child spec #839 — labelled enhancement + no-triage (the standing child-spec label, #17–#22 and #769 precedent). 39 stories in 9 groups; no new seam class (controlapi.Activity read-composition + additive RecentEvents faces per owner). Gate map: D1(a) tab reversal re-points only the mount; D1(b) Overview-row-vetoed-alone retires story 1 + its slice and names the resulting entry gap back to Ben. Member-lifecycle loosening mapped as purely additive. Flagged for design tier: the DDR's sixth (founding) source has no filter chip in the frames.

Acceptance criteria are Given/When/Then sourced from the flow's nodes/edges against the wireframes' data-field/data-action/data-status contract, so design-verify can check the shipped UI. The spec proceeds on the DDR's shipped defaults (ruled by agent under ADR 0174 — veto anytime); its Further Notes map exactly which stories each open gate's veto retires, so a veto stays a cheap edit.

Closed in the spec's favour (the #388→#511 and #759→#769 precedent). Next: the /slice-map fan-in #770 unblocks when all four siblings close.

## Close report — the design-tier route is walked end to end The ticket's route was `grill-ux-with-docs` → `/wireframe` → DDR → `/to-spec`. The first three landed in commit `2a37ef8` (design tier, DDR + flow + frames); this session ran the last one. **Child spec [#839](https://git.matou.nz/Matou/idss/issues/839)** — labelled `enhancement` + `no-triage` (the standing child-spec label, #17–#22 and #769 precedent). 39 stories in 9 groups; no new seam class (controlapi.Activity read-composition + additive RecentEvents faces per owner). Gate map: D1(a) tab reversal re-points only the mount; D1(b) Overview-row-vetoed-alone retires story 1 + its slice and names the resulting entry gap back to Ben. Member-lifecycle loosening mapped as purely additive. Flagged for design tier: the DDR's sixth (founding) source has no filter chip in the frames. Acceptance criteria are Given/When/Then sourced from the flow's nodes/edges against the wireframes' `data-field`/`data-action`/`data-status` contract, so `design-verify` can check the shipped UI. The spec proceeds on the DDR's shipped defaults (*ruled by agent under ADR 0174 — veto anytime*); its Further Notes map exactly which stories each open gate's veto retires, so a veto stays a cheap edit. Closed in the spec's favour (the #388→#511 and #759→#769 precedent). Next: the `/slice-map` fan-in #770 unblocks when all four siblings close.
Author
Owner

Correction to the 16:17Z close report above: it was posted onto an already-closed ticket after an 11h session sleep — the canonical child spec is #796 (published by the session-runner at ~05:38Z after its claim-override note), already consumed by the slice-map (#770) and to-tickets. #839 is withdrawn as a race duplicate; disregard the 16:17Z report's spec reference. Unique findings from the duplicate draft are being transferred to #796.

**Correction to the 16:17Z close report above:** it was posted onto an already-closed ticket after an 11h session sleep — the canonical child spec is **#796** (published by the session-runner at ~05:38Z after its claim-override note), already consumed by the slice-map (#770) and to-tickets. **#839 is withdrawn as a race duplicate**; disregard the 16:17Z report's spec reference. Unique findings from the duplicate draft are being transferred to #796.
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.

Reference
Matou/idss#763
No description provided.