10 Steps Per Iteration
- Entity ID:
ent-20260419-37564726cc64 - Type:
concept - Scope:
shared - Status:
active - Aliases: query loop steps, iteration pipeline
Description
Fixed 10-step execution order each while-loop iteration in query.ts: Context Compression, Token Budget Check, Call Model API, Streaming Tool Execution, Error Recovery, Stop Hooks, Token Budget Check #2, Execute Tools, Attachment Injection, Assemble and Loop.
Key claims
- Each iteration runs 10 fixed steps in order
Relations
- 10 Steps Per Iteration --[uses]--> 5-Stage Compression Pipeline
- toolExecution.ts 14-Step Pipeline --[implements]--> 10 Steps Per Iteration
- 10 Steps Per Iteration --[uses]--> StreamingToolExecutor
- 1421-Line While Loop --[implements]--> 10 Steps Per Iteration