- 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 diff viewer is a centered panel over a dim scrim (clicking outside closes),
and the browser Back button closes the open viewer/audit/artifact viewer via a
modal history entry. Transient sheets opt out (they must never undo an
in-app navigation on close).
- The page is installable: web app manifest, 192/512/maskable icons, apple
meta, and a shell service worker that never caches the socket or artifacts.
- Chat: operator bubbles are accent-tinted, agent bubbles neutral with an accent
edge; the tool summary is a quiet line outside the message; the star and more
controls are compact 20px corner icons inside the row.
- The Refresh button's tooltip shows the last data arrival (manual or socket),
per destination.
- 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 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.
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.
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.