Skip to content

Select compatible workers before offload - #41

Merged
anthonyandrei merged 3 commits into
mainfrom
codex/issue-40-compatible-workers
Sep 5, 2026
Merged

anthonyandrei merged 3 commits into
mainfrom
codex/issue-40-compatible-workers

Conversation

@anthonyandrei

Copy link
Copy Markdown
Owner

Summary

Implements #40 by selecting a compatible worker only after adapter preflight verifies access, entitlement, billing, capabilities, and capacity.

  • Adds protocol 2 provider-neutral catalogs and normalized preflight records.
  • Adds deterministic selection with explicit-provider handling and pinned retries.
  • Adds atomic PowerShell and Bash capacity reservation ledgers with lifecycle reconciliation.
  • Keeps stale or unknown usage fail-closed unless an explicit provider selection permits disclosed uncertainty.
  • Fixes Codex inline JSON schema handling.
  • Updates adapter documentation, shared routing guidance, fixtures, and tests.

Verification

  • PowerShell model routing: 45 tests passed.
  • Review probe contract: 80 tests passed.
  • Capacity ledger checks passed.
  • Worker lifecycle: 67 tests passed.
  • Full Bash test matrix passed.
  • git diff --check passed.

@anthonyandrei
anthonyandrei merged commit b832e35 into main Sep 5, 2026
6 checks passed
@anthonyandrei
anthonyandrei deleted the codex/issue-40-compatible-workers branch September 5, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant