query.ts Seven-Point Continue Map

Description

The complete documented set of seven recovery/continue points in Claude Code's core query loop: collapse_drain_retry (413 error triggers drain), reactive_compact_retry (still 413 -> full autocompact), max_output_tokens_escalate (8K hit -> 64K), max_output_tokens_recovery (>64K -> 'resume directly'), streaming_fallback (connection failure -> retry), stop_hook_blocking (hook error -> append to convo), token_budget_continuation (within budget -> auto-continue).

Key claims

Relations

Sources

src-20260419-16b155f4f619