* chore(deps): bump the codex group across 3 directories with 2 updates --- updated-dependencies: - dependency-name: "@openai/codex-sdk" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump the codex group across 3 directories with 2 updates --- updated-dependencies: - dependency-name: "@openai/codex" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex - dependency-name: "@openai/codex-sdk" dependency-version: 0.164.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: codex ... Signed-off-by: dependabot[bot] <support@github.com> * fix(mcp): recover oversized responses before native stdio discard * refactor(plugin): share saved-result coverage and history helpers --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
Deep reducer paging eval
This optional model eval runs one reducer against synthetic persisted worker findings and a previous aggregate. It uses the pinned Codex CLI, its external code-mode host, the production reducer prompt, and the production artifact tool handlers. It does not launch a repository scan.
The fixture has a 32 MiB individual semantic field containing quotes, backslashes, newlines, and Unicode. Its old duplicated MCP response is about 114 MiB. The first input read deliberately returns that old response; all subsequent calls use the production paged implementation. The production stdio transport reports an explicit response-size error before Codex's native transport would discard the response and leave the request waiting.
The grader requires a smaller byte budget on the retry with the same cursor and reference, byte-bounded subsequent pages, one successful result submission, every source accounted for exactly once, complete original payloads matching their SHA-256 hashes, and preservation of the previous finding identity and synthesized history.
Install the SDK and MCP app’s locked dependencies using the repository's normal setup, then run from the repository root:
pnpm --dir sdk/typescript run build:evals
node --experimental-strip-types evals/deep-reducer/run.mts
The run uses the caller's normal Codex credentials and configuration and consumes model usage. An optional final argument selects a model; otherwise Codex uses its configured model. This eval is opt-in and does not run in CI. The model receives only the production reducer prompt and must discover and carry out recovery itself. The SDK does not expose every code-mode error event, so the grade relies on the observed oversized response, changed request, and saved result.
The command prints the path to an ignored directory under evals/deep-reducer/reports/ containing report.json, the compact tool-call trace, and the generated artifacts. The fixture is generated at runtime; no large payload files are checked in.
Deterministic regression test
The same fixture, real transport, and grading helpers live under plugins/codex-security/mcp-app/tests/support/reducer-paging/. The normal MCP test suite exercises both the production stdio response-size error and the native 64 MiB code-mode IPC error. The latter uses a local streamable HTTP MCP server so the oversized response reaches the later IPC boundary. Both cases require the same complete evidence preservation and recovery checks; neither simulates the error.
The tests use scripted model responses from a local HTTP provider, a private temporary Codex home, and no model credentials or external model requests. They additionally assert the actual transport diagnostics and check that the grader rejects missing input pages and collapsed independent findings.
Run that test directly from the repository root:
node --experimental-strip-types --test plugins/codex-security/mcp-app/tests/test_deep_reducer_paging_eval.ts