Graph spine: pin the run's progress, drop steps not needed, keep labels in their boxes #558

Closed
opened 2026-11-19 14:00:45 -05:00 by cmoriarty · 3 comments
Owner

What happens

  • Steps that were not needed stay in the graph as struck rows, and the line breaks where it passes them and every section's band.
  • The band that says where the run is (Apply 7 of 17) scrolls away with its section.
  • Labels spill out of boxes that share a row: a card's compaction soon or fresh session soon (up to 105 px out), a box's inputs changed · 3 · 1h 44m.
  • Step names wrap with room to spare (openspec.appl / y[1]): the time on a box's first line narrows the name's line too, down to 0 px in a stale box.

Fix: option A of the mock, picked 2026-11-19

  • A header pinned above the graph: the run's bar over the bar of the section the run is at.
  • Steps not needed are neither drawn nor counted, a fix the fix loop did not need among them.
  • Section names become plain dividers that do not stick, and the line runs through them unbroken. Ahead of the work it stays dotted.
  • Nothing draws outside its box: words give way when a box is narrow, and the time keeps to the title's line.
  • The list spine is unchanged.

Option A at the work: the header, and Lobby leading straight to Tick done tasks Option A scrolled to the start: the header stays, and the line runs through the dividers

Done when a browser test that fails on main passes: with long labels in boxes side by side, nothing leaves its box and no name wraps where it fits on one line; scrolled to the top, the header still shows the run and its section.

How it looks now

plan.track struck, and the line broken around it
the Apply band, which scrolls away with its section
compaction soon drawn outside its card
openspec.apply names wrapping with room to spare
the shipped graph seeded with long labels in boxes side by side

Where to look: ui/src/components/SpineGraph.tsx (GraphBox, the sections), ui/src/components/SpineParts.tsx (PhaseHeader), ui/src/lib/graphFlow.ts (passedOver), ui/src/index.css (.graph-*).

From the owner's look at run 202's graph on 2026-11-19. The options were mocked on run 202's steps with the console's own graph code.

**What happens** - Steps that were not needed stay in the graph as struck rows, and the line breaks where it passes them and every section's band. - The band that says where the run is (`Apply 7 of 17`) scrolls away with its section. - Labels spill out of boxes that share a row: a card's `compaction soon` or `fresh session soon` (up to 105 px out), a box's `inputs changed · 3 · 1h 44m`. - Step names wrap with room to spare (`openspec.appl` / `y[1]`): the time on a box's first line narrows the name's line too, down to 0 px in a stale box. **Fix**: option A of the mock, picked 2026-11-19 - A header pinned above the graph: the run's bar over the bar of the section the run is at. - Steps not needed are neither drawn nor counted, a fix the fix loop did not need among them. - Section names become plain dividers that do not stick, and the line runs through them unbroken. Ahead of the work it stays dotted. - Nothing draws outside its box: words give way when a box is narrow, and the time keeps to the title's line. - The list spine is unchanged. <img src="/attachments/932cbb7b-5a05-42cb-a924-0448060a9b74" width="300" alt="Option A at the work: the header, and Lobby leading straight to Tick done tasks"> <img src="/attachments/b9df5481-40dd-40dc-b1a8-c9a60bc4f56c" width="300" alt="Option A scrolled to the start: the header stays, and the line runs through the dividers"> **Done when** a browser test that fails on main passes: with long labels in boxes side by side, nothing leaves its box and no name wraps where it fits on one line; scrolled to the top, the header still shows the run and its section. <details><summary>How it looks now</summary> ![plan.track struck, and the line broken around it](/attachments/5471e2b2-c701-4a25-8d51-01c7055da074) ![the Apply band, which scrolls away with its section](/attachments/5c2825b2-f2cf-4e90-83b6-5fd8f0f27199) ![compaction soon drawn outside its card](/attachments/1ac019fd-b60e-48d6-a0e5-811bb6066009) ![openspec.apply names wrapping with room to spare](/attachments/d686a127-2c0f-4f4d-8a78-3abec5e5c353) ![the shipped graph seeded with long labels in boxes side by side](/attachments/e2a334e1-8507-4083-8fad-e66373ae95e5) </details> **Where to look:** `ui/src/components/SpineGraph.tsx` (`GraphBox`, the sections), `ui/src/components/SpineParts.tsx` (`PhaseHeader`), `ui/src/lib/graphFlow.ts` (`passedOver`), `ui/src/index.css` (`.graph-*`). *From the owner's look at run 202's graph on 2026-11-19. The options were mocked on run 202's steps with the console's own graph code.*
Author
Owner

Added on 2026-11-19: a silent step's buttons go. A step that has written nothing for twice the model's usual time to a first token (80 s before that is known) shows Ask and Stop and repair beside its line, and on a graph card they draw over the line. Two groups sharing one model server cross that threshold on an ordinary long think: run 202's Pairs card showed them with nothing wrong.

Fix: no such buttons, in the list or the graph. The line still reads silent for …, Ask stays in the message box, and S or Run details' Stop run stops the run. The change graph-spine-progress-558 carries it.

Run 202's Pairs card with Ask and Stop and repair drawn over its line
**Added on 2026-11-19: a silent step's buttons go.** A step that has written nothing for twice the model's usual time to a first token (80 s before that is known) shows `Ask` and `Stop and repair` beside its line, and on a graph card they draw over the line. Two groups sharing one model server cross that threshold on an ordinary long think: run 202's Pairs card showed them with nothing wrong. **Fix:** no such buttons, in the list or the graph. The line still reads `silent for …`, Ask stays in the message box, and `S` or Run details' Stop run stops the run. The change `graph-spine-progress-558` carries it. <img src="/attachments/fc65fb10-1e08-4843-a9f2-72065b93c822" width="360" alt="Run 202's Pairs card with Ask and Stop and repair drawn over its line">
Author
Owner

Seen again on 2026-11-19, once run 202 was stopped. Its Pairs box, interrupted after 1h 37m with one compaction, read interrupted · 1 · 1h 37m on its first line. That left its title and name 6 px, so openspec.apply[8] ran to 17 lines, one letter each. Reproduced on the shipped graph.

It is the squeeze this issue's fix covers: the time and the tag keep to the title's line, and the name gets the box's whole width. The change now names this case, and its test checks it.

Run 202's interrupted Pairs box, its name one letter per line
**Seen again on 2026-11-19, once run 202 was stopped.** Its Pairs box, interrupted after 1h 37m with one compaction, read `interrupted · 1 · 1h 37m` on its first line. That left its title and name 6 px, so `openspec.apply[8]` ran to 17 lines, one letter each. Reproduced on the shipped graph. It is the squeeze this issue's fix covers: the time and the tag keep to the title's line, and the name gets the box's whole width. The change now names this case, and its test checks it. <img src="/attachments/cd3a6466-4d22-494c-97fc-c73f3da8230a" width="420" alt="Run 202's interrupted Pairs box, its name one letter per line">
Author
Owner

Shipped in #563, live on production as fdb9de2, and archived in #564.

  • A header pinned above the graph: the run's place with a still bar, then the current phase's place with its own bar (option A).
  • Steps that were not needed are not drawn or counted. The middle line runs unbroken through plain dividers, and the line ahead stays dotted. j and k walk the steps drawn.
  • Nothing in a box is cut short or drawn outside it. A label with no room goes on to the next line and the box grows. A card holds its height while its step is at work.
  • A silent step has no buttons, in the list or the graph.

Each new check failed on the code before it and passes now. The graph drew 56 boxes where 51 were wanted. The first build cut 191k / 230k, fresh session soon and inputs changed. Without the hold, a card's foot fell from 78 to 62 px. ./tools/test.sh passed in 46 s, and the owner tried it on a seeded server.

Shipped in #563, live on production as `fdb9de2`, and archived in #564. - **A header pinned above the graph**: the run's place with a still bar, then the current phase's place with its own bar (option A). - **Steps that were not needed are not drawn or counted.** The middle line runs unbroken through plain dividers, and the line ahead stays dotted. `j` and `k` walk the steps drawn. - **Nothing in a box is cut short or drawn outside it.** A label with no room goes on to the next line and the box grows. A card holds its height while its step is at work. - **A silent step has no buttons**, in the list or the graph. Each new check failed on the code before it and passes now. The graph drew 56 boxes where 51 were wanted. The first build cut `191k / 230k`, `fresh session soon` and `inputs changed`. Without the hold, a card's foot fell from 78 to 62 px. `./tools/test.sh` passed in 46 s, and the owner tried it on a seeded server. <img src="/attachments/053058e9-a577-4343-9aec-da3d9078abe9" width="320">
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/braid#558
No description provided.