Skip to content

Remove the legacy code-mode tool metadata inventory - #37500

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

Remove the legacy code-mode tool metadata inventory#37500
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/cbfb9af984de71c7cc175d0cd47ae799a5275309

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 7, 2026

Copy link
Copy Markdown

Remove the legacy code-mode tool metadata inventory

What changed

  • Stop adding code_mode_tool_names to Responses Lite turn metadata.
  • Keep code_mode_tool_names reserved so client metadata cannot reintroduce the removed, unbounded inventory.
  • Use the opt-in tool_namespaces_info metadata, including each function's code_mode_name, when authoritative tool details are requested.

Testing

  • Update Responses Lite and code-mode tests to verify the opt-in namespace metadata and normalized code-mode names.

## What changed

- Stop adding `code_mode_tool_names` to Responses Lite turn metadata.
- Keep `code_mode_tool_names` reserved so client metadata cannot reintroduce the removed, unbounded inventory.
- Use the opt-in `tool_namespaces_info` metadata, including each function's `code_mode_name`, when authoritative tool details are requested.

## Testing

- Update Responses Lite and code-mode tests to verify the opt-in namespace metadata and normalized code-mode names.

GitOrigin-RevId: cbfb9af984de71c7cc175d0cd47ae799a5275309
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/cbfb9af984de71c7cc175d0cd47ae799a5275309 branch from e7dafc1 to 8e4b104 Compare August 7, 2026 20:26
@copyberry
copyberry Bot merged commit 8e4b104 into main Aug 7, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/cbfb9af984de71c7cc175d0cd47ae799a5275309 branch August 7, 2026 20:27
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 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.

3 participants