Skip to content

Introduce declarative tool planning#22850

Merged
jif-oai merged 2 commits into
jif/nuke-cleanfrom
jif/tool-source-planner
May 15, 2026
Merged

Introduce declarative tool planning#22850
jif-oai merged 2 commits into
jif/nuke-cleanfrom
jif/tool-source-planner

Conversation

@jif-oai
Copy link
Copy Markdown
Collaborator

@jif-oai jif-oai commented May 15, 2026

Summary

  • add a generic ToolSetBuilder / ToolSet seam in codex-tools
  • refactor core tool planning into an explicit ordered pipeline over CoreToolPlanContext
  • keep ToolContributor at the extension API boundary and adapt already-materialized extension executors inside core planning

Test plan

  • cargo check -p codex-tools
  • cargo check -p codex-core --lib
  • cargo test -p codex-tools
  • cargo test -p codex-core spec_plan --lib
  • cargo test -p codex-core router --lib
  • just fix -p codex-tools
  • just fix -p codex-core
  • just fmt

@jif-oai jif-oai requested a review from a team as a code owner May 15, 2026 14:48
@jif-oai jif-oai changed the title Introduce declarative tool sources Introduce declarative tool planning May 15, 2026
@jif-oai jif-oai merged commit 5ad50a7 into jif/nuke-clean May 15, 2026
26 of 28 checks passed
@jif-oai jif-oai deleted the jif/tool-source-planner branch May 15, 2026 15:34
@github-actions github-actions Bot locked and limited conversation to collaborators May 15, 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