control-panel observability: network, DNS & certificate visibility #761

Closed
opened 2026-08-25 01:35:45 +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, #762, #763, #764.

Gap

The backend is full of network/cert machinery with zero surface: community CA
(ADR 0111), zone/DNS arrangements (ADRs 0118/0128), address heartbeat (ADR 0136), portmap
(ADRs 0137/0141), certificate persistence (ADR 0176). The control panel shows two read-only
strings in Settings (apex-domain, dns-arrangement). Nobody can see a cert approaching
expiry — and the cost is proven: maramataka-api's cert had been expired since May before
anyone noticed (2026-08-20).

Prototype (matou-distributed-servers)

src/pages/NetworkPage.vue — three stacked read-only sections:

  • CertTable.vue — wildcard-first then soonest-expiry sort, per-cert day-count pill graded
    ≤14d bad / ≤30d warn, SANs/host counts.
  • DnsHealth.vue — stacked ✓/✗ check rows with detail lines.
  • RoutingTable.vue — host / health / upstreams.
  • Backend collectors: certs (TLS probe of served hosts), dns, caddyadmin.

The placement decision (the hard part)

The tab set is closed (ADR 0094: six tabs, a new tab = ADR amendment) and Settings is
pinned to exactly three sections (DDR 0099). The grill must choose:

  1. amend ADR 0094 for a seventh tab,
  2. a section on Fleet (network is fleet-shaped), or
  3. Overview headline/hint drilling into a non-tab surface (the rescue mounting pattern).

Adopt the cert-grading thresholds as the same kit constants minted by the sibling
device-telemetry ticket. Expiry visibility should also feed the Overview needs-attention
queue / standing-indicator slot (ADR 0094 chrome contract) — a cert inside its warn window
is exactly what that slot exists for.

Do not adopt

Caddy-admin/acme-dns specifics; hard-coded host lists; the public tier.

Route

grill-ux-with-docs → /wireframe → DDR (placement + chrome-slot wiring) → /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: #759, #760, #762, #763, #764. ## Gap The backend is full of network/cert machinery with **zero surface**: community CA (ADR 0111), zone/DNS arrangements (ADRs 0118/0128), address heartbeat (ADR 0136), portmap (ADRs 0137/0141), certificate persistence (ADR 0176). The control panel shows two read-only strings in Settings (`apex-domain`, `dns-arrangement`). Nobody can see a cert approaching expiry — and the cost is proven: `maramataka-api`'s cert had been expired since May before anyone noticed (2026-08-20). ## Prototype (matou-distributed-servers) `src/pages/NetworkPage.vue` — three stacked read-only sections: - `CertTable.vue` — wildcard-first then soonest-expiry sort, per-cert day-count pill graded ≤14d bad / ≤30d warn, SANs/host counts. - `DnsHealth.vue` — stacked ✓/✗ check rows with detail lines. - `RoutingTable.vue` — host / health / upstreams. - Backend collectors: `certs` (TLS probe of served hosts), `dns`, `caddyadmin`. ## The placement decision (the hard part) The tab set is closed (ADR 0094: six tabs, a new tab = ADR amendment) and Settings is pinned to exactly three sections (DDR 0099). The grill must choose: 1. amend ADR 0094 for a seventh tab, 2. a section on Fleet (network is fleet-shaped), or 3. Overview headline/hint drilling into a non-tab surface (the rescue mounting pattern). Adopt the cert-grading thresholds as the same kit constants minted by the sibling device-telemetry ticket. Expiry visibility should also feed the Overview needs-attention queue / standing-indicator slot (ADR 0094 chrome contract) — a cert inside its warn window is exactly what that slot exists for. ## Do not adopt Caddy-admin/acme-dns specifics; hard-coded host lists; the public tier. ## Route `grill-ux-with-docs` → `/wireframe` → DDR (placement + chrome-slot wiring) → `/to-spec`.
Author
Owner

