Skip to content

fix(chat): return scrubbed command output to the agent under every capture policy - #90

Merged
vishr merged 1 commit into
mainfrom
fix/chat-command-output
Oct 31, 2026
Merged

vishr merged 1 commit into
mainfrom
fix/chat-command-output

Conversation

@vishr

@vishr vishr commented Oct 31, 2026

Copy link
Copy Markdown
Member

Under the default capture_text = "titles", Chat discarded the output of
commands the user approved before it reached the agent, so run_command
answered with only an exit code. The agent could run a command but never
read what it printed, and could not finish the task it asked to run it for.

The agent now gets the scrubbed head and tail of the output under every
policy. Storage still follows capture_text: titles keeps no command output
and no result text in the action log. The chat guide says what is sent.

…pture policy

Under the default capture_text = "titles", Chat discarded the output of
commands the user approved before it reached the agent, so run_command
answered with only an exit code. The agent could run a command but never
read what it printed, and could not finish the task it asked to run it for.

The agent now gets the scrubbed head and tail of the output under every
policy. Storage still follows capture_text: titles keeps no command output
and no result text in the action log. The chat guide says what is sent.
@vishr
vishr merged commit 978811c into main Oct 31, 2026
7 checks passed
@vishr
vishr deleted the fix/chat-command-output branch October 31, 2026 15:11
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