observability: dashboard-activity-scoped-logs — GATED — P12-S5, the embedded scoped-tail face and its re-scope-on-select #833

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

Parent

Feature spec: #796 — control-panel observability child spec: activity feed (P12) (DDR 0206).
Design ticket #763; slice-map fan-in #770; wayfinder map #7.
Slice dashboard-activity-scoped-logs of docs/slices/observability.yaml; covers spec #796 stories 62–64.

What to build

The arc's ONE genuine cross-spec build edge (slice-map ruling 3), and deliberately last and
severable
: if #791 slips, this slice waits and nothing else in the arc does.

P12-S5 embeds #791's scoped-tail face of the shared LogsScreen via DDR 0203's target-scoping
contract, scoped to the selected event's subject, and re-scopes on select. The feed's own detail
pane above stays complete and unchanged; when the subject has no readable stream the pane states
that in p10's own honest wording — the feed neither hides the pane nor invents a stream.

The feed never grows a log reader of its own, and it is complete without the pairing: P12-S3's
detail pane is the standalone contract. Until #791's ui-kit-logs-screen lands, exactly P12-S3
renders with no scoped-logs pane and no placeholder for one, and design-verify does not
require frame P12-S5.

Acceptance criteria

  • (story 62) Given #791's logs surface has landed and a selected event whose subject resolves to a followable target, then [data-field="scoped-logs-pane"] renders with data-status="scoped" carrying p10's scoped-tail face scoped to that subject (DDR 0203's target-scoping contract), and the feed's own detail pane above stays complete and unchanged.
  • (story 63) Given the paired state, when another event is selected, then the pane re-scopes to the new event's subject.
  • (story 63) Given a selected event whose subject has no readable stream, then the pane states that in p10's own honest wording — the feed neither hides the pane nor invents a stream.
  • (story 64) Given #791 has not landed, then exactly P12-S3 renders (detail pane, log doors where a handle exists, one drill-in) with no scoped-logs pane and no placeholder for one, and design-verify does not require frame P12-S5.
  • (story 64) Given either case, then the feed contains no log reader of its own — the pane is the same kit component, not a variant reader.

Design contract

  • Flow: docs/ux/flows/p12-activity.mermaid
  • Edges implemented: P12-S3→P12-S5, P12-S5→P12-S5
  • Wireframes (the element-ID contract):
    • docs/ux/wireframes/p12-activity/p12-s5-logs-paired-gated.html

Blocked by

  • #831 — observability:dashboard-activity-surface
  • #809 — observability:ui-kit-logs-screen

Task manifest

task: observability:dashboard-activity-scoped-logs
implements_flow: p12-activity
implements_edge: P12-S3→P12-S5, P12-S5→P12-S5
wireframe: docs/ux/wireframes/p12-activity/p12-s5-logs-paired-gated.html
interface: 'P12-S5: the activity detail pane embeds #791''s controls-less scoped-tail `LogsScreen` face,
  scoped through DDR 0203''s target-scoping contract by the selected event''s subject and re-scoped on
  selection change'
seam: 'component tests against the hand-written fake `ActivityClient` plus the kit''s scoped-tail face
  (prior art the `LogsScreen` tests and `monitoringDrillIn.test.ts`): the pane renders scoped for a followable
  subject; it re-scopes on select; a subject with no readable stream states that in p10''s wording; and
  with the logs screen absent exactly P12-S3 renders with no pane and no placeholder'
acceptance:
- given: a selected event whose subject resolves to a followable target
  when: the detail renders
  then: the scoped-logs pane renders with the scoped-tail face and the detail pane above is unchanged
- given: the paired state
  when: another event is selected
  then: the pane re-scopes to the new event's subject
- given: a selected event whose subject has no readable stream
  when: the detail renders
  then: the pane states that in p10's own honest wording — neither hidden nor a fabricated stream
- given: the logs screen not present
  when: any event is selected
  then: exactly P12-S3 renders with no scoped-logs pane and no placeholder
