{"version":"2.1.302","anchor":"device-hooks-new-shelved-check-and-violin-amati-flag","canonical_anchor":"device-hooks-new-shelved-check-and-violin-amati-flag","heading":"Device hooks can now be shelved from the server even when account flags are on","tier":"internal","area":"Hooks","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302\/e\/device-hooks-new-shelved-check-and-violin-amati-flag","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.302","markdown":"### Device hooks can now be shelved from the server even when account flags are on\n\nDevice hooks setup gains an extra check that can stop registration even when both account flags are on\n\n**Unclear.** What the extra condition that shelves device hooks checks is not stated.\n\n**What**\n\nHooks are your own commands that Claude Code runs at set points. Device hooks register only after a check on your account. Before, that check passed whenever both account flags were on. Now, when both are on, Claude Code checks one more condition, and if it holds, registration stops and is recorded as shelved.\n\nWhen the account flags are not served, Claude Code still falls back to a single flag, tengu_violin_amati, which is off unless the server turns it on. In readings taken before this release, the server returned it on both for this site's account and for an anonymous one, a change from the reading before that.\n\n**Why**\n\nDevice hooks can now be switched off from the server even when both account flags are on.\n\n- Flag `tengu_violin_amati`: Off by default, switched on for this account (read for one account on one subscription tier against v2.1.302; this account: on, anonymous baseline: on, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 4\/5\n- Scope: both\n- Heads-up: no"}