{"version":"2.1.334","anchor":"org-managed-hook-blocks-are-flagged","canonical_anchor":"org-managed-hook-blocks-are-flagged","heading":"Hook blocks that may come from your organization are now marked","tier":"notice","area":"Hooks","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/org-managed-hook-blocks-are-flagged","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Hook blocks that may come from your organization are now marked\n\nBlocked results now say a block may come from an organization-managed hook, through `mayBeOrganizations` and `blockedByOrganization`\n\n**What**\n\nA hook is a script that runs automatically at set points in a Claude Code session and can stop an action from going ahead. When an action is blocked this way, the result now records whether the block may have come from your organization rather than from your own setup.\n\n- `blockedByOrganization` is now set on the hook-blocking result when any of the blocking hooks has `mayBeOrganizations`. Before, only `blockedBy` was returned.\n\n- `succeeded: false`, `blocked: true` and `mayBeOrganizations: true` are now what a small result helper reports. Before, it reported the command as succeeded and not blocked (`succeeded: !0, output: n, blocked: !1`).\n\n**Why**\n\nA block can now be traced to an organization policy instead of looking like an ordinary success or a failure of your own hook. This could let Claude Code tell you that your organization stopped the action, and it may change how some commands report their outcome.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: both\n- Heads-up: no"}