Skip to content
Frozen copy retrieved 2026-08-18T20:05:00Z for audit 2026-08-19T02-59-02Z. Original URL: internal://scripts/operator_cycle.sh. The Stochastic Parrot does not host or redistribute; this snapshot exists solely so that quoted spans remain verifiable if the original page changes. Character offsets below index into this plain text; highlighted spans are the quotes cited in the audit.
The brain-fallback rule that caused the loop
scripts/operator_cycle.sh (before the fix, git blame on the removed logic) ·
back to the auditif [ "${PARROT_BRAIN:-claude}" = "deepseek" ] && [ -f "$0" ]; then _LAST=$(grep '"kind":"operator"' data/operator/cost_ledger.jsonl | tail -1); _LAST_TO=$(... .timed_out); _LAST_RC=$(... .rc); if [ "$_LAST_TO" = "true" ] || [ "${_LAST_RC:-0}" != "0" ]; then PARROT_BRAIN=claude; echo 'brain fallback: last cycle failed on deepseek -- this cycle runs on claude' >>"$LOG"; fi; fi -- the check asked only whether the LAST cycle failed, never on which brain, so a failed claude catch-up cycle was itself read as grounds to force claude again.