query.ts Seven-Point Continue Map
- Entity ID:
ent-20260419-d9dc01adb137 - Type:
concept - Scope:
shared - Status:
active - Aliases: continue map, 7-point continue map, query loop continue points
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
- query.ts is 1,730 lines and has 7 recovery continue points
Relations
- query.ts --[contains]--> query.ts Seven-Point Continue Map