pub const MAX_ITERATIONS_CAP: u32 = 1000;Expand description
Upper bound on loop.max_iterations. The claude subprocess can be
fast (1ms per invocation in tests) so an unbounded max_iterations
combined with the default 1800s wall-clock budget could attempt
millions of iterations and grow the capture file past available disk
space before the deadline fires. 1000 is picked so a well-tuned loop
can still run many iterations while impossible pipe definitions get
rejected at validate time.