depends_on:
- dashboard-activity-surface
- ui-kit-logs-screen
out_of_scope:
- 'a log reader of the feed''s own — the pane is #791''s kit component or nothing at all'
- changing P12-S3's standalone contract
- the logs surface's own controls chrome — the embedded face is controls-less by construction
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: **#796** — control-panel observability child spec: activity feed (P12) (DDR 0206). Design ticket #763; slice-map fan-in **#770**; wayfinder map #7. Slice `dashboard-activity-scoped-logs` of `docs/slices/observability.yaml`; covers spec #796 stories 62–64. ## What to build **The arc's ONE genuine cross-spec build edge** (slice-map ruling 3), and **deliberately last and severable**: if #791 slips, this slice waits and nothing else in the arc does. P12-S5 embeds #791's **scoped-tail face** of the shared `LogsScreen` via DDR 0203's target-scoping contract, scoped to the selected event's subject, and **re-scopes on select**. The feed's own detail pane above stays complete and unchanged; when the subject has no readable stream the pane states that in p10's own honest wording — **the feed neither hides the pane nor invents a stream**. **The feed never grows a log reader of its own**, and it is complete without the pairing: P12-S3's detail pane is the standalone contract. Until #791's `ui-kit-logs-screen` lands, exactly P12-S3 renders with **no scoped-logs pane and no placeholder for one**, and `design-verify` does not require frame P12-S5. ## Acceptance criteria - [ ] (story 62) Given #791's logs surface has landed and a selected event whose subject resolves to a followable target, then `[data-field="scoped-logs-pane"]` renders with `data-status="scoped"` carrying p10's **scoped-tail face** scoped to that subject (DDR 0203's target-scoping contract), and the feed's own detail pane above stays complete and unchanged. - [ ] (story 63) Given the paired state, when another event is selected, then the pane **re-scopes** to the new event's subject. - [ ] (story 63) Given a selected event whose subject has no readable stream, then the pane states that in p10's **own honest wording** — the feed neither hides the pane nor invents a stream. - [ ] (story 64) Given #791 has **not** landed, then exactly P12-S3 renders (detail pane, log doors where a handle exists, one drill-in) with **no scoped-logs pane and no placeholder for one**, and `design-verify` does not require frame P12-S5. - [ ] (story 64) Given either case, then the feed contains **no log reader of its own** — the pane is the same kit component, not a variant reader. ## Design contract - **Flow:** `docs/ux/flows/p12-activity.mermaid` - **Edges implemented:** `P12-S3→P12-S5, P12-S5→P12-S5` - **Wireframes (the element-ID contract):** - `docs/ux/wireframes/p12-activity/p12-s5-logs-paired-gated.html` ## Blocked by - #831 — `observability:dashboard-activity-surface` - #809 — `observability:ui-kit-logs-screen` ## Task manifest ```yaml task: observability:dashboard-activity-scoped-logs implements_flow: p12-activity implements_edge: P12-S3→P12-S5, P12-S5→P12-S5 wireframe: docs/ux/wireframes/p12-activity/p12-s5-logs-paired-gated.html interface: 'P12-S5: the activity detail pane embeds #791''s controls-less scoped-tail `LogsScreen` face, scoped through DDR 0203''s target-scoping contract by the selected event''s subject and re-scoped on selection change' seam: 'component tests against the hand-written fake `ActivityClient` plus the kit''s scoped-tail face (prior art the `LogsScreen` tests and `monitoringDrillIn.test.ts`): the pane renders scoped for a followable subject; it re-scopes on select; a subject with no readable stream states that in p10''s wording; and with the logs screen absent exactly P12-S3 renders with no pane and no placeholder' acceptance: - given: a selected event whose subject resolves to a followable target when: the detail renders then: the scoped-logs pane renders with the scoped-tail face and the detail pane above is unchanged - given: the paired state when: another event is selected then: the pane re-scopes to the new event's subject - given: a selected event whose subject has no readable stream when: the detail renders then: the pane states that in p10's own honest wording — neither hidden nor a fabricated stream - given: the logs screen not present when: any event is selected then: exactly P12-S3 renders with no scoped-logs pane and no placeholder depends_on: - dashboard-activity-surface - ui-kit-logs-screen out_of_scope: - 'a log reader of the feed''s own — the pane is #791''s kit component or nothing at all' - changing P12-S3's standalone contract - the logs surface's own controls chrome — the embedded face is controls-less by construction 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=10097
(automated multi-host claim — lowest live claim id works this ticket)

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

close-report for #833 — status success

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

