The graph spine pins the run's place, draws only what the run needed, and cuts no label (#558) #563

Merged
cmoriarty merged 4 commits from claude/graph-spine-progress-558 into main 2026-11-19 19:17:40 -05:00
Owner

For braid#558. UI only: no API, engine or stored data changes.

What changes in the graph spine

  • A header pinned above the graph. Run 18 of 51 with a still bar, then the phase the run is at with its own bar (Apply 5 of 15, or the fix loop's round). It stays when you scroll back. Two bars, so a phase's bar starting again does not read as the run going back.
  • Steps that were not needed are not drawn and not counted. A fix the loop did not need goes too. The list keeps its struck rows.
  • Plain dividers scroll with their steps, and the middle line runs through them unbroken. The line ahead of the work stays dotted.
  • j and k walk the steps drawn.
  • Nothing in a box is cut short or drawn outside it. The owner, on the local try: "I don't want any truncation for the text labels in these steps. If you have to make them a little bigger that is ok." A label with no room goes on to the next line and the box grows. A card keeps the height it has grown to while its step is at work, so it does not jump as its phrase changes length. The step's name has a line of its own, and a box's tag is on its last line.
  • A silent step has no buttons, in the list or the graph. Its line still reads silent for …. Ask is in the message box, and S stops the run.

Screenshots

From the seeded test server at 1440 px, with nothing from production.

Two groups at work A long phrase wraps Read back
Fix loop, fix not needed Silent step, no buttons Finished run

Tests

./tools/test.sh passed in 46 s on the laptop: 900 backend, 209 unit and 62 browser tests. Each new check failed on the code before it:

  • The graph journey: the box count leaves out the repair that was not needed (56 boxes before, 51 now). The header reads the run's place after scrolling back, and k passes over the hidden step.
  • The long-labels journey: every element of a box is inside it, and none clips its words. On the first build it found 191k / 230k, fresh session soon, Thinking, inputs changed and interrupted cut. A card keeps its height once its phrase is short again: without the hold its foot went from 78 to 62 px.
  • The silent-step journey: no Ask or Stop and repair button in the list or the graph.

Changed on purpose: the struck-row cases in graphFlow.test.ts and graphLines.test.ts, the journey's struck agent.repair and box count, the braid#529 check that the reading and the phrase do not overlap, and ask.spec.ts's silent-step journey.

OpenSpec change graph-spine-progress-558: strict-valid, 24 of 24 tasks done. It is archived in a follow-up pull request.

🤖 Generated with Claude Code

For braid#558. UI only: no API, engine or stored data changes. ## What changes in the graph spine - **A header pinned above the graph.** `Run 18 of 51` with a still bar, then the phase the run is at with its own bar (`Apply 5 of 15`, or the fix loop's round). It stays when you scroll back. Two bars, so a phase's bar starting again does not read as the run going back. - **Steps that were not needed are not drawn** and not counted. A fix the loop did not need goes too. The list keeps its struck rows. - **Plain dividers** scroll with their steps, and the middle line runs through them unbroken. The line ahead of the work stays dotted. - **`j` and `k` walk the steps drawn.** - **Nothing in a box is cut short or drawn outside it.** The owner, on the local try: "I don't want any truncation for the text labels in these steps. If you have to make them a little bigger that is ok." A label with no room goes on to the next line and the box grows. A card keeps the height it has grown to while its step is at work, so it does not jump as its phrase changes length. The step's name has a line of its own, and a box's tag is on its last line. - **A silent step has no buttons**, in the list or the graph. Its line still reads `silent for …`. Ask is in the message box, and `S` stops the run. ## Screenshots From the seeded test server at 1440 px, with nothing from production. | Two groups at work | A long phrase wraps | Read back | |---|---|---| | <img src="/attachments/de736e81-bdb7-4895-89f3-ce05d80074d9" width="300"> | <img src="/attachments/5f2d7c66-ec31-40ba-a48e-649e64efb820" width="300"> | <img src="/attachments/36ff06de-4c2f-46be-9ecd-1834190f7f8a" width="300"> | | Fix loop, fix not needed | Silent step, no buttons | Finished run | |---|---|---| | <img src="/attachments/fb28d8ca-33b6-4181-962c-8a26afdd73ed" width="300"> | <img src="/attachments/4b7fcf46-d9f2-41a8-adb1-e06c150b68e9" width="300"> | <img src="/attachments/7ccb3ae0-58cf-413b-9c5d-6bb4152208c4" width="300"> | ## Tests `./tools/test.sh` passed in 46 s on the laptop: 900 backend, 209 unit and 62 browser tests. Each new check failed on the code before it: - The graph journey: the box count leaves out the repair that was not needed (56 boxes before, 51 now). The header reads the run's place after scrolling back, and `k` passes over the hidden step. - The long-labels journey: every element of a box is inside it, and none clips its words. On the first build it found `191k / 230k`, `fresh session soon`, `Thinking`, `inputs changed` and `interrupted` cut. A card keeps its height once its phrase is short again: without the hold its foot went from 78 to 62 px. - The silent-step journey: no Ask or Stop and repair button in the list or the graph. Changed on purpose: the struck-row cases in `graphFlow.test.ts` and `graphLines.test.ts`, the journey's struck `agent.repair` and box count, the braid#529 check that the reading and the phrase do not overlap, and `ask.spec.ts`'s silent-step journey. OpenSpec change `graph-spine-progress-558`: strict-valid, 24 of 24 tasks done. It is archived in a follow-up pull request. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The graph spine pins the run's place above the graph in two rows, draws no
step that was not needed, runs its line unbroken through plain dividers,
keeps every label inside its box, and a silent step shows no buttons.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A header above the graph says where the run is, in two rows: the run's place among the steps
  drawn, with a still bar, then the phase it is at with its band's words and bar.
- A step skipped as not needed without running is not drawn, nor counted, and the line runs
  straight past it. The fix loop keeps its tests and its check, and loses a fix it did not need.
- Each phase starts at a plain divider that scrolls with its steps; the line runs through it.
- `j` and `k` walk the steps the graph draws.
- Everything a box shows stays inside it. A card's phrase gives way first, then its reading's
  words, then its note. A box's tag and time share only its first line, and the name has a line
  of its own.
- A silent step has no Ask or Stop and repair buttons, in the list or the graph; its line says it
  is silent, and the message box's Ask and `S` remain.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the local try the owner saw a half-width card cut its reading to `1…`
and its note to `fresh sessio…`: "I don't want any truncation for the
text labels in these steps. If you have to make them a little bigger
that is ok."

- A card's foot is two parts whose labels wrap whole: the ring with its
  reading, the compactions, the badges and the note; then the phrase,
  wrapped at its spaces, with the step's time at the right.
- A card keeps the tallest foot it has needed while it is at work at one
  width, so it does not jump as its phrase changes length, and grows
  over the travel's half second.
- A box's tag (`inputs changed`, `interrupted`) moves to its last line,
  whole; the title is no longer clamped.
- The journey finds no element of a box that clips its words, and a card
  that keeps its height once its phrase is short again. It failed on the
  first build with exactly the cuts the try showed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(openspec): the owner tried graph-spine-progress-558 on the seeded server (#558)
All checks were successful
test / suite (pull_request) Successful in 1m28s
cbeb502500
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cmoriarty deleted branch claude/graph-spine-progress-558 2026-11-19 19:17:40 -05:00
Sign in to join this conversation.
No reviewers
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!563
No description provided.