Skip to content

POC: Add Code Mode files tool golden tests#22525

Draft
lt-oai wants to merge 1 commit into
codex/file-tools-poc-03-toolsfrom
codex/file-tools-poc-04-code-mode-tests
Draft

POC: Add Code Mode files tool golden tests#22525
lt-oai wants to merge 1 commit into
codex/file-tools-poc-03-toolsfrom
codex/file-tools-poc-04-code-mode-tests

Conversation

@lt-oai
Copy link
Copy Markdown
Contributor

@lt-oai lt-oai commented May 13, 2026

Why

Reviewers need to see that this is wired through the regular Codex Code Mode harness, not only the Responses API/Python path.

What

  • Adds registry tests proving the files namespace is gated and handler-backed.
  • Adds Code Mode exec-description coverage for the flattened runtime names: files_copy, files_export_for_tool, and files_materialize.
  • Adds codex-tools coverage showing namespaced tools flatten into the Code Mode runtime shape.

Testing

  • cargo test -p codex-tools namespace_tools_are_flattened_for_code_mode_runtime
  • cargo test -p codex-core files_namespace_is_gated_by_experimental_supported_tool
  • cargo test -p codex-core code_mode_exec_description_includes_gated_files_tools
  • just fmt

@lt-oai lt-oai force-pushed the codex/file-tools-poc-04-code-mode-tests branch from 9d7cb3e to 97b8a13 Compare May 14, 2026 00:13
@lt-oai lt-oai force-pushed the codex/file-tools-poc-03-tools branch from 4d0a432 to 5477a17 Compare May 14, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant