Agentic UI: Summarize chat file changes - #4590
Draft
shaunandrews wants to merge 1 commit into
Draft
Conversation
15 tasks
shaunandrews
force-pushed
the
add-chat-change-summary
branch
from
August 18, 2026 16:07
272db64 to
a1c356a
Compare
7 tasks
shaunandrews
force-pushed
the
add-chat-change-summary
branch
from
August 18, 2026 16:31
a1c356a to
7a4b43f
Compare
shaunandrews
force-pushed
the
add-chat-change-summary
branch
from
August 18, 2026 16:32
7a4b43f to
5835ff9
Compare
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.
Related issues
How AI was used in this PR
This feature was designed and implemented collaboratively with Codex. AI helped isolate the smallest independently useful slice from a larger review experiment, implement the transcript-derived summary and tests, and verify its layout in light, dark, LTR, and RTL contexts.
Stack
This is the first of three stacked pull requests. It is intentionally useful on its own: chats that changed files gain a compact, display-only summary above the composer. #4594 makes that summary interactive and adds the per-file inventory. #4580 then adds the full diff-review destination.
Proposed Changes
EditandWriteactivity already stored in the chat transcript, including after Studio restarts.Review guide
The product boundary is deliberate: this PR answers only “how much changed?” The pill is display-only, has no hover or button semantics, and does not expose filenames or diffs. That keeps the transcript reconstruction and composer integration reviewable without coupling them to a specific review surface.
The displayed data is an activity summary of successful agent tool calls in the chat transcript. It is not a live Git working-tree diff, and repeated edits to one path have their counts aggregated.
Safety and scope
EditandWriteactivity is summarized.Screenshots
Native 2560×1440 PNG captures at 100% page scale and 2× device scale. These show the first PR's complete scope: the display-only pill matches the scroll control's 28px height, with no inventory or Review action.
Testing Instructions
+1,468in English.Automated verification completed locally:
npx eslint --fixon every modified TypeScript/TSX filenpm test -- apps/ui/src/ui-classic/components/session-view/changes-tracker.test.tsx apps/ui/src/ui-classic/components/session-view/index.test.tsx— 2 files and 23 tests passednpm run typechecknpm run cli:build:uigit diff --checkManual measurements in the local agentic UI:
0pxin both LTR and RTL0pxin both LTR and RTLnonePre-merge Checklist