Skip to content

Show tool results on demand in the review transcript - #433

Merged
lynnswap merged 6 commits into
mainfrom
codex/tool-result-transcript
Nov 24, 2026
Merged

lynnswap merged 6 commits into
mainfrom
codex/tool-result-transcript

Conversation

@lynnswap

Copy link
Copy Markdown
Owner

Summary

ReviewMonitor now shows a tool name and its outcome on a single line. Expanding the line reveals the retained result in the transcript, where it can be selected, searched, and copied. This keeps long GitHub workflow responses out of the way while reading a review.

Changes

  • Show MCP text blocks and structured fields on expansion. Preserve the scroll position and text selection when the output opens or closes.
  • Read dynamic tool results from contentItems and accept functionCallOutput with either text or content blocks. Identify image, audio, and encrypted blocks in the transcript.
  • Trim tool result metadata with the transcript and reuse the existing style runs when building the collapsed view.

Testing

  • Ran the focused app-server, retention, projection, and native ReviewMonitor tests on macOS with XcodeHomeRunner.
  • Measured one display rebuild with 4,001 blocks and a collapsed tool result. Across three runs, block-by-block style mapping took 3–5 ms, down from 109–113 ms.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 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-24T17:26:05.232990Z 8a278be PR opened
🔒 Security Review ✅ Completed 2026-11-24T17:27:52.787908Z 8a278be PR opened
ℹ️ 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.

@lynnswap
lynnswap merged commit 4896689 into main Nov 24, 2026
9 of 10 checks passed
@lynnswap
lynnswap deleted the codex/tool-result-transcript branch November 24, 2026 17:39
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