Track deferred tool namespaces in world state - #35063
Merged
copyberry[bot] merged 1 commit intoJul 24, 2026
Merged
Conversation
## What changed - Add the disabled-by-default `deferred_tool_world_state` feature, which exposes deferred tool namespaces and their descriptions to the model in a `<tools>` world-state section. - Emit added and removed namespace updates as tool availability changes, bound the rendered context size, and persist nonempty state across thread resumes. - Omit empty tool state while retaining deferred tool discovery through `tool_search`. ## Testing - Cover initial, unchanged, removed, recovered, empty, and resumed namespace state, along with description truncation and rendered-size limits. GitOrigin-RevId: 867e599666dc3569eb0789ba78aaa40254253a6f
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/867e599666dc3569eb0789ba78aaa40254253a6f
branch
from
July 24, 2026 01:21
a798850 to
1d4b58f
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/867e599666dc3569eb0789ba78aaa40254253a6f
branch
July 24, 2026 01:22
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:22 — with
GitHub Actions
Inactive
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:22 — with
GitHub Actions
Inactive
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:22 — with
GitHub Actions
Inactive
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:24 — with
GitHub Actions
Inactive
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:24 — with
GitHub Actions
Inactive
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:24 — with
GitHub Actions
Inactive
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:24 — with
GitHub Actions
Inactive
JavierPiedra
temporarily deployed
to
issue-triage
July 24, 2026 01:25 — with
GitHub Actions
Inactive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Track deferred tool namespaces in world state
What changed
deferred_tool_world_statefeature, which exposes deferred tool namespaces and their descriptions to the model in a<tools>world-state section.tool_search.Testing