{"version":"2.1.327","anchor":"pre-started-spare-processes-skip-hooks-until-claimed","canonical_anchor":"pre-started-spare-processes-skip-hooks-until-claimed","heading":"Hooks do not run in spare background processes until they are claimed","tier":"soon","area":"Sessions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/pre-started-spare-processes-skip-hooks-until-claimed","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Hooks do not run in spare background processes until they are claimed\n\nPre-started spare processes now skip hooks until they become a real session\n\n**What**\n\nHooks are commands you configure to run automatically at set points in a session. Claude Code can start spare processes in advance so background sessions open faster. Until one of these spares is claimed as a session, it now runs no hooks. This covers three cases:\n\n- The spare has not been claimed\n\n- The spare is partway through being claimed\n\n- The claim failed\n\nBefore, hooks were only skipped in workspaces you had not trusted.\n\n**Why**\n\nYour hooks no longer fire in warm spare processes that are not yet doing any work for you.\n\n- Flag `tengu_bg_spare_enable`: Not enough to say (read for one account on one subscription tier against v2.1.327; this account: no value returned, anonymous baseline: no value returned, compiled default: on) 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: Sessions\n- Tier: Nothing to try yet\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no\n- Present in the build but not switched on"}