{"version":"2.1.335","anchor":"sandboxed-bash-results-now-carry-editdiff-on-completeerror","canonical_anchor":"sandboxed-bash-results-now-carry-editdiff-on-completeerror","heading":"File-change details now travel with shell command results, including failed ones","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/sandboxed-bash-results-now-carry-editdiff-on-completeerror","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### File-change details now travel with shell command results, including failed ones\n\nWhen a shell command finishes or fails, Claude Code now keeps a record of the file edits it made alongside its sandbox report\n\n**Unclear.** Whether the file-change summary is shown on screen for failed commands is not stated.\n\n**What**\n\nWhen Claude Code runs a shell command (a command typed into your computer's terminal), it keeps a progress record for that command. Once the command has finished or failed, that record now also carries a diff, which is a summary of the changes the command made to files. It sits next to the list of sandbox violations, which are actions the command tried that the sandbox (the protected area commands run in) blocked.\n\nClaude Code also gained a separate internal reason it can report when it handles a file-change summary for a command that failed.\n\n**Why**\n\nA failed command that still changed files now has its file changes carried with its result, the same as a command that succeeded.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}