claw-code usize::MAX Iteration Policy
- Entity ID:
ent-20260419-497f05e9ffbb - Type:
decision - Scope:
shared - Status:
active - Aliases: unlimited max_iterations, no-turn-cap policy
Description
Deliberate claw-code design choice documented in PARITY.md: the Rust runtime sets max_iterations to usize::MAX (effectively unlimited) rather than imposing a turn cap like the TypeScript version. The Rust runtime does not apply a turn cap by default.
Key claims
- Rust runtime has no default turn cap (usize::MAX)
Relations
- claw-code PARITY.md --[contains]--> claw-code usize::MAX Iteration Policy