Design tier COMPLETE (commit 2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDR docs/adr/0204-design-network-front-door-tabless-surface.md (accepted, agent-decided under ADR 0174 — async veto), flow docs/ux/flows/p11-network.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: p11-network.

Design tier COMPLETE (commit 2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDR `docs/adr/0204-design-network-front-door-tabless-surface.md` (accepted, agent-decided under ADR 0174 — async veto), flow `docs/ux/flows/p11-network.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: p11-network.
ben self-assigned this 2026-08-25 04:54:57 +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 #792

Ruled by agent under ADR 0174 — veto anytime.

On the 04:54 claim. This ticket carried a "CLAIMED by the interactive session … spec lands shortly" note from 04:54. Three hours later no P11 spec had landed (the parallel fan-out delivered #769 and #791 only), the ticket was still ready-for-session and open, and the runner handed it to this session. Rather than return "no progress", this session ran the spec. If the interactive session has a P11 spec in flight, #792 is the duplicate to reconcile — say the word and it is retracted.

What landed

  • Child spec #792 — control-panel observability child spec: network (P11), labelled enhancement + no-triage (the standing child-spec label; #769/#791 precedent — a spec is not an implementable slice).
    • 50 user stories, each with Given/When/Then acceptance criteria sourced from p11-network.mermaid's nodes and edges and written against the wireframes' data-field / data-action / data-status contract, in nine groups: the front-door card · certificates · address & name · ports · the four deployment shapes · renewal-late + the chrome slot + the escalation · unknown · where the surface lives · the control-plane read.
    • Seams, testing decisions, a scope fence, seven named vertical slices for the #770 fan-in — certsource:presented-leaf / broker:front-door-probe → monitor:front-door-observation → transport:network-read → dashboard:network-surface → dashboard:front-door-card → shell:network-indicator-and-mount.
  • Commit 9682c997 — STATUS.md: the observability lead and the pipeline row now read /to-spec tail 3 of 5 done, with #792's slices and the two spec-added gates recorded.

The rulings worth your eye

  1. This spec IS the D1 placement cluster — unlike P9 and P10, which were ruled clear of it. It is written against DDR 0204's ruled default (front-door card on Services → a tabless in-place mount; no seventh tab; Overview untouched) and it is sliceable now anyway: a placement veto touches exactly ONE of the seven slices (the mount, slice 7) and rewires the card in slice 6. Every fact, state, seam and threshold in stories 1–40 and 45–50 survives any placement answer.
  2. The maramataka lesson is stories 28–35. A served certificate inside its ≤30d warn window (CERT_WARN_DAYS — #769's shared constant, referenced and never re-minted) supplies ADR 0094's standing-indicator slot with an evidence-based, non-dismissible indicator that clears itself the moment renewal lands; ≤14d escalates to monitoring's critical with the renewal attempts' evidence. Network becomes the slot's second tenant, so the dashboard composes its indicator sources — the shell's single-source contract and NavChrome are unchanged, and orderIndicators already handles a multi-owner stack.
  3. No new needs-attention owner list. The ≤14d state rides monitoring's existing raisedAlerts into Overview; the queue's four owner lists are untouched.

Two gaps in the design tier, named rather than specced over

The DDR assumes machinery this tree does not have. Both are recorded in #792 as new veto-open gates, each with a proposed default and a stated fallback:

  • G4 — the outside-in probe needs a vantage IDSS actually holds. ADR 0141 rules the recurring outside-in probe into the control plane's steady state, but never solved the vantage. A gateway dialling its own public address is not outside-in — hairpin NAT makes it unreliable in both directions, so claiming it would be a fabricated fact (ADR 0100). Proposed default: one bounded broker probe beside /point, claim-secret authenticated (ADR 0135), dialling only the claimed host's own recorded address on the fixed IDSS port groups — the caller supplies no address and no port, so it is not a general dialer. Consequence either way: a deployment with no broker relationship (own domain on own VPS) has no vantage in v1, so its Ports section renders a stated limit rather than an invented open — which means p11-s1o's port rows are the vantage-present depiction and the frame owes a ✎ note.
  • G5 — certificate facts come from the leaf the door presents, not from Caddy's store. The store is the material; the presentation is the truth, and the maramataka failure was about what was served. It also keeps the product surface clear of the certmagic layout and the caddy user's permissions (GOTCHAS #32). A veto swaps the adapter; seam, view and every story are unchanged.

Also ruled, on the same honesty line: there is no router lease to renew yet (portmap shipped manual-first, DDR 0175), so port-lease-line renders a lease only when one is genuinely held and the no-router-lease posture stands otherwise; and no new loop, store or collector class is minted (DDR 0204 grill decision 8) — the certificate read and the probe ride the existing monitoring tick, which is already the raise-path for both the ADR 0136 heartbeat fault and the ADR 0141 port fault, so a widget's grade and an alert's severity cannot disagree.

DDR 0204's own three open gates (G1 placement, G2 indicator immediacy, G3 own-domain read gap) stay veto-open on their defaults; #792 records exactly which stories and slices each veto retires.

Deferred to their implementing slices (ADR 0042 discipline)

Three wireframe ✎ amendments, none of them a new state, so p11-network.mermaid is untouched: p5-s1 gains the front-door card (slice 6); p11-s1o gains the no-vantage stated-limit case for Ports (slice 5, under G4); p11-s1/p11-s1o gain the certs-observed-at source wording and the port-lease-line no-lease posture (slice 5, under G5 / DDR 0175).

Next

/to-spec for #762 and #763, then the #770 /slice-map fan-in across all five child specs. #792 is not linked as a blocker of #770 — that wiring belongs to whoever runs the fan-in, alongside #769 and #791.

Closing: the ticket's route (grill-ux-with-docs → /wireframe → DDR → /to-spec) is complete.

## Close report — `/to-spec` complete: child spec #792 **Ruled by agent under ADR 0174 — veto anytime.** **On the 04:54 claim.** This ticket carried a "CLAIMED by the interactive session … spec lands shortly" note from 04:54. Three hours later no P11 spec had landed (the parallel fan-out delivered #769 and #791 only), the ticket was still `ready-for-session` and open, and the runner handed it to this session. Rather than return "no progress", this session ran the spec. If the interactive session has a P11 spec in flight, **#792 is the duplicate to reconcile** — say the word and it is retracted. ### What landed - **Child spec [#792](https://git.matou.nz/Matou/idss/issues/792)** — `control-panel observability child spec: network (P11)`, labelled `enhancement` + `no-triage` (the standing child-spec label; #769/#791 precedent — a spec is not an implementable slice). - **50 user stories**, each with Given/When/Then acceptance criteria sourced from `p11-network.mermaid`'s nodes and edges and written against the wireframes' `data-field` / `data-action` / `data-status` contract, in nine groups: the front-door card · certificates · address & name · ports · the four deployment shapes · renewal-late + the chrome slot + the escalation · unknown · where the surface lives · the control-plane read. - **Seams, testing decisions, a scope fence, seven named vertical slices** for the #770 fan-in — `certsource:presented-leaf` / `broker:front-door-probe` → `monitor:front-door-observation` → `transport:network-read` → `dashboard:network-surface` → `dashboard:front-door-card` → `shell:network-indicator-and-mount`. - **Commit** `9682c997` — STATUS.md: the observability lead and the pipeline row now read `/to-spec` tail **3 of 5 done**, with #792's slices and the two spec-added gates recorded. ### The rulings worth your eye 1. **This spec IS the D1 placement cluster** — unlike P9 and P10, which were ruled clear of it. It is written against DDR 0204's ruled default (front-door card on Services → a tabless in-place mount; no seventh tab; Overview untouched) and it is **sliceable now anyway**: a placement veto touches exactly ONE of the seven slices (the mount, slice 7) and rewires the card in slice 6. Every fact, state, seam and threshold in stories 1–40 and 45–50 survives any placement answer. 2. **The maramataka lesson is stories 28–35.** A served certificate inside its ≤30d warn window (`CERT_WARN_DAYS` — #769's shared constant, referenced and never re-minted) supplies ADR 0094's standing-indicator slot with an evidence-based, non-dismissible indicator that clears itself the moment renewal lands; ≤14d escalates to monitoring's critical with the renewal attempts' evidence. Network becomes the slot's **second tenant**, so the dashboard composes its indicator sources — the shell's single-source contract and `NavChrome` are unchanged, and `orderIndicators` already handles a multi-owner stack. 3. **No new needs-attention owner list.** The ≤14d state rides monitoring's existing `raisedAlerts` into Overview; the queue's four owner lists are untouched. ### Two gaps in the design tier, named rather than specced over The DDR assumes machinery this tree does not have. Both are recorded in #792 as **new veto-open gates**, each with a proposed default and a stated fallback: - **G4 — the outside-in probe needs a vantage IDSS actually holds.** ADR 0141 rules the recurring outside-in probe into the control plane's steady state, but never solved the vantage. A gateway dialling its own public address is **not** outside-in — hairpin NAT makes it unreliable in both directions, so claiming it would be a fabricated fact (ADR 0100). Proposed default: one bounded broker probe beside `/point`, claim-secret authenticated (ADR 0135), dialling **only the claimed host's own recorded address** on the fixed IDSS port groups — the caller supplies no address and no port, so it is not a general dialer. **Consequence either way:** a deployment with no broker relationship (own domain on own VPS) has no vantage in v1, so its Ports section renders a **stated limit** rather than an invented `open` — which means `p11-s1o`'s port rows are the vantage-present depiction and the frame owes a ✎ note. - **G5 — certificate facts come from the leaf the door presents, not from Caddy's store.** The store is the material; the presentation is the truth, and the maramataka failure was about what was *served*. It also keeps the product surface clear of the certmagic layout and the caddy user's permissions (GOTCHAS #32). A veto swaps the adapter; seam, view and every story are unchanged. Also ruled, on the same honesty line: **there is no router lease to renew yet** (portmap shipped manual-first, DDR 0175), so `port-lease-line` renders a lease **only when one is genuinely held** and the `no-router-lease` posture stands otherwise; and **no new loop, store or collector class is minted** (DDR 0204 grill decision 8) — the certificate read and the probe ride the existing monitoring tick, which is already the raise-path for both the ADR 0136 heartbeat fault and the ADR 0141 port fault, so a widget's grade and an alert's severity cannot disagree. DDR 0204's own three open gates (G1 placement, G2 indicator immediacy, G3 own-domain read gap) stay veto-open on their defaults; #792 records exactly which stories and slices each veto retires. ### Deferred to their implementing slices (ADR 0042 discipline) Three wireframe ✎ amendments, none of them a new state, so `p11-network.mermaid` is untouched: `p5-s1` gains the front-door card (slice 6); `p11-s1o` gains the no-vantage stated-limit case for Ports (slice 5, under G4); `p11-s1`/`p11-s1o` gain the `certs-observed-at` source wording and the `port-lease-line` no-lease posture (slice 5, under G5 / DDR 0175). ### Next `/to-spec` for #762 and #763, then the #770 `/slice-map` fan-in across all five child specs. **#792 is not linked as a blocker of #770** — that wiring belongs to whoever runs the fan-in, alongside #769 and #791. Closing: the ticket's route (`grill-ux-with-docs` → `/wireframe` → DDR → `/to-spec`) is complete.
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 #837 — labelled enhancement + no-triage (the standing child-spec label, #17–#22 and #769 precedent). 37 stories in 11 groups; one new controlapi read family over three existing owners (cert store / heartbeat / portmap+probe), renewal-failing as one new monitoring classification. Gate map: a D1 reversal retires only the front-door-card stories (1–4, 8) — the seam and all sections survive either home. Build-order fact for /slice-map: ADR 0141's portmap lease seam is not yet implemented; only the lease-line story gates on it.

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 [#837](https://git.matou.nz/Matou/idss/issues/837)** — labelled `enhancement` + `no-triage` (the standing child-spec label, #17–#22 and #769 precedent). 37 stories in 11 groups; one new controlapi read family over three existing owners (cert store / heartbeat / portmap+probe), renewal-failing as one new monitoring classification. Gate map: a D1 reversal retires only the front-door-card stories (1–4, 8) — the seam and all sections survive either home. Build-order fact for /slice-map: ADR 0141's portmap lease seam is not yet implemented; only the lease-line story gates on it. 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 #792 (published by the session-runner at ~05:38Z after its claim-override note), already consumed by the slice-map (#770) and to-tickets. #837 is withdrawn as a race duplicate; disregard the 16:17Z report's spec reference. Unique findings from the duplicate draft are being transferred to #792.

**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 **#792** (published by the session-runner at ~05:38Z after its claim-override note), already consumed by the slice-map (#770) and to-tickets. **#837 is withdrawn as a race duplicate**; disregard the 16:17Z report's spec reference. Unique findings from the duplicate draft are being transferred to #792.
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#761
No description provided.