diff --git a/scripts/sf-autonomous-watchdog.sh b/scripts/sf-autonomous-watchdog.sh index 9ebf3b3e7..24a4bf748 100755 --- a/scripts/sf-autonomous-watchdog.sh +++ b/scripts/sf-autonomous-watchdog.sh @@ -37,7 +37,13 @@ while true; do started_at=$(date +%s) echo "[$(date -u +%FT%TZ)] starting sf headless autonomous (timeout=${TIMEOUT_MS}ms)" >> "$LOG" - SF_DEBUG=1 timeout 1900 sf headless autonomous --timeout "$TIMEOUT_MS" --json \ + # SF_INLINE_DISPATCH=1 exercises M010/S03's inline-scope dispatch for + # validate-milestone / complete-milestone / reassess-roadmap (the curated + # INLINE_ELIGIBLE_UNITS set). For other unit types, falls through to the + # existing swarm path. Safe by default — the runUnitInline path is + # tested (M010/S01+S02+S03 tests pass) and gated by INLINE_ELIGIBLE_UNITS. + SF_DEBUG=1 SF_INLINE_DISPATCH=1 timeout 1900 \ + sf headless autonomous --timeout "$TIMEOUT_MS" --json \ > ".sf/watchdog-run-$(date -u +%Y%m%dT%H%M%SZ).log" 2>&1 exit_code=$?