Add guardrail for repeated edit_file failures

t-224·WorkTask·
·
·
·Omni/Agent/Engine.hs
Created5 months ago·Updated5 months ago·pipeline runs →

Description

Edit

Track consecutive edit_file 'old_str not found' failures. After 3-5 failures on the same file, trigger a guardrail stop. This prevents the agent from burning tokens on impossible edits.

Git Commits

69d3313cAdd guardrail for repeated edit_file failures
Ben Sima5 months ago1 files

Timeline (2)

🔄[human]Open → InProgress5 months ago
🔄[human]InProgress → Done5 months ago