observability: shell-logs-intent-mount — the slice that closes #760's named gap — the dropped open-logs intents get an answer #811
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Depends on
Reference
Matou/idss#811
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-mountofdocs/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
DashboardCompositionbinds only@route, so every surface'sopen-logs/download-logsemit is silently dropped:
ServicesSurfacere-emits into nothing, andFleetSurface/SettingsSurfacetranslate them intoPendingRoutes that park. An operator clicks Open logs ona service that has been down for four minutes and the panel does not react at all.
This slice binds
open-logs/download-logsalongside@routeon every mounted surface andmounts 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-logsmountsnothing — 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-logsemit(
ServicesSurface), arouteintentopen-logs-<id>(SettingsSurface) and arouteintentopen-log-<id>(FleetSurface) — andFleetSurface's logs-shapedPendingRouteis removedrather 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
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.@open-logsand@download-logsalongside@routeon every mounted surface — no surface's logs emit reaches a component that does not listen for it.open-logson each emitting surface is asserted to mount the logs screen — the dropped-emit failure is caught by a test, not by an operator.FleetSurface's logs-shapedPendingRoutetranslation is removed rather than left parking; an emitter passes the log-scope reference it already carries unchanged.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.Design contract
docs/ux/flows/p10-logs.mermaidENTRY→P10-S1, ENTRY→P10-S0x, P10-S1→ENTRY, P10-S1x→ENTRY, P10-S2→ENTRY, P10-S0x→ENTRYdocs/ux/wireframes/p10-logs/p10-e1-entry-points.htmlBlocked by
observability:transport-log-catalogueobservability:ui-kit-logs-screenobservability:dashboard-log-stream-sourceshell:compose-shell-controlplane(#159 — done, satisfied)monitoring:notify-and-drill(#84 — done, satisfied)Task manifest
Emitted by
/to-ticketsoverdocs/slices/observability.yamlin an unattended session under ADR 0174 (two-way-door posture — Ben's veto is asynchronous, never blocking). Advances #797.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), anddashboard/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.swarm-claim host=elitebook-distributed-server-03 run=10098
(automated multi-host claim — lowest live claim id works this ticket)
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-logson 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:ServiceLadderScreen'sopen-logbutton is inert today (no@click, absent fromdefineEmits), 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.BackupsSurfacetranslatesopen-run-loginto arouteintent (ownerbackups, no scope id), and theBackupRestore*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-logsshape 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 indashboardComposition.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).
Follow-up filed: #859 — converge backups + rescue log emitters onto this slice's
open-logs/download-logsintent once their log-scope references are defined (labelledneeds-design).close-report for #811 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope