Skip to content

Resolve normalized tool name collisions in code mode - #36129

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a4acb57ce44e7de1398981b22af4b87e2a35870f
Jul 30, 2026
Merged

Resolve normalized tool name collisions in code mode#36129
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a4acb57ce44e7de1398981b22af4b87e2a35870f

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 30, 2026

Copy link
Copy Markdown

Resolve normalized tool name collisions in code mode

What changed

  • Track the first registered tool for each normalized code-mode identifier and use that tool consistently for dispatch metadata and model-facing code-mode declarations.
  • Skip duplicate normalized names when building the code-mode executor while preserving shadowed tools in the registry and direct tool exposure where applicable.
  • Cover collisions across dynamic and namespaced tools, direct and deferred exposure, code-mode-only operation, and Responses Lite metadata.

## What changed

- Track the first registered tool for each normalized code-mode identifier and use that tool consistently for dispatch metadata and model-facing code-mode declarations.
- Skip duplicate normalized names when building the code-mode executor while preserving shadowed tools in the registry and direct tool exposure where applicable.
- Cover collisions across dynamic and namespaced tools, direct and deferred exposure, code-mode-only operation, and Responses Lite metadata.

GitOrigin-RevId: a4acb57ce44e7de1398981b22af4b87e2a35870f
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/a4acb57ce44e7de1398981b22af4b87e2a35870f branch from 9a8c317 to c126f20 Compare July 30, 2026 10:29
@copyberry
copyberry Bot merged commit c126f20 into main Jul 30, 2026
32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/a4acb57ce44e7de1398981b22af4b87e2a35870f branch July 30, 2026 10:30
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 30, 2026
@aofei
aofei temporarily deployed to issue-triage July 30, 2026 11:08 — with GitHub Actions Inactive
@aofei
aofei temporarily deployed to issue-triage July 30, 2026 11:08 — with GitHub Actions Inactive
@aofei
aofei temporarily deployed to issue-triage July 30, 2026 11:08 — with GitHub Actions Inactive
@aofei
aofei temporarily deployed to issue-triage July 30, 2026 11:09 — with GitHub Actions Inactive
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.

5 participants