{"version":"2.1.271","anchor":"new-hook-settlement-tracking-helper-lit","canonical_anchor":"new-hook-settlement-tracking-helper-lit","heading":"New hook-settlement tracking helper (Lit)","tier":"internal","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/new-hook-settlement-tracking-helper-lit","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### New hook-settlement tracking helper (Lit)\n\nNew internal helper tracks in-flight hooks per event and cleans up when they settle\n\n**Unclear.** What consumes this tracking or what behavior depends on it isn't stated.\n\n**What**\n\nA new internal function tracks hooks (commands Claude Code runs automatically at certain points) that are currently in flight, keyed by event and agent, with a `settle(kind)` call to mark completion and automatic cleanup when the tracking object is disposed.\n\n**Why**\n\nThis is bookkeeping infrastructure for coordinating hook execution, likely to help Claude Code know when all hooks for a given event have finished running.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}