diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-01 15:56:47 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-01 15:56:47 -0500 |
| commit | 69d3313c39e739aab725ac9fbdd421620ae19d69 (patch) | |
| tree | 93ed9ed799462e559bbc03c6cd191aa430d69c42 /Biz/Dragons.md | |
| parent | b767491a8a0ef9b46c198a0584e8d43c2d17d87d (diff) | |
Add guardrail for repeated edit_file failures
Tracks 'old_str not found' errors from edit_file tool calls. After 5
consecutive failures, stops the agent to prevent burning tokens on
impossible edits.
This catches the pattern where the agent repeatedly tries to edit a
large file with incorrect old_str matches, which was the root cause
of t-222 exceeding its cost budget.
Task-Id: t-224
Diffstat (limited to 'Biz/Dragons.md')
0 files changed, 0 insertions, 0 deletions
