Transcript: fold assistant prose only for Codex sessions
Leo reported: “this got fing collapsed” and asked that the ChatGPT-style fing folding apply “just only ... to ChatGPT.”
This makes the session's harness family the folding switch. Claude sessions keep every assistant message visible, including interim replies and replies before tool rows; Codex/ChatGPT keeps the existing interim fold and final reply behavior. Tool rows and the existing pre-steer visibility rule are unchanged.
Tests cover a Claude turn with interim and final assistant text beside a work fold, and the same Codex turn folding only the interim text.
Agent session: agent session
🤖 Generated with Claude Code
![View with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v3-3x.png)
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Restricts assistant-prose folding in transcripts to Codex/ChatGPT-style sessions only. Claude sessions now keep every assistant message visible, including interim replies and replies before tool rows, while Codex sessions keep the existing interim fold and final reply behavior.
Uses the session's harness family (agentFamily) as the folding switch. Tool rows and the existing pre-steer visibility rule are unchanged. Tests cover a Claude turn with interim and final assistant text beside a work fold, and the same Codex turn folding only the interim text.