Collapse task dispatch args to a sentence, not raw JSON - #440
Merged
Conversation
A task spawn with a large brief fell through to painting the whole arguments object into the transcript. Prefer description then prompt as the subject, always summarise object args, and expand nested fields with real line breaks instead of escaped JSON strings.
TheGreatAxios
force-pushed
the
cl-5762-dispatch-tool-args-transcript
branch
from
August 9, 2026 14:48
b2da955 to
fbe7ca9
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.
Summary
toolCallRownever leavessummaryunset when a verb/view exists, so paint cannot fall through to raw argsCloses CL-5762
Test plan
bun test ./src/tui/tool-formatter.test.ts ./src/tui/diff-rows.test.ts ./src/tui/tool-subject.test.ts ./src/tui/collapse.test.ts ./src/tui/mcp-view.test.ts\nescapes