observability: ui-kit-logs-screen — the shared LogsScreen over its injected feed source — two faces, four states, and A5 folded onto it #809

Closed
opened 2026-08-25 10:58:41 +00:00 by matou-build-agent · 3 comments

Parent

Feature spec: #791 — control-panel observability child spec: logs (P10) (DDR 0203).
Design ticket #760; slice-map fan-in #770; wayfinder map #7.
Slice ui-kit-logs-screen of docs/slices/observability.yaml; covers spec #791 stories 5–34.

What to build

One logs screen in the kit, two mounts (the CodesLedgerScreen A4/DF2 precedent). The screen
owns the controls — scope, search, level chips, pause/resume, download — and the terminal panel;
the feed is a seam-injected source with exactly two faces: a bounded face (an operation
log's lines, complete) and a live-stream face (subscribe / lines / lifecycle / release). The
screen renders the stream-lifecycle chrome only when the source presents the live face — so a
static feed being always complete means streaming / stream lost / paused never appear on A5, and
A5 never learns a stream vocabulary.

The app's A5 becomes a mount of this screen with its contract preserved: the operation filter, the
search, the level chips and Download bundle keep working and its existing tests keep passing.

Four object-states are proven here: streaming (bounds stated in the meta line, read from the
running configuration, not hard-coded copy), stream lost (the tail freezes, dims and
end-marks; a banner names the wall-clock moment of the loss and states reconnection is automatic —
never a toast, never a stale scroll under a live dot), paused (the idle prompt and the
operator's own pause are the same state and frame, differing only in copy) and nothing
followable
(the control plane's reason plus the real catalogue, one pick away from streaming).

Level filtering is honest: authoritative on structured levels, a named text-match heuristic
on raw service lines, never presented as monitoring's classification, and each line in a mixed
scope filtered by its own kind's rule. The indicator dot is OcStatusDot in healthy / warning /
muted — lost is warning plus a named banner, never a third hue.

This slice also provides and tests the scoped-tail face #796's P12-S5 embeds — building P12-S5
is #796's, gated on this slice.

Acceptance criteria

  • (story 31) Given the kit, then it exports a LogsScreen owning the controls and terminal panel with the feed injected as a source; the screen holds no store and opens no transport of its own.
  • (story 33) Given the injected feed source, then it has exactly two faces — bounded and live-stream — and the lifecycle chrome renders only for the live face; every P10 state is drivable through a hand-written fake source with no browser, no server and no component-invented timer.
  • (story 32) Given the app's A5 mount over its bounded operation-log read, then its operation filter, search, level chips and Download bundle are preserved and its existing tests keep passing against the folded screen; and given a static feed, then no standing dot, meta-line bounds, pause, idle prompt or stream-lost banner render.
  • (stories 5–6) Given streaming, then log-stream carries data-status="streaming" and renders lines newest-last with timestamp, source and message; the hub's tail renders immediately as backlog; and stream-standing carries the state with an OcStatusDot in the healthy tone and the scope's name.
  • (story 6) Given any of the four states, then the standing line is present and its data-status is the state — the surface never renders a terminal panel with no standing line above it.
  • (story 7) Given streaming, then stream-meta states the honest bounds in plain words, read from the running configuration — changing the render cap changes the meta line.
  • (story 9) Given the terminal panel, then every colour is an --oc-term-* token (no raw hex is emitted by the component), lines render at the mono secondary size (≈0.85rem, line-height ≈1.65), timestamps and sources render in --oc-term-dim, and ok/warn/err lines in their tokens.
  • (story 10) Given the scope control, then it names the current scope and its resolved target count, re-scopes in place while streaming (old follows released, new ones subscribed with their tail, no screen change), and its list is the control plane's catalogue read verbatim.
  • (story 11) Given search text, then only matching lines render, the stream keeps arriving behind the filter, and clearing restores the full retained ring — the filter never discards lines from the ring.
  • (story 12) Given an operation log, then the level chips filter on the line's own structured level authoritatively; given a service-unit target, then the chips apply a named text-match heuristic and the surface says so where the chips live; given a mixed scope, then each line is filtered by its own kind's rule and no level is fabricated.
  • (stories 13–14) Given the operator's pause-stream, then the surface enters the same paused state and frame as the idle pause, differing only in copy — no second paused implementation exists.
  • (stories 14–15) Given a follow that drops mid-stream, then stream-standing carries stream-lost with the warning-tone indicator, stream-meta reads that nothing shown is current, stream-lost-banner names the wall-clock moment of the loss and states reconnection is automatic, and log-stream carries data-status="stale" with the tail frozen, dimmed, scrollable and end-marked — never a toast, never a spinner, never a silently retried green dot.
  • (stories 19–20) Given paused, then log-stream carries data-status="paused", the tail is end-marked, and nothing on the frame names a failure; paused and stream-lost are never conflated.
  • (stories 24–26) Given a scope that resolved to no target, then no-targets-reason renders the control plane's reason for that scope, no terminal panel renders, followable-targets lists the catalogue's real answer with follow-target per row, a fleet where nothing is followable says so in the same honest voice, and back-to-emitter is offered.
  • (story 34) Given P12-S5's need, then the scoped-tail face — the terminal panel with its streaming / paused / stream-lost states, without the full surface's controls chrome, re-scopable through the same log-scope contract — is provided and tested here.
  • (story 17) Given the whole panel losing the community, then the dashboard's existing unreachable state takes over the frame and the stream-lost banner is not the surface that speaks.

Design contract

  • Flow: docs/ux/flows/p10-logs.mermaid
  • Wireframes (the element-ID contract):
    • docs/ux/wireframes/p10-logs/p10-s1-logs-streaming.html
    • docs/ux/wireframes/p10-logs/p10-s1x-stream-lost.html
    • docs/ux/wireframes/p10-logs/p10-s2-paused-still-watching.html
    • docs/ux/wireframes/p10-logs/p10-s0x-nothing-followable.html

Blocked by

  • #805 — observability:ui-kit-term-tokens
  • #799 — observability:ui-kit-telemetry-primitives
  • shell:app-side-shell (#28 — done, satisfied)

Task manifest

task: observability:ui-kit-logs-screen
implements_flow: p10-logs
wireframe:
- docs/ux/wireframes/p10-logs/p10-s1-logs-streaming.html
- docs/ux/wireframes/p10-logs/p10-s1x-stream-lost.html
- docs/ux/wireframes/p10-logs/p10-s2-paused-still-watching.html
- docs/ux/wireframes/p10-logs/p10-s0x-nothing-followable.html
interface: kit `LogsScreen` over an injected feed source with two faces — bounded (complete lines) and
  live-stream (subscribe / lines / lifecycle / release) — owning scope, search, level chips, pause/resume,
  download and the terminal panel; plus a controls-less **scoped-tail face** of the same component
seam: kit component tests against a hand-written fake feed source (prior art the `CodesLedgerScreen` shared-screen
  tests, `monitoringDrillIn.test.ts`, `surfaceFaultFrame.test.ts`), asserting the four wireframes' `data-field`
  / `data-action` / `data-status` contract; plus the app's A5 regression suite kept green against the
  folded screen
acceptance:
- given: a live-stream feed source with lines
  when: the screen mounts
  then: '`log-stream` is `streaming`, the tail renders immediately as backlog, and the standing line names
    the state and scope'
- given: a **bounded** feed source
  when: the screen mounts
  then: no standing dot, meta bounds, pause, idle prompt or stream-lost banner renders — the lifecycle
    chrome is absent
- given: a live source whose follow drops
  when: the screen re-renders
  then: the tail freezes, dims and end-marks and the banner names the wall-clock loss moment; no toast
    is shown
- given: a service-unit target with unlevelled lines
  when: a level chip is toggled
  then: the filter is applied as a **named** text-match heuristic and no line is assigned a level it does
    not carry
- given: a scope that resolved to no target
  when: the screen mounts
  then: the control plane's reason renders with the real catalogue and no terminal panel
- given: the scoped-tail face
  when: it is mounted with a target scope
  then: the terminal panel and its lifecycle states render without the controls chrome
depends_on:
- ui-kit-term-tokens
- ui-kit-telemetry-primitives
- shell:app-side-shell
out_of_scope:
- the `EventSource` itself and its reconnect/backfill/timers (`dashboard-log-stream-source`)
- binding `open-logs` / `download-logs` and hosting the mount (`shell-logs-intent-mount`)
- 'building P12-S5 — the scoped-tail face is provided here, using it beside the feed is #796''s `dashboard-activity-scoped-logs`'
- a second bespoke dashboard viewer — two idioms for one cross-cutting promise is the drift ADR 0027 exists
  to prevent
- a third hue for *lost* — it is warning plus a named banner
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: **#791** — control-panel observability child spec: logs (P10) (DDR 0203). Design ticket #760; slice-map fan-in **#770**; wayfinder map #7. Slice `ui-kit-logs-screen` of `docs/slices/observability.yaml`; covers spec #791 stories 5–34. ## What to build **One logs screen in the kit, two mounts** (the `CodesLedgerScreen` A4/DF2 precedent). The screen owns the controls — scope, search, level chips, pause/resume, download — and the terminal panel; the **feed is a seam-injected source with exactly two faces**: a **bounded** face (an operation log's lines, complete) and a **live-stream** face (subscribe / lines / lifecycle / release). The screen renders the stream-lifecycle chrome **only** when the source presents the live face — so a static feed being always complete means *streaming / stream lost / paused* never appear on A5, and A5 never learns a stream vocabulary. The app's A5 becomes a mount of this screen with its contract preserved: the operation filter, the search, the level chips and *Download bundle* keep working and its existing tests keep passing. Four object-states are proven here: **streaming** (bounds stated in the meta line, read from the running configuration, not hard-coded copy), **stream lost** (the tail freezes, dims and end-marks; a banner names the wall-clock moment of the loss and states reconnection is automatic — never a toast, never a stale scroll under a live dot), **paused** (the idle prompt and the operator's own pause are the same state and frame, differing only in copy) and **nothing followable** (the control plane's reason plus the real catalogue, one pick away from streaming). **Level filtering is honest**: authoritative on structured levels, a **named text-match heuristic** on raw service lines, never presented as monitoring's classification, and each line in a mixed scope filtered by its own kind's rule. The indicator dot is `OcStatusDot` in healthy / warning / muted — *lost* is warning plus a named banner, **never a third hue**. This slice also provides and tests the **scoped-tail face** #796's P12-S5 embeds — building P12-S5 is #796's, gated on this slice. ## Acceptance criteria - [ ] (story 31) Given the kit, then it exports a `LogsScreen` owning the controls and terminal panel with the feed injected as a source; the screen holds no store and opens no transport of its own. - [ ] (story 33) Given the injected feed source, then it has exactly two faces — bounded and live-stream — and the lifecycle chrome renders **only** for the live face; every P10 state is drivable through a hand-written fake source with no browser, no server and no component-invented timer. - [ ] (story 32) Given the app's A5 mount over its bounded operation-log read, then its operation filter, search, level chips and *Download bundle* are preserved and its existing tests keep passing against the folded screen; and given a static feed, then no standing dot, meta-line bounds, pause, idle prompt or stream-lost banner render. - [ ] (stories 5–6) Given *streaming*, then `log-stream` carries `data-status="streaming"` and renders lines newest-last with timestamp, source and message; the hub's tail renders immediately as backlog; and `stream-standing` carries the state with an `OcStatusDot` in the healthy tone and the scope's name. - [ ] (story 6) Given any of the four states, then the standing line is present and its `data-status` is the state — the surface never renders a terminal panel with no standing line above it. - [ ] (story 7) Given *streaming*, then `stream-meta` states the honest bounds in plain words, **read from the running configuration** — changing the render cap changes the meta line. - [ ] (story 9) Given the terminal panel, then every colour is an `--oc-term-*` token (**no raw hex is emitted by the component**), lines render at the mono secondary size (≈0.85rem, line-height ≈1.65), timestamps and sources render in `--oc-term-dim`, and ok/warn/err lines in their tokens. - [ ] (story 10) Given the scope control, then it names the current scope and its resolved target count, re-scopes in place while streaming (old follows released, new ones subscribed with their tail, no screen change), and its list is the control plane's catalogue read **verbatim**. - [ ] (story 11) Given search text, then only matching lines render, the stream keeps arriving behind the filter, and clearing restores the full retained ring — **the filter never discards lines from the ring**. - [ ] (story 12) Given an operation log, then the level chips filter on the line's own structured level authoritatively; given a service-unit target, then the chips apply a **named text-match heuristic** and the surface says so where the chips live; given a mixed scope, then each line is filtered by its own kind's rule and no level is fabricated. - [ ] (stories 13–14) Given the operator's `pause-stream`, then the surface enters the same *paused* state and frame as the idle pause, differing only in copy — no second paused implementation exists. - [ ] (stories 14–15) Given a follow that drops mid-stream, then `stream-standing` carries `stream-lost` with the warning-tone indicator, `stream-meta` reads that nothing shown is current, `stream-lost-banner` names the wall-clock moment of the loss and states reconnection is automatic, and `log-stream` carries `data-status="stale"` with the tail frozen, dimmed, scrollable and end-marked — never a toast, never a spinner, never a silently retried green dot. - [ ] (stories 19–20) Given *paused*, then `log-stream` carries `data-status="paused"`, the tail is end-marked, and nothing on the frame names a failure; paused and stream-lost are never conflated. - [ ] (stories 24–26) Given a scope that resolved to no target, then `no-targets-reason` renders the **control plane's** reason for that scope, no terminal panel renders, `followable-targets` lists the catalogue's real answer with `follow-target` per row, a fleet where nothing is followable says so in the same honest voice, and `back-to-emitter` is offered. - [ ] (story 34) Given P12-S5's need, then the **scoped-tail face** — the terminal panel with its streaming / paused / stream-lost states, without the full surface's controls chrome, re-scopable through the same log-scope contract — is provided and tested here. - [ ] (story 17) Given the whole panel losing the community, then the dashboard's existing unreachable state takes over the frame and the stream-lost banner is not the surface that speaks. ## Design contract - **Flow:** `docs/ux/flows/p10-logs.mermaid` - **Wireframes (the element-ID contract):** - `docs/ux/wireframes/p10-logs/p10-s1-logs-streaming.html` - `docs/ux/wireframes/p10-logs/p10-s1x-stream-lost.html` - `docs/ux/wireframes/p10-logs/p10-s2-paused-still-watching.html` - `docs/ux/wireframes/p10-logs/p10-s0x-nothing-followable.html` ## Blocked by - #805 — `observability:ui-kit-term-tokens` - #799 — `observability:ui-kit-telemetry-primitives` - `shell:app-side-shell` (#28 — done, satisfied) ## Task manifest ```yaml task: observability:ui-kit-logs-screen implements_flow: p10-logs wireframe: - docs/ux/wireframes/p10-logs/p10-s1-logs-streaming.html - docs/ux/wireframes/p10-logs/p10-s1x-stream-lost.html - docs/ux/wireframes/p10-logs/p10-s2-paused-still-watching.html - docs/ux/wireframes/p10-logs/p10-s0x-nothing-followable.html interface: kit `LogsScreen` over an injected feed source with two faces — bounded (complete lines) and live-stream (subscribe / lines / lifecycle / release) — owning scope, search, level chips, pause/resume, download and the terminal panel; plus a controls-less **scoped-tail face** of the same component seam: kit component tests against a hand-written fake feed source (prior art the `CodesLedgerScreen` shared-screen tests, `monitoringDrillIn.test.ts`, `surfaceFaultFrame.test.ts`), asserting the four wireframes' `data-field` / `data-action` / `data-status` contract; plus the app's A5 regression suite kept green against the folded screen acceptance: - given: a live-stream feed source with lines when: the screen mounts then: '`log-stream` is `streaming`, the tail renders immediately as backlog, and the standing line names the state and scope' - given: a **bounded** feed source when: the screen mounts then: no standing dot, meta bounds, pause, idle prompt or stream-lost banner renders — the lifecycle chrome is absent - given: a live source whose follow drops when: the screen re-renders then: the tail freezes, dims and end-marks and the banner names the wall-clock loss moment; no toast is shown - given: a service-unit target with unlevelled lines when: a level chip is toggled then: the filter is applied as a **named** text-match heuristic and no line is assigned a level it does not carry - given: a scope that resolved to no target when: the screen mounts then: the control plane's reason renders with the real catalogue and no terminal panel - given: the scoped-tail face when: it is mounted with a target scope then: the terminal panel and its lifecycle states render without the controls chrome depends_on: - ui-kit-term-tokens - ui-kit-telemetry-primitives - shell:app-side-shell out_of_scope: - the `EventSource` itself and its reconnect/backfill/timers (`dashboard-log-stream-source`) - binding `open-logs` / `download-logs` and hosting the mount (`shell-logs-intent-mount`) - 'building P12-S5 — the scoped-tail face is provided here, using it beside the feed is #796''s `dashboard-activity-scoped-logs`' - a second bespoke dashboard viewer — two idioms for one cross-cutting promise is the drift ADR 0027 exists to prevent - a third hue for *lost* — it is warning plus a named banner 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=10079
(automated multi-host claim — lowest live claim id works this ticket)

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

Ruled by agent under ADR 0174 — veto anytime.

Decision: how literally the app's A5 folds onto the shared LogsScreen. A5's wireframe/element-ID contract (operation-filter, log-search, filter-*, download-bundle, operation-log/.oc-logline) differs from P10's (log-scope, log-stream, download-logs, the lifecycle chrome). DDR 0203 Ruling 1 + Open-gate 1 say share with A5's contract preserved.

Ruling: LogsScreen is the one shared screen, reading an injected feed source with two faces (bounded / live-stream). It takes a contract prop with two presets — p10 (default, the dashboard vocabulary) and a5 (the app vocabulary). Both read one logsFeed model (states, level-honesty, filtering, framing). The lifecycle chrome (standing dot, meta bounds, pause, idle prompt, stream-lost banner) renders only for the live face, so an always-bounded A5 never shows it. A variant: 'tail' drops the controls chrome for #796's P12-S5 scoped-tail embed. The app's LogsViewer.vue becomes a bounded mount of LogsScreen (contract=a5), owning only the LogBundle it builds from its own LogEntry[].

Why two-way: pure additive kit code + an internal app-screen refold; revertible by a later commit. Proven by: the new kit seam tests (all four P10 states + bounded-no-chrome + scoped-tail, driven by a hand-written fake source, no browser/server/timer) and the app's existing logsViewer.test.ts kept green unchanged.

**Ruled by agent under ADR 0174 — veto anytime.** **Decision:** how literally the app's A5 folds onto the shared `LogsScreen`. A5's wireframe/element-ID contract (`operation-filter`, `log-search`, `filter-*`, `download-bundle`, `operation-log`/`.oc-logline`) differs from P10's (`log-scope`, `log-stream`, `download-logs`, the lifecycle chrome). DDR 0203 Ruling 1 + Open-gate 1 say **share** with A5's contract preserved. **Ruling:** `LogsScreen` is the one shared screen, reading an injected feed source with two faces (bounded / live-stream). It takes a `contract` prop with two presets — `p10` (default, the dashboard vocabulary) and `a5` (the app vocabulary). Both read one `logsFeed` model (states, level-honesty, filtering, framing). The lifecycle chrome (standing dot, meta bounds, pause, idle prompt, stream-lost banner) renders **only** for the live face, so an always-bounded A5 never shows it. A `variant: 'tail'` drops the controls chrome for #796's P12-S5 scoped-tail embed. The app's `LogsViewer.vue` becomes a bounded mount of `LogsScreen` (contract=a5), owning only the `LogBundle` it builds from its own `LogEntry[]`. **Why two-way:** pure additive kit code + an internal app-screen refold; revertible by a later commit. **Proven by:** the new kit seam tests (all four P10 states + bounded-no-chrome + scoped-tail, driven by a hand-written fake source, no browser/server/timer) **and** the app's existing `logsViewer.test.ts` kept green unchanged.
Author
Member

close-report for #809 — status success

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

envelope
{
  "issue": 809,
  "status": "success",
  "commits": [
    "a5951e30def6cc7e761fd40bfdaba7a2b3936ca4"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/shell/LogsViewer.vue",
    "packages/ui-kit/package.json",
    "packages/ui-kit/src/components/LogsScreen.vue",
    "packages/ui-kit/src/index.ts",
    "packages/ui-kit/src/logsFeed.ts",
    "packages/ui-kit/tests/unit/logsScreen.test.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run (packages/ui-kit)",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc -p tsconfig.json --noEmit (packages/ui-kit)",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/logsViewer.test.ts (app)",
      "exit_code": 0
    },
    {
      "command": "npx vitest run tests/unit/productTypeScale.test.ts (app)",
      "exit_code": 0
    },
    {
      "command": "npx eslint LogsScreen.vue logsFeed.ts LogsViewer.vue logsScreen.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 31 — kit exports a LogsScreen owning controls + terminal over an injected feed source; holds no store, opens no transport": "packages/ui-kit/src/components/LogsScreen.vue (Props.source: LogFeedSource; no store/EventSource) + package.json subpath export; logsScreen.test.ts",
    "story 33 — the feed has exactly two faces (bounded + live-stream), lifecycle chrome renders only for the live face, every P10 state drivable through a hand-written fake with no browser/server/timer": "logsFeed.ts BoundedLogFeed|LiveLogFeed + FakeLiveLogFeed/FakeBoundedLogFeed; logsScreen.test.ts 'story 33' + all state tests",
    "story 32 — A5 mount preserves operation filter/search/level chips/Download bundle and its existing tests pass; a static feed renders no standing dot/meta/pause/idle/lost-banner": "app/src/components/shell/LogsViewer.vue folded to contract=a5 bounded mount; app logsViewer.test.ts green (4/4); logsScreen.test.ts 'story 33 · a bounded feed renders no lifecycle chrome'",
    "stories 5-6 — streaming: log-stream data-status=streaming, tail newest-last with time/source/message, hub tail immediate; stream-standing carries state with healthy OcStatusDot + scope name; every state has a standing line above the terminal": "logsScreen.test.ts 'story 5' + 'story 6'",
    "story 7 — stream-meta states honest bounds read from running config; changing render cap changes the line": "logsScreen.test.ts 'story 7'; LogsScreen metaLine reads source.meta().shown/tailKept",
    "story 9 — every colour an --oc-term-* token, no raw hex emitted; mono secondary size ~0.85rem/1.65; timestamps/sources in --oc-term-dim; ok/warn/err in their tokens": "logsScreen.test.ts 'story 9' (style-block hex scan + rendered tone classes); app productTypeScale green",
    "story 10 — scope control names scope + resolved count, re-scopes in place while streaming (old released, new subscribed), lists catalogue verbatim": "logsScreen.test.ts 'story 10'",
    "story 11 — search filters view, stream keeps arriving behind filter, clearing restores full ring (filter never discards from the ring)": "logsScreen.test.ts 'story 11'; logsFeed.filterLines is a pure view over the ring",
    "story 12 — level chips authoritative on operation lines, named text-match heuristic on service lines said where chips live, each mixed-scope line by its own kind rule, no level fabricated": "logsScreen.test.ts 'story 12'; logsFeed.lineMatchesLevel/classifyServiceLine + SERVICE_LEVEL_HEURISTIC_NOTE",
    "stories 13-14 — operator pause-stream enters the same paused state/frame as idle pause, differing only in copy; no second paused implementation": "logsScreen.test.ts 'stories 13-14'",
    "stories 14-15 — stream lost: stream-standing=stream-lost warning dot, stream-meta nothing current, stream-lost-banner names wall-clock loss + automatic reconnect, log-stream=stale frozen/dimmed/end-marked; never toast/spinner/silent green": "logsScreen.test.ts 'stories 14-15'",
    "stories 19-20 — paused: log-stream data-status=paused, end-marked, names no failure; paused and stream-lost never conflated": "logsScreen.test.ts 'stories 19-20'",
    "stories 24-26 — no target: no-targets-reason from control plane, no terminal, followable-targets lists real catalogue with follow-target per row, nothing-followable fleet says so, back-to-emitter offered": "logsScreen.test.ts 'stories 24-26'",
    "story 34 — scoped-tail face: terminal panel with streaming/paused/stream-lost states, no controls chrome, re-scopable through the same log-scope contract": "logsScreen.test.ts 'story 34'; LogsScreen variant='tail'",
    "story 17 — whole panel losing the community: the dashboard's existing unreachable state takes over, the stream-lost banner is not the speaker": "out of this slice's scope (the dashboard mount is shell-logs-intent-mount); the stream-lost banner text defers to the dashboard's unreachable state — LogsScreen renders no community-loss frame of its own"
  },
  "summary": "Shipped the shared kit LogsScreen over a two-faced injected feed source (bounded + live-stream) rendering all four P10 states, plus the scoped-tail face, and folded the app's A5 viewer onto it as a bounded mount with its contract preserved.",
  "blockers": []
}
**close-report** for #809 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 809, "status": "success", "commits": [ "a5951e30def6cc7e761fd40bfdaba7a2b3936ca4" ], "changed_files": [ "STATUS.md", "app/src/components/shell/LogsViewer.vue", "packages/ui-kit/package.json", "packages/ui-kit/src/components/LogsScreen.vue", "packages/ui-kit/src/index.ts", "packages/ui-kit/src/logsFeed.ts", "packages/ui-kit/tests/unit/logsScreen.test.ts" ], "tests": [ { "command": "npx vitest run (packages/ui-kit)", "exit_code": 0 }, { "command": "npx vue-tsc -p tsconfig.json --noEmit (packages/ui-kit)", "exit_code": 0 }, { "command": "npx vitest run tests/unit/logsViewer.test.ts (app)", "exit_code": 0 }, { "command": "npx vitest run tests/unit/productTypeScale.test.ts (app)", "exit_code": 0 }, { "command": "npx eslint LogsScreen.vue logsFeed.ts LogsViewer.vue logsScreen.test.ts", "exit_code": 0 } ], "criteria": { "story 31 — kit exports a LogsScreen owning controls + terminal over an injected feed source; holds no store, opens no transport": "packages/ui-kit/src/components/LogsScreen.vue (Props.source: LogFeedSource; no store/EventSource) + package.json subpath export; logsScreen.test.ts", "story 33 — the feed has exactly two faces (bounded + live-stream), lifecycle chrome renders only for the live face, every P10 state drivable through a hand-written fake with no browser/server/timer": "logsFeed.ts BoundedLogFeed|LiveLogFeed + FakeLiveLogFeed/FakeBoundedLogFeed; logsScreen.test.ts 'story 33' + all state tests", "story 32 — A5 mount preserves operation filter/search/level chips/Download bundle and its existing tests pass; a static feed renders no standing dot/meta/pause/idle/lost-banner": "app/src/components/shell/LogsViewer.vue folded to contract=a5 bounded mount; app logsViewer.test.ts green (4/4); logsScreen.test.ts 'story 33 · a bounded feed renders no lifecycle chrome'", "stories 5-6 — streaming: log-stream data-status=streaming, tail newest-last with time/source/message, hub tail immediate; stream-standing carries state with healthy OcStatusDot + scope name; every state has a standing line above the terminal": "logsScreen.test.ts 'story 5' + 'story 6'", "story 7 — stream-meta states honest bounds read from running config; changing render cap changes the line": "logsScreen.test.ts 'story 7'; LogsScreen metaLine reads source.meta().shown/tailKept", "story 9 — every colour an --oc-term-* token, no raw hex emitted; mono secondary size ~0.85rem/1.65; timestamps/sources in --oc-term-dim; ok/warn/err in their tokens": "logsScreen.test.ts 'story 9' (style-block hex scan + rendered tone classes); app productTypeScale green", "story 10 — scope control names scope + resolved count, re-scopes in place while streaming (old released, new subscribed), lists catalogue verbatim": "logsScreen.test.ts 'story 10'", "story 11 — search filters view, stream keeps arriving behind filter, clearing restores full ring (filter never discards from the ring)": "logsScreen.test.ts 'story 11'; logsFeed.filterLines is a pure view over the ring", "story 12 — level chips authoritative on operation lines, named text-match heuristic on service lines said where chips live, each mixed-scope line by its own kind rule, no level fabricated": "logsScreen.test.ts 'story 12'; logsFeed.lineMatchesLevel/classifyServiceLine + SERVICE_LEVEL_HEURISTIC_NOTE", "stories 13-14 — operator pause-stream enters the same paused state/frame as idle pause, differing only in copy; no second paused implementation": "logsScreen.test.ts 'stories 13-14'", "stories 14-15 — stream lost: stream-standing=stream-lost warning dot, stream-meta nothing current, stream-lost-banner names wall-clock loss + automatic reconnect, log-stream=stale frozen/dimmed/end-marked; never toast/spinner/silent green": "logsScreen.test.ts 'stories 14-15'", "stories 19-20 — paused: log-stream data-status=paused, end-marked, names no failure; paused and stream-lost never conflated": "logsScreen.test.ts 'stories 19-20'", "stories 24-26 — no target: no-targets-reason from control plane, no terminal, followable-targets lists real catalogue with follow-target per row, nothing-followable fleet says so, back-to-emitter offered": "logsScreen.test.ts 'stories 24-26'", "story 34 — scoped-tail face: terminal panel with streaming/paused/stream-lost states, no controls chrome, re-scopable through the same log-scope contract": "logsScreen.test.ts 'story 34'; LogsScreen variant='tail'", "story 17 — whole panel losing the community: the dashboard's existing unreachable state takes over, the stream-lost banner is not the speaker": "out of this slice's scope (the dashboard mount is shell-logs-intent-mount); the stream-lost banner text defers to the dashboard's unreachable state — LogsScreen renders no community-loss frame of its own" }, "summary": "Shipped the shared kit LogsScreen over a two-faced injected feed source (bounded + live-stream) rendering all four P10 states, plus the scoped-tail face, and folded the app's A5 viewer onto it as a bounded mount with its contract preserved.", "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#809
No description provided.