{"version":"2.1.327","anchor":"bash-result-schema-gains-backgroundedforagentreport-flag","canonical_anchor":"powershell-tool-results-gain-sandbox-note-and-agent-report-b","heading":"Commands moved to the background for a subagent's report are now marked and come with a clearer warning","tier":"notice","area":"Subagents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/bash-result-schema-gains-backgroundedforagentreport-flag","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Commands moved to the background for a subagent's report are now marked and come with a clearer warning\n\nBash and PowerShell results gain a backgroundedForAgentReport field, and the model is told not to rely on a backgrounded command that hasn't finished\n\n**What**\n\nClaude Code can move a running shell command into the background, so it keeps running while the conversation carries on. One reason is to let a message or report from a subagent (a helper agent that Claude starts to work on part of a task) reach the model. That case is now recorded and handled on its own:\n\n- `Bash` tool results gain an optional field, `backgroundedForAgentReport`. It is true when the command was moved to the background so a subagent's message or report could reach the model, after the command had already run for a minute. Before this, only a field for a message queued for the model existed.\n\n- `PowerShell` tool results gain the same `backgroundedForAgentReport` field, as the `Bash` tool has. PowerShell results also now merge a sandbox note into their error output (stderr). A sandbox is the restricted environment some commands run in.\n\n- The text the model receives about a backgrounded command has a new branch. When the command was backgrounded for an agent report, or was backgrounded so an arriving message could reach the model and the server-side flag `tengu_modular_pearl` is on, the model now reads: \"You will be notified when it completes. Until then it has not finished, whatever its output shows, so do not start a step that needs its result.\" Before, it was told only \"You will be notified when it completes.\"\n\nThe flag server returned off for `tengu_modular_pearl` for this site's account and for the anonymous baseline. No reading has been taken under this release yet. The stock `Bash` tool description itself is unchanged since v2.1.326, at 10,574 characters in its longest version, in a capture taken under this release.\n\n**Why**\n\nA command that is moved to the background partway through can show output that looks finished when it isn't. The extra warning tells the model to wait for the command to complete before taking a step that depends on its result, rather than acting on incomplete output. The new field brings PowerShell into line with Bash.\n\n- Area: Subagents\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}