envelope
{
  "issue": 833,
  "status": "success",
  "commits": [
    "d6334da"
  ],
  "changed_files": [
    "dashboard/src/components/activity/ActivityFeedSurface.vue",
    "dashboard/tests/unit/activityFeedSurface.test.ts",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "cd dashboard && npx vitest run tests/unit/activityFeedSurface.test.ts",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx vitest run",
      "exit_code": 0
    },
    {
      "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    }
  ],
  "criteria": {
    "story 62 — followable subject renders scoped-logs-pane data-status=scoped carrying p10's scoped-tail face scoped to that subject; the detail pane above stays complete and unchanged": "ActivityFeedSurface.vue scoped-logs-pane (v-if scopeLogs) embeds LogsScreen variant=tail contract=p10 :subject=selected.subject; test 'a followable subject renders the scoped-tail face; the detail above stays complete and unchanged (story 62)' asserts data-status=scoped, logs-surface present, log-stream streaming, no controls chrome, event-detail + seam-words + one drill-in intact",
    "story 63 — re-scope on selecting another event": "watch keyed on selected event key re-resolves scopedFeed; LogsScreen source watcher releases prior follow; test 're-scopes the pane to the new event's subject...' asserts a fresh feed (feeds.length 2), feeds[0].released>0, and stream-standing shows the new subject",
    "story 63 — subject with no readable stream states it in p10's own honest wording; neither hidden nor fabricated": "resolver returns a no-targets FakeLiveLogFeed; LogsScreen no-targets branch renders regardless of variant; test 'a subject with no readable stream...' asserts pane exists (not hidden), no-targets-reason present, no log-stream (no fabricated stream)",
    "story 64 — logs screen not landed: exactly P12-S3, no scoped-logs pane and no placeholder; design-verify does not require frame P12-S5": "the scopeLogs resolver's absence is the gate — scoped-logs-pane has v-if=scopeLogs so it is not rendered at all; test 'with the logs screen absent, exactly P12-S3 renders...' asserts event-detail + drill-in present and scoped-logs-pane absent",
    "story 64 — the feed contains no log reader of its own: the pane is the same kit component, not a variant reader": "the pane mounts @idss/ui-kit/LogsScreen.vue (the same kit component the P10 mount uses); story-62 test asserts the pane's inner root is data-field=logs-surface (LogsScreen)"
  },
  "summary": "P12-S5 embeds #791's controls-less scoped-tail LogsScreen face in the Activity detail pane, scoped by the selected event's subject via DDR 0203 and re-scoped on select, gated on the injected scopeLogs resolver so exactly P12-S3 renders without it.",
  "reason": "",
  "blockers": []
}
**close-report** for #833 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 833, "status": "success", "commits": [ "d6334da" ], "changed_files": [ "dashboard/src/components/activity/ActivityFeedSurface.vue", "dashboard/tests/unit/activityFeedSurface.test.ts", "STATUS.md" ], "tests": [ { "command": "cd dashboard && npx vitest run tests/unit/activityFeedSurface.test.ts", "exit_code": 0 }, { "command": "cd dashboard && npx vitest run", "exit_code": 0 }, { "command": "cd dashboard && npx vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 } ], "criteria": { "story 62 — followable subject renders scoped-logs-pane data-status=scoped carrying p10's scoped-tail face scoped to that subject; the detail pane above stays complete and unchanged": "ActivityFeedSurface.vue scoped-logs-pane (v-if scopeLogs) embeds LogsScreen variant=tail contract=p10 :subject=selected.subject; test 'a followable subject renders the scoped-tail face; the detail above stays complete and unchanged (story 62)' asserts data-status=scoped, logs-surface present, log-stream streaming, no controls chrome, event-detail + seam-words + one drill-in intact", "story 63 — re-scope on selecting another event": "watch keyed on selected event key re-resolves scopedFeed; LogsScreen source watcher releases prior follow; test 're-scopes the pane to the new event's subject...' asserts a fresh feed (feeds.length 2), feeds[0].released>0, and stream-standing shows the new subject", "story 63 — subject with no readable stream states it in p10's own honest wording; neither hidden nor fabricated": "resolver returns a no-targets FakeLiveLogFeed; LogsScreen no-targets branch renders regardless of variant; test 'a subject with no readable stream...' asserts pane exists (not hidden), no-targets-reason present, no log-stream (no fabricated stream)", "story 64 — logs screen not landed: exactly P12-S3, no scoped-logs pane and no placeholder; design-verify does not require frame P12-S5": "the scopeLogs resolver's absence is the gate — scoped-logs-pane has v-if=scopeLogs so it is not rendered at all; test 'with the logs screen absent, exactly P12-S3 renders...' asserts event-detail + drill-in present and scoped-logs-pane absent", "story 64 — the feed contains no log reader of its own: the pane is the same kit component, not a variant reader": "the pane mounts @idss/ui-kit/LogsScreen.vue (the same kit component the P10 mount uses); story-62 test asserts the pane's inner root is data-field=logs-surface (LogsScreen)" }, "summary": "P12-S5 embeds #791's controls-less scoped-tail LogsScreen face in the Activity detail pane, scoped by the selected event's subject via DDR 0203 and re-scoped on select, gated on the injected scopeLogs resolver so exactly P12-S3 renders without it.", "reason": "", "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#833
No description provided.