- serve.mjs requires a signed session cookie for every page, artifact and the
WebSocket, with a password file, 30-day sessions, login throttling and public
brand assets for the sign-in page.
- The diff viewer is a fixed-height top-anchored panel whose toolbar (modes,
copy, previous, next, close as icons) is its first row; the artifact viewer is
likewise a fixed frame so its navigation never moves.
- The audit's selected tab uses the app's normal selected surface and bottom
accent. Sessions that were not recorded say so plainly.
- Chat code blocks are syntax-coloured; graph pinch-zoom works with two fingers
while a single pointer still pans and clicks nodes.
- Phones always keep the destination bar (pane collapse is wide-only), with the
destinations spread evenly and Search on the right; the list default width is
narrower; the theme colour matches the app.
- Code-format and layout tests, plus the full browser suite, pass.
- The audit Input/Output/Memory tabs fetch the actual input.md/output.md/
memory.md, so the outcome section is visible and each document has a
Rendered/Raw switch plus an Open raw file link. The Session tab renders the
exported HTML in place with the same link.
- The audit's selected tab uses the normal selected surface, not the accent tint.
- The run Summary no longer carries an Audit & debug section; the stage pane's
Audit & debug button is the one door.
- Search results all lead with one 56px tile: image thumbnails, artifact type
tiles, or a kind glyph (pipeline/version/run/step/field); no text kind labels.
- Chat star and more sit on the row's top-right and bottom-right corners, revealed
on hover/focus, and the row menu opens below them without losing clicks.
- The chat spinner starts at the wall-clock animation phase, so frequent
streaming re-renders no longer snap it back to the animation start.
- Turn files (input/memory/output/session) are system artifacts now: they are
never tiles in the run or stage galleries. Shared public files are attributed
to the visit that first recorded them, so a run counts 3 stage artifacts, not
one copy of each per later stage.
- Audit & debug opens a dialog with vertical Input / Output / Memory / Session /
Definition tabs, for a visit from the stage pane or the run Summary.
- Run tabs are Summary / Graph / Timeline; Input and Output are Summary sections
with Artifacts, Files changed and Audit. Each stage pane gains Files changed.
- Artifacts gain a gallery/list switch (remembered) and full-name wrapping; the
copy/share actions are hover-or-focus icon buttons.
- Status badge above the run title; no live badges on the run surfaces. The runs
list leads with the pipeline name and the stored task title beneath it.
- Chat rows: title + coloured status word only, then directory, then model; no
operator or closed chips, no dot. The more/star cluster is a hover/focus
overlay so the title uses the row's width, and an open menu stacks above rows.
Closed chats collapse behind a chevron. Sessions can be starred locally and
sort in a Starred group. The chat header no longer repeats status/dir/model.
- A visible rail divider separates Search from the destinations; the page has a
real favicon/apple-touch icon and the rail brand wears it.
- Smoke updated: no live badges, 3 detail tabs, field hits open Summary sections,
closed chats expand for checks, the fixture viewer uses shot.png/missing.txt
and the audit for markdown.
The stage pane stringified the step's single-key {markdown} map, so a turn's
output appeared under a literal "markdown:" line inside a code card. The pane now
shows that body as the document it is, with "(no output)" for an empty turn; an
ordinary value map still shows its keys.
A markdown/text artifact hit now opens the artifact viewer (with its Open run
action) instead of a raw browser tab, and the run Summary's Pipeline row shows
the pipeline's name beside its id and version, all in the link to the definition.
A turn run carries one markdown body. The Output tab now renders that body
directly instead of hiding it behind a collapsed field named "markdown"; legacy
field maps keep their collapsible sections.
- The run Summary's Pipeline value is a button that opens that pipeline version.
- The artifact viewer carries an Open run button (the search viewer passes the
artifact's run id), so the evidence always leads back to the run.
- Search artifact rows show the image itself as a thumbnail; other artifacts get
a type tile (MD/TXT/JSON/CSV/GO/PDF/...), and every artifact row offers an
Open run action next to its own navigation.
- Gaps between stages are sized from the widest straight-route label, so a chip
never reaches into either box; a source's forward routes fan across its side
instead of sharing a 20px band.
- A label prefers the widest horizontal run that can hold it; when only a stub
exists the chip moves onto the edge's longest run and sits beside a vertical
one, keeping clear of both the box and the neighbouring label.
- Hovering a wire or its chip highlights the route and dims the rest.
- System-added routes (the parser's implicit error fallback) draw dotted with a
legend entry, distinct from declared routes and executed state.
- Lanes are 34px apart, so a dense definition no longer doubles the canvas height.
- The graph opens expanded by default and remembers a collapse (graphPrefs.js).
The turn protocol writes a markdown body; the run detail now renders a field as
markdown when it has markdown structure (heading, fence, list, table) and keeps
the honest monospace block for historical plain-text fields. Pure helper with
tests.
The full-screen viewer now opens markdown/text artifacts (text/markdown,
text/plain, .md/.markdown/.txt) through the resolved artifact URL and renders
them with the page's own DOM markdown renderer, with an honest failure message
and an external fallback. ArrowLeft/ArrowRight page the shared media+document
list, and a backdrop click closes the viewer while panel clicks do not.
The run gallery and per-visit artifacts present input.md, memory.md and
output.md as ordinary Document tiles with a drawn glyph and open the viewer.
Adds isMarkdownArtifact/isViewerArtifact with unit coverage, deterministic
viewer fixtures, and ui-smoke assertions/captures for rendered markdown,
keyboard paging, the honest 404 and backdrop dismissal.
Take main's newer smoke behaviour where they met: the binary capture is run 449
(opened through openRunDetail), and a running run must show no aggregate Changes
section. Keep the layout's shell-aware checks and its L2-L4 rows; L7 stays todo
with the view-level fixes recorded.
- the run Graph tab drops the guidance paragraph and the graph fills ~70vh;
- the Artifacts collapsible carries the visit's count in its title (the body keeps
the reason line only when there is nothing to show);
- the stage panel's section padding and gaps are reduced.
The layout item's work plus the two defects its review found:
- the wide grid sized the list track from its MAX, so at 600-759px the detail pane
was clipped to 40-199px; cap the list below 900px and narrow the rail there
(measured now: detail 232px at 600, 332 at 700, 340 at 900, 880 at 1440);
- the shell said 'Not connected' on a fresh page because the prefilled proxy URL
validated; the status now reflects a SAVED endpoint ('Not configured' until then)
and refreshes as the draft changes.
Includes the rail + bottom dock, connection moved into Settings, viewport-only
scrolling with panes that scroll themselves, tab semantics, skip link, h1 per
route, and the design tokens.
Each visit's This run pane reports its own recorded capture: the File
changes status line (with skipped/omitted counts and diagnostic) and its
Changed files list with parseable stats. The Summary aggregate now keeps
each path's last recorded step rather than summing visits, and is only
rendered for a succeeded run; a failed run keeps its evidence in the
visit panes. This is a deliberate divergence from Android, noted in R4.
Pure move, behaviour unchanged: app.js is now the shell (boot, state, client wiring, connection/banner, navigation and routes, render dispatch, header). Views live under src/views with shared DOM and format helpers. client.js stays DOM-free; no circular imports; every server-derived string still uses textContent.