observability: shell-logs-intent-mount — the slice that closes #760's named gap — the dropped open-logs intents get an answer #811

Closed
opened 2026-08-25 10:58:50 +00:00 by matou-build-agent · 5 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 shell-logs-intent-mount of docs/slices/observability.yaml; covers spec #791 stories 1–4, 27–30.

What to build

The slice this whole spec exists for, and it is last by construction.

Today DashboardComposition binds only @route, so every surface's open-logs / download-logs
emit is silently dropped: ServicesSurface re-emits into nothing, and FleetSurface /
SettingsSurface translate them into PendingRoutes that park. An operator clicks Open logs on
a service that has been down for four minutes and the panel does not react at all.

This slice binds open-logs / download-logs alongside @route on every mounted surface and
mounts the logs screen over whichever tab's screen emitted it, scoped to the emitter's log
targets, with Back returning to the emitting screen and its place held. download-logs mounts
nothing — it fetches the bounded artifact for the same scope as a direct browser download, and the
current screen (streaming or otherwise) is untouched.

The three emit shapes converge on one intent-with-scope shape — a raw open-logs emit
(ServicesSurface), a route intent open-logs-<id> (SettingsSurface) and a route intent
open-log-<id> (FleetSurface) — and FleetSurface's logs-shaped PendingRoute is removed
rather than left parking. No emitting screen learns a new payload shape and no emitter resolves
targets itself.

No seventh tab (ADR 0094), no route of its own, no standing entry anywhere: an operator is led
to logs by an emitting surface, never left to find them (DDR 0101 §3).

Acceptance criteria

  • (story 1) Given any emitting screen rendering open-logs — monitoring's P5-S3 / S4x, provisioning's P4-S4 / S5 / S5x, updates' P4b-U1 / U3 / U4 / U4x, the mail readiness pair MAIL-S1 / S1x — when it is activated, then the shell mounts the logs screen scoped to that emitter's log scope.
  • (story 1) Given the dashboard composition, then it binds @open-logs and @download-logs alongside @route on every mounted surface — no surface's logs emit reaches a component that does not listen for it.
  • (story 1) Given a regression test over the composition, then activating open-logs on each emitting surface is asserted to mount the logs screen — the dropped-emit failure is caught by a test, not by an operator.
  • (story 2) Given the three shapes in the tree today, then all three converge on one intent-with-scope shape and FleetSurface's logs-shaped PendingRoute translation is removed rather than left parking; an emitter passes the log-scope reference it already carries unchanged.
  • (story 3) Given an emitter whose scope resolves to no log target, then P10-S0x renders — never an empty terminal and never a silent no-op.
  • (story 4) Given any surface offering download-logs, when it is activated, then the bounded artifact for that same scope downloads directly and no screen is mounted; and activated from the logs screen while streaming, the stream keeps running through the download.
  • (story 27) Given the logs screen mounted from any emitter, then it renders in place over the emitting tab's screen, the selected tab does not change, the URL does not change, no seventh tab appears, and no modal is used.
  • (story 27) Given Back from any logs frame, then the emitting screen resumes with its own state intact — its scroll, its open drill-in, its selection.
  • (story 28) Given the whole dashboard chrome, then there is no standing menu entry, tab or link to the logs surface anywhere.
  • (story 29) Given the composition, then the logs mount is shell's — one binding answering every emitter — and no feature surface hosts a logs panel of its own.
  • (story 30) Given S1's scope control and S0x's offer list, then both render the same control-plane catalogue read verbatim, with no client-side resolution in either.

Design contract

  • Flow: docs/ux/flows/p10-logs.mermaid
  • Edges implemented: ENTRY→P10-S1, ENTRY→P10-S0x, P10-S1→ENTRY, P10-S1x→ENTRY, P10-S2→ENTRY, P10-S0x→ENTRY
  • Wireframes (the element-ID contract):
    • docs/ux/wireframes/p10-logs/p10-e1-entry-points.html

