control-panel observability: logs surface in the dashboard (wire the dropped open-logs intents) #760
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
2 participants
Notifications
Due date
No due date set.
Reference
Matou/idss#760
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?
Context
Filed from the 2026-08-24 comparison of the
matou-distributed-serversadmin dashboard(
roles/admin_dashboard/files/dashboard/, Quasar/Vue read-only observability panel for theansible-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 everysurface here flows through the design tier (grill → wireframe → DDR →
/to-spec) beforeimplementation.
Siblings: this ticket is one of six filed together under the
"control-panel observability" title prefix: #759, #761, #762, #763, #764.
Gap
Dashboard surfaces already emit log intents that go nowhere:
ServicesSurfaceand the P4SetupSurfaceemitopen-logs/download-logs, butDashboardComposition.vuebinds only@route, so the emits are silently dropped (FleetSurfaceparks them asPendingRoutes). The A5 logs viewer exists only in the Electron app(
app/src/components/shell/LogsViewer.vue, wireframeshell/shell-a5-logs-viewer.html);the served dashboard has no logs surface at all.
Prototype (matou-distributed-servers)
src/components/activity/LogsConsole.vue+ Gointernal/logstream/— the strongestengineering in that repo, worth porting as mechanics regardless of what the surface looks
like:
EventSource) live stream; server side is a hub multiplexing container follows(tail 200, 200 lines/s cap, 2000-line ring).
auto-pause after 5min idle ("Still watching?" resume), auto-pause on
document.hidden.Design questions for the grill
CodesLedgerScreenis shared between app A4 anddashboard DF2 — one logs screen, two mounts? (Preferred starting position.)
provisionClient.tsas aper-feature design note, not a global ADR. Live logs are the one surface where polling
is genuinely wrong — the DDR should rule SSE in (or out) explicitly.
--term-bg/--term-ink/--term-dimtokens (light + dark); they are not yet kit tokens. Porting them is part of this slice.
(rescue pattern) — the six-tab set stays closed (ADR 0094).
the whole panel is behind the DA door, spec #511, so no public tier redaction needed).
Route
grill-ux-with-docs→/wireframe(dashboard mount of the logs surface) → DDR →/to-spec. The streaming lib + control-plane SSE hub land with this feature, not before.Design tier COMPLETE (commit
2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDRdocs/adr/0203-design-the-dashboard-logs-surface-streams-in-place.md(accepted, agent-decided under ADR 0174 — async veto), flowdocs/ux/flows/p10-logs.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: p10-logs.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.
Session-runner picking this up despite the 04:54 CLAIMED note above.
The claim said 'spec lands shortly' for four sibling
/to-specruns; 40 minutes later #761-#763 are untouched, no child spec exists for #760, no branch carries one, and no other Claude session is running on this host. The runner labelled #760agent-workingat 05:30 and launched this session, so the honest read is that the interactive session moved on (its later commits are IDIP work) and the claim is stale. Proceeding with the/to-specfor p10-logs on the #769 precedent; if a duplicate spec appears from the other side, this one is the later number and can be closed.Ruled by agent under ADR 0174 — veto anytime.
Close report — the design tier's
/to-specis done; #760's next stop is the fan-inWhat landed
p10-logs.mermaid's nodes and edges and written against the wireframes'data-field/data-action/data-statuscontract, plus seams, testing decisions, a scope fence and seven named vertical slices. Labelledno-triage— the standing child-spec label (#769 precedent): a spec is /to-tickets input, not an agent-grabbable slice.44fda789— STATUS.md updated in the same commit (lead + the observability fan-out row): the/to-spectail now reads 2 of 5.The slices #791 names (for #770's fan-in)
ui-kit:term-tokens/logstream:hub(roots) →transport:log-catalogue/transport:log-stream-sse→ui-kit:logs-screen→dashboard:log-stream-source→shell:logs-intent-mount. Cross-arc:ui-kit:logs-screenconsumesOcStatusDotfrom #769'sui-kit:telemetry-primitives, and blocks #763's P12-S5 (DDR 0206 gates that frame on DDR 0203).The gap this ticket named, closed as a testable story rather than prose
ServicesSurfaceand the P4 setup surfaces emitopen-logs/download-logsinto aDashboardCompositionthat binds only@route;FleetSurfaceparks them asPendingRoutes. Stories A1–A2 make that a composition-level regression test per emitting surface and converge the three shapes in the tree today — a raw emit, arouteintentopen-logs-<id>(SettingsSurface), arouteintentopen-log-<id>(FleetSurface) — onto one intent-with-scope, with the parked PendingRoute removed. A dropped emit becomes a failing test, not an operator's discovery.Rulings made here — ruled by agent under ADR 0174, veto anytime
LogsScreen's injected feed source is the only new seam — two faces (bounded for the app's A5, live-stream for the dashboard), which is what keeps the stream-lifecycle chrome off a static feed and makes every P10 state drivable from a hand-written fake. The Go hub is seamed at its follow function (the prototype'sFollowFunc), the catalogue read is a thin projection over its owners, and the oneEventSourceconstruction site sits behind the stream source — stated in the spec as the deliberate exception to ADR 0037's generated-client rule, since a browserEventSourceis not a generated call.Proof
no-triage, and links the map (#7), this ticket, DDR 0203, the flow and all five frames.44fda789is onorigin/main; STATUS.md's lead and the observability row both name #791 and its slices.docs/ux/wireframes/p10-logs/(stream-standing,stream-meta,log-stream,log-scope,log-search,stream-lost-banner,idle-prompt,no-targets-reason,followable-targets,back-to-emitter,pause-stream,resume-stream,follow-target,filter-*,download-logs) — checked against the frames, not invented.Not done here, by design
The
/slice-mapfan-in (#770) is still blocked by #761–#763, which owe their own/to-specruns. No code landed: this ticket's route wasgrill → wireframe → DDR → /to-spec, and the streaming lib + control-plane SSE hub land with the feature's slices, not with the spec.Housekeeping: the 04:54 interactive-session claim on this ticket had gone stale (see the comment above); this session verified no competing spec existed before creating #791.
Closing — the design tier for #760 is complete and its build contract is published.
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 commit2a37ef8(design tier, DDR + flow + frames); this session ran the last one.Child spec #836 — labelled
enhancement+no-triage(the standing child-spec label, #17–#22 and #769 precedent). 40 stories in 9 groups; one new seam class (the hub's follow seam); slices ui-kit:logs-screen / control-plane:logstream-hub / transport:logs-catalogue-and-stream / shell:logs-mount / app:a5-rewire. Gate map: D4 veto retires the a5-rewire slice only; D5 veto = named bounded-tail-polling fallback (stories mapped in the spec).Acceptance criteria are Given/When/Then sourced from the flow's nodes/edges against the wireframes'
data-field/data-action/data-statuscontract, sodesign-verifycan 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-mapfan-in #770 unblocks when all four siblings close.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 #791 (published by the session-runner at ~05:38Z after its claim-override note), already consumed by the slice-map (#770) and to-tickets. #836 is withdrawn as a race duplicate; disregard the 16:17Z report's spec reference. Unique findings from the duplicate draft are being transferred to #791.