control-panel observability: /slice-map fan-in across the five child specs #770

Closed
opened 2026-08-25 04:19:00 +00:00 by matou-build-agent · 2 comments

What

Run the observability /slice-map fan-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, commit 1553cc7).

Why this is one ticket, not five

/slice-map is 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.
  • the logs screen's scoped-tail face — a shared node between #760 and #763.

Blocked by

The four sibling /to-spec runs (#760, #761, #762, #763), wired as native dependencies. #759's spec is already published as #769; #764 is deferred and is out of this fan-in.

Done when

docs/slices/observability.yaml + .mermaid exist, 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-tickets over the yaml.

Filed by an unattended session under ADR 0174 while working #759 (rule 1: file follow-ups rather than widen the ticket).

## What Run the **observability `/slice-map` fan-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`, commit `1553cc7`). ## Why this is one ticket, not five `/slice-map` is 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. - the logs screen's scoped-tail face — a shared node between #760 and #763. ## Blocked by The four sibling `/to-spec` runs (#760, #761, #762, #763), wired as native dependencies. #759's spec is already published as **#769**; #764 is `deferred` and is out of this fan-in. ## Done when `docs/slices/observability.yaml` + `.mermaid` exist, 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-tickets` over the yaml. Filed by an unattended session under ADR 0174 while working #759 (rule 1: file follow-ups rather than widen the ticket).
Author
Member

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.yaml header 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 + .mermaid pair: reverting it is one git revert, and nothing downstream has consumed it yet (/to-tickets is 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-primitives as "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.

Spec Consumes the primitives? Evidence
#769 telemetry mints them stories 33–37
#791 logs yes — OcStatusDot slice 5 "Depends on 1 and on #769's ui-kit:telemetry-primitives"
#792 network yes — OcStatusDot + statusGrades (CERT_WARN_DAYS/CERT_BAD_DAYS are born there) slice 5; "#769's slice 1 is a hard root for slice 5"
#793 replication matrix NO "#769's OcStatusDot and statusGrades are neither used nor re-minted" (Out of Scope); "a root with no cross-feature dependency"
#796 activity feed NO "no new hue, primitive or grading constant is minted here (DDR 0206 — telemetry primitives stay #769's)"; "slices 1–9 depend on no sibling spec at all"

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-readings carries 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 as ui-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-ledger gets no edge to backup-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:

  • bootstrap — skeleton, control-plane-tracer
  • shell — ui-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-p4b
  • monitoring — status-surface-classifier, silence-classifier, notify-and-drill, respond-ladder
  • provisioning — provision-assess-recommend (P9's P4-S1 hand-off), provision-active-and-partial, updates-rollback-quarantine
  • founding — deploy-gateway (the front door the cert source reads), resumability-and-logging
  • device-add — approve-enroll-land
  • backups — per-target-honesty-and-staleness, scheduled-runs-and-verification, restore-in-place-replaces, export-sovereignty-valve, transport-backups-rescue-live
  • engine-adapters — backup-engine-targets, backup-engine-exec
  • rescue — service-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-events faces read their owners' records, not the live transports — so they hang off device-add:approve-enroll-land and provisioning:updates-rollback-quarantine (both done) rather than device-add:transport-device-add-live and provisioning: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 by render-map.py as 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-tickets reads 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.mermaid had never rendered — a bare %% comment line swallowed flowchart 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's DEFAULT_TARGETS are docs/architecture + docs/slices and not docs/ux/flows, so seam-smoke never swept it. Widening that sweep is #798.

## 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.yaml` header 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` + `.mermaid` pair: reverting it is one `git revert`, and nothing downstream has consumed it yet (`/to-tickets` is 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-primitives` as "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. | Spec | Consumes the primitives? | Evidence | |---|---|---| | #769 telemetry | **mints** them | stories 33–37 | | #791 logs | **yes** — `OcStatusDot` | slice 5 "Depends on 1 and on #769's `ui-kit:telemetry-primitives`" | | #792 network | **yes** — `OcStatusDot` + `statusGrades` (`CERT_WARN_DAYS`/`CERT_BAD_DAYS` are born there) | slice 5; "#769's slice 1 is a hard root for slice 5" | | #793 replication matrix | **NO** | "#769's `OcStatusDot` and `statusGrades` are neither used nor re-minted" (Out of Scope); "a **root with no cross-feature dependency**" | | #796 activity feed | **NO** | "no new hue, primitive or grading constant is minted here (DDR 0206 — telemetry primitives stay #769's)"; "slices 1–9 depend on **no sibling spec at all**" | **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-readings` carries **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 as `ui-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-ledger` gets no edge to `backup-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: - **bootstrap** — `skeleton`, `control-plane-tracer` - **shell** — `ui-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-p4b` - **monitoring** — `status-surface-classifier`, `silence-classifier`, `notify-and-drill`, `respond-ladder` - **provisioning** — `provision-assess-recommend` (P9's P4-S1 hand-off), `provision-active-and-partial`, `updates-rollback-quarantine` - **founding** — `deploy-gateway` (the front door the cert source reads), `resumability-and-logging` - **device-add** — `approve-enroll-land` - **backups** — `per-target-honesty-and-staleness`, `scheduled-runs-and-verification`, `restore-in-place-replaces`, `export-sovereignty-valve`, `transport-backups-rescue-live` - **engine-adapters** — `backup-engine-targets`, `backup-engine-exec` - **rescue** — `service-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-events` faces read their owners' **records**, not the live transports — so they hang off `device-add:approve-enroll-land` and `provisioning:updates-rollback-quarantine` (both `done`) rather than `device-add:transport-device-add-live` and `provisioning: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 by `render-map.py` as 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-tickets` reads 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.mermaid` **had never rendered** — a bare `%%` comment line swallowed `flowchart 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`'s `DEFAULT_TARGETS` are `docs/architecture` + `docs/slices` and **not** `docs/ux/flows`, so seam-smoke never swept it. Widening that sweep is **#798**.
Author
Member

Close report — the observability /slice-map fan-in is landed

Commit: 44cd080 — slice-map: fold the observability arc into the DAG — 35 slices across five specs (advances #770) (on origin/main).

What landed

Artifact What
docs/slices/observability.yaml 35 slices, one feature file across all five child specs, each slice carrying depends_on + the manifest seeds (covers / implements_flow / implements_edge / wireframe) + a note stating its rulings. Four fan-in rulings in the header.
docs/slices/observability.mermaid The human DAG. Existing-feature nodes are [[double]]; the one cross-spec build edge is dotted and labelled.
docs/slices/render-map.py observability added to the feature palette (#7a8f2e).
docs/slices/map.html Regenerated — the living map is now 181 slices / 376 edges.
docs/ux/flows/p10-logs.mermaid The never-rendering bare-%% fix (see the ruling comment; sweep widening filed as #798).
STATUS.md Lead + the Phase-2 and observability fan-out rows + a milestone-log entry.

One 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.py colours by feature, so five files would also have fragmented the map's legend for one arc.

The proof

Done-when clause How it was proven
observability.yaml + .mermaid exist Committed; 35 slices, 86 edges.
machine-validated acyclic Kahn topological sort over all 12 feature yamls (not just this one), fully-qualifying bare deps the same way render-map.py does: nodes=181 topo-sorted=181 ACYCLIC=True. Plus render-map.py's own unknown-ref guard, which the render would have exited on.
render-verified headlessly node scripts/check-mermaid.mjs docs/slices docs/ux/flows → 29/29 blocks parse in the vendored-mermaid real DOM (12/12 in docs/slices, up from 11). The CI default sweep is green too: 42/42 across docs/architecture + docs/slices.
living map resynced 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.
every wireframe: path resolves 30 paths checked against the filesystem — 0 missing.
every cross-feature depends_on is done 29 distinct targets, all status: done — nothing outside the arc blocks the arc.
the graph confirmed (PROCESS Phase 2 human gate) Taken by the agent under ADR 0174 §1 (design-tier accept), veto-open — reasoning and the full cross-feature edge list in the ruling comment above. Nothing has consumed the yaml yet, so a veto is a git revert and a re-run.

The shape of the graph

  • Five sub-features, five independent spines, joined by exactly one cross-spec build edge (ui-kit-logs-screen → the gated dashboard-activity-scoped-logs) plus the primitives root feeding logs and network.
  • Roots inside the arc: 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.
  • Widest parallel front: the feed's five *-recent-events leaves off one root.
  • Cheapest feature: the replication matrix (5 slices, no cross-feature dependency beyond the backups seam it already lives in).

What this ticket did not do, and where it went instead

  • /to-tickets over 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 mean needs_human_decision is not empty everywhere (shell-activity-entry-and-mount is explicitly the only slice a G1/G2 veto touches and wants ready-for-human), fleet-recent-events is gated on #796's G5, and broker-front-door-probe lands in the broker codebase, not the control plane.
  • Widening the CI mermaid sweep to docs/ux/flows — filed as #798 (ready-for-agent) with the symptom, the cause and the one-line fix.
  • #764 (topology map) stays deferred and 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.

## Close report — the observability `/slice-map` fan-in is landed **Commit:** `44cd080` — *slice-map: fold the observability arc into the DAG — 35 slices across five specs (advances #770)* (on `origin/main`). ### What landed | Artifact | What | |---|---| | `docs/slices/observability.yaml` | **35 slices**, one feature file across all five child specs, each slice carrying `depends_on` + the manifest seeds (`covers` / `implements_flow` / `implements_edge` / `wireframe`) + a `note` stating its rulings. Four fan-in rulings in the header. | | `docs/slices/observability.mermaid` | The human DAG. Existing-feature nodes are `[[double]]`; the one cross-spec build edge is dotted and labelled. | | `docs/slices/render-map.py` | `observability` added to the feature palette (`#7a8f2e`). | | `docs/slices/map.html` | Regenerated — the living map is now **181 slices / 376 edges**. | | `docs/ux/flows/p10-logs.mermaid` | The never-rendering bare-`%%` fix (see the ruling comment; sweep widening filed as #798). | | `STATUS.md` | Lead + the Phase-2 and observability fan-out rows + a milestone-log entry. | **One 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.py` colours by feature, so five files would also have fragmented the map's legend for one arc. ### The proof | Done-when clause | How it was proven | |---|---| | `observability.yaml` + `.mermaid` exist | Committed; 35 slices, 86 edges. | | **machine-validated acyclic** | Kahn topological sort over **all 12** feature yamls (not just this one), fully-qualifying bare deps the same way `render-map.py` does: `nodes=181 topo-sorted=181 ACYCLIC=True`. Plus `render-map.py`'s own unknown-ref guard, which the render would have exited on. | | **render-verified headlessly** | `node scripts/check-mermaid.mjs docs/slices docs/ux/flows` → **29/29 blocks parse** in the vendored-mermaid real DOM (12/12 in `docs/slices`, up from 11). The CI default sweep is green too: **42/42** across `docs/architecture` + `docs/slices`. | | **living map resynced** | `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. | | every `wireframe:` path resolves | 30 paths checked against the filesystem — **0 missing**. | | every cross-feature `depends_on` is `done` | 29 distinct targets, all `status: done` — **nothing outside the arc blocks the arc**. | | **the graph confirmed** (PROCESS Phase 2 human gate) | **Taken by the agent under ADR 0174 §1 (design-tier accept), veto-open** — reasoning and the full cross-feature edge list in the ruling comment above. Nothing has consumed the yaml yet, so a veto is a `git revert` and a re-run. | ### The shape of the graph - **Five sub-features, five independent spines**, joined by exactly **one** cross-spec build edge (`ui-kit-logs-screen` → the gated `dashboard-activity-scoped-logs`) plus the primitives root feeding logs and network. - **Roots inside the arc:** `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. - **Widest parallel front:** the feed's five `*-recent-events` leaves off one root. - **Cheapest feature:** the replication matrix (5 slices, no cross-feature dependency beyond the backups seam it already lives in). ### What this ticket did **not** do, and where it went instead - **`/to-tickets`** over 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 mean `needs_human_decision` is **not** empty everywhere (`shell-activity-entry-and-mount` is explicitly the only slice a G1/G2 veto touches and wants `ready-for-human`), `fleet-recent-events` is gated on #796's G5, and `broker-front-door-probe` lands in the **broker** codebase, not the control plane. - **Widening the CI mermaid sweep** to `docs/ux/flows` — filed as **#798** (`ready-for-agent`) with the symptom, the cause and the one-line fix. - **#764** (topology map) stays `deferred` and 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#770
No description provided.