{"version":"2.1.257","anchor":"hook-triggered-abort-now-unwraps-sub-agent-turn-controllers","canonical_anchor":"hook-triggered-abort-now-unwraps-sub-agent-turn-controllers","heading":"Hook-triggered abort now unwraps sub-agent turn controllers","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/hook-triggered-abort-now-unwraps-sub-agent-turn-controllers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### Hook-triggered abort now unwraps sub-agent turn controllers\n\nA hook interrupting a sub-agent or forked turn now aborts the real turn controller instead of doing nothing.\n\nWhen a `PermissionRequest`\/`PreToolUse` hook interrupts with `interrupt: true`, the abort logic now goes through a helper that unwraps a possibly-wrapped controller down to the underlying `turnController` before calling `.abort()`. This fixes cases such as sub-agent or forked turns where abort could be called on the wrong object and silently do nothing.\n\n- Area: Hooks\n- Names: `interrupt: true`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}