{"version":"2.1.333","anchor":"sessionstart-hooks-startup-wait-gated-by-two-flags","canonical_anchor":"sessionstart-hooks-startup-wait-gated-by-two-flags","heading":"Startup can wait for SessionStart hooks before the first turn","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/sessionstart-hooks-startup-wait-gated-by-two-flags","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Startup can wait for SessionStart hooks before the first turn\n\nClaude Code can now wait at startup for SessionStart hooks to finish, so their output reaches the first turn\n\n**What**\n\nA `SessionStart` hook is a command you set up to run when a session begins or resumes. Claude Code can now wait for these hooks to finish before it reads your first message at startup. If they are still running when the time limit passes, Claude Code goes ahead without them, and their output is added to a later turn instead.\n\nThe wait is skipped when any of these is present:\n\n- a required plugin\n\n- a mod\n\n- plugin hooks Claude Code does not recognise\n\nTwo switches that Claude Code reads from Anthropic's servers control it, one for a short wait and one for a full wait. Both are off unless they are switched on remotely, and when they are off there is no wait.\n\n**Why**\n\nWhen the wait applies, the first answer can take your `SessionStart` hook output into account instead of only seeing it a turn later.\n\n- Flag `tengu_lucky_forest`: Not enough to say (read for one account on one subscription tier against v2.1.333; this account: no value returned, anonymous baseline: no value returned, 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- Flag `tengu_zippy_pine`: Off in both readings (read for one account on one subscription tier against v2.1.333; this account: off, anonymous baseline: off, 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- Names: `SessionStart`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}