{"version":"2.1.337","anchor":"guardlaststherun-and-iswholeturn-plumbing","canonical_anchor":"guardlaststherun-and-iswholeturn-plumbing","heading":"Groundwork for checks that cover a whole turn or a whole run","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/guardlaststherun-and-iswholeturn-plumbing","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Groundwork for checks that cover a whole turn or a whole run\n\nClaude Code now internally marks main-conversation tool calls as whole-turn calls and can mark a guard as lasting the whole run\n\n**What**\n\nWhen a tool call (one action Claude takes, such as reading a file or running a command) comes from the main conversation rather than from an agent, Claude Code now marks it internally as covering the whole turn. An agent here is a helper Claude starts to work on part of a task. Claude Code also has a new internal marker that says a guard lasts for the entire run. That marker is never saved to disk.\n\n**Why**\n\nThis looks like preparation for safeguards on delivering background events that stay in place for a whole run. It adds nothing you can switch on or use directly.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}