{"version":"2.1.300","anchor":"workflow-agents-prompt-rewrite-hook-and-sandboxed-hand-back","canonical_anchor":"workflow-agents-prompt-rewrite-hook-and-sandboxed-hand-back","heading":"Workflow agents can have their prompt rewritten, and hand-back warns in dontAsk mode","tier":"notice","area":"Workflows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/workflow-agents-prompt-rewrite-hook-and-sandboxed-hand-back","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Workflow agents can have their prompt rewritten, and hand-back warns in dontAsk mode\n\nWorkflow agents can start with a rewritten prompt that gets its own check, and handing a workflow back to a dontAsk session adds a warning\n\n**What**\n\nWorkflow agents are helpers that Claude Code starts as part of a workflow run. When one starts, its prompt may now be a rewritten version, and a rewritten prompt goes through its own check. The model the agent uses is now chosen with the knowledge that it is running inside a workflow.\n\nWhen a workflow is handed back to a session in `dontAsk` mode, a permission mode that never asks you for approval, Claude Code now adds this note: \"This session's permission mode cannot ask for approval, so the run will not continue in this session unless that call is already allowed.\"\n\n**Why**\n\nThis changes how workflow helpers pick their prompt and model. In `dontAsk` sessions the note explains why a handed-back run may stop.\n\n- Area: Workflows\n- Names: `dontAsk`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}