Skip to content

Stage animations: runs, pipelines and agent timelines (DECISIONS 312, 316, 319) - #127

Merged
bmjcoding merged 13 commits into
mainfrom
claude/stages
Nov 24, 2026
Merged

bmjcoding merged 13 commits into
mainfrom
claude/stages

Conversation

@bmjcoding

@bmjcoding bmjcoding commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

Stage animations for runs, pipelines and agent work: the owner's idea, from his research to his confirmed prototype to the council's decision.

What it adds

  • Seven new parts:
    • StageMark: the seven states' glyphs, each with its word.
    • StageList: the vertical pipeline, with the failed stage's reason and Retry.
    • StageRail: the horizontal rail.
    • RunStage.
    • RunTimeline: the agent run, with the owner's counter (the newest 3 in full, older steps receding in ink steps, a failed row in muted red, and "Show N earlier steps" opening the whole record).
    • RunTimer.
    • RunAnnouncer: one polite live region.
  • Terminal gains stage lines: a braille gutter turns into a mark and a duration, and older stages step back once. No live Terminal draws a scrollbar.
  • StageBadge.
  • The HTML skill's runs module, plus the terminal's stage additions.
  • Six rule changes in foundations, motion.md and AGENTS.md:
    • the queued mark's breath is a fourth kind of loop;
    • stage connectors and the timeline line are named vertical lines;
    • the tail's contrast;
    • no scrollbar on a live terminal;
    • and the rest. Each is written out in the decision.

Who decided what

  • The owner's picks (DECISIONS 304, 307, 312):
    • braille at 80ms;
    • failed is the red outline cross and success the outline check;
    • the queued dot breathes;
    • no bead on the rail;
    • the counter at 3, receding: "yeah this exactly ... to not have a scrollbar, like the rest of the components that scroll".
  • The council:
    • Astra checked the prototype (6/10).
    • Fable decided (DECISIONS 316).
    • Astra objected six times and Opus agreed. Fable revised all six (DECISIONS 319).
    • Opus built it in five batches.
    • Astra reviewed the code (5/10, 11 blocking) and Fable the pixels (7/10, 5 blocking, plus rulings). All 16 are fixed (8b23f055).
    • Fable re-checked the pixels. Two last findings were fixed in faee8b94: readable before/after pairs, and ruling 12's two-row log head under 480.

For the owner's eye

The review round opens with five before/after pairs: his confirmed prototype beside the build, both themes, 1440 and 390.

  1. The timeline's tail goes below 4.5:1 on purpose, with "Show 5 earlier steps, 1 failed" as the way back.
  2. The deploy log's tail steps back once, not five times, because a log has no open form.
  3. The queued mark breathes from 65% in secondary ink, not 45% in tertiary.
  4. The stage list's vertical connector no longer fills; the rail's horizontal links do.
  5. Under the hold, the run's head shows "Started 3:47 PM" and stage timers hide.

Also: at 320 a long log line runs past the window's edge and scrolls sideways with no visible bar, which is the no-scrollbar rule.

Review

Seat Score
Astra (check of the prototype) 6/10
Astra (code) 5/10, 11 blocking, fixed
Fable (pixels) 7/10, 5 blocking, fixed; re-check passed with 2 last findings, fixed

The final fixes (faee8b94) were compared by the lead against Fable's ruled renders and not re-reviewed by a seat.

Tests (before the spacing round)

Every touched file was run by name, one at a time. All pass, including:

File Result
tokens contrast 202
stage-list (with WebKit at 390) 23
stage-transcript 24
run-timeline 46
bundle 112
browser 78
icons 45
skill runs 14
skill compose 114
skill html-skill 291
skill parity 131
skill pixel 33 (the kitchen-sink failure that also failed on main is fixed)

Lint, both typechecks and the build pass. npm run check, ci:local and Swift were not run (Tokens.swift is unchanged). No screen reader was heard.

Sizes

  • Whole package: +2.5%.
  • styles.css: +6.3%.
  • Terminal: +28% to 41,435, accepted by Fable (most of it is RunTimer, which a page with runs already carries).
  • TextButton: 11,289, from its end icon morphing through ControlIcon.
  • The skill's runs module: 10,755, accepted at 10,800.

