Skip to content

fix(OperationsCenter): honor allowed-provider gate in worker-backend fallback - #472

Merged
ProtocolWarden merged 1 commit into
mainfrom
oc-watchdog/20260715-0058-allowed-backend-gate
Jul 15, 2026
Merged

fix(OperationsCenter): honor allowed-provider gate in worker-backend fallback#472
ProtocolWarden merged 1 commit into
mainfrom
oc-watchdog/20260715-0058-allowed-backend-gate

Conversation

@ProtocolWarden

Copy link
Copy Markdown
Owner

Summary

  • worker_backend_selector remote backend candidate selection now honors OPERATIONS_CENTER_ALLOWED_PROVIDERS; when policy disallows alternates such as codex_cli, no fallback candidate is returned.
  • Root cause: claude_code was in cooldown and gated to claude-only by policy, but the selector silently fell through to codex_cli anyway, producing repeated Stage planner received non-JSON from agent (session limit or error) failures on the goal lane (observed across 2026-07-15 watchdog cycles).

Test plan

  • pytest tests/unit/backends/test_worker_backend_selector.py tests/unit/backends/test_worker_backend_selector_cov.py -q → 48 passed
  • pytest tests/unit/er000_phase0_golden/ -q → 15 passed

@ProtocolWarden
ProtocolWarden merged commit e577712 into main Jul 15, 2026
25 checks passed
@ProtocolWarden
ProtocolWarden deleted the oc-watchdog/20260715-0058-allowed-backend-gate branch July 15, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant