Skip to content

fix(responses): lower ocx envelopes on native v1 compact (#8042) - #8151

Merged
lidge-jun merged 1 commit into
devfrom
fix/8042-compact-ocx-envelope
Nov 6, 2026
Merged

lidge-jun merged 1 commit into
devfrom
fix/8042-compact-ocx-envelope

Conversation

@Ingwannu

@Ingwannu Ingwannu commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

Canonical ChatGPT and official OpenAI native POST /v1/responses/compact sends forwarded OpenCodex-owned ocx1:/ocx2: compaction envelopes verbatim: src/server/responses/compact.ts only scrubbed the custom gateway send. The upstream then rejected the compaction with invalid_encrypted_content.

  • The non-gateway send now runs scrubOcxCompactionItems(compactBody, destinationDecodesNativeCompactionBlob(sendProvider), false), lowering the proxy envelopes to plain SUMMARY_PREFIX user messages exactly as ordinary /v1/responses turns and the gateway branch already do.
  • Native compaction blobs stay byte-identical on these decoding destinations; native-blob handling on account change stays with the existing account-change scrub.
  • structure/transports/responses.md: the "always lower" contract now explicitly covers native v1 compact and cites the regression test.

Refs #8042. This fixes the native v1 compact defect. The other half of the report (Desktop turns that may have bypassed the proxy after an incomplete startup journal recovery) needs the reporter's answers and is not addressed here.

Verification

  • New tests/responses/responses-native-compact-ocx-envelope.test.ts (canonical ChatGPT forward + official OpenAI API key), Bun 1.4.4: 2 pass. With the compact.ts hunk reverted: 2 fail (the upstream body carried ocx1:/ocx2: verbatim). Registered in layout-responses.json and test-layout-expected.json.
  • Focused run: the new test plus native-compaction-gateway, native-compaction-gateway-credentials, native-compaction-gateway-policy, native-compaction-provenance, native-compaction-oauth, compact-key-selection, responses-native-compact-search-history, responses-native-item-extensions-compact, responses-compaction-routing, tests/test-layout.test.ts, tests/test-layout-tooling.test.ts: all pass; tests/ci-workflows/structure-ssot.test.ts: 51 pass.
  • bun check --no-script --noEmit: no type errors in 2,312 files.
  • The full suite was not run locally (documented resource exception: shared host, focused regressions only under a capped cgroup). test changed and the remaining gates are left to PR CI.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Compact requests sent to supported endpoints now convert proxy-specific compaction envelopes into plain summary messages while preserving native compaction data. The original request remains unchanged.
  • Documentation
    • Clarified how compaction replay handles proxy-specific envelopes and native compaction data.

Canonical ChatGPT and official OpenAI native /responses/compact sends
forwarded OpenCodex-owned ocx1:/ocx2: compaction envelopes verbatim, so the
upstream rejected them as invalid_encrypted_content. Only the custom gateway
send lowered them. Run scrubOcxCompactionItems on the non-gateway send as
well, so the envelopes become plain user summaries like on ordinary turns,
while native blobs stay byte-identical for these decoding destinations.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Ingwannu
Ingwannu requested a review from lidge-jun as a code owner November 4, 2026 02:23
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

✅ Deterministic PR hygiene checks passed.

@github-actions github-actions Bot added the bug Something isn't working label Nov 4, 2026
@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

Non-gateway /responses/compact sends now lower proxy-owned ocx1: and ocx2: envelopes into summary messages while retaining native compaction blobs. Tests cover canonical and official API configurations and verify that the original request remains unchanged.

Changes: Compact Envelope Lowering

Layer / File(s) Summary
Non-gateway envelope lowering and verification
src/server/responses/compact.ts, tests/responses/responses-native-compact-ocx-envelope.test.ts, structure/transports/responses.md, scripts/test-layout/layout-responses.json, tests/fixtures/test-layout-expected.json
Non-gateway sends now scrub OpenCodex envelopes while retaining native compaction blobs. Tests check both endpoint configurations, serialized request contents, and preservation of the original request. The transport documentation and test mappings reflect the behavior.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: luvs01

Merge Risk: Minimal · up to 464e2

No actionable merge-blocking issue is established for this focused compact-request fix. Merge after normal checks pass.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: lowering OpenCodex ocx1:/ocx2: envelopes for native v1 compact requests.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 2 files. (3 skipped: 3 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between ad6a80e and 464e2a3.

Files selected for processing: 5
  • scripts/test-layout/layout-responses.json
  • src/server/responses/compact.ts
  • structure/transports/responses.md
  • tests/fixtures/test-layout-expected.json
  • tests/responses/responses-native-compact-ocx-envelope.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

@lidge-jun

Copy link
Copy Markdown
Owner

Maintainer integration into dev under MAINTAINERS.md (lidge-jun, admin).

  • Checked head: 464e2a3, mergeable, no open change requests or unresolved threads.
  • Exact-head CI: gates, test 1/4–4/4, ci, enforce-target pass; test changed skipped under full-shard selection.
  • Review: native v1 compact now lowers ocx1:/ocx2: envelopes; one-line change in src/server/responses/compact.ts with a focused regression test and owning structure doc.

Thanks @Ingwannu.

@lidge-jun
lidge-jun merged commit b9ddb31 into dev Nov 6, 2026
34 checks passed
@lidge-jun
lidge-jun deleted the fix/8042-compact-ocx-envelope branch November 6, 2026 01:44
jack-o-mania added a commit to alexalok/opencodex that referenced this pull request Nov 6, 2026
…20)

* feat: configure approval-review reasoning and allow native reviewers

* test: update response source guards for approval review effort

* fix(claude): normalize direct context overflow errors with parity coverage (lidge-jun#8148)

* fix(claude): normalize direct context overflow errors

* test(claude): cover generic overflow parity and document direct errors

Preserve the existing direct-encoder fix and cover four generic error codes across streaming and folded responses.

Verified tree matches local commit 25f1104c7631e713199de631505c1dba01ff49d3.

* test(messages): align generic overflow normalization expectations

* fix(responses): lower ocx envelopes on native v1 compact (lidge-jun#8042) (lidge-jun#8151)

Canonical ChatGPT and official OpenAI native /responses/compact sends
forwarded OpenCodex-owned ocx1:/ocx2: compaction envelopes verbatim, so the
upstream rejected them as invalid_encrypted_content. Only the custom gateway
send lowered them. Run scrubOcxCompactionItems on the non-gateway send as
well, so the envelopes become plain user summaries like on ordinary turns,
while native blobs stay byte-identical for these decoding destinations.

Co-authored-by: Ingwannu <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

* fix(codex): preserve pre-output hold across safe WS heartbeats (lidge-jun#8188)

* fix(codex): preserve pre-output hold across safe WS heartbeats

* test(codex): cover heartbeat cancellation and sequence bounds

* test(codex): assert the relayed refusal frame reaches the body

The parameterised "relayed in the body" cases only checked the status, so a
regression that dropped the frame would still pass. Assert the event marker and
message, and say in the transport contract that sequence_number is also bounded
to a non-negative safe integer.

* fix(terminal-guard): pass completion summaries that follow tool results (lidge-jun#8154)

* fix(terminal-guard): pass completion summaries that follow tool results

The Anthropic terminal guard read the latest user text and ignored tool
activity after it, so a normal turn (request -> tool calls -> tool
results -> short "done" summary) was classified suspicious_no_tool. The
relay then appended the plan-only nudge and re-asked the model, which
re-ran tools it had already run and repeated the cycle on every client
turn.

Tool calls or results after the latest user message now mark the turn as
already executed; only a renewed plan announcement (PLAN_INTENT_RE) is
still continued.

* fix(terminal-guard): stop the tool-activity pass at a stalled plan announcement

A text-only plan announcement after the last tool activity means the turn
stalled there, so a following completion is continued again, matching
recentTurnHasToolActivity. Pin the boundary for next-step wording: first-person
plans still continue, while a summary that suggests a next step to the user
passes.

---------

Co-authored-by: yazzang-homelab <[email protected]>

* fix(mistral): keep replayed images within each model's per-request cap (lidge-jun#8174)

Mistral rejects requests that carry more images than a model accepts,
counting the whole replayed history: most vision models refuse a ninth
image with HTTP 400, and DeepSeek V4.1 Flash answers an opaque HTTP 503
(code 3800) past 20. A screenshot-heavy session then fails on every turn.

For the first-party Mistral destination, messagesToChatFormat now keeps
the newest image_url parts within the model's cap and replaces older ones
with a text note naming the cap, in the outbound copy only. The cap is the
new modelCapabilities.<id>.mistralMaxImages axis: an operator declaration
over the measured rows on the mistral registry entry, else the documented 8.

Co-authored-by: Henry Fontanier <[email protected]>

* fix(openai-chat): flatten root tool schemas for Claude chat gateways (lidge-jun#8163)

* fix(openai-chat): flatten Claude gateway root tool schemas

Apply the supplied Claude Chat gateway compatibility patch to current dev.
Flatten root oneOf/anyOf/allOf by upstream model id while preserving nested
schemas and literal values. Keep existing Zen and Azure sanitization intact.

Cover root compositions, required fields, wire-model overrides, non-Claude
exclusion, nested schema preservation and input immutability. Register the
new suite in the existing providers layout shard and document the lossy
root normalization contract.

* fix(openai-chat): preserve Claude root reference arguments

Preserve own __proto__ argument names and resolve local root-branch ref
chains with a shared 64-dereference budget per tool schema. Keep nested
schemas and existing Zen/Azure handling unchanged. Preserve the original
composition for cyclic, missing, external, over-budget or nested-composition
references instead of emitting an incomplete flattened argument catalog.

Add regression coverage for local references, safety fallbacks, property
precedence and non-final Claude name segments. Clarify allOf required-field
promotion and reference limits in the public and architecture docs.

* fix(openai-chat): retain unread inline composition arguments

* fix(openai-chat): flatten empty nested property maps

* test(service): make service definition probes portable (lidge-jun#8201)

Co-authored-by: JUN <[email protected]>
Co-authored-by: Omar <[email protected]>

* fix(responses): join repeated tool outputs for one call (lidge-jun#8199)

* fix(responses): join repeated tool outputs for one call

Co-authored-by: tachyon6 <[email protected]>

* fix(chat): preserve late tool output chronology

* docs(chat): clarify repeated output folding boundary

---------

Co-authored-by: tachyon6 <[email protected]>

* fix(transport): release disposed SOCKS5 readers and timeout closures (lidge-jun#8203)

Co-authored-by: youhuangla <[email protected]>

* fix(claude): avoid retries for definite context overflow (lidge-jun#8211)

* fix(claude): avoid retries for definite context overflow

Co-authored-by: gitrvc-hub <[email protected]>

* fix(retry): reject negated overflow verdicts

* fix(claude): preserve overflow verdicts across sentences

* fix(claude): preserve verdicts across separate sentences

---------

Co-authored-by: gitrvc-hub <[email protected]>

* fix(antigravity): include Argon level with thought summaries (lidge-jun#8208)

Preserve suffix-only requests when summaries are hidden and reject inherited effort-map keys.

Co-authored-by: Andrew (agent) <[email protected]>

* fix(claude): preserve translated system cache boundary (lidge-jun#8212)

* fix(claude): preserve translated system cache boundary

Co-authored-by: Vadym O <[email protected]>

* fix(claude): retain cache boundary after identity normalization

* test(claude): cover mismatched system cache prefix

---------

Co-authored-by: Vadym O <[email protected]>

* fix(web-search): strip Lite marker from classic search (lidge-jun#8202)

* fix(web-search): omit lite marker from classic search

Preserve classic search wire semantics for configured and selected headers.

Co-authored-by: Ege Arhan <[email protected]>

* docs(web-search): explain classic sidecar header exception

---------

Co-authored-by: Ege Arhan <[email protected]>

* fix(web-search): report incomplete Anthropic search results (lidge-jun#8210)

* fix(web-search): report incomplete Anthropic search results

* fix(web-search): reject malformed Anthropic search frames

* fix(web-search): reject empty Anthropic stop reasons

* test(web-search): complete routed Anthropic search fixture

* fix(web-search): honor SSE controls and exact byte boundary

* fix(web-search): honor clean EOF at exact byte cap

* fix(web-search): separate consumer and upstream inactivity (lidge-jun#8213)

* fix(web-search): separate consumer and upstream inactivity

* fix(web-search): yield on synchronous empty chunks

* Preserve consumer timeout in image bridge

* test(messages): restore Windows fixture coverage (lidge-jun#8214)

* test(messages): fix Windows fixture path matching

* test(messages): prove sink and overlay execution

---------

Co-authored-by: JUN <[email protected]>

* docs(credits): record lidge-jun#8176 credit lost in lidge-jun#8214's squash (lidge-jun#8219)

* fix(responses): preserve adapter body stall status (lidge-jun#8200)

* fix(responses): preserve adapter body stall status

* docs(responses): describe adapter body stall failures

* fix(responses): preserve continuation stall status

* Preserve body stall across empty completion retry

* fix(tests): isolate Codex profile cases on Windows (lidge-jun#8217)

Co-authored-by: JUN <[email protected]>

* fix(tests): isolate Windows uninstall privilege scenarios (lidge-jun#8218)

Co-authored-by: JUN <[email protected]>

* fix(tests): pair Windows job store route fixture (lidge-jun#8225)

Co-authored-by: JUN <[email protected]>

* fix(tests): use native homes in systemd probe fixtures (lidge-jun#8226)

Co-authored-by: JUN <[email protected]>

* fix(models): list router-known IDs with effective metadata (lidge-jun#8215)

Carries lidge-jun#8187 by @ismell0992-afk.

Co-authored-by: ismell0992-afk <[email protected]>

* fix(gui): prioritize critical credits in quota summary (lidge-jun#8223)

* Prioritize critical credits in quota headline

Co-authored-by: Rafael Moreira Lima <[email protected]>

* Fix quota headline selection for custom label collisions

Co-authored-by: Rafael Moreira Lima <[email protected]>

* Strengthen unlimited credits quota summary fixture

Co-authored-by: Rafael Moreira Lima <[email protected]>

* docs: record quota headline precedence

Co-authored-by: Rafael Moreira Lima <[email protected]>

* fix(gui): index quota headline windows by label

Co-authored-by: Rafael Moreira Lima <[email protected]>

* docs: clarify critical credit precedence in translations

Co-authored-by: Rafael Moreira Lima <[email protected]>

* docs: describe quota window projection

Co-authored-by: Rafael Moreira Lima <[email protected]>

---------

Co-authored-by: JUN <[email protected]>
Co-authored-by: Rafael Moreira Lima <[email protected]>

* fix(update): validate configuration before stopping services (lidge-jun#8227)

Carries lidge-jun#8081 by @rrmlima.

Co-authored-by: Rafael Moreira <[email protected]>

* docs: keep merged provider reference within size limit

* ci: allow Linux shards time to finish the full suite

---------

Co-authored-by: Epinephrine <[email protected]>
Co-authored-by: ingwannu <[email protected]>
Co-authored-by: Ingwannu <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: jaekwonhong <[email protected]>
Co-authored-by: Lee SaYah <[email protected]>
Co-authored-by: yazzang-homelab <[email protected]>
Co-authored-by: Henry Fontanier <[email protected]>
Co-authored-by: Henry Fontanier <[email protected]>
Co-authored-by: lcxhh <[email protected]>
Co-authored-by: JUN <[email protected]>
Co-authored-by: JUN <[email protected]>
Co-authored-by: Omar <[email protected]>
Co-authored-by: tachyon6 <[email protected]>
Co-authored-by: youhuangla <[email protected]>
Co-authored-by: gitrvc-hub <[email protected]>
Co-authored-by: Andrew (agent) <[email protected]>
Co-authored-by: Vadym O <[email protected]>
Co-authored-by: Ege Arhan <[email protected]>
Co-authored-by: ismell0992-afk <[email protected]>
Co-authored-by: Rafael Moreira Lima <[email protected]>
alexalok added a commit to alexalok/opencodex that referenced this pull request Nov 20, 2026
…#41)

* fix(catalog): discover native Pool models on hubs (#40)

* fix(catalog): discover native Pool models on hubs

* fix(catalog): fence hub convergence against concurrent disable

* fix(catalog): project hub discoveries in client downloads

* fix(catalog): stop authenticated discovery after cancellation

* fix(catalog): preserve converged rows and align hub revision tracking

* fix(catalog): retain account selectors and cache projected revisions

* fix(link): hash catalogs with the serving config

* fix(catalog): omit disabled discovered account selectors

(cherry picked from commit e111ae1)

* fix(search): accept validated Hub bearer admission (#3)

* fix(search): accept validated Hub bearer admission

* test(search): shard admission layout registration

* test(search): align Reserve ingress with Hub bearer admission

---------

Co-authored-by: Codex <codex@localhost>
(cherry picked from commit f9206d4)

* Fix link management on IPv4 loopback aliases

(cherry picked from commit cbc48e3)

* Allow native GPT approval reviewers and configure reviewer reasoning (#20)

* feat: configure approval-review reasoning and allow native reviewers

* test: update response source guards for approval review effort

* fix(claude): normalize direct context overflow errors with parity coverage (lidge-jun#8148)

* fix(claude): normalize direct context overflow errors

* test(claude): cover generic overflow parity and document direct errors

Preserve the existing direct-encoder fix and cover four generic error codes across streaming and folded responses.

Verified tree matches local commit 25f1104c7631e713199de631505c1dba01ff49d3.

* test(messages): align generic overflow normalization expectations

* fix(responses): lower ocx envelopes on native v1 compact (lidge-jun#8042) (lidge-jun#8151)

Canonical ChatGPT and official OpenAI native /responses/compact sends
forwarded OpenCodex-owned ocx1:/ocx2: compaction envelopes verbatim, so the
upstream rejected them as invalid_encrypted_content. Only the custom gateway
send lowered them. Run scrubOcxCompactionItems on the non-gateway send as
well, so the envelopes become plain user summaries like on ordinary turns,
while native blobs stay byte-identical for these decoding destinations.

Co-authored-by: Ingwannu <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>

* fix(codex): preserve pre-output hold across safe WS heartbeats (lidge-jun#8188)

* fix(codex): preserve pre-output hold across safe WS heartbeats

* test(codex): cover heartbeat cancellation and sequence bounds

* test(codex): assert the relayed refusal frame reaches the body

The parameterised "relayed in the body" cases only checked the status, so a
regression that dropped the frame would still pass. Assert the event marker and
message, and say in the transport contract that sequence_number is also bounded
to a non-negative safe integer.

* fix(terminal-guard): pass completion summaries that follow tool results (lidge-jun#8154)

* fix(terminal-guard): pass completion summaries that follow tool results

The Anthropic terminal guard read the latest user text and ignored tool
activity after it, so a normal turn (request -> tool calls -> tool
results -> short "done" summary) was classified suspicious_no_tool. The
relay then appended the plan-only nudge and re-asked the model, which
re-ran tools it had already run and repeated the cycle on every client
turn.

Tool calls or results after the latest user message now mark the turn as
already executed; only a renewed plan announcement (PLAN_INTENT_RE) is
still continued.

* fix(terminal-guard): stop the tool-activity pass at a stalled plan announcement

A text-only plan announcement after the last tool activity means the turn
stalled there, so a following completion is continued again, matching
recentTurnHasToolActivity. Pin the boundary for next-step wording: first-person
plans still continue, while a summary that suggests a next step to the user
passes.

---------

Co-authored-by: yazzang-homelab <[email protected]>

* fix(mistral): keep replayed images within each model's per-request cap (lidge-jun#8174)

Mistral rejects requests that carry more images than a model accepts,
counting the whole replayed history: most vision models refuse a ninth
image with HTTP 400, and DeepSeek V4.1 Flash answers an opaque HTTP 503
(code 3800) past 20. A screenshot-heavy session then fails on every turn.

For the first-party Mistral destination, messagesToChatFormat now keeps
the newest image_url parts within the model's cap and replaces older ones
with a text note naming the cap, in the outbound copy only. The cap is the
new modelCapabilities.<id>.mistralMaxImages axis: an operator declaration
over the measured rows on the mistral registry entry, else the documented 8.

Co-authored-by: Henry Fontanier <[email protected]>

* fix(openai-chat): flatten root tool schemas for Claude chat gateways (lidge-jun#8163)

* fix(openai-chat): flatten Claude gateway root tool schemas

Apply the supplied Claude Chat gateway compatibility patch to current dev.
Flatten root oneOf/anyOf/allOf by upstream model id while preserving nested
schemas and literal values. Keep existing Zen and Azure sanitization intact.

Cover root compositions, required fields, wire-model overrides, non-Claude
exclusion, nested schema preservation and input immutability. Register the
new suite in the existing providers layout shard and document the lossy
root normalization contract.

* fix(openai-chat): preserve Claude root reference arguments

Preserve own __proto__ argument names and resolve local root-branch ref
chains with a shared 64-dereference budget per tool schema. Keep nested
schemas and existing Zen/Azure handling unchanged. Preserve the original
composition for cyclic, missing, external, over-budget or nested-composition
references instead of emitting an incomplete flattened argument catalog.

Add regression coverage for local references, safety fallbacks, property
precedence and non-final Claude name segments. Clarify allOf required-field
promotion and reference limits in the public and architecture docs.

* fix(openai-chat): retain unread inline composition arguments

* fix(openai-chat): flatten empty nested property maps

* test(service): make service definition probes portable (lidge-jun#8201)

Co-authored-by: JUN <[email protected]>
Co-authored-by: Omar <[email protected]>

* fix(responses): join repeated tool outputs for one call (lidge-jun#8199)

* fix(responses): join repeated tool outputs for one call

Co-authored-by: tachyon6 <[email protected]>

* fix(chat): preserve late tool output chronology

* docs(chat): clarify repeated output folding boundary

---------

Co-authored-by: tachyon6 <[email protected]>

* fix(transport): release disposed SOCKS5 readers and timeout closures (lidge-jun#8203)

Co-authored-by: youhuangla <[email protected]>

* fix(claude): avoid retries for definite context overflow (lidge-jun#8211)

* fix(claude): avoid retries for definite context overflow

Co-authored-by: gitrvc-hub <[email protected]>

* fix(retry): reject negated overflow verdicts

* fix(claude): preserve overflow verdicts across sentences

* fix(claude): preserve verdicts across separate sentences

---------

Co-authored-by: gitrvc-hub <[email protected]>

* fix(antigravity): include Argon level with thought summaries (lidge-jun#8208)

Preserve suffix-only requests when summaries are hidden and reject inherited effort-map keys.

Co-authored-by: Andrew (agent) <[email protected]>

* fix(claude): preserve translated system cache boundary (lidge-jun#8212)

* fix(claude): preserve translated system cache boundary

Co-authored-by: Vadym O <[email protected]>

* fix(claude): retain cache boundary after identity normalization

* test(claude): cover mismatched system cache prefix

---------

Co-authored-by: Vadym O <[email protected]>

* fix(web-search): strip Lite marker from classic search (lidge-jun#8202)

* fix(web-search): omit lite marker from classic search

Preserve classic search wire semantics for configured and selected headers.

Co-authored-by: Ege Arhan <[email protected]>

* docs(web-search): explain classic sidecar header exception

---------

Co-authored-by: Ege Arhan <[email protected]>

* fix(web-search): report incomplete Anthropic search results (lidge-jun#8210)

* fix(web-search): report incomplete Anthropic search results

* fix(web-search): reject malformed Anthropic search frames

* fix(web-search): reject empty Anthropic stop reasons

* test(web-search): complete routed Anthropic search fixture

* fix(web-search): honor SSE controls and exact byte boundary

* fix(web-search): honor clean EOF at exact byte cap

* fix(web-search): separate consumer and upstream inactivity (lidge-jun#8213)

* fix(web-search): separate consumer and upstream inactivity

* fix(web-search): yield on synchronous empty chunks

* Preserve consumer timeout in image bridge

* test(messages): restore Windows fixture coverage (lidge-jun#8214)

* test(messages): fix Windows fixture path matching

* test(messages): prove sink and overlay execution

---------

Co-authored-by: JUN <[email protected]>

* docs(credits): record lidge-jun#8176 credit lost in lidge-jun#8214's squash (lidge-jun#8219)

* fix(responses): preserve adapter body stall status (lidge-jun#8200)

* fix(responses): preserve adapter body stall status

* docs(responses): describe adapter body stall failures

* fix(responses): preserve continuation stall status

* Preserve body stall across empty completion retry

* fix(tests): isolate Codex profile cases on Windows (lidge-jun#8217)

Co-authored-by: JUN <[email protected]>

* fix(tests): isolate Windows uninstall privilege scenarios (lidge-jun#8218)

Co-authored-by: JUN <[email protected]>

* fix(tests): pair Windows job store route fixture (lidge-jun#8225)

Co-authored-by: JUN <[email protected]>

* fix(tests): use native homes in systemd probe fixtures (lidge-jun#8226)

Co-authored-by: JUN <[email protected]>

* fix(models): list router-known IDs with effective metadata (lidge-jun#8215)

Carries lidge-jun#8187 by @ismell0992-afk.

Co-authored-by: ismell0992-afk <[email protected]>

* fix(gui): prioritize critical credits in quota summary (lidge-jun#8223)

* Prioritize critical credits in quota headline

Co-authored-by: Rafael Moreira Lima <[email protected]>

* Fix quota headline selection for custom label collisions

Co-authored-by: Rafael Moreira Lima <[email protected]>

* Strengthen unlimited credits quota summary fixture

Co-authored-by: Rafael Moreira Lima <[email protected]>

* docs: record quota headline precedence

Co-authored-by: Rafael Moreira Lima <[email protected]>

* fix(gui): index quota headline windows by label

Co-authored-by: Rafael Moreira Lima <[email protected]>

* docs: clarify critical credit precedence in translations

Co-authored-by: Rafael Moreira Lima <[email protected]>

* docs: describe quota window projection

Co-authored-by: Rafael Moreira Lima <[email protected]>

---------

Co-authored-by: JUN <[email protected]>
Co-authored-by: Rafael Moreira Lima <[email protected]>

* fix(update): validate configuration before stopping services (lidge-jun#8227)

Carries lidge-jun#8081 by @rrmlima.

Co-authored-by: Rafael Moreira <[email protected]>

* docs: keep merged provider reference within size limit

* ci: allow Linux shards time to finish the full suite

---------

Co-authored-by: Epinephrine <[email protected]>
Co-authored-by: ingwannu <[email protected]>
Co-authored-by: Ingwannu <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: jaekwonhong <[email protected]>
Co-authored-by: Lee SaYah <[email protected]>
Co-authored-by: yazzang-homelab <[email protected]>
Co-authored-by: Henry Fontanier <[email protected]>
Co-authored-by: Henry Fontanier <[email protected]>
Co-authored-by: lcxhh <[email protected]>
Co-authored-by: JUN <[email protected]>
Co-authored-by: JUN <[email protected]>
Co-authored-by: Omar <[email protected]>
Co-authored-by: tachyon6 <[email protected]>
Co-authored-by: youhuangla <[email protected]>
Co-authored-by: gitrvc-hub <[email protected]>
Co-authored-by: Andrew (agent) <[email protected]>
Co-authored-by: Vadym O <[email protected]>
Co-authored-by: Ege Arhan <[email protected]>
Co-authored-by: ismell0992-afk <[email protected]>
Co-authored-by: Rafael Moreira Lima <[email protected]>
(cherry picked from commit e7fb410)

* feat(quota-pool): add tray read with pooled recovery and reset-credit expiry (#24)

Add the precomputed quota tray API, pooled recovery/blocking projections, identity-bound reset-credit expiry memo and updated Codex capacity weights. Preserve passive relay reads, email masking, current Claude identity gating and injected Codex snapshots.

Co-authored-by: Aleksei Chistiakov <[email protected]>
Co-authored-by: jack-o-mania <[email protected]>
(cherry picked from commit bec9317)

* feat(quota-pool): list per-account recoveries in the tray read (#35)

(cherry picked from commit 4fb7566)

* Merge pull request #36 from alexalok/alex/preserve-link-service-token

fix(service): preserve hub client token against stale environment

(cherry picked from commit 8471020)

* Refresh held key-provider quota after routed traffic (#39)

* fix(quota): refresh held key-provider reports after traffic

* refactor(quota): keep request log and test layout within size limits

* fix(quota): preserve traffic report ownership and reset observations

* fix(quota): discard retired traffic rows before aggregate collection

* fix(quota): narrow captured report cache in collection filter

(cherry picked from commit 4a9ef41)

* fix(test): retain only available provider layout entries

* test(windows): settle native startup in server fixtures (#30)

Owner-authorized release preparation: squash the fixture correction after successful exact-head PR CI and completed external Codex code/security reviews with a clean PR-opening reaction.

Reviewed head: 48263d5
CI: https://github.com/alexalok/opencodex/actions/runs/42848918887
Retains the approved #25 upstream baseline for 2.96.5.

(cherry picked from commit 70895c8)

* feat: expose explicitly granted read-only hub quotas

(cherry picked from commit 60a5062)

* fix: preserve healthy Anthropic hub quotas

(cherry picked from commit 1f49c43)

* fix: revalidate hub quota ownership before publication

(cherry picked from commit 3955a08)

* fix: deduplicate hub quotas using private snapshot identity

(cherry picked from commit 8fb10cc)

* fix: isolate Anthropic hub quota transport failures

(cherry picked from commit 8f57ad5)

* chore(release): carry reviewed fork qualification and publishing policy

Carry existing fork tooling from e111ae1. Preserve GitHub-only publication, exact-source qualification, authorized actors, disposable runners, and OCX_DISABLE_MACOS_CI. No release is dispatched.

* fix(backport): preserve quota counts and release-native refusal contract

* chore(release): prepare 2.100.11 on the aged 2.100.2 base

* fix(backport): retain classic compatibility and module size limits

* docs(backport): keep expanded files below size threshold

* fix(codex): require explicit benchmark model identity mappings

(cherry picked from commit 8dcf180)

* fix(gui): keep unknown budget row keys stable

(cherry picked from commit d34590d)

* fix(telemetry): withhold public aggregates without trusted identities

(cherry picked from commit 5f30569)

* fix(telemetry): withhold all unverified profile rankings

(cherry picked from commit 717229e)

* fix(telemetry): preserve reconnect state after delayed disconnect

(cherry picked from commit 62e3593)

* fix(telemetry): prevent submissions from recreating deleted profile rows

(cherry picked from commit 2ab5985)

* fix(telemetry): roll back profile creation when credential save fails

(cherry picked from commit 9d97126)

* fix(telemetry): publish initial profile credentials exclusively

(cherry picked from commit 93d304d)

* chore(release): complete fork feature carry-forward as 2.100.14

* test(backport): restore globals and align signing fixture

* fix(catalog): finalize reviewer policy on projected discoveries

* fix(quota): admit browser preflights before authenticated reads

* test(telemetry): retain dashboard privacy documentation contract

* test(quota): expect shared credential-free preflight response

* test(search): account for native owner admission state

---------

Co-authored-by: jack-o-mania <[email protected]>
Co-authored-by: Codex <codex@localhost>
Co-authored-by: jack-o-mania <[email protected]>
Co-authored-by: Epinephrine <[email protected]>
Co-authored-by: ingwannu <[email protected]>
Co-authored-by: Ingwannu <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: jaekwonhong <[email protected]>
Co-authored-by: Lee SaYah <[email protected]>
Co-authored-by: yazzang-homelab <[email protected]>
Co-authored-by: Henry Fontanier <[email protected]>
Co-authored-by: Henry Fontanier <[email protected]>
Co-authored-by: lcxhh <[email protected]>
Co-authored-by: JUN <[email protected]>
Co-authored-by: JUN <[email protected]>
Co-authored-by: Omar <[email protected]>
Co-authored-by: tachyon6 <[email protected]>
Co-authored-by: youhuangla <[email protected]>
Co-authored-by: gitrvc-hub <[email protected]>
Co-authored-by: Andrew (agent) <[email protected]>
Co-authored-by: Vadym O <[email protected]>
Co-authored-by: Ege Arhan <[email protected]>
Co-authored-by: ismell0992-afk <[email protected]>
Co-authored-by: Rafael Moreira Lima <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants