DeepSeek Harness Eval Bug Triggers Agent Infinite Loop, Tripling Cost

teortaxesTex · x · 2026-08-14

While evaluating DeepSeek Harness (dsh), BohuTANG discovered a critical agent policy bug: when grep returns an exit code 1 for zero matches, dsh treats it as a failure requiring investigation. This causes the agent to continuously create and fix additional verification steps even after tests have passed, trapping it in an infinite loop.

Under identical task, model, and reasoning configurations, this bug leads to massive resource waste:

Original post →

More from coding & agent

coding & agent channel →