Skip to content

Accept bounded Azure opaque metadata and preserve reconciled failures - #11

Merged
k2jac9 merged 1 commit into
mainfrom
fix/openrouter-opaque-reasoning-20261109
Nov 9, 2026
Merged

k2jac9 merged 1 commit into
mainfrom
fix/openrouter-opaque-reasoning-20261109

Conversation

@k2jac9

@k2jac9 k2jac9 commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

The first controlled cohort stopped because Azure returned documented encrypted reasoning_details despite reasoning.exclude=true. Accept one strict, bounded Azure encrypted wrapper as inert response evidence; it is never decoded, replayed, or included in proposals. Plaintext reasoning, unknown formats/fields, tools, invalid usage and excess combined tokens remain refused.

Add audit-linked recovery for operator-reconciled failed charges. Reports retain the original failed receipt while distinguishing reconciled accounting, and reject missing or mismatched audit links. This does not resume a stopped cohort or reinterpret its proposal.

Validation: behavioral RED→GREEN checks, 304 standard-library Python tests and five viewer checks passed locally. All 12 hosted jobs passed, with 11 retained runtime identities covering stable, upcoming, previous and retained consumer lanes. The tested merge tree matches source commit 286bd95 and merged commit 8f589dc. Independent whole-diff review found no source blockers. Two external reconciliation-script findings were fixed and verified with synthetic rejection, optimized-execution and rollback probes. Offline replay verified response compatibility without changing historical results.

Evidence: local paired-pilot-20261109/iteration-reasoning artifact directory; hosted run https://github.com/k2jac9/fleet-witness/actions/runs/42584623223 . Existing unrelated SQLite ResourceWarnings remain recorded in full suite logs.

@k2jac9
k2jac9 marked this pull request as ready for review November 9, 2026 08:22
@k2jac9
k2jac9 merged commit 8f589dc into main Nov 9, 2026
24 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T08:23:06.080779Z 286bd95 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@k2jac9
k2jac9 deleted the fix/openrouter-opaque-reasoning-20261109 branch November 16, 2026 10:13
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