control-panel observability: /slice-map fan-in across the five child specs #770
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#770
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?
What
Run the observability
/slice-mapfan-in (PROCESS Phase 2) across all five control-panel observability child specs, folding them into the living DAG the same way the IDIP feature was folded in (docs/slices/idip.yaml, commit1553cc7).Why this is one ticket, not five
/slice-mapis the only step that sees every feature at once — it is where cross-feature coupling is made explicit. The five observability surfaces are unusually coupled: DDR 0202 mints the shared kit primitives (OcGaugeRing,OcResourceBar,OcStatusDot, the status-grading constants) that all the siblings consume, and DDR 0203's logs screen carries an embeddable scoped-tail face that DDR 0206's activity feed pairs with. Slicing any one of them alone would hide exactly the edges this step exists to surface.Expected shared roots (from spec #769's slice list — confirm, don't assume):
ui-kit:telemetry-primitives— a root for the whole arc (#760–#763 all consume it).monitor:node-readings— where a resource-pressure alert would read the same constants.Blocked by
The four sibling
/to-specruns (#760, #761, #762, #763), wired as native dependencies. #759's spec is already published as #769; #764 isdeferredand is out of this fan-in.Done when
docs/slices/observability.yaml+.mermaidexist, machine-validated acyclic, render-verified headlessly, the living map (map.html) resynced, and the graph confirmed (the PROCESS Phase 2 human gate — cross-feature edges especially). Then/to-ticketsover the yaml.Filed by an unattended session under ADR 0174 while working #759 (rule 1: file follow-ups rather than widen the ticket).
Ruled by agent under ADR 0174 — veto anytime
The fan-in ran unattended. Five rulings, each a two-way door (revertible by a commit; provable by the machine checks named below) and none on the one-way-door list. Every one is written into the
docs/slices/observability.yamlheader so it travels with the artifact, not just this thread.0. The PROCESS Phase 2 graph-confirmation gate — taken by the agent, veto-open
ADR 0174 §1 delegates design-tier accepts to the session (the #514/#388 auto-accept precedent extended to standing policy), and the whole observability design tier — DDRs 0202–0206 — was already accepted this way. The graph is a
.yaml+.mermaidpair: reverting it is onegit revert, and nothing downstream has consumed it yet (/to-ticketsis filed separately as #797 and has not run). So the gate is taken here rather than parked.What a veto would actually be vetoing — the four edge rulings below, and specifically ruling 1, which contradicts this ticket's own stated expectation. Cross-feature edges are what this gate exists for, so they are enumerated in full at the bottom.
1. The expected universal root is NOT universal — the headline finding
This ticket predicted
ui-kit:telemetry-primitivesas "a root for the whole arc (#760–#763 all consume it)", and asked me to confirm, don't assume. Confirmed against the specs: it is a root for three, not five.OcStatusDotui-kit:telemetry-primitives"OcStatusDot+statusGrades(CERT_WARN_DAYS/CERT_BAD_DAYSare born there)OcStatusDotandstatusGradesare neither used nor re-minted" (Out of Scope); "a root with no cross-feature dependency"Ruled: the edge is not drawn where the spec refuses it. Drawing it for symmetry would have made the arc's cheapest feature (the matrix, 5 slices) and its widest parallel front (the feed, 10 slices) both wait on a kit they never touch — a false root that serialises 15 of 35 slices behind one. If Ben would rather have one visual language enforced by the graph, the fix is to amend DDR 0205/0206 first and re-run the fan-in; it is not to add an edge the specs disown.
2.
monitor-node-readingscarries no edge to the primitives#769 story 32 says monitoring's resource-pressure raise thresholds read the same constants — the ticket flagged this as an expected shared root. But #769 puts new alert behaviour out of scope ("whether resource pressure raises an alert … rides monitoring's existing rules"), so v1 raises nothing off them. Ruled: annotation, not an edge (recorded on the slice's
note). The day a resource-pressure alert is specced, that is the edge to add.3. The logs↔feed edge is real — and it is the arc's ONLY cross-spec build edge
Confirmed from both sides: #791 slice 5 "blocks #763's P12-S5", #796 slice 10 "Depends on 8 and on #791's
ui-kit:logs-screen". Drawn asui-kit-logs-screen → dashboard-activity-scoped-logs, dotted in the mermaid. Both specs make it last and severable, so if logs slips, that one slice waits and nothing else in the arc does — which is the property worth protecting, and the graph now enforces it.4.
backup-sealed-size-ledgergets no edge tobackup-pair-projection#793: "Depends on 1 only for where the number lands — buildable in parallel and mergeable in either order." Ruled: no edge. Serialising the arc's cheapest parallel pair for a merge-order convenience buys nothing.
The cross-feature edges, in full — the part this gate is actually for
29 distinct targets, every one already
done, machine-verified slice-by-slice. So no observability slice is blocked by anything outside the arc:skeleton,control-plane-tracerui-kit-mount-slot-contract,app-side-shell(the A5 fold),fleet-resting-list,transport-fleet-live,transport-overview-live,compose-shell-controlplane,chrome-mounts-p4-p4bstatus-surface-classifier,silence-classifier,notify-and-drill,respond-ladderprovision-assess-recommend(P9's P4-S1 hand-off),provision-active-and-partial,updates-rollback-quarantinedeploy-gateway(the front door the cert source reads),resumability-and-loggingapprove-enroll-landper-target-honesty-and-staleness,scheduled-runs-and-verification,restore-in-place-replaces,export-sovereignty-valve,transport-backups-rescue-livebackup-engine-targets,backup-engine-execservice-ladder,remote-support-engagement,recovery-readiness-ui(the indicator slot's existing tenant, which #792 becomes the second of)Deliberate choices inside that list, worth a look: the five
*-recent-eventsfaces read their owners' records, not the live transports — so they hang offdevice-add:approve-enroll-landandprovisioning:updates-rollback-quarantine(bothdone) rather thandevice-add:transport-device-add-liveandprovisioning:transport-updates-rollout-live(both pending). That is what keeps the activity feed off the transport frontier's critical path. If you read the feed as needing the live transports, that is the edge to challenge.One naming ruling (mechanical, but it changes what you read in the map)
The specs name slices
ui-kit:telemetry-primitives,transport:log-catalogue, etc. A colon inside a slice id is read byrender-map.pyas a cross-FEATURE reference (d if ":" in d else f"{feat}:{d}"), so those ids would have silently failed to resolve. Ruled: the namespace travels as a hyphenated word —ui-kit-telemetry-primitives,transport-log-catalogue. Same names, one character different, and/to-ticketsreads them unambiguously.One thing fixed en route, and one deliberately not
Fixed (one character, in an artifact this DAG cites as
implements_flow):docs/ux/flows/p10-logs.mermaidhad never rendered — a bare%%comment line swallowedflowchart TD. That is the #343 bug class, and the logs flow is the design contract for #791.Not fixed here (rule 1 — filed, not widened): the reason it stayed invisible is that
scripts/check-mermaid.mjs'sDEFAULT_TARGETSaredocs/architecture+docs/slicesand notdocs/ux/flows, so seam-smoke never swept it. Widening that sweep is #798.Close report — the observability
/slice-mapfan-in is landedCommit:
44cd080— slice-map: fold the observability arc into the DAG — 35 slices across five specs (advances #770) (onorigin/main).What landed
docs/slices/observability.yamldepends_on+ the manifest seeds (covers/implements_flow/implements_edge/wireframe) + anotestating its rulings. Four fan-in rulings in the header.docs/slices/observability.mermaid[[double]]; the one cross-spec build edge is dotted and labelled.docs/slices/render-map.pyobservabilityadded to the feature palette (#7a8f2e).docs/slices/map.htmldocs/ux/flows/p10-logs.mermaid%%fix (see the ruling comment; sweep widening filed as #798).STATUS.mdOne feature file, not five. The arc is a single fan-in; splitting it into five yamls would have hidden exactly the cross-spec edges this step exists to surface, and
render-map.pycolours by feature, so five files would also have fragmented the map's legend for one arc.The proof
observability.yaml+.mermaidexistrender-map.pydoes:nodes=181 topo-sorted=181 ACYCLIC=True. Plusrender-map.py's own unknown-ref guard, which the render would have exited on.node scripts/check-mermaid.mjs docs/slices docs/ux/flows→ 29/29 blocks parse in the vendored-mermaid real DOM (12/12 indocs/slices, up from 11). The CI default sweep is green too: 42/42 acrossdocs/architecture+docs/slices.python3 docs/slices/render-map.py→map.html written: 181 slices, 376 edges; re-run after the rebase produced a byte-identical file. And proven by execution, not regeneration alone: the page's inline script run in a real headless DOM draws 181 slice nodes and 379 SVG edge elements, with every observability slice present in the rendered text.wireframe:path resolvesdepends_onisdonestatus: done— nothing outside the arc blocks the arc.git revertand a re-run.The shape of the graph
ui-kit-logs-screen→ the gateddashboard-activity-scoped-logs) plus the primitives root feeding logs and network.ui-kit-telemetry-primitives,ui-kit-term-tokens,logstream-hub,certsource-presented-leaf,broker-front-door-probe,backup-pair-projection,backup-sealed-size-ledger,activity-ops-event-contract,monitor-node-readings. Nine takeable slices the moment the tickets exist.*-recent-eventsleaves off one root.What this ticket did not do, and where it went instead
/to-ticketsover the yaml — the "Then …" of the Done-when, and a separate 35-ticket run. Filed as #797 (ready-for-session), carrying the four rulings the manifests must not quietly undo, plus three watch-outs: the DDR open gates meanneeds_human_decisionis not empty everywhere (shell-activity-entry-and-mountis explicitly the only slice a G1/G2 veto touches and wantsready-for-human),fleet-recent-eventsis gated on #796's G5, andbroker-front-door-probelands in the broker codebase, not the control plane.docs/ux/flows— filed as #798 (ready-for-agent) with the symptom, the cause and the one-line fix.deferredand is out of this fan-in, as the ticket specified.Closing: the artifacts exist, the graph is acyclic and render-verified, the map is resynced, and the confirmation gate is ruled with the audit trail above.