chore(compose): wire the agent tool-call budget caps through the composes (#672)

ROBOCO_AGENT_TOOL_CALL_HALT/_WARN were read by the in-container SDK
server and defined in config, but reached no compose environment stanza
and no .env.example — the third dead-on-arrival env var of this class.
Live consequence (2026-07-23): the 300-call default halted the
responsiveness-audit dev twice mid-task ("Agent budget exceeded;
terminating container"), releasing and respawning it in 300-call slices.
Defaults raised to halt=600/warn=200 in the build compose (registry
compose passes them through unset), matching the already-patched NAS.

Co-authored-by: Renn F <rennf93@users.noreply.github.com>
This commit is contained in:
Renzo F
2026-07-24 00:44:32 +02:00
committed by GitHub
co-authored by Renn F
parent f8b4a6755c
commit 08428208f8
4 changed files with 14 additions and 0 deletions
+8
View File
@@ -491,3 +491,11 @@ ROBOCO_EXTERNAL_PR_REQUIRE_HUMAN_CONFIRM=true
# CORS (comma-separated origins)
# =============================================================================
ROBOCO_CORS_ORIGINS=["http://localhost:3000","http://localhost:5173"]
# --- Agent tool-call budget (per session) ---
# Warn/halt thresholds for an agent's tool-call count; the halt gracefully
# stops the container and releases its task back to the pool. Audit-heavy
# tasks (page sweeps, big refactors) need headroom — 600 clears a real
# task's footprint while keeping the runaway guard.
ROBOCO_AGENT_TOOL_CALL_WARN=200
ROBOCO_AGENT_TOOL_CALL_HALT=600