Skip to content

🤖 feat: compact transcript by default: each turn is the prompt, one work line and the reply - #8141

Open
ammar-agent wants to merge 37 commits into
mainfrom
transcript-succinct-tools
Open

ammar-agent wants to merge 37 commits into
mainfrom
transcript-succinct-tools

Conversation

@ammar-agent

@ammar-agent ammar-agent commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The transcript is redesigned so that it reads as a conversation first. At the new default density (Compact), what the agent writes stays in view as regular text, and the steps between two of its updates fold behind one muted line that says what they did (Read 2 files, ran 1 command). The steps are one click away, in place. Detailed density keeps every step as a row, with runs of routine calls folded into the same kind of line. The desktop chat no longer replaces older replies with "Some messages are hidden for performance" markers: the mount window bounds the DOM instead.

Background

The earlier rounds on this PR made each row quieter (folded runs, one chevron, one rail, collapsible scripts), and the result was still judged far too noisy. The next design folded a whole turn behind one line (Worked for 2m 14s) and showed only its last narration. That went too far the other way: closed, the line said too little about a long turn, and opened it put the whole log on the page, with the line that closes it a long scroll away.

This design is the one Claude Code Desktop and Codex use while a turn runs: the agent's status updates as regular text, with the tool calls between them folded. Each fold is the stretch between two updates, so it is short, it says what it did, and it opens and closes in place.

