Skip to content

Tool-call output: collapse happy path by default, expand failures, make verbosity configurable #3256

Description

@Hmbown

Summary

Today tool-call output shows the full command string + all stdout sections regardless of outcome, so successful runs are ~80% scaffolding noise. We should make the collapsed, intent-first view the default for everyone, and make expansion a config option.

Default behavior (proposed)

Success and failure should get opposite verbosity:

  • On success — collapse each call to two lines:
    • intent (one line: why the call was made)
    • result (the single fact/verdict it produced)
  • On failure (non-zero exit / error) — auto-expand to full command + full stderr/stdout.
  • Batched related calls — show a rollup (e.g. ground truth: HEAD ✓, binary ✓, smoke script ✓) instead of N separate blocks.

Mental test for the default: if every call in a turn succeeds, can the user still follow what happened on one screen? Right now: no.

What to drop from the default (success path)

  • Full command string (reconstructable, rarely read)
  • echo "=== X ===" section scaffolding
  • ls -la perms/bytes/timestamps unless that's the thing being checked
  • Successful intermediate steps in a chain

Config

  • Add a setting to control tool-call verbosity / expand tool calls (e.g. collapsed (default) | expanded).
  • Full command + raw output should remain available on demand.

Remove broken Alt+V

  • The current Alt+V ("Alt+V for details") affordance does not actually work — remove it.
  • Replace the "expand" path with the config option above (and/or a working keybinding).

Acceptance

  • Collapsed intent+result is the default tool-call rendering
  • Failures auto-expand with full command + output
  • Verbosity is configurable
  • Alt+V affordance removed (no dead "Alt+V for details" hint)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv0.8.70Targeting v0.8.70

    Projects

    Status
    Backlog

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions