Debugging
When a run stalls, fails repeatedly, or produces unexpected results, Gump gives you several tools to understand what happened.The terminal display
During a run, Gump shows progress by turn — not by raw event. Each turn displays:Verbose mode
For detailed event-level output, add--verbose:
Error messages
Gump’s error messages are contextual. Depending on where the error occurs, they suggest the right next action: End of a failed run:--help appended to every error. Each message tells you exactly what to do next.
Reading the report
After a failed run, the report shows where things went wrong:Common issues
The agent runs out of turns without finishing — The guardmax_turns killed it. Either increase the limit or simplify the task (break the item into smaller pieces).
The gate keeps failing on test — Check gump report --detail to see the test stderr. The agent receives this on retry, but if the error is in the test infrastructure (not the code), the agent can’t fix it. Check your test_cmd in gump.toml.
The cost is higher than expected — Run gump report to see cost per step. Escalations are the main cost driver. If a cheap agent fails frequently, consider starting with a slightly more capable one to reduce retries.
The agent writes files it shouldn’t — The no_write guard should catch this for plan/artifact/review steps. For diff steps, use untouched: "glob" in the gate to enforce blast radius boundaries.