Folding exposed an older mechanism. The store kept the newest 64 displayed rows and, above them, only the prompts, with a marker for each gap (#2498). Folded steps count as rows there, so the markers reached the first screen of any long session, and the replies above them were gone. The chat pane has had a tail-first mount window since #4293, which makes that cap redundant on desktop.

Feedback this PR answers, by round:

Feedback Change
"Some messages hidden for performance" appeared too often No cap on desktop; the mount window counts what mounts
A prompt's details sat to the left of its bubble They are under the bubble, at its right edge, and float so a hidden row takes no line
Sub-agent reports rendered as user messages were noisy A report is one line like a tool call's, on the agent's side, and folds with the steps
The INTERRUPTED divider was annoying It is gone. The turn that can be continued keeps one quiet line: Interrupted · Continue
Two "Worked" lines appeared back to back Lines are never adjacent: a stretch is every step between two things the user reads
The layout flashed as tool calls rendered in and disappeared A live stretch names its current step on its line, and mounts no row for it
An opened block was too long to get back out of Folds are per update, and an opened line stays pinned at the top while its steps are on screen
Codex and Claude Code show status updates between tool calls So does Compact now

Open question. A finished turn keeps its updates in view, as Claude Code Desktop does. Codex folds a finished turn to one line plus the reply. I asked which is wanted and built the first, which the second can be layered on.

What the user sees

Compact (default)

  • Everything the agent writes is regular text: its updates while it works, then its reply.
  • The steps between two things the user reads (their prompt, an update, a question, a plan, an app view, an error) fold behind one line. The line says what the steps did, in the words Detailed uses for a run: Read 2 files, ran 1 command, Edited 1 file, ran 1 command · 1 failed, Thought, Updated the todo list.
  • A live stretch keeps its line closed and names the step it is on: Running the test suite. The text changes in place, so no row mounts for a call and unmounts for the next one. Once the agent writes again, the line settles to what the stretch did.
  • Opening a line lists its steps in place on a rail, one row each, with no second fold inside. The opened line stays at the top of the transcript while its steps scroll under it, so a long stretch can be closed from anywhere in it.
  • Prompts the machine writes mid-work (a sub-agent's report, the "background sub-agents finished" wake-up, a turn-end nudge, a context warning) are steps. They fold with the steps around them, and opened they sit on the left with those steps. One the agent has not acted on yet stays a row of its own.
  • A question, a plan and an MCP App view are never folded, because they are part of the conversation. An answered question is one row (Question <text> · <answer>).
  • A row the user must act on is never folded: a call that waits for a sandbox approval (the card and its shortcuts are in the row), and the row the transcript ends on when its turn was interrupted.
  • An earlier plan folds to Plan <title> once a newer plan exists. A plan card shows its title once.

Both densities

  • Nothing is cut out of a long transcript. Every earlier turn keeps its prompt and its reply, and there is no "hidden for performance" marker and no "Load all".
  • Only the latest reply keeps its action row (copy, fork, model, time) in view. An older reply shows its row on hover or keyboard focus, in space the row already holds, so nothing moves.
  • A prompt's actions and time appear under its bubble on hover or focus. On touch every row is always shown, on its own line.
  • A sub-agent's report or failure is a row on the agent's side, not a user bubble: Sub-agent <title> Completed. Who wrote it (agent type, model, thinking level) and the report are in the opened row. Wake-up and nudge chips sit on the left for the same reason.
  • Previous/next prompt navigation and ArrowUp-to-edit go to prompts the user wrote. They skip the prompts the machine wrote mid-work (reports, wake-ups, nudges, context warnings), which Compact folds: a jump to one found no row, and ArrowUp filled the composer from a row that was not on screen.
  • An interrupted response carries no divider. On the turn that can be continued, one line under it reads Interrupted · Continue (the keyboard shortcut is unchanged).

Detailed

  • Every step is a row. Runs of two or more routine calls (reads, searches, shell, scripts, task polls) fold into one summary line. Edits, questions, plans, todos and unknown tools stay standalone.
  • Rows share one grammar: one gutter, one chevron, one rail for opened children. Script rows collapse to one line and are keyboard-operable.

Settings: Transcript density is Compact / Detailed.

Screenshots

Two turns at rest. Updates are text, and each line stands for the steps between:

turns

A line opened in place:

opened

A question, a plan and a live turn, whose last line names the running step:

stops and live turn

A stretch of 40 steps opened and scrolled to its middle. Its line (Read 40 files) is pinned at the top:

pinned line

Sub-agent reports and the wake-up as steps. The first turn was stopped by the user and has no divider:

machine steps

The end of a long session (six turns of thirty steps each):

long session

A prompt hovered (its row is under the bubble), then an older reply hovered. Nothing moves:

prompt hover

reply hover

Phone (390px, touch: every action row is shown):

phone

A session at Detailed density

detailed

The two hover shots were taken before the last round, when the line above the reply read Worked for …. The action rows they show are unchanged. No screenshot shows the Interrupted · Continue line: no story reaches a user-aborted tail. InterruptedBarrier.test.tsx, the VS Code webview test and tests/ui/rightSidebar/sideChat.test.ts cover it.

Implementation

  • transcriptRenderProjection.ts
    • computeWorkBundleInfos: a stretch is a maximal run of steps (isStepRow: reasoning, a tool call that is not a question, a plan or an app view, or a machine prompt). What the agent writes is never a step, so it gets no info and renders as a plain row. Each row of a stretch gets key, headIndex, state, summary and visibleWhenFolded. A stretch with no step of the agent's own gets no line.
    • summary is describeSteps when settled (the summarizeOperationalBundle wording, with its failure detail) and describeLiveStep when live (LIVE_STEP_DESCRIBERS, exhaustive over the tool categories: a shell call uses the model's stated intent, a read or an edit its file name, a script its latest nested call).
    • showsThroughFold keeps two rows in view under a closed line: a call in approvalToolCallIds, and the interrupted row at the transcript's tail.
    • computeOperationalBundleInfos has one mode, the routine-run fold, and is used by Detailed only. Compact's opened line lists its steps one by one.
    • computeWindowRowIndices and selectTranscriptWindowRows give the mount window the rows that mount. The steps behind a closed line mount nothing, and counting them made every budget of the window many times too small.
  • machineRows.ts: isMachineRow decides which user-role rows the machine wrote mid-work, with the checks the renderer already uses to pick their presentation (including the layout nudge that main added). A goal continuation or a budget wrap-up is not one: it starts a turn the way a prompt does.
  • TranscriptBundles.tsx renders each stretch as one block (WorkBlock): the line, then the opened steps on a rail, or under a closed line the rows that show through. The block bounds how far the opened line sticks. It is shared by the desktop ChatPane and the VS Code webview.
  • WorkBundleMessage.tsx is the line. Opened, it is position: sticky at the top of the scrollport, with the transcript's surface.
  • WorkspaceStore.ts turns the aggregator's 64-row cap off for desktop workspaces, and hands out the set of calls that wait for a sandbox approval (getBashSandboxApprovalToolCallIds, one stable set while the calls are the same). The approval lives in the store, not in the row, so ChatPane passes the set to the projection. The VS Code webview has no approvals and passes none.
  • /refine apply keeps its reach. findRenderedRefineProposalHash accepted only a proposal among the rows the display cap kept, and this PR turns the cap off on desktop, so the check now takes the newest MAX_DISPLAYED_MESSAGES displayed rows itself. Showing more of the transcript does not widen what the command accepts.
  • useBoundedTranscriptReveal is unchanged: ChatPane hands it the window rows and translates its indices back. The cap, the marker row and "Load all" remain for the VS Code webview, which has no mount window.
  • MessageWindow.tsx decides which action rows are quiet, and where each sits: in the flow under a reply, floating under a prompt's bubble, floating at the end of a step's line. It gains a step variant for machine-written rows.
  • useUserMessageNavigation and the new findLastEditablePrompt (chatEditing.ts, used by ArrowUp) use isMachineRow too, so the fold, the prev/next targets and the ArrowUp target agree on which prompts are the user's.
  • InterruptedBarrier.tsx renders only where the turn can be continued. Both hosts still mount it for every interrupted row and pass resumable.
  • The stored values stay "normal" and "hyper" so settings survive an upgrade or a downgrade. "hyper" now means Compact and is the default; a stored choice is kept.
  • Stories default to Detailed, because most of them exist to show a tool card. The Transcript Density stories cover Compact, including CompactMachineSteps (reports, the wake-up, the missing divider) and CompactLongStretchOpened (the pinned line).
  • Several large components were split into named parts to pass the CRAP gate (script, bash, file-read and plan rows, the projection, the bundle rows). The parts keep their state where it was.

Validation

  • CompactLongStretchOpened opens a 40-step stretch, scrolls to its middle, and asserts that the line is at the top of the scrollport, that the pointer reaches it, and that a click closes the stretch. With sticky removed it fails ("The opened line is -830px from the top of the transcript").
  • The projection tests cover the rules: what the agent wrote is never folded, one stretch per run of steps, a machine prompt folding with the steps around it or staying a row when the agent has not acted, the line's wording when settled and per tool kind when live, an approval showing through the fold while a merely running call does not, and the interrupted tail.
  • TranscriptBundles.test.tsx covers the rendering: steps open in place between two texts, each stretch is its own block, a mounted range that starts below a closed line mounts nothing for it, and Detailed has run folds and no work lines.
  • tests/ui/chat/longTranscript.test.ts (was truncation.test.ts) asserts that every turn of a transcript past the old cap shows. It fails with the cap restored.
  • Tests that looked for a row that is now behind a line open the line first, as a user does: two VS Code webview tests, tests/ui/tasks/awaitVisualization.test.ts, and the two TODO-nudge repros (🤖 fix: let the turn-end TODO nudge continue with the turn's tools #7027, 🤖 refactor: keep the tool block stable under caller tool policies #7029).
  • The BashMonitorWakeMessages story asserted that wake-up chips are right-aligned. It now asserts the left.
  • Run on this head: the full Storybook interaction suite (873 passed), the browser and common unit suites (10,836 passed; the one failure, a WorkspaceMenuBar test, fails without this change too), the VS Code webview tests, 16 tests/ui files (66 tests, Node 22), typecheck, oxlint, type-aware ESLint on the changed files, the format check, the phone chrome check, and make crap-check with and without coverage.
  • The bug-bash repros with the mock AI: 124 of 126 pass. The two failures are one resource-limits repro (web and phone) that needs a host where Xum cannot manage its cgroup.
  • Not re-measured. The cost table of the earlier round (first paint, settle time and DOM nodes on a 40-turn session, with and without the cap) was taken when Compact showed three rows per turn. Compact now also mounts each update and one line per stretch, so its DOM is larger than that table's Compact rows and smaller than its Detailed rows. Dropping the cap did not change the first paint or the longest task then (about 1.1 s and 150 ms in a Storybook dev build).
  • Not run locally: the Electron e2e specs and the perf lanes (make test-e2e-perf), which are not part of PR CI.

Risks

  • Default change, high visibility. Every user who never chose a density gets Compact. Tool cards are no longer visible without a click. The setting restores the old view.
  • A long turn is a long page. A turn with thirty updates shows thirty texts and about as many lines. That is the point of the change, and the open question above is whether finished turns should fold further.
  • A running call's card is behind its line. Live command output, a running script's nested calls and a running sub-agent's card need one click on the line. The line names the step, and the composer's activity line still lists background processes. A call that waits for approval is the exception and always shows.
  • Approvals reach the fold through a second path. If a new kind of approval is added whose state is not in getBashSandboxApprovalToolCallIds, its card would be behind a closed line. showsThroughFold is the one place to extend.
  • Machine prompts fold. A context warning or a nudge in the middle of a turn is no longer visible without opening the line, and the line does not mention it. One the agent has not acted on yet stays a row of its own.
  • /refine apply refuses a proposal more than 64 rows back, as before on a capped transcript. On desktop that row is now on the page, so the refusal ("no staged /refine proposal is visible in this chat") can read as wrong. Running /refine again stages a current proposal.
  • The pinned line is position: sticky inside the transcript scrollport. It sits above the steps (z-20) and covers the scrollport's top padding with a pseudo-element. On a phone it pins under the fixed header's spacer.
  • More mounted rows on long chats. A long Detailed transcript mounts up to the window's budget (500 rows, then "Load older messages"; 1,200 at most) instead of about 64 rows plus prompts. This is not scroll virtualization: rows above the viewport stay mounted up to those limits.
  • The window counts fewer rows than the transcript holds in Compact. The steps of a line the user opens mount outside its budgets. Every row of a live stretch is counted, so the rows the window tracks by id do not come and go under the tail.
  • Action rows hide until hover or focus on pointer devices. A reply's row keeps its place, which leaves a blank line under a reply that more work follows in the same turn. A prompt's and a step's row float; they cover what is under them only while they show.
  • Interrupted responses are unmarked except on the turn that can be continued. A partial reply further up simply ends; an interrupted tool call still says so in its own row.
  • ArrowUp and prompt navigation skip machine prompts in Detailed too. There the rows are on screen, and ArrowUp used to open the newest one (a nudge, a report) for editing. Its own Edit action is unchanged.
  • Meaning of a stored "hyper" changed. Those users had a turn-level fold; it is now a fold per update.
  • A line counts calls, not files. Three edits of one file read Edited 3 files, as the run summary in Detailed already did, and a file a script or a shell command changed is not counted as an edit.

Follow-ups

  • Scroll virtualization of the transcript (unmounting rows above the viewport), if the window's limits prove too coarse.
  • The plan card is the heaviest element in a compact transcript (tinted fill, coloured heading, hint line, six icons).
  • On touch every prompt, reply and report shows its action row, which outweighs short replies. It needs a tap-to-reveal design.
  • Keyboard operability of the remaining tool rows. The work line, run summaries, thoughts, reports and Script rows are real buttons; other tool headers are not yet.
  • A stretch that only reasoned reads Thought, with no duration. Reasoning rows carry no end time to compute one from.
  • The live step for a tool the line has no words for reads Using <tool name>. Tools that deserve their own wording can be added to TOOL_CATEGORY_BY_NAME.

Pains

  • Local Node is 20 and tests/ui needs 22+, so the default flip could not be checked until a second Node was installed.
  • The Storybook test runner plays a file's stories in one page, so two stories on the default workspace id share a transcript. A new story with a play function needs its own workspace id. Editing a source file while the full suite runs fails dozens of unrelated stories.
  • make static-check cannot complete locally (uv.lock mismatch in the Python steps), so its parts were run one by one. The commit hook's CRAP gate is skipped for the same reason, and CI scores with coverage while the local default scores complexity only, so a function can pass one and fail the other.
  • The transcript shows a completed sub-agent report where the agent was when the sub-agent finished, not at its place in history. A story that seeds a report after a reply sees it before that reply.
  • Three Codex security rounds went to /refine apply, each on a new way a row can be mounted and not seen (the mount window, a hidden side pane, an invisible transcript). The fix that ended them removed the DOM check and restored the rule the command had before this PR.

Generated with xum • Model: anthropic:claude-fable-5-2 • Thinking: high • Cost: $570.39

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T18:37:40.306877Z 3061bc2 Manual request
🔒 Security Review ✅ Completed 2026-11-12T18:39:56.241321Z 3061bc2 Manual request

Security findings

Advisory findings (3)

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5678802500

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🟢 e2e stories (Haiku): 14 passed

22 agent steps · 7 replayed from cache · 15 model calls · 47.1k tokens (23% cached)
Spend: $0.09 of the $1.00 cap (proxy ledger)

All 14 tests in 9 files
Test Agent Time
🟢 chatRestart.e2e.ts · 1 passed 1 step · 1 call 6.8s
🟢 a chat survives a restart of the server 1 step · 1 call 6.8s
🟢 compaction.e2e.ts · 1 passed 1 step · 1 call 5.3s
🟢 /compact replaces the old chat with a summary 1 step · 1 call 5.3s
🟢 pluginTrustRestart.e2e.ts · 1 passed 4 steps · 2 calls 12.9s
🟢 a trusted plugin hook stays trusted after the server restarts 4 steps · 2 calls 12.9s
🟢 settingsRoundTrip.e2e.ts · 1 passed 2 steps · 1 call 10.3s
🟢 a chat survives trips through Settings 2 steps · 1 call 10.3s
🟢 sidebarPerWorkspace.e2e.ts · 1 passed 4 steps · 1 call 5.2s
🟢 a new workspace starts with its right sidebar collapsed while another keeps it open 4 steps · 1 call 5.2s
🟢 smoke.e2e.ts · 1 passed 2 steps · 1 call 2.8s
🟢 the agent opens the playground workspace 2 steps · 1 call 2.8s
🟢 streamErrors.e2e.ts · 1 passed 1 step · 1 call 7.7s
🟢 stream errors show in the chat, and the chat recovers 1 step · 1 call 7.7s
🟢 todoNudge.e2e.ts · 1 passed 1 step · 1 call 3.8s
🟢 the agent finishes open TODO items after the turn-end nudge 1 step · 1 call 3.8s
🟢 touchAlignment.e2e.ts · 6 passed 6 steps · 6 calls 24.1s
🟢 the Settings close button is level with the title on a touch screen 390px wide 1 step · 1 call 4.1s
🟢 the Settings close button is level with the title on a touch screen 768px wide 1 step · 1 call 4.0s
🟢 Backup settings checkboxes are small and level with their labels on a touch phone 1 step · 1 call 4.5s
🟢 the heartbeat checkbox is small and level with its label on a touch phone 1 step · 1 call 4.1s
🟢 a reply's model and time stay on one line on a touch phone 1 step · 1 call 3.8s
🟢 the workspace actions menu stays on the title row on a touch phone 1 step · 1 call 3.5s

e2e 0.20.0 · 1m 23s · web · run artifacts

🟢 e2e Electron stories (Haiku): 3 passed

3 agent steps · 3 model calls · 7.9k tokens (22% cached)
Spend: $0.02 of the $1.00 cap (proxy ledger)

All 3 tests in 3 files
Test Agent Time
🟢 electron/deepLink.e2e.ts · 1 passed 1 step · 1 call 9.2s
🟢 a deep link of a second launch starts a chat in the running app 1 step · 1 call 9.2s
🟢 electron/menuBar.e2e.ts · 1 passed 1 step · 1 call 7.5s
🟢 the workspace menu bar is the desktop title bar 1 step · 1 call 7.5s
🟢 electron/smoke.e2e.ts · 1 passed 1 step · 1 call 7.0s
🟢 Xum Electron opens the playground workspace 1 step · 1 call 7.0s

e2e 0.20.0 · 26.8s · electron · run artifacts

🟢 e2e agent repros (Haiku): no tests selected

Spend: $0.00 of the $1.00 cap (proxy ledger)

e2e 0.20.0 · 8.0s · 2 targets (web, phone) · run artifacts

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Addressed the quadratic tail check; please take another look.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 0c5528dcd6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 0c5528dcd6

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

ammar-agent added a commit that referenced this pull request Nov 11, 2026
@ammar-agent ammar-agent changed the title 🤖 feat: fold routine tool runs and compact code execution cards 🤖 feat: Codex/Cursor-style transcript: fold routine tool runs, quieter tool rows, compact code execution Nov 11, 2026
@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Reworked summary-line copy/typography and trimmed success-only chrome from tool rows; please take another look.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e4271cf2ae

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/ui/chat/sendModeDropdown.test.ts Resolved
@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: e4271cf2ae

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Updated the stale selector in sendModeDropdown; please take another look.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 0848149781

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 0848149781

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

ammar-agent added a commit that referenced this pull request Nov 11, 2026
@ammar-agent ammar-agent changed the title 🤖 feat: Codex/Cursor-style transcript: fold routine tool runs, quieter tool rows, compact code execution 🤖 feat: Codex/Cursor-style transcript rows: folded tool runs, one row grammar, collapsible scripts Nov 11, 2026
@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Unified the transcript row primitives (gutter, chevron, rail, status), quieted reasoning rows and made code execution a collapsible "Script" row; please take another look.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 1b5426bf3f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 1b5426bf3f

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Routine folding now leaves background bash spawns and bash_output polls as their own rows; test copy updated. Please take another look.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c67addf273

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: c67addf273

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Head dd1bf17 addresses both findings on 2813e74 (earlier plans are keyboard-operable; a script's earlier-calls cut keeps MCP App views) and the Quality / CRAP failure. It also changes the compact view after user feedback: one work line per piece of work, a live line that names its step instead of mounting step rows, machine-written prompts folded as steps, no interrupted divider, and prompt actions under the bubble. The PR body describes the whole diff.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: dd1bf17311

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: dd1bf17311

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Head 69c1f8d fixes the security finding on WorkspaceStore.ts ("Bind refine approval to mounted rows"): /refine apply approves only a proposal whose transcript row is mounted.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 69c1f8d889

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Head 0c9d38c merges main (a conflict in tests/ui/helpers.ts, both sides kept) and treats main's new layout turn-end nudge as a machine row, like the other nudges.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

Unknown error
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Codex Security Review · Automatically triggered

Here are some automated security review suggestions for this pull request.

Reviewed commit: 0c9d38c4ef

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Comment thread src/browser/stores/WorkspaceStore.ts Resolved
@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Head c8a3041 scopes the /refine apply check to the invoking workspace's own laid-out transcript (the security finding on WorkspaceStore.ts), and fixes the sandbox-only repro that failed Test / Bug-bash sandbox (it looked for the TODO nudge row without opening the work line).

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: c8a30410ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛡️ Codex Security Review · Automatically triggered

Here are some automated security review suggestions for this pull request.

Reviewed commit: c8a30410ce

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

Comment thread src/browser/stores/WorkspaceStore.ts Resolved
@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Head 2f36160:

  • Compact density changed after user feedback: what the agent writes stays in view as regular text, and the steps between two of its updates fold behind one line that says what they did. An opened line is pinned to the top of the transcript while its steps are on screen. The PR body describes the whole diff.
  • /refine apply: the DOM check of the last two rounds is gone. The scan keeps the display cap's reach (the newest 64 displayed rows) now that desktop shows the whole transcript, which restores the rule the command had before this PR.
  • Test / Phone chrome failed on the attribute the DOM check added; that attribute is removed.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f36160057

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 2f36160057

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

@ammar-agent

Copy link
Copy Markdown
Collaborator Author

@codex review

Head 3061bc2: prompt navigation and ArrowUp-to-edit skip the prompts the machine wrote (isMachineRow), which Compact folds behind a work line. One predicate now decides the fold, the prev/next targets and the ArrowUp target.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: 3061bc2dcd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

Copy link
Copy Markdown

🛡️ Codex Security Review · Automatically triggered

Security review completed. No security issues were found in this pull request.

Reviewed commit: 3061bc2dcd

View security finding report

Only the user who started this review can view the report in Codex.

ℹ️ About Codex security reviews in GitHub

This is an experimental Codex feature. Security reviews are triggered when:

  • You comment "@codex security review"
  • A regular code review gets triggered (for example, "@codex review" or when a PR is opened), and you’re opted in so security review runs alongside code review

Once complete, Codex will leave suggestions, or a comment if no findings are found.

This branch has not been deployed

No deployments
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