You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Terminal UIArea: what it touches
Bug FixesKind: in v2.1.284,
Bug FixesSection of the release
Unclear It is not certain that the check that now skips the command is exactly the one --bare mode uses.
What
subagentStatusLine lets you run your own command to rewrite rows in the subagent task display. A subagent is a helper Claude starts to work on part of a task. Claude Code now skips that command when the statusLine feature has been switched off by its check for restricted modes. Before, this check did not apply to it.
Why
In practice, --bare sessions (a minimal mode for scripts) should no longer run your subagent status line command.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up statusLine, on Customize your status line.Until you accept the workspace trust dialog, the status line stays blank. Because `statusLine` executes a shell command, Claude Code runs it under the same [workspace trust rule as hooks in settings files](/docs/en/permissions#what-runs-be…statuslinesee the edit
Confirmed sinceAnthropic's documentation has since written up subagentStatusLine, on Claude Code changelog.* Added `agentType` to the `subagentStatusLine` payload, so scripts can tell custom subagent types apartchangelogsee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not certain that the check that now skips the command is exactly the one `--bare` mode uses.
Anthropic's documentation agreesAnthropic's documentation has since written up subagentStatusLine, on Claude Code changelog.