Skip to content

Enforce gateway-only AI audit execution - #63

Merged
Pigbibi merged 1 commit into
mainfrom
codex/ai-g1-gateway-only-20260902
Sep 1, 2026
Merged

Enforce gateway-only AI audit execution#63
Pigbibi merged 1 commit into
mainfrom
codex/ai-g1-gateway-only-20260902

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • route AI audit completion exclusively through AIAuditGateway
  • fail closed when the gateway is unavailable, rejects the request, or returns a mismatched/empty provider
  • forbid custom completion clients, direct OpenAI/Anthropic HTTP calls, and local Codex subprocess fallback
  • keep deterministic crisis/TACO routing and execution controls unchanged

Safety boundary

  • AI remains shadow-only and cannot mutate routes, orders, allocations, or broker state
  • gateway failures emit stable sanitized outcomes
  • no production dependency or deployment change

Validation

  • PYTHONPATH=src python3 -m pytest -q — 203 passed
  • changed-file Ruff — passed
  • compileall — passed
  • git diff --check — passed
  • independent specification and quality review — passed

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit a261447 into main Sep 1, 2026
2 checks passed
@Pigbibi
Pigbibi deleted the codex/ai-g1-gateway-only-20260902 branch September 1, 2026 20:35
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