You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SubagentsArea: what it touches
ImprovementsKind: in v2.1.299,
ImprovementsSection of the release
Unclear The conditions under which a different working folder is refused are not stated.
What
A subagent is a separate helper agent that Claude Code starts to handle part of a task. When a subagent is asked to run in a different working folder (its cwd) and that is refused, Claude Code now stops before launching it and shows an error.
The message is either:
"Cannot run the agent in another directory: ... Start it without cwd."
"A plugin's agent.spawn hook set cwd on this spawn", when a plugin's hook asked for the different folder
Why
If you or a plugin start subagents in other folders, a refusal now shows up as a clear error at launch.
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 doubtThe conditions under which a different working folder is refused are not stated.
Anthropic's release notes agreeFixed the agent.spawn mod hook not running when a finished subagent or a killed teammate is resumed: the hook's event now carries resume…