{"version":"2.1.335","anchor":"hooks-sessionstart-handlers-get-an-among-list","canonical_anchor":"hooks-sessionstart-handlers-get-an-among-list","heading":"Choosing which SessionStart hooks run has changed","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/hooks-sessionstart-handlers-get-an-among-list","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Choosing which SessionStart hooks run has changed\n\nClaude Code now picks SessionStart hooks differently when a session starts for any reason other than compaction\n\n**Unclear.** It is not clear how the set of SessionStart hooks that run changes.\n\n**What**\n\nA hook is a command you set up to run automatically at a certain moment. `SessionStart` hooks run when a session, meaning one conversation with Claude Code, begins or resumes. When a session starts for any reason other than compaction (shrinking an old conversation to save space), Claude Code now passes extra information when deciding which of these hooks to run.\n\n**Why**\n\nWhich `SessionStart` hooks run may differ from before in those sessions.\n\n- Area: Hooks\n- Names: `SessionStart`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}