Skip to content

OpenCode (Rune): a subagent's status line keeps the run and the way back, not the agent and model twice (t1449) - #5

Merged
kitlangton merged 1 commit into
mainfrom
child-strip
Nov 8, 2026
Merged

kitlangton merged 1 commit into
mainfrom
child-strip

Conversation

@kitlangton

@kitlangton kitlangton commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

A subagent's page says how its run went and offers the way back, and no longer names the agent, model and effort a second time.

The composer above the line already shows them as three pickers; the line below repeated all three in words.

❌ Before

  1. The pickers read "General · anthropic / Claude Opus 5.5 · High".
  2. The strip below reads "✓ Done · 20m 00s · General · anthropic / Claude Opus 5.5 High".
  3. The same three facts appear twice in one 80 pt band.

✅ After

  1. The pickers read the same.
  2. The strip reads "✓ Done · 20m 00s", then "Main session ESC".
  3. It keeps only what the pickers don't say: the run's state, its time, and the way back.
- strip: status · time · agent · provider/model · effort
+ strip: status · time

📊 Proof: a child session on the fixture, headless, zoom 1.6, dark.

Before After

The new test fails without the change: it asserts the strip carries no agent, model or effort text while the pickers still carry it.

👀 Read: apps/desktop/src/subagents/reply.rs, status_line. The one assumption is that it only ever draws with the composer above it, which is true: composer_dock builds both, and the pickers always include the agent and model on a child session. The rest is routine.

Reported by hand from a recording of the app · no public issue

Checks run
  • cargo test --locked -p opencode-desktop subagents::reply: 8 pass, including the_bar_under_a_subagent_leaves_the_agent_and_model_to_the_pickers
  • cargo test --locked -p opencode-desktop: 631 pass, 66 fail, all in layout and font-measuring tests (view::narrow_tests, view::selection_tests, tabs, terminal). view::narrow_tests::nothing_overlaps_or_clips_at_the_narrowest_window fails identically with this change stashed on the same worker; CI on the base commit is green.
  • scripts/file-size.sh: no new warnings
  • scripts/folder-shape.sh: 2 errors, both on the base commit (apps/desktop/src at 115 files, session_* at 6)

…ack, not the agent and model twice (t1449)

A child session's composer shows its agent, model and effort in the pickers
just above, and the strip under it said them again: "Done · 20m 00s ·
General · anthropic / Claude Opus 5.5 High". It now keeps the run's state
and time, and Main session with its Esc keycap, which the pickers don't
say. It only ever draws with the composer, so the pickers are always there.
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

PR test build retired — merged into main. Install or auto-update OpenCode (Rune) from https://anoma.ly/release/opencode-rune/desktop/dev/macos-arm64-dmg.

This branch was previously deployed

1 inactive deployment
release — 4bd51370 Deployed Nov 8, 2026 by kitlangton via sign-macos #8
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