Skip to content

feat: API fallback patch remediation for Codex outages#39

Merged
Pigbibi merged 2 commits into
mainfrom
feat/org-optimization-p4
Jun 27, 2026
Merged

feat: API fallback patch remediation for Codex outages#39
Pigbibi merged 2 commits into
mainfrom
feat/org-optimization-p4

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Unify Codex VPS and OpenAI/Anthropic fallback behind the same service patch contract and remediation core.
  • When review_and_fix runs and Codex service fails, API fallback can apply allowed file changes and open/update remediation PRs for all supported source repositories.
  • Add optional controls CODEX_AUDIT_API_FALLBACK_ALLOW_FIX and CODEX_AUDIT_API_FALLBACK_PROVIDER_ORDER.

Test plan

Made with Cursor

Pigbibi and others added 2 commits June 27, 2026 15:27
Co-authored-by: Cursor <cursoragent@cursor.com>
When Codex VPS is unavailable, OpenAI/Anthropic fallback now reuses the same
patch contract and remediation flow as the service backend so snapshot audits
and long-horizon shadow signal runs can still produce fix PRs.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Pigbibi Pigbibi merged commit 2da8871 into main Jun 27, 2026
1 check passed
@Pigbibi Pigbibi deleted the feat/org-optimization-p4 branch June 27, 2026 08:32
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