The five tabs gave the stage rail less than a third of the screen and disconnected the log stream from the stage that produced it. The stage rail is now the page's master pane, always visible; the four context panels are the inspector and own the tab bar. Selecting a stage commands the inspector to the log tab with that stage's filter set; clicking the selected stage clears it. Selection is a command, not a binding -- the operator can change the filter afterwards. No endpoint, RPC or contract changed. tab=stages still resolves, to the log tab; every inspector tab and attempt deep-link survives a reload. Below the shell's 900px frame breakpoint the rail stacks above the inspector. Design of record: docs/prds/task-run-master-detail.md (Draft, per-run panel contracts unchanged from task-run-detail.md).
2.6 KiB
Task run detail as a master-detail split pane
Status: Draft
Authority: the panel contracts stay as ratified in
docs/prds/task-run-detail.md; this document changes only the run page's
arrangement of them.
Compounds with: docs/prds/task-run-detail.md (attempt attribution, the
log stage filter, the per-panel honesty rules).
Decision
The run page's five tabs become two panes. The stage rail is the master, always visible on the left. The four context panels — log, changed files, configuration, debug — are the inspector on the right, and their tab bar moves into the inspector. The "Stages" tab stops existing: the rail is not a view of the page, it is the page's spine.
Selecting a stage in the rail is a command, not a binding: it switches the inspector to the log tab and sets the log pane's stage filter to that stage. Changing the filter afterwards is the operator's choice and is not overridden. Clearing the selection returns the filter to "all stages". Changed files, configuration and debug stay attempt-scoped; a stage selection never pretends to scope them.
What does not change
- No new endpoint, RPC, table or configuration field. Every read is one the page already makes.
- The URL contract:
tabandattemptride in the query string and every view survives a reload.tab=stagesstays a valid URL and renders the inspector with the log tab; the page never generates it again. - Attempt attribution, the log stage filter's coverage limit, and every
honesty rule in
task-run-detail.md. Each pane states what it cannot show under the same rendering rules that document defines. - The attempt selector and the task header stay pinned above both panes.
Arrangement
- Left pane: fixed-width rail (~320px) with the attempt's stage rows. Status, duration, error and per-stage events render in the rail; the rail scrolls independently.
- Right pane: the inspector's tab bar plus the selected panel, filling the remaining width.
- Below 900px (the shell's existing frame breakpoint) the rail stacks above the inspector; neither pane is hidden.
- Keyboard: the rail keeps its list semantics; the inspector keeps the WAI-ARIA tabs pattern the tab bar already provides.
Acceptance
- The rail is visible without opening any tab, and no "Stages" trigger exists.
- Clicking a stage opens the log filtered to that stage; clearing the selection shows all stages.
tab=stagesloads and renders the log tab.- Every inspector tab and attempt deep-link survives a reload.
- Below 900px the rail stacks above the inspector.
task checkpasses clean andui/distmatches the sources.