Vibe Coding
Tip: a `SubagentStop` hook with a specific matcher was firing for every subagent whose agent type was empty
Claude Code 2.1.275 fixed `SubagentStop` hooks configured with a specific `matcher` firing for every stopping subagent whose agent type was empty, rather than only the matched type. If you built autonomous re-feed loops or per-agent-type cleanup on SubagentStop, your hook has been running on unrelated subagents and any counter or lock it maintains is wrong. Re-check hook state after upgrading rather than assuming the matcher was always honoured.
↳ Follow the thread