Skip to content

core: add tool-free thread mode#31922

Draft
river-oai wants to merge 1 commit into
mainfrom
river/thread-title-no-tools
Draft

core: add tool-free thread mode#31922
river-oai wants to merge 1 commit into
mainfrom
river/thread-title-no-tools

Conversation

@river-oai

Copy link
Copy Markdown

Summary

  • Add an opt-in tool_free feature for lightweight helper threads.
  • Prevent MCP startup and refresh work for tool-free sessions.
  • Skip skill, plugin, and tool enumeration, then enforce an empty tool router.

Why

Helper turns such as thread-title generation should not start unrelated MCP servers or expose tools they cannot use. A slow server can otherwise consume the helper's full timeout.

Validation

  • codex-features: 55 tests passed.
  • MCP refresh/runtime: 2 focused tests passed.
  • Tool planning: 28 tests passed.
  • cargo check -p codex-app-server passed.
  • Scoped Clippy and formatting passed.
  • Runtime control: the normal path started the configured MCP server and sent 11 tools; tool_free started no MCP server and sent zero tools.

argument-comment-lint is currently blocked because its pinned Rust 1.92 nightly cannot compile SQLx 0.9, which requires Rust 1.94.

@github-actions

github-actions Bot commented Jul 9, 2026

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.

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