observability: dashboard-front-door-card — P11-S0 — the standing entry card on Services, wearing the worst grade #817

Closed
opened 2026-08-25 10:59:14 +00:00 by matou-build-agent · 2 comments

Parent

Feature spec: #792 — control-panel observability child spec: network (P11) (DDR 0204).
Design ticket #761; slice-map fan-in #770; wayfinder map #7.
Slice dashboard-front-door-card of docs/slices/observability.yaml; covers spec #792 stories 1–5.

What to build

The standing entry: a card fragment on Services' P5-S1 (the RecoveryReadinessCard shape) below
the services table, carrying a Front door label, one state line, one observed-at line and a
See network control.

The Services tab already owns monitoring's status truth, and the front door is the status truth
of how every service is reached
— so this placement costs the panel nothing: no tab-table change,
no ADR 0094 amendment, no DDR 0099 change.

The card's state line is composed only from facts the read carries — no clause comes from a
default — and it wears the worst standing grade, so a card glanced past never hides the one
thing that stands. When every contributing observation has aged past its cadence it renders the
unknown posture and never a healthy pill. A failed read is the shared error state with a stable
status marker and a retry, exactly as RecoveryReadinessCard does — never an empty card, never a
fabricated line.

The p5-s1 ✎ wireframe amendment lands here, per the ADR 0042 discipline.

Acceptance criteria

  • (story 1) Given the Services tab's resting P5-S1 status surface, when it renders, then [data-field="front-door-card"] appears below the services table carrying a Front door label, one front-door-state-line, one front-door-observed-at line and a [data-action="open-network"] control labelled See network.
  • (story 2) Given a read where the soonest-expiring certificate has 55 days, the name answers the gateway's address and every required port group answers, then the pill is front-door-serving in the healthy tone and the line names all three clauses from the read's own values — no clause is composed from a default.
  • (story 3) Given a read in which one served certificate is inside its warn window while name and ports are healthy, then the pill wears the warning tone, its data-status names the standing condition rather than front-door-serving, and the state line leads with that condition.
  • (story 4) Given a read whose oldest contributing observation is 4 minutes old, then front-door-observed-at states it in the surface's plain voice; and given every contributing observation aged past its cadence, then the card renders the unknown posture (a muted pill and the last-good age) and never a healthy pill.
  • (story 5) Given the network read faults, then the card shows the shared error state with a stable status marker and a retry, exactly as RecoveryReadinessCard does — never an empty card, never a fabricated line.
  • (ADR 0042) Given this slice's commit, then the p5-s1 wireframe carries its ✎ front-door-card amendment.
  • Given the Services tab, then no tab-table change, no ADR 0094 amendment and no DDR 0099 change is made.

Design contract

  • Flow: docs/ux/flows/p11-network.mermaid
  • Edges implemented: P5-S1→P11-S0, P11-S0→P11-S1
  • Wireframes (the element-ID contract):
    • docs/ux/wireframes/p11-network/p11-s0-front-door-card.html

Blocked by

  • #816 — observability:dashboard-network-surface
  • monitoring:status-surface-classifier (#80 — done, satisfied)

Task manifest

task: observability:dashboard-front-door-card
implements_flow: p11-network
implements_edge: P5-S1→P11-S0, P11-S0→P11-S1
wireframe: docs/ux/wireframes/p11-network/p11-s0-front-door-card.html
interface: a front-door card fragment on Services' P5-S1 (the `RecoveryReadinessCard` shape) over the
  same injected `NetworkClient` — worst-grade state line, observed-at line, `open-network` control, unknown
  posture and the shared error state
seam: component tests against the hand-written fake `NetworkClient` asserting the `p11-s0-front-door-card`
  fragment's `data-field` / `data-action` / `data-status` contract on P5-S1 (prior art the `RecoveryReadinessCard`
  tests, `calloutVocabulary.test.ts`)
acceptance:
- given: a read with 55 days left, the name pointing home and required ports answering
  when: the card renders
  then: the healthy `front-door-serving` pill and a three-clause line built from the read's own values
    render
- given: a read with one certificate inside its warn window
  when: the card renders
  then: the pill wears the warning tone, its status names the standing condition, and the line leads with
    it
- given: a read whose every observation has aged past cadence
  when: the card renders
  then: the unknown posture renders with the last-good age and never a healthy pill
- given: a faulting network read
  when: the card renders
  then: the shared error state with a stable status marker and a retry renders — never an empty card
depends_on:
- dashboard-network-surface
- monitoring:status-surface-classifier
out_of_scope:
- the network surface itself (`dashboard-network-surface`)
- the chrome indicator and the mount wiring (`shell-network-indicator-and-mount`)
- any tab-table, ADR 0094 or DDR 0099 change
- a permanent Overview row
needs_human_decision: []

Emitted by /to-tickets over docs/slices/observability.yaml in an unattended session under ADR 0174 (two-way-door posture — Ben's veto is asynchronous, never blocking). Advances #797.

## Parent Feature spec: **#792** — control-panel observability child spec: network (P11) (DDR 0204). Design ticket #761; slice-map fan-in **#770**; wayfinder map #7. Slice `dashboard-front-door-card` of `docs/slices/observability.yaml`; covers spec #792 stories 1–5. ## What to build The standing entry: a card fragment on Services' P5-S1 (the `RecoveryReadinessCard` shape) below the services table, carrying a `Front door` label, one state line, one observed-at line and a *See network* control. The Services tab already owns monitoring's status truth, and **the front door is the status truth of how every service is reached** — so this placement costs the panel nothing: no tab-table change, no ADR 0094 amendment, no DDR 0099 change. The card's state line is composed **only from facts the read carries** — no clause comes from a default — and it wears the **worst standing grade**, so a card glanced past never hides the one thing that stands. When every contributing observation has aged past its cadence it renders the unknown posture and **never a healthy pill**. A failed read is the shared error state with a stable status marker and a retry, exactly as `RecoveryReadinessCard` does — never an empty card, never a fabricated line. The `p5-s1` `✎` wireframe amendment lands here, per the ADR 0042 discipline. ## Acceptance criteria - [ ] (story 1) Given the Services tab's resting P5-S1 status surface, when it renders, then `[data-field="front-door-card"]` appears **below** the services table carrying a `Front door` label, one `front-door-state-line`, one `front-door-observed-at` line and a `[data-action="open-network"]` control labelled *See network*. - [ ] (story 2) Given a read where the soonest-expiring certificate has 55 days, the name answers the gateway's address and every required port group answers, then the pill is `front-door-serving` in the healthy tone and the line names all three clauses **from the read's own values** — no clause is composed from a default. - [ ] (story 3) Given a read in which one served certificate is inside its warn window while name and ports are healthy, then the pill wears the warning tone, its `data-status` names the standing condition rather than `front-door-serving`, and the state line leads with that condition. - [ ] (story 4) Given a read whose oldest contributing observation is 4 minutes old, then `front-door-observed-at` states it in the surface's plain voice; and given every contributing observation aged past its cadence, then the card renders the unknown posture (a muted pill and the last-good age) and **never a healthy pill**. - [ ] (story 5) Given the network read faults, then the card shows the shared error state with a stable status marker and a retry, exactly as `RecoveryReadinessCard` does — never an empty card, never a fabricated line. - [ ] (ADR 0042) Given this slice's commit, then the `p5-s1` wireframe carries its `✎` front-door-card amendment. - [ ] Given the Services tab, then no tab-table change, no ADR 0094 amendment and no DDR 0099 change is made. ## Design contract - **Flow:** `docs/ux/flows/p11-network.mermaid` - **Edges implemented:** `P5-S1→P11-S0, P11-S0→P11-S1` - **Wireframes (the element-ID contract):** - `docs/ux/wireframes/p11-network/p11-s0-front-door-card.html` ## Blocked by - #816 — `observability:dashboard-network-surface` - `monitoring:status-surface-classifier` (#80 — done, satisfied) ## Task manifest ```yaml task: observability:dashboard-front-door-card implements_flow: p11-network implements_edge: P5-S1→P11-S0, P11-S0→P11-S1 wireframe: docs/ux/wireframes/p11-network/p11-s0-front-door-card.html interface: a front-door card fragment on Services' P5-S1 (the `RecoveryReadinessCard` shape) over the same injected `NetworkClient` — worst-grade state line, observed-at line, `open-network` control, unknown posture and the shared error state seam: component tests against the hand-written fake `NetworkClient` asserting the `p11-s0-front-door-card` fragment's `data-field` / `data-action` / `data-status` contract on P5-S1 (prior art the `RecoveryReadinessCard` tests, `calloutVocabulary.test.ts`) acceptance: - given: a read with 55 days left, the name pointing home and required ports answering when: the card renders then: the healthy `front-door-serving` pill and a three-clause line built from the read's own values render - given: a read with one certificate inside its warn window when: the card renders then: the pill wears the warning tone, its status names the standing condition, and the line leads with it - given: a read whose every observation has aged past cadence when: the card renders then: the unknown posture renders with the last-good age and never a healthy pill - given: a faulting network read when: the card renders then: the shared error state with a stable status marker and a retry renders — never an empty card depends_on: - dashboard-network-surface - monitoring:status-surface-classifier out_of_scope: - the network surface itself (`dashboard-network-surface`) - the chrome indicator and the mount wiring (`shell-network-indicator-and-mount`) - any tab-table, ADR 0094 or DDR 0099 change - a permanent Overview row needs_human_decision: [] ``` --- *Emitted by `/to-tickets` over `docs/slices/observability.yaml` in an unattended session under ADR 0174 (two-way-door posture — Ben's veto is asynchronous, never blocking). Advances #797.*
Author
Member

swarm-claim host=elitebook-distributed-server-03 run=10101
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=elitebook-distributed-server-03 run=10101 (automated multi-host claim — lowest live claim id works this ticket)
Author
Member

close-report for #817 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 817,
  "status": "success",
  "commits": [
    "6d648b9"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/monitoring/ServicesSurface.vue",
    "dashboard/src/components/network/FrontDoorCard.vue",
    "dashboard/src/lib/frontDoor.ts",
    "dashboard/tests/unit/frontDoorCard.test.ts",
    "docs/ux/wireframes/p5-monitoring/p5-s1-fleet-and-services-status.html"
  ],
  "tests": [
    {
      "command": "CI=true pnpm exec vitest run tests/unit/frontDoorCard.test.ts",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vitest run",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm exec vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 1 — [data-field=front-door-card] below the services table with label, state-line, observed-at and open-network 'See network' control": "frontDoorCard.test.ts 'carries the label...' + P5-S1 placement test (compareDocumentPosition after services-table); FrontDoorCard.vue + ServicesSurface.vue mount",
    "story 2 — 55d cert + name home + ports answering → front-door-serving healthy pill, three-clause line from the read's own values": "frontDoorCard.test.ts 'renders the healthy front-door-serving pill and a three-clause line'; frontDoor.ts frontDoorStanding all-healthy",
    "story 3 — one cert in warn window → warning tone, data-status names the standing condition (not front-door-serving), line leads with it": "frontDoorCard.test.ts 'wears the warning tone and leads with the standing condition'; frontDoor.ts certFact warn → front-door-renewal-late, worst-first clause order",
    "story 4 — oldest observation 4 min → plain observed-at; every observation aged → unknown posture (muted pill + last-good age), never a healthy pill": "frontDoorCard.test.ts observed-at 'checked from outside 4 min ago' + honest-unknown test (oc-pill--muted, not healthy, 'last good look 9 min ago'); frontDoor.ts unknown flag + FrontDoorCard observedAt",
    "story 5 — faulting read → shared error state with stable marker + retry, never an empty card/fabricated line": "frontDoorCard.test.ts 'shows a stable status marker and a retry'; FrontDoorCard.vue OcErrorState status=front-door-unreachable @retry=reload",
    "ADR 0042 — p5-s1 wireframe carries its front-door-card amendment": "docs/ux/wireframes/p5-monitoring/p5-s1-fleet-and-services-status.html — front-door-card fragment + amendment note",
    "no tab-table change, no ADR 0094 amendment, no DDR 0099 change": "changed_files touch no mount table / ADR 0094 / DDR 0099; card is an additive optional fragment on ServicesSurface below the table"
  },
  "summary": "The P11-S0 front-door card lands on Services' P5-S1 over the injected NetworkSource, wearing the worst standing grade with the unknown posture and shared error state, plus the p5-s1 wireframe amendment.",
  "blockers": []
}
**close-report** for #817 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 817, "status": "success", "commits": [ "6d648b9" ], "changed_files": [ "STATUS.md", "dashboard/src/components/monitoring/ServicesSurface.vue", "dashboard/src/components/network/FrontDoorCard.vue", "dashboard/src/lib/frontDoor.ts", "dashboard/tests/unit/frontDoorCard.test.ts", "docs/ux/wireframes/p5-monitoring/p5-s1-fleet-and-services-status.html" ], "tests": [ { "command": "CI=true pnpm exec vitest run tests/unit/frontDoorCard.test.ts", "exit_code": 0 }, { "command": "CI=true pnpm exec vitest run", "exit_code": 0 }, { "command": "CI=true pnpm exec vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 } ], "criteria": { "story 1 — [data-field=front-door-card] below the services table with label, state-line, observed-at and open-network 'See network' control": "frontDoorCard.test.ts 'carries the label...' + P5-S1 placement test (compareDocumentPosition after services-table); FrontDoorCard.vue + ServicesSurface.vue mount", "story 2 — 55d cert + name home + ports answering → front-door-serving healthy pill, three-clause line from the read's own values": "frontDoorCard.test.ts 'renders the healthy front-door-serving pill and a three-clause line'; frontDoor.ts frontDoorStanding all-healthy", "story 3 — one cert in warn window → warning tone, data-status names the standing condition (not front-door-serving), line leads with it": "frontDoorCard.test.ts 'wears the warning tone and leads with the standing condition'; frontDoor.ts certFact warn → front-door-renewal-late, worst-first clause order", "story 4 — oldest observation 4 min → plain observed-at; every observation aged → unknown posture (muted pill + last-good age), never a healthy pill": "frontDoorCard.test.ts observed-at 'checked from outside 4 min ago' + honest-unknown test (oc-pill--muted, not healthy, 'last good look 9 min ago'); frontDoor.ts unknown flag + FrontDoorCard observedAt", "story 5 — faulting read → shared error state with stable marker + retry, never an empty card/fabricated line": "frontDoorCard.test.ts 'shows a stable status marker and a retry'; FrontDoorCard.vue OcErrorState status=front-door-unreachable @retry=reload", "ADR 0042 — p5-s1 wireframe carries its front-door-card amendment": "docs/ux/wireframes/p5-monitoring/p5-s1-fleet-and-services-status.html — front-door-card fragment + amendment note", "no tab-table change, no ADR 0094 amendment, no DDR 0099 change": "changed_files touch no mount table / ADR 0094 / DDR 0099; card is an additive optional fragment on ServicesSurface below the table" }, "summary": "The P11-S0 front-door card lands on Services' P5-S1 over the injected NetworkSource, wearing the worst standing grade with the unknown posture and shared error state, plus the p5-s1 wireframe amendment.", "blockers": [] } ``` </details>
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#817
No description provided.