Repository navigation
Agent: consolidate turn progress and change summaries - #1692
Merged
Merged
Conversation
Matt's turn UI from #1587, #1588, #1589 and #1590, as integrated in 2fb6ede and replayed onto master: - fold a turn's steps under a line that times the work (#1587) - draw a turn's steps as a thread (#1588) - show when a step waits for permission and what the user said (#1589) - list the files a turn changed under its reply (#1590) On master, #1690 replaced `pages.live_has_more` with `has_live_gap()`. Co-Authored-By: Claude <[email protected]>
Retain unanswered permission input until the host accepts it, avoid inventing timing or run completion across paging boundaries, and suppress incomplete change summaries. Normalize all edit input forms accepted by the host and rebuild turn classification after row expansion. (reviewed in focused ui::chat tests; no host or wire changes.) On master, #1690 split `pages.live_has_more` into `snapshot_partial` and deferred-live tracking; the turn checks read `has_live_gap()`.
A permission card was matched to its step by tool name and a copy of the host's command clipping, and the UI decided "allowed" by comparing the answer with a hard-coded "Allow once". Both could drift from the host. The request and tool rows now carry the model's call id as an optional field. The UI marks the newest running row with that id, so two calls with the same command, or ids a provider reuses across replies, are told apart. A host without the field marks no step. The UI reads answers with the host's own `permission_answer_allows`. Large live rows cut down to fit keep the id. Tool rows changed, so TIMELINE_FORMAT goes to 5 and stored rows are re-projected, as for the label change. Co-Authored-By: Claude <[email protected]>
AnthonyRonning
force-pushed
the
ux/turn-consolidated-review-fixes
branch
from
November 26, 2026 04:53
7cebf7e to
3555168
Compare
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Consolidates Matt’s four turn UI PRs as one change targeting
master:Supersedes #1587, #1588, #1589, and #1590. Rebased onto
master(7df5f7a1) as three commits:276e6919— Matt's turn UI from the four PRs, authored by him: the content of integration merge2fb6ede1, whose ancestors include their reviewed heads (fd73a65f,3572bf93,20d1fb1b,b0ef099e).421aad67—fix: keep turn progress and change summaries trustworthy(was1a662a9a).3555168b—fix: name the call a permission request is about(was7cebf7e4).#1690 landed on
masterafter review and replacedpages.live_has_morewithsnapshot_partialplus deferred-live tracking. The turn checks now readhas_live_gap(), which covers both, and the turn's timer still stops when a live row is deferred.The fix preserves permission answers until host acceptance, binds pending answers to matching calls, keeps timer/step state consistent across expansion and history loading, avoids fabricated change summaries from incomplete history, and aligns file accounting with the host’s accepted structured edit shapes.
Changes are confined to Agent chat UI, its bundled icon and translations, and UI documentation, plus one host change in the last commit. Local and remote chat use the shared timeline/run-event model.
The last commit replaces the UI's guess at which step a permission request is about (tool name plus a copy of the host's command clipping) with the model's call id.
AgentPermissionPromptand toolAgentTimelineItems gain an optionalcallId; released peers leave it out or ignore it, so it needs no capability or protocol version. A host without it marks no step. The UI now reads answers with the host'spermission_answer_allowsinstead of comparing with a hard-coded "Allow once". Tool rows changed, soTIMELINE_FORMATgoes from 4 to 5 and stored rows are re-projected in the background, as for the Nov 4 label change.Local validation
On the rebased head
3555168b(treeec86a83d, tested before the rebase as a merge withmaster): full componentjust cipassed (app 1,568, host 933, headless 410). The two lower commits type-check on their own; their pre-commit hooks were skipped withMAPLE_HOOK_SKIP=1because the final tree was tested whole.The following were run against the earlier revision,
1a662a9a559297c7d334348c1a2823d1d5e718e8:just ci: app 1,551 passed; host 931 passed; headless 409 passed.agent-lint,agent-test,agent-macos, andrepopassed on the available macOS host.The branch sits on current
master(7df5f7a1).GitHub CI run 45741819903 finished successfully: required
ci-ok, the Agent lanes including Windows Clippy, and all requested Agent and Research packaging checks passed.ci:packagewas used because this adds a bundled icon; the label was removed after successful unsigned packaging validation so subsequent pushes do not repeat those expensive jobs.Validation boundaries