The hook query now falls back to checking in_progress beads assigned to the agent when no hooked beads are found. This ensures work is not lost when a session is interrupted after claiming work. Previously, gt hook only looked for status=hooked beads, so work that had been claimed but not completed appeared lost. The fix extends the query to also include in_progress beads assigned to the agent. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>