Blocked by

  • #807 — observability:transport-log-catalogue
  • #809 — observability:ui-kit-logs-screen
  • #810 — observability:dashboard-log-stream-source
  • shell:compose-shell-controlplane (#159 — done, satisfied)
  • monitoring:notify-and-drill (#84 — done, satisfied)

Task manifest

task: observability:shell-logs-intent-mount
implements_flow: p10-logs
implements_edge: ENTRY→P10-S1, ENTRY→P10-S0x, P10-S1→ENTRY, P10-S1x→ENTRY, P10-S2→ENTRY, P10-S0x→ENTRY
wireframe: docs/ux/wireframes/p10-logs/p10-e1-entry-points.html
interface: '`DashboardComposition` binds `open-logs` / `download-logs` alongside `@route` and hosts the
  in-place logs mount over the emitting tab''s screen; the three legacy emit shapes converge on one intent-with-scope
  shape and `FleetSurface`''s logs `PendingRoute` translation is removed'
seam: 'the composition seam (prior art the existing composition/mount-registry tests and `fleet.test.ts`):
  the logs screen is asserted to mount when **each** emitting surface emits `open-logs`; `download-logs`
  downloads without mounting; Back returns to the emitting screen with its state intact; no tab change
  and no URL change occurs; and no logs-shaped `PendingRoute` is left parked'
acceptance:
- given: each emitting surface in the tree
  when: it emits `open-logs`
  then: the logs screen mounts scoped to that emitter's log scope — asserted per emitter
- given: a surface offering `download-logs`
  when: it is activated
  then: the bounded artifact downloads and no screen is mounted
- given: an emitter whose scope resolves to no target
  when: '`open-logs` is activated'
  then: P10-S0x renders rather than an empty terminal or a silent no-op
- given: the mounted logs screen
  when: Back is activated
  then: the emitting screen resumes with its scroll, drill-in and selection intact; the tab and URL never
    changed
- given: the tree after this slice
  when: '`FleetSurface` is inspected'
  then: its logs-shaped `PendingRoute` translation is gone
- given: the whole dashboard chrome
  when: it renders
  then: no standing menu entry, tab or link to logs exists anywhere
depends_on:
- transport-log-catalogue
- ui-kit-logs-screen
- dashboard-log-stream-source
- shell:compose-shell-controlplane
- monitoring:notify-and-drill
out_of_scope:
- a seventh tab, a route of its own, or any standing entry
- the screen's own states and controls (`ui-kit-logs-screen`)
- the stream client's guards (`dashboard-log-stream-source`)
- any feature surface hosting its own logs panel
- changing any emitter's payload shape
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 `shell-logs-intent-mount` of `docs/slices/observability.yaml`; covers spec #791 stories 1–4, 27–30. ## What to build **The slice this whole spec exists for, and it is last by construction.** Today `DashboardComposition` binds only `@route`, so every surface's `open-logs` / `download-logs` emit is **silently dropped**: `ServicesSurface` re-emits into nothing, and `FleetSurface` / `SettingsSurface` translate them into `PendingRoute`s that park. An operator clicks *Open logs* on a service that has been down for four minutes and the panel does not react at all. This slice binds `open-logs` / `download-logs` alongside `@route` on every mounted surface and mounts the logs screen **over whichever tab's screen emitted it**, scoped to the emitter's log targets, with Back returning to the emitting screen and its place held. `download-logs` mounts nothing — it fetches the bounded artifact for the same scope as a direct browser download, and the current screen (streaming or otherwise) is untouched. The **three emit shapes converge on one intent-with-scope shape** — a raw `open-logs` emit (`ServicesSurface`), a `route` intent `open-logs-<id>` (`SettingsSurface`) and a `route` intent `open-log-<id>` (`FleetSurface`) — and `FleetSurface`'s logs-shaped `PendingRoute` is **removed** rather than left parking. No emitting screen learns a new payload shape and no emitter resolves targets itself. No seventh tab (ADR 0094), no route of its own, no standing entry anywhere: an operator is **led** to logs by an emitting surface, never left to find them (DDR 0101 §3). ## Acceptance criteria - [ ] (story 1) Given any emitting screen rendering `open-logs` — monitoring's P5-S3 / S4x, provisioning's P4-S4 / S5 / S5x, updates' P4b-U1 / U3 / U4 / U4x, the mail readiness pair MAIL-S1 / S1x — when it is activated, then the shell mounts the logs screen scoped to that emitter's log scope. - [ ] (story 1) Given the dashboard composition, then it binds `@open-logs` and `@download-logs` alongside `@route` on every mounted surface — **no surface's logs emit reaches a component that does not listen for it**. - [ ] (story 1) Given a regression test over the composition, then activating `open-logs` on **each** emitting surface is asserted to mount the logs screen — the dropped-emit failure is caught by a test, not by an operator. - [ ] (story 2) Given the three shapes in the tree today, then all three converge on one intent-with-scope shape and `FleetSurface`'s logs-shaped `PendingRoute` translation is **removed** rather than left parking; an emitter passes the log-scope reference it already carries unchanged. - [ ] (story 3) Given an emitter whose scope resolves to no log target, then P10-S0x renders — never an empty terminal and never a silent no-op. - [ ] (story 4) Given any surface offering `download-logs`, when it is activated, then the bounded artifact for that same scope downloads directly and **no screen is mounted**; and activated from the logs screen while streaming, the stream keeps running through the download. - [ ] (story 27) Given the logs screen mounted from any emitter, then it renders in place over the emitting tab's screen, the selected tab does not change, the URL does not change, **no seventh tab appears**, and no modal is used. - [ ] (story 27) Given Back from any logs frame, then the emitting screen resumes with its own state intact — its scroll, its open drill-in, its selection. - [ ] (story 28) Given the whole dashboard chrome, then there is **no standing menu entry, tab or link to the logs surface anywhere**. - [ ] (story 29) Given the composition, then the logs mount is shell's — one binding answering every emitter — and no feature surface hosts a logs panel of its own. - [ ] (story 30) Given S1's scope control and S0x's offer list, then both render the same control-plane catalogue read verbatim, with no client-side resolution in either. ## Design contract - **Flow:** `docs/ux/flows/p10-logs.mermaid` - **Edges implemented:** `ENTRY→P10-S1, ENTRY→P10-S0x, P10-S1→ENTRY, P10-S1x→ENTRY, P10-S2→ENTRY, P10-S0x→ENTRY` - **Wireframes (the element-ID contract):** - `docs/ux/wireframes/p10-logs/p10-e1-entry-points.html` ## Blocked by - #807 — `observability:transport-log-catalogue` - #809 — `observability:ui-kit-logs-screen` - #810 — `observability:dashboard-log-stream-source` - `shell:compose-shell-controlplane` (#159 — done, satisfied) - `monitoring:notify-and-drill` (#84 — done, satisfied) ## Task manifest ```yaml task: observability:shell-logs-intent-mount implements_flow: p10-logs implements_edge: ENTRY→P10-S1, ENTRY→P10-S0x, P10-S1→ENTRY, P10-S1x→ENTRY, P10-S2→ENTRY, P10-S0x→ENTRY wireframe: docs/ux/wireframes/p10-logs/p10-e1-entry-points.html interface: '`DashboardComposition` binds `open-logs` / `download-logs` alongside `@route` and hosts the in-place logs mount over the emitting tab''s screen; the three legacy emit shapes converge on one intent-with-scope shape and `FleetSurface`''s logs `PendingRoute` translation is removed' seam: 'the composition seam (prior art the existing composition/mount-registry tests and `fleet.test.ts`): the logs screen is asserted to mount when **each** emitting surface emits `open-logs`; `download-logs` downloads without mounting; Back returns to the emitting screen with its state intact; no tab change and no URL change occurs; and no logs-shaped `PendingRoute` is left parked' acceptance: - given: each emitting surface in the tree when: it emits `open-logs` then: the logs screen mounts scoped to that emitter's log scope — asserted per emitter - given: a surface offering `download-logs` when: it is activated then: the bounded artifact downloads and no screen is mounted - given: an emitter whose scope resolves to no target when: '`open-logs` is activated' then: P10-S0x renders rather than an empty terminal or a silent no-op - given: the mounted logs screen when: Back is activated then: the emitting screen resumes with its scroll, drill-in and selection intact; the tab and URL never changed - given: the tree after this slice when: '`FleetSurface` is inspected' then: its logs-shaped `PendingRoute` translation is gone - given: the whole dashboard chrome when: it renders then: no standing menu entry, tab or link to logs exists anywhere depends_on: - transport-log-catalogue - ui-kit-logs-screen - dashboard-log-stream-source - shell:compose-shell-controlplane - monitoring:notify-and-drill out_of_scope: - a seventh tab, a route of its own, or any standing entry - the screen's own states and controls (`ui-kit-logs-screen`) - the stream client's guards (`dashboard-log-stream-source`) - any feature surface hosting its own logs panel - changing any emitter's payload shape 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.*
Owner

Supplementary findings — transferred from the withdrawn parallel spec draft (#836–#839 race, see #760–#763), verified absent from this spec before posting. Findings, not edits — the spec's rulings stand unless amended.

[MAJOR for this slice] The spec's emitter enumeration omits rescue and backups emitters that already exist in the tree — this slice's "no surface's logs emit reaches a component that does not listen" regression won't cover them as specced: dashboard/src/components/rescue/ServiceLadderScreen.vue (open-log), the P8 frames' open-log/open-restart-log/open-reapply-log/open-move-log/open-full-log/download-log-bundle (p8-s1/s4/s4x), and dashboard/src/components/backups/BackupRestoreReplacesScreen.vue (open-log/download-log). ADR 0027 names backups and rescue in the Open/Download promise. A ruling is owed before this slice's binding is called complete: converge these onto the intent-with-scope shape, or scope them out explicitly (the rescue log-bundle is arguably ADR 0089's artifact). Full finding on spec #791.

**Supplementary findings** — transferred from the withdrawn parallel spec draft (#836–#839 race, see #760–#763), verified absent from this spec before posting. Findings, not edits — the spec's rulings stand unless amended. **[MAJOR for this slice] The spec's emitter enumeration omits rescue and backups emitters that already exist in the tree** — this slice's "no surface's logs emit reaches a component that does not listen" regression won't cover them as specced: `dashboard/src/components/rescue/ServiceLadderScreen.vue` (`open-log`), the P8 frames' `open-log`/`open-restart-log`/`open-reapply-log`/`open-move-log`/`open-full-log`/`download-log-bundle` (p8-s1/s4/s4x), and `dashboard/src/components/backups/BackupRestoreReplacesScreen.vue` (`open-log`/`download-log`). ADR 0027 names backups and rescue in the Open/Download promise. A ruling is owed before this slice's binding is called complete: converge these onto the intent-with-scope shape, or scope them out explicitly (the rescue log-bundle is arguably ADR 0089's artifact). Full finding on spec #791.
Author
Member

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

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

Ruled by agent under ADR 0174 — veto anytime. Ben's supplementary finding (backups + rescue emitters omitted from this slice's binding) is answered here: backups and rescue are scoped OUT of this slice explicitly, and a follow-up is filed to converge them.

The ruling — this slice binds @open-logs / @download-logs on every mounted surface and converges the spec's enumerated emitters (monitoring P5-S3/S4x, provisioning P4-S4/S5/S5x, updates P4b-U1/U3/U4/U4x, mail MAIL-S1/S1x) onto the one intent-with-scope shape. It does not converge:

  • rescue — ServiceLadderScreen's open-log button is inert today (no @click, absent from defineEmits), so it reaches no composition binding; and rescue's crisis surfaces are routed-to-only with no mount among the six tabs (DDR 0101 §3). This slice's composition binding cannot reach an unmounted surface — rescue's convergence belongs with rescue's own mount slice.
  • backups — BackupsSurface translates open-run-log into a route intent (owner backups, no scope id), and the BackupRestore* screens' restore-log emits are not wired to a surface listener at all. Their log affordances are ADR 0027/0089 artifacts (the rescue log-bundle is arguably ADR 0089's), whose log-scope reference is not yet defined by the #807 catalogue. Converging them requires defining that reference and re-wiring the restore screens — a design+wiring step beyond this composition-binding slice.

Why it is a two-way door — nothing here forecloses convergence: a later slice re-emits those surfaces' logs intents onto the exact same open-logs / download-logs shape this slice already binds on every surface, and it just works. What proves it: the composition binding is already present on all six surfaces (asserted per-emitter in dashboardComposition.test.ts), so the follow-up is additive.

Follow-up filed: converge backups + rescue log emitters onto the intent-with-scope shape once their log-scope references are defined (ADR 0027/0089).

**Ruled by agent under ADR 0174 — veto anytime.** Ben's supplementary finding (backups + rescue emitters omitted from this slice's binding) is answered here: **backups and rescue are scoped OUT of this slice explicitly**, and a follow-up is filed to converge them. **The ruling** — this slice binds `@open-logs` / `@download-logs` on every mounted surface and converges the spec's enumerated emitters (monitoring P5-S3/S4x, provisioning P4-S4/S5/S5x, updates P4b-U1/U3/U4/U4x, mail MAIL-S1/S1x) onto the one intent-with-scope shape. It does **not** converge: - **rescue** — `ServiceLadderScreen`'s `open-log` button is **inert today** (no `@click`, absent from `defineEmits`), so it reaches no composition binding; and rescue's crisis surfaces are routed-to-only with **no mount among the six tabs** (DDR 0101 §3). This slice's composition binding cannot reach an unmounted surface — rescue's convergence belongs with rescue's own mount slice. - **backups** — `BackupsSurface` translates `open-run-log` into a `route` intent (owner `backups`, no scope id), and the `BackupRestore*` screens' restore-log emits are not wired to a surface listener at all. Their log affordances are ADR 0027/0089 **artifacts** (the rescue log-bundle is arguably ADR 0089's), whose **log-scope reference is not yet defined** by the #807 catalogue. Converging them requires defining that reference and re-wiring the restore screens — a design+wiring step beyond this composition-binding slice. **Why it is a two-way door** — nothing here forecloses convergence: a later slice re-emits those surfaces' logs intents onto the exact same `open-logs` / `download-logs` shape this slice already binds on every surface, and it just works. What proves it: the composition binding is already present on all six surfaces (asserted per-emitter in `dashboardComposition.test.ts`), so the follow-up is additive. **Follow-up filed:** converge backups + rescue log emitters onto the intent-with-scope shape once their log-scope references are defined (ADR 0027/0089).
Author
Member

Follow-up filed: #859 — converge backups + rescue log emitters onto this slice's open-logs / download-logs intent once their log-scope references are defined (labelled needs-design).

Follow-up filed: **#859** — converge backups + rescue log emitters onto this slice's `open-logs` / `download-logs` intent once their log-scope references are defined (labelled `needs-design`).
Author
Member

close-report for #811 — status success

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

envelope
{
  "issue": 811,
  "status": "success",
  "commits": [
    "7d3113c93af18353b3794697853bc4641c583892"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/bootstrap.ts",
    "dashboard/src/components/DashboardComposition.vue",
    "dashboard/src/components/shell/FleetSurface.vue",
    "dashboard/src/components/shell/SettingsSurface.vue",
    "dashboard/src/lib/logsMount.ts",
    "dashboard/src/lib/mountRegistry.ts",
    "dashboard/tests/fakes/logsMount.ts",
    "dashboard/tests/support/defaultDashboardDeps.ts",
    "dashboard/tests/unit/dashboardComposition.test.ts",
    "dashboard/tests/unit/logsMount.test.ts"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --dir dashboard vitest run",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --dir dashboard vue-tsc --noEmit",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --dir dashboard eslint (changed files)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 1 — each emitting surface's open-logs mounts the logs screen scoped to that emitter": "DashboardComposition.vue binds @open-logs on every mounted surface and resolves via logsSource; asserted per-emitter (services/fleet/settings) in dashboardComposition.test.ts (it.each EMITTERS)",
    "story 1 — composition binds @open-logs and @download-logs on every mounted surface, no logs emit reaches a component that does not listen": "DashboardComposition.vue template binds @open-logs/@download-logs alongside @route on the <component> for every tab slot",
    "story 1 — regression asserts activating open-logs on EACH emitting surface mounts the logs screen": "dashboardComposition.test.ts 'activating open-logs on the %s surface mounts the logs screen scoped to that emitter' over services/fleet/settings",
    "story 2 — three shapes converge on one intent-with-scope shape and FleetSurface's logs-shaped PendingRoute translation is removed": "FleetSurface.vue @open-log/@download-log now re-emit open-logs/download-logs (was route open-log-<id>); SettingsSurface.vue @open-logs now re-emits open-logs (was route open-logs-<id>); scope reference passed unchanged",
    "story 3 — a scope resolving to no target renders P10-S0x, never an empty terminal or silent no-op": "logsMount.ts openLogsFeed builds a no-targets feed carrying the catalogue reason (logsMount.test.ts); dashboardComposition.test.ts 'no target lands P10-S0x' asserts LogsScreen no-targets-reason renders",
    "story 4 — download-logs downloads the bounded artifact and mounts no screen; from the logs screen the stream keeps running": "DashboardComposition.downloadLogs calls logsSource.download without mounting; logsMount.ts download fetches getLogsDownload as a browser download; LogsScreen @download handler never touches the feed; dashboardComposition.test.ts 'download-logs fetches directly and mounts NO screen'",
    "story 27 — logs renders in place over the emitting tab; tab and URL unchanged; no seventh tab; no modal": "logsMount ref overlays LogsScreen in the emitting tab's slot (no navigator hop, no PendingRoute); dashboardComposition.test.ts asserts selectedTab unchanged, pending null, MOUNT_TABLE stays six",
    "story 27/28 — Back resumes the emitting screen with its state intact": "emitting surface kept mounted via v-show (not v-if); closeLogs clears the overlay; dashboardComposition.test.ts asserts the SAME surface instance (stable vm uid) resumes after Back",
    "story 28 — no standing menu entry, tab or link to logs anywhere": "no logs tab in MOUNT_TABLE and no logs route; dashboardComposition.test.ts 'adds no standing menu entry, tab or link to logs'",
    "story 29 — the logs mount is shell's, one binding answering every emitter; no feature surface hosts a logs panel": "single logsMount + LogsScreen overlay in DashboardComposition; no feature surface gains a logs panel (Fleet/Settings only re-emit the intent)",
    "story 30 — S1 scope control and S0x offer list both render the same control-plane catalogue verbatim, no client-side resolution in either": "LogsScreen (#809) reads feed.catalogue() verbatim for both; logsMount.resolveScope maps LogTarget->LogScopeTarget with no re-derivation (logsMount.test.ts)"
  },
  "summary": "DashboardComposition now binds open-logs/download-logs on every mounted surface and mounts the shared LogsScreen in place over the emitting tab, with the three legacy emit shapes converged onto one intent-with-scope shape resolved behind the shell's logsMount seam.",
  "blockers": []
}
**close-report** for #811 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 811, "status": "success", "commits": [ "7d3113c93af18353b3794697853bc4641c583892" ], "changed_files": [ "STATUS.md", "dashboard/src/bootstrap.ts", "dashboard/src/components/DashboardComposition.vue", "dashboard/src/components/shell/FleetSurface.vue", "dashboard/src/components/shell/SettingsSurface.vue", "dashboard/src/lib/logsMount.ts", "dashboard/src/lib/mountRegistry.ts", "dashboard/tests/fakes/logsMount.ts", "dashboard/tests/support/defaultDashboardDeps.ts", "dashboard/tests/unit/dashboardComposition.test.ts", "dashboard/tests/unit/logsMount.test.ts" ], "tests": [ { "command": "CI=true pnpm --dir dashboard vitest run", "exit_code": 0 }, { "command": "CI=true pnpm --dir dashboard vue-tsc --noEmit", "exit_code": 0 }, { "command": "CI=true pnpm --dir dashboard eslint (changed files)", "exit_code": 0 } ], "criteria": { "story 1 — each emitting surface's open-logs mounts the logs screen scoped to that emitter": "DashboardComposition.vue binds @open-logs on every mounted surface and resolves via logsSource; asserted per-emitter (services/fleet/settings) in dashboardComposition.test.ts (it.each EMITTERS)", "story 1 — composition binds @open-logs and @download-logs on every mounted surface, no logs emit reaches a component that does not listen": "DashboardComposition.vue template binds @open-logs/@download-logs alongside @route on the <component> for every tab slot", "story 1 — regression asserts activating open-logs on EACH emitting surface mounts the logs screen": "dashboardComposition.test.ts 'activating open-logs on the %s surface mounts the logs screen scoped to that emitter' over services/fleet/settings", "story 2 — three shapes converge on one intent-with-scope shape and FleetSurface's logs-shaped PendingRoute translation is removed": "FleetSurface.vue @open-log/@download-log now re-emit open-logs/download-logs (was route open-log-<id>); SettingsSurface.vue @open-logs now re-emits open-logs (was route open-logs-<id>); scope reference passed unchanged", "story 3 — a scope resolving to no target renders P10-S0x, never an empty terminal or silent no-op": "logsMount.ts openLogsFeed builds a no-targets feed carrying the catalogue reason (logsMount.test.ts); dashboardComposition.test.ts 'no target lands P10-S0x' asserts LogsScreen no-targets-reason renders", "story 4 — download-logs downloads the bounded artifact and mounts no screen; from the logs screen the stream keeps running": "DashboardComposition.downloadLogs calls logsSource.download without mounting; logsMount.ts download fetches getLogsDownload as a browser download; LogsScreen @download handler never touches the feed; dashboardComposition.test.ts 'download-logs fetches directly and mounts NO screen'", "story 27 — logs renders in place over the emitting tab; tab and URL unchanged; no seventh tab; no modal": "logsMount ref overlays LogsScreen in the emitting tab's slot (no navigator hop, no PendingRoute); dashboardComposition.test.ts asserts selectedTab unchanged, pending null, MOUNT_TABLE stays six", "story 27/28 — Back resumes the emitting screen with its state intact": "emitting surface kept mounted via v-show (not v-if); closeLogs clears the overlay; dashboardComposition.test.ts asserts the SAME surface instance (stable vm uid) resumes after Back", "story 28 — no standing menu entry, tab or link to logs anywhere": "no logs tab in MOUNT_TABLE and no logs route; dashboardComposition.test.ts 'adds no standing menu entry, tab or link to logs'", "story 29 — the logs mount is shell's, one binding answering every emitter; no feature surface hosts a logs panel": "single logsMount + LogsScreen overlay in DashboardComposition; no feature surface gains a logs panel (Fleet/Settings only re-emit the intent)", "story 30 — S1 scope control and S0x offer list both render the same control-plane catalogue verbatim, no client-side resolution in either": "LogsScreen (#809) reads feed.catalogue() verbatim for both; logsMount.resolveScope maps LogTarget->LogScopeTarget with no re-derivation (logsMount.test.ts)" }, "summary": "DashboardComposition now binds open-logs/download-logs on every mounted surface and mounts the shared LogsScreen in place over the emitting tab, with the three legacy emit shapes converged onto one intent-with-scope shape resolved behind the shell's logsMount seam.", "blockers": [] } ``` </details>
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#811
No description provided.