web: put the work first and the audit evidence behind a door

- 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.
This commit is contained in:
2026-10-20 01:00:01 +01:00
parent ca28d08269
commit d130615fae
25 changed files with 1167 additions and 366 deletions
+83
View File
@@ -543,3 +543,86 @@
.viewer-panel { padding: 10px; border-radius: 10px; }
.viewer-board-document { padding: 12px; }
}
/* ---------------------------------------------------------------------------
Audit & debug: a stage's system files, session and definition. Vertical tabs
on the left, the chosen document on the right.
--------------------------------------------------------------------------- */
.audit-viewer {
position: fixed;
inset: 0;
z-index: 70;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(0, 0, 0, 0.78);
}
.audit-panel {
display: flex;
flex-direction: column;
width: min(1100px, 100%);
max-height: 100%;
min-height: 0;
background: var(--surface);
border: 1px solid var(--border);
border-radius: 14px;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.audit-head {
display: flex;
align-items: flex-start;
gap: 12px;
padding: 16px 18px;
border-bottom: 1px solid var(--border);
}
.audit-titles { flex: 1 1 auto; min-width: 0; }
.audit-title { margin: 0; font-size: 16px; }
.audit-subtitle { margin: 4px 0 0; font-size: 12px; }
.audit-close { flex: 0 0 auto; }
.audit-layout {
display: grid;
grid-template-columns: 190px minmax(0, 1fr);
flex: 1 1 auto;
min-height: 0;
}
.audit-tabs {
display: flex;
flex-direction: column;
gap: 2px;
padding: 10px;
border-right: 1px solid var(--border);
overflow: auto;
}
.audit-tab {
padding: 8px 10px;
border: 0;
border-radius: var(--radius-control);
background: transparent;
color: var(--muted);
font: inherit;
font-size: 13px;
text-align: left;
cursor: pointer;
}
.audit-tab:hover { background: var(--tint-hover); color: var(--color-text); }
.audit-tab.active {
background: var(--tint-selected);
color: var(--color-text);
font-weight: var(--weight-semibold);
box-shadow: inset 2px 0 0 var(--color-accent);
}
.audit-body { min-height: 0; overflow: auto; padding: 16px 18px; }
.audit-doc { max-width: var(--layout-measure); }
.audit-definition { display: grid; gap: 6px; }
@media (max-width: 640px) {
.audit-layout { grid-template-columns: 1fr; }
.audit-tabs {
flex-direction: row;
border-right: 0;
border-bottom: 1px solid var(--border);
overflow-x: auto;
}
.audit-tab { white-space: nowrap; }
}