fix: raise observer turn budget

This commit is contained in:
Affaan Mustafa
2026-04-05 14:23:06 -07:00
parent 2ba1a550ca
commit 908116d736
2 changed files with 4 additions and 4 deletions

View File

@@ -170,17 +170,17 @@ Rules:
PROMPT
timeout_seconds="${ECC_OBSERVER_TIMEOUT_SECONDS:-120}"
max_turns="${ECC_OBSERVER_MAX_TURNS:-10}"
max_turns="${ECC_OBSERVER_MAX_TURNS:-20}"
exit_code=0
case "$max_turns" in
''|*[!0-9]*)
max_turns=10
max_turns=20
;;
esac
if [ "$max_turns" -lt 4 ]; then
max_turns=10
max_turns=20
fi
# Ensure CWD is PROJECT_DIR so the relative analysis_relpath resolves correctly