Iterative loop execution engine on tokio.
Run tasks for a fixed number of iterations, poll until a condition matches, or watch until timeout. Includes output truncation utilities for large tool outputs.
- Fixed — run N iterations
- Until — run until a break condition matches output
- Poll — run at intervals until condition or timeout
- Break conditions with pattern matching against output
- Safety bounds: max active loops, hard iteration limit
- Output truncation: cap at N lines or N bytes, overflow to temp file
MIT