Review round 67: npm run review -- 67.

The spacing round (DECISIONS 326, 328, 334, 335)

The owner, on this PR: "looks good but the spacing is off inside these boxes (not cenetered, bucnh of whitespace) and there are quite a bit of those little bits that need to be addressed." Fable ruled reserved room is page, not paint (DECISIONS 328): a drawn box hugs what it shows, the room held so nothing moves lies outside it on the open side, and a seat inside a control is never empty. Built here (be2692fc, 4795ca06, 7aa7cd1c):

  • StageBadge's pill hugs its word, inside an unchanged seat.
  • Every text toggle (Button with pressed) shows its glyph at rest and the glyph's selected form, or the check, when pressed. The two crossfade over duration-fast. pressed now requires icon: leaving it out is a type error with a warning in development. LoopsToggle form="button" carries PauseGlyph. The HTML skill's .btn-check[data-glyph] does the same. This change reaches main's components.
  • Button's amount ends its seat.
  • The sweep's 67-1 to 67-9, each to its value.
  • The head under 720 (DECISIONS 335): the controls' row is 28 tall, because the ghost controls' 44px is hit area (DECISIONS 331). The badge-to-time gap is 14 (was 22) and the head is 58 tall (was 74).
  • Text: foundations' "Reserved room" item, the pressed-toggle, StageBadge, StageList and RunTimeline sentences, and one line in AGENTS.md, all verbatim from the ruling.

For the owner's eye (each changes something approved before):

  • 67-3: reserveDetail is off by default, which removes 82–98px of empty list inside the card. A failure now moves what's under the card.
  • 67-5: the Terminal head reads title, state … time, Copy from 480px.
  • 67-7: no dot before a step's time.
  • On a phone, the held pause plate reaches 14px into the card's padding.

Before-and-after pictures are in .review/stages-tools/shots-326/ and shots-recheck/ in the builder's checkout and in the round 67 walkthrough.

Review of this round: Fable re-checked it at 4795ca06, 8/10, three blocking, all fixed in 7aa7cd1c. The two places the build departed from the sweep (67-7 at 640, two rewordings) were accepted. Nothing in this round was reviewed by a second seat.

Sizes: every export moves by under 1.2% (Button +1.1%). bundle.test.mjs limits rose by the measured growth. The owner approved three skill caps (DECISIONS 334): toggle 1,950, glyph 1,950, topbar-nav 7,550.

Tests in this round: browser tests are paused (DECISIONS 330). Lint, both typechecks, the build, sizes, and the node-only types, bundle, styles, modules, server-modules, glyphs and compose tests pass. The browser tests for this round are written, not run: display-states, stage-badge, stage-transcript, run-timeline, stage-list and the skill's parity. The first four passed once before the pause. The skill's pixel baselines were not re-recorded.

Final positions, as written

Astra (checker): object (all six revised by Fable)

object

I support the five-step tail with a full-contrast history, the log’s single dimming step, the brighter queued mark and the continuous vertical connector. I’d change these parts before building.

  • §§1.1, 1.12. Basalt already exports Stage for full-bleed art, and the HTML skill styles .stage for that same purpose. Use RunStage and .run-stage for a workflow row so both can appear on one page.
  • §§1.7, 4.6. A streamed deploy can open with a command before its first stage arrives. Inferring the mode from its lines gives that command a second live region. Let the app declare a stage transcript from mount. Give that mode the silent region and hidden scrollbars Bailey requested for the deploy log.
  • §§1.8, 1.12. One section defaults keep to three and the other says omitting it disables the counter. Give RunTimeline the confirmed default of three and an explicit off value. Keep Terminal opt-in.
  • §1.8(6). Both keep and the window’s minimum height are configurable. A window can show 49 moving rows. Apply the existing 48-mover limit after counting visible movers.
  • §§1.9, 1.12. After a retry, start dates the current attempt and carried excludes the wait. Neither preserves when the run first started. Give the held head timer the original start separately so pausing after Retry shows the right time.
  • §§1.3, 4.2. The proposed contributor rule says every state except Passed has a visible word. The rail deliberately shows a timer for Running. Make §1.3’s per-component table authoritative and explicitly cover queued, retrying, skipped and canceled timeline steps there.
Opus (built the prototype): agree

agree

Opus, the seat that built the confirmed prototype. I agree with the decision as written, all five departures included. Each one fixes
something I got wrong or extended on my own. None of them changes what the owner picked.

  • The tail below 4.5:1, with the toggle as the way back (1). This keeps his five steps and makes them defensible. My version
    rested on hover and focus, which aren't a way back for everyone. Naming the failure in the toggle ("Show 5 earlier steps, 1
    failed") covers the one thing the ladder can bury. The decided pictures look the same as mine, which is the point.
  • The deploy log steps once (2). The five-step ladder in the log was my extension. His words in 307 were "for the counter". A log
    has no open state, and it's the record someone reads after a failure, so 1.2:1 there is real harm. Showing him both pictures
    (backlog 1) is the right way to settle it.
  • The queued breath from 65% in secondary (3). I accept it. Tertiary can't breathe visibly and stay at 3:1 in light (the floor is
    about 75%). Over a full breath, the decided mark reads about as quiet as mine did.
  • The connector neither fills nor breaks (4). A fill on a vertical line is a status mark, and AGENTS.md bans that. My break beside
    the error row only happened in a failed stage, so it was a state signal too. The line beside the detail reads fine in
    list-decided-*.png.
  • Held timers (5). A held form in every stage seat said "Started 3:47 PM" on six rows a few seconds apart, and the seat was 72px
    wider than it needed. One held form, in the run's head, is better.
  • Question 7 (ring in the 16px mark, braille in badges and the log's gutter). This is the split I proposed. I accept the check's
    findings against my prototype, and the decision's list of defects not to copy.

Three notes for the build. None is an objection.

  1. Rule text, 4.6. Foundations' hold paragraph says "an elapsed time shows when the work started" and "a column that holds an
    elapsed time is wide enough for the held form". Under the decision, a stage's running time is hidden instead, so the new line
    should name itself as the exception to that sentence. Otherwise foundations contradicts itself.
  2. A step with no time keeps the timer's seat. In tail-decided-light-1440.png, the finding row's "High confidence" ends about
    13px right of the column of times ("2.6 s") above and below it. My prototype gave a step without a start no seat. Section 1.9's
    "never empty" seat should apply to every RunStep, timed or not, so the meta column is one edge.
  3. Show the timeline's end at 390. In tail-decided-dark-390.png, the last step's meta ("p99 240 ms · 1.1 s") is cut off by
    the window's bottom edge when the run ends. My floor assumed one-line meta. The 52px floor and the geometry-based follow in 1.8
    should cure it. The first built pictures should show the last line whole at 390, in both themes.

🤖 Generated with Claude Code

bmjcoding and others added 13 commits November 23, 2026 14:40
…StageBadge, RunAnnouncer and the rule text

The opacity tokens recede-2 to -5, recede-danger and queued, with their contrast pairs; the seven states' mark with its crossfade and the queued
breath on the shared clock; a run's time with one shared interval, seats by scale, carried and since; a status that changes face in place from a
static measure; the run's one voice. Foundations, motion.md and AGENTS.md take section 4's six rule changes and the new "Stages and runs" section,
and motion-docs holds the loops sentence's new wording. Not reviewed: the council decided it; the implementation is unreviewed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A known sequence of stages as a list (the still connector, the detail held from the first frame as a calc of tokens, focus to the stage's name
whoever closes it) and as a rail (one status seat for the time and the words, a link that fills from the inline start, five and six stages drawn
as the list under 480px of the rail's own width). Progress's value holds the room of "100%". Not reviewed: the implementation is unreviewed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…stage transcript and no scrollbar on a live window

`stages` is declared at mount and the window is never a log (a stray stage line makes it silent, and warns); stage lines draw braille, the core
check, XCircle, the core minus and Prohibit in the gutter, the word first for skipped and canceled, and a duration column at the line's end;
`keep` steps older lines back once to tertiary; `time` puts the run's time in the head. Every live Terminal draws no scrollbar on either axis.
Terminal grows from 32,267 to 40,562 bytes (28,655 to 35,865 with the plugin): RunTimer, the Prohibit mark and the core minus. Reported for the
decider. Not reviewed: the implementation is unreviewed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An append-only list of steps with the counter: keep (3 when left out, false for the whole record), the tail's five ink steps (the named
exception, tertiary first and a failed row's danger at 0.88), a window whose floor only grows, the toggle on a line held from the first frame,
the roll by transform inside the window with REFLOW_BOUND's limit, following read from geometry, a control in use held still (nothing rolls
under it), starting at the end and keeping it. One edge for the meta from 640. Not reviewed: the implementation is unreviewed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…terminal's stage lines

`runs` draws the seven marks (the script draws each glyph from data-state; the ring and the queued breath are CSS), a stage list, a rail whose
link fills by CSS when data-state changes, and a timeline's full rows; no counter. `terminal` takes data-stages (a replay that is never a log),
stage lines with their marks, words and data-time, and no scrollbar on a replay's window. Budgets: runs 9,650 (over the decision's 4,000: for the
decider), terminal 8,850 to 11,750, the core 35,400 to 35,550 (the six tokens), SKILL.md 12,650 to 12,800 (the runs line and two icon names).
TerminalStageState is exported. Not reviewed: the implementation is unreviewed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Six steps with CIMIP-like content: a deploy pipeline (stage list), a release (rail and Progress), a deploy log (a stage transcript with keep 3),
a CI job list (StageBadge faces), an agent run (RunTimeline and the counter) and the seven states; each plays live with Replay, and a shot poses
it. States: the hold, reduced motion, forced colours and more contrast, at 1440 and 390 in both themes. Round 66 is left for diagram batch B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… re-recorded

A stage list, a rail and two timeline rows at the kitchen sink's end, so compose picks runs from the markup. The re-recorded baselines carry the
six opacity tokens and the stylesheet text main has gathered since they were last recorded; the pixel comparison passes against them. The one
module the markup still does not bring is diagram-motion, as on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…review's five, with its rulings

Following: the window's own scrolls and a roll in flight no longer read as the reader leaving (rows are clipped to the list while they roll), and a
reader's scroll in the same task as an arrival is kept. The floor keeps unfilled slots and is the larger of keep and minRows. Print draws the whole
record in full form, and a running time prints as held. The hold and reduced motion cancel a roll in flight; a settled mark or badge face never plays
its entry again. An action removed as false or null sends focus home, and a stage's detail is always in the row, so its first opening runs. The
toggle keeps its 44px target nested in a list. A failed stage ends a replay Failed, and a drawn word hides the stage line's mark (React and the
skill). A runs page takes the stored hold. The skill's rail takes the usage's row and draws five or six stages as rows under 480. axe exempts only
tail rows 2 to 5. Rulings: TextButton's end icon is a ControlIcon (the chevron morphs); the detail's code well is one level deeper; a rail's
figure is centred; a head's seat holds today's held form only, and a Terminal head's time follows its state word; a command never steps back; a
retrying step's sentence is primary; StageBadge is tabular and never gives way; the floor is max(keep, minRows). Polish: a held step's dot hides
with its time; an older output's loud field steps back; timers redraw only when their figure changes; the skill's row code is plain mono, its
step time mono, every stage line 20px. The kitchen sink brings diagram-motion. Not reviewed again yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… run's end, a rail with words, Pause animations

A first step pairs each departure's prototype picture (both themes) with the build, live. The agent run adds a run played to its end (shot at
pace), the rail a pose with words in its status seats, every run's head "Pause animations" beside Replay; a page's own run asks the hold when its
first step would land, and the agent's step line hides under it. The seven states wrap at 390; the list's retry word no longer changes mid-run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ive pairs at their own size, and the round's wording

Under 480px of the Terminal's own width a head with a run's time is two rows: the title and the copy button on its end edge, then the state and its
time from the title's start edge, space-2 between the lines and space-3 under the status (70px at 390 and 320; a test holds the numbers, and the
rule text in foundations says it). The round's five pairs are stacked, each picture at its own size: pair 1 after is the real eight-step run with its
well, pairs 2 to 4 have the prototype at 390, pair 5's before is retaken at 2x; the pairs' "after" halves are posed and carry no controls. The rail's
words pose says "Checks failed" under its Failed head, and the round says what was reviewed (code by Astra, pixels by Fable twice) and what was not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ruling's table:
- StageBadge: each outline face hugs its words at the seat's start; the seat stays the widest face.
- Button: a text toggle's seat holds its glyph at rest and, pressed, the glyph's selected form or the
  core check, crossfading over duration-fast. `pressed` needs `icon` (a type error, and one development
  warning); an untyped toggle with no icon keeps the old seat. LoopsToggle's Button form carries PauseGlyph.
  Old review rounds write aria-pressed so they render as they did.
- Button amount ends its seat (justify-items: end).
- The skill: `.btn-check[data-glyph]` draws its glyph at rest and the check while pressed (glyph.js draws
  into a seat instead of replacing it); toggle and loops usage, topbar-nav's menu row and the diagram's
  pause carry the pause glyph; an empty .btn-check draws as before.
- StageList reserveDetail is off by default (67-3).
- Terminal head from 480px: title, state ... time, Copy; under 480px the words sit 15 from the head's
  edges and the copy glyph is on the padding line (67-5, 67-6).
- RunTimeline: no dot drawn before a step's time where the meta is at the row's end (67-7).
- Round 67: one head grammar under 720 with the icon hold (67-4), the CI list's last row (67-8),
  the Replay row's edge (67-9), the intro's held-room sentence dropped (67-3).
- Foundations' Reserved room item, the pressed-toggle, StageBadge and StageList text, and AGENTS.md's line.

Tests written per the ruling; browser tests are paused (DECISIONS 330), so only node-only files ran.
Bundle limits and three skill caps rise by the measured growth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…head row's start (67-4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ad's gap ruling, RunTimeline's words

- Round 67: with no time, a head's controls end the row at every width (blocking 1). Under 720 the
  controls' row is size-control-sm tall, so its ghost controls' 44px hangs 8 above and below and the
  badge-to-time gap is 14 (blocking 3); the time is display: flex, 6 / 6 in its row (polish 4).
- Foundations: RunTimeline's meta is a result and the time, no dot from 640, a dot under it, the comma
  said at both (blocking 2, the review's words).
- Terminal: from 480 "Copy commands" ends on the line the durations end on (polish 2); the 67-5 test
  checks it (written, not run: browser tests are paused).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bmjcoding
bmjcoding marked this pull request as ready for review November 24, 2026 02:15
@bmjcoding
bmjcoding merged commit 27a8024 into main Nov 24, 2026
1 of 2 checks passed
@bmjcoding
bmjcoding deleted the claude/stages branch November 24, 2026 02:15
bmjcoding added a commit that referenced this pull request Nov 24, 2026
…ning

Seven files conflicted; both sides are kept in each:
- docs/foundations.md: "Versions and release notes", then "Stages and
  runs".
- tools/review/rounds.tsx: round 67's import and push, then round 68's.
- packages/react/test/bundle.test.mjs: the release parts' graph tests,
  then the stage parts' limits.
- packages/tokens/test/contrast.test.mjs: the release page's pairs, then
  the stages' opacity pairs.
- tools/html-skill/src/modules.json: main's core budget (35550) and both
  sides' module budgets and reasons.
- The skill's parts/manifest.json is regenerated by npm run build, and
  packages/react/test/export-sizes.json by npm run sizes.

Two limits move on the merged tree, each with its reason recorded: the
skill's skillMd from 12800 to 12900 (both sides had raised it to 12800 for
their own module's line, and together SKILL.md is 12886), and ReleaseNotes'
first-load graph from 67,250 to 67,550 (67,535 once DECISIONS 328's Button
and TextButton changes are in; its copy and text buttons carry them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant