Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Plugin HooksArea: what it touches
Bug FixesKind: in v2.1.289,
Bug FixesSection of the release
What
Claude Code keeps a record of which hook started an agent. A hook is a plugin or user script that runs at set moments. Before, when no hook was involved, Claude Code left any existing record for that agent's id in place. It now deletes that record first.
Why
This is a small correctness fix. When an id is reused, the new agent is no longer wrongly credited to a hook that started an earlier one.