{"version":"2.1.333","anchor":"headless-print-loop-new-mustgoon-component-and-refused-agen","canonical_anchor":"headless-print-loop-new-mustgoon-component-and-refused-agen","heading":"Non-interactive sessions wait on pending decisions and fail on refused agents","tier":"notice","area":"Headless Mode","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/headless-print-loop-new-mustgoon-component-and-refused-agen","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Non-interactive sessions wait on pending decisions and fail on refused agents\n\nNon-interactive sessions now keep running while a decision is pending, and fail a turn when a named plugin agent is refused\n\n**What**\n\nIn non-interactive mode, where Claude Code runs a request without a chat screen (for example with `-p`), the session now keeps going while one of these is still pending:\n\n- a decision a person has to make\n\n- a wait for the session to exit\n\n- a rejected rate limit status\n\nIf a turn names an agent from a plugin and that agent is refused, Claude Code now writes a warning to the error output and fails the turn. When the session ends, it also tidies up plugin syncing and MCP connections more completely.\n\n**Why**\n\nThis changes when non-interactive sessions stop, and when they fail because of a plugin agent.\n\n- Area: Headless Mode\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}