Add orchestrator timeout and resource limits

t-298.8·WorkTask·
·
·
·Omni/Ide/pi-orchestrate/sh.hs
Parent:t-298·Created1 month ago·Updated1 month ago

Description

Edit

The orchestrator can run indefinitely if pi hangs. Should add:

  • Per-iteration timeout (e.g. 10 minutes for coder, 5 for reviewer)
  • Overall timeout (e.g. 30 minutes total)
  • Maybe cost limits via OpenRouter budget

Currently we used 'timeout 600' in testing but this should be built into the script.

Timeline (2)

🔄[human]Open → InProgress1 month ago
🔄[human]InProgress → Done1 month ago