fix(agents): raise tool-call budget to 300 (halt) / 100 (warn) (#464)

* fix(agents): raise the tool-call budget — 150 halted legitimate work mid-task

Repeated budget-sweep bounces: a dev at the 150 ceiling gets its
container killed seconds after a real commit, burning a spawn and the
resumed agent's re-verification turns. 300 keeps the runaway guard while
clearing a real task's footprint; warn scales to 100.

* chore(docs): reflow hard-wrapped prose from the #401 merge

* chore(foundation): regenerate lifecycle artifacts; reflow inherited prose

---------

Co-authored-by: Renn F <rennf93@users.noreply.github.com>
This commit is contained in:
Renzo F
2026-07-11 09:21:19 +02:00
committed by GitHub
co-authored by Renn F
parent 20110debab
commit 53a028ec04
2 changed files with 8 additions and 4 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ from roboco.foundation.policy import agent_loop
# Canonical defaults the foundation guarantees. Asserting against named
# constants keeps the contract explicit (and keeps PLR2004 happy — these
# are not magic numbers, they are the public API surface).
EXPECTED_TOOL_CALL_WARN_AT = 50
EXPECTED_TOOL_CALL_HALT_AT = 150
EXPECTED_TOOL_CALL_WARN_AT = 100
EXPECTED_TOOL_CALL_HALT_AT = 300
EXPECTED_LOOP_THRESHOLD = 3
EXPECTED_LOOP_WINDOW = 10
EXPECTED_PM_RESPAWN_MAX_UNPRODUCTIVE = 3