feat(console): the run bar is one strip with one running light, and subagents are a tab with the composer (#377) #380

Merged
cmoriarty merged 7 commits from claude/run-bar-redesign into main 2026-11-04 15:54:57 -05:00
Owner

The run bar and the top bar on run 172 were too noisy: two "Running" lights, cut-off names, an elapsed time that counted a night the run stood stopped, three unnamed dots, and subagents you could read but not talk to. Closes #377.

Run bar

  • One strip of captioned cells: Project (largest type, takes the spare width), Pipeline, Mode, Context used, Backend, Model, Phase, Steps, Time, Status.
  • Status holds the screen's only running light, the state and the decode speed.
  • As the window narrows, whole cells give way in a fixed order and the Project cell's hover says every value. A phone keeps Project and Status.
  • Project and the ticket title link to the forge in a new tab.
  • Time counts only the time the run was running, from a run's new running_intervals.
  • Context used reads the working session nearest its own limit, from the digest the step ring reads.

Top bar

  • A Braid box with the version and one connection light. Offline is the red light alone, with the reason on hover.

Stops and stepper

  • The bar's stop is now End run, and the composer's button stays Stop. Their hovers say how they differ.
  • The phase stepper is a setting, off by default (show_phase_stepper).

Subagents

  • A persistent Subagents tab that shares the composer, with an icon that moves while any subagent is active.
  • POST /api/steps/{id}/prompt takes a session_id, checked against the step's own children.

No schema change: running intervals are derived from the log.

Verified

  • ./tools/test.sh passes locally, and openspec validate --specs --strict passes.
  • Checked in a real browser with seeded data at widths from 390 to 1920.

Not verified

  • Messaging a subagent has only run against the fake client, not a real opencode.

The OpenSpec change is archived in this branch.

🤖 Generated with Claude Code

The run bar and the top bar on run 172 were too noisy: two "Running" lights, cut-off names, an elapsed time that counted a night the run stood stopped, three unnamed dots, and subagents you could read but not talk to. Closes #377. **Run bar** - One strip of captioned cells: Project (largest type, takes the spare width), Pipeline, Mode, Context used, Backend, Model, Phase, Steps, Time, Status. - Status holds the screen's only running light, the state and the decode speed. - As the window narrows, whole cells give way in a fixed order and the Project cell's hover says every value. A phone keeps Project and Status. - Project and the ticket title link to the forge in a new tab. - Time counts only the time the run was running, from a run's new `running_intervals`. - Context used reads the working session nearest its own limit, from the digest the step ring reads. **Top bar** - A Braid box with the version and one connection light. Offline is the red light alone, with the reason on hover. **Stops and stepper** - The bar's stop is now End run, and the composer's button stays Stop. Their hovers say how they differ. - The phase stepper is a setting, off by default (`show_phase_stepper`). **Subagents** - A persistent Subagents tab that shares the composer, with an icon that moves while any subagent is active. - `POST /api/steps/{id}/prompt` takes a `session_id`, checked against the step's own children. No schema change: running intervals are derived from the log. **Verified** - `./tools/test.sh` passes locally, and `openspec validate --specs --strict` passes. - Checked in a real browser with seeded data at widths from 390 to 1920. **Not verified** - Messaging a subagent has only run against the fake client, not a real opencode. The OpenSpec change is archived in this branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
GET /api/runs/{id} carries running_intervals, read from the log, so the elapsed time can leave
out a stop. GET /api/backends carries each run's decode speed. POST /api/steps/{id}/prompt takes a
session_id, which reaches only a subagent of that step and leaves its session's permissions alone.
Adds the show_phase_stepper setting, off by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bar shows the project, the settings, the backend with the run's state, the title and the time
it actually ran. The top bar's box is Braid's version and one connection light. Stop run is End
run and the composer's Stop is Stop this turn. The stepper is a setting. A persistent Subagents tab
replaces the panel.

Changed journeys on purpose: backends.spec.ts asserts the Braid box where it asserted the service
dots, and operator.spec.ts clicks End run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ledger's copy of a run has no intervals and the merge dropped them, so the bar read now minus
the run's creation, which is what #377 replaces. The API and the arithmetic each had a test and
nothing covered the path between them; the new journey fails without this fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner's review of the screenshots: the backend, model and status are three cells at the bar's right,
the project takes the largest type in a box with the settings, and the ticket's title is quieter.
The composer's button is Stop again, with End run told apart on its hover. The Subagents tab's icon
moves while one is active in place of a count, and a lost connection is the red light alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The project cell takes the strip's spare width, so the gap between the two
boxes is gone. Time moves up from the second row. Context used reads the
working session nearest its own limit, from the digest the step ring reads.
As the strip narrows, whole cells give way to the project cell's hover.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chore(openspec): archive run-bar-redesign
All checks were successful
test / suite (pull_request) Successful in 48s
ed3ea21c07
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cmoriarty scheduled this pull request to auto merge when all checks succeed 2026-11-04 15:54:23 -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!380
No description provided.