{"version":"2.1.304","anchor":"shutdown-approval-refused-outside-a-teammate-session","canonical_anchor":"shutdown-approval-refused-outside-a-teammate-session","heading":"SendMessage now refuses sends it cannot deliver and shutdown approvals from non-teammates","tier":"notice","area":"Agent Teams","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304\/e\/shutdown-approval-refused-outside-a-teammate-session","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.304","markdown":"### SendMessage now refuses sends it cannot deliver and shutdown approvals from non-teammates\n\nSendMessage checks a message can be delivered before sending, and only a teammate session can now approve a shutdown request\n\n**What**\n\n`SendMessage` is the tool agents use to message each other. A teammate is an agent working alongside others in a team. Two new checks can now stop a send.\n\n- **Delivery check.** Before a message goes out, `SendMessage` now checks that it can be delivered. If it cannot, the send returns `success:false` with a message such as 'Teammate \"x\" was not messaged', or 'The main conversation was not messaged' when the target is the main conversation. Replies to a known shutdown request are exempt from this check.\n\n- **Shutdown approval.** Approving a shutdown now fails unless the session is running as a teammate. The error reads \"Only a teammate can approve a shutdown request, and this session is not running as one. Nothing was sent.\" and tells the caller to send a `shutdown_request` to the teammate instead. Before, there was no teammate check.\n\n- **Stopping itself.** A teammate running inside the same process that approves a shutdown now stops its own work loop directly, instead of going through the list of running tasks.\n\nThe stock `SendMessage` description in v2.1.304 is 4,259 characters, unchanged since v2.1.303, from a capture taken under this release.\n\n**Why**\n\nA session that is not a teammate can no longer approve a shutdown and exit itself by mistake. Messages that used to go through can now be refused, and the sender is told plainly that nothing was delivered.\n\n- Area: Agent Teams\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}