Skip to content

Include Node REPL policy in turn metadata - #38241

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c1f63426eeb8e559abff439fbc618716a4908aff
Aug 12, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c1f63426eeb8e559abff439fbc618716a4908aff

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Include Node REPL policy in turn metadata

What changed

  • Parse node_repl_auto_review_required and node_repl_disabled from model catalog entries and include their values in each turn's Responses API metadata.
  • Treat both fields as reserved metadata so client-provided values cannot override the selected model's policy.
  • Use the selected review model's catalog entry when building metadata for review turns.

Testing

  • Cover metadata propagation across model switches, review turns, Responses API requests, and MCP tool calls.

## What changed

- Parse `node_repl_auto_review_required` and `node_repl_disabled` from model catalog entries and include their values in each turn's Responses API metadata.
- Treat both fields as reserved metadata so client-provided values cannot override the selected model's policy.
- Use the selected review model's catalog entry when building metadata for review turns.

## Testing

- Cover metadata propagation across model switches, review turns, Responses API requests, and MCP tool calls.

GitOrigin-RevId: c1f63426eeb8e559abff439fbc618716a4908aff
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c1f63426eeb8e559abff439fbc618716a4908aff branch from 177311c to 74004b5 Compare August 12, 2026 19:39
@copyberry
copyberry Bot merged commit 74004b5 into main Aug 12, 2026
27 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c1f63426eeb8e559abff439fbc618716a4908aff branch August 12, 2026 19:40
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant