Repository navigation
Needs you: a waiting chat's row shows its question, not its last reply - #23847
Conversation
…s last reply (red) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Gallery before/after for
States
Pick other states with a Passes: CI passes on CI passes on Written by web and size checks: green Tour of |
|
Found 2 test failures on Blacksmith runners: Failures
|
|
Owned by session-panel on cosmic-gray · session |
|
Bead |
…last reply A chat whose ask the page cannot read (another computer's) was one "Waiting" row over its last reply. Its acpmux summary names what it waits on (waitingOn, waitingPrompt): the row now says that question, as a decision (or an approval for a pending permission); only a chat naming no question text falls back to its last reply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review (subagent): SHIP at 1f2c819 Correctness checked; nothing blocking.
Nits (non-blocking):
|
|
Shipped in:
|
|
Shipped in:
|
![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light-3x.png)
Summary
The Needs you popover drew a chat that waits on the person, but whose ask the page cannot read (a chat on another computer, such as a huge-blue session), as "Waiting 5m" over the chat's last reply. acpmux already names what such a chat waits on in its session summary (
waitingOn, andwaitingPrompt: the waiting question's first prompt,hub/subsession_send.rswaiting_on), and the pane already parses it (sessionList.tssessionWaiting). This makes that row show the question itself, labelled as a decision (or an approval for a pending permission). Only a chat that names no question text falls back to the last reply.Changelog
Fixed: the Needs you list shows the question a waiting chat asks instead of the chat's last reply.
Testing
Focused command (run on huge-blue):
cd webviews && bun test test/agent-pane-needs-you.test.tsxa waiting chat's row shows the question it waits on, not its last reply(the row isinputwith the last reply as its text).test/agent-pane-needs-you-asks.test.ts, 37 pass, 0 fail.Capture
Webview-only change. Gallery before/after of
agent-pane.needs-you(list): https://cmux-lawrences-mac-mini.tail137216.ts.net:18796/compare/session-panel-needsyou-question/?entry=agent-pane.needs-you . The "Release notes on build box" row reads "Waiting 31m / Drafted the notes from the merged pull requests." before and "Decision 31m / Which tag should the notes start from?" after.No capture: webview-only (needsYou model and gallery fixture); no native UI changed.
Observed / Not run
scripts/web-lint.shandpython3 scripts/cmux-next/prepush-gate.pyclean; gallery screenshots (headless Chromium, built at the base and the head) show the change above.Agent session: cosmic-gray