Track multi-agent usage hints in world state - #37189
Merged
copyberry[bot] merged 1 commit intoAug 6, 2026
Merged
Conversation
## Why Resumed sessions need the current multi-agent usage instructions when configuration changes or the saved history predates usage-hint tracking. ## What changed - Store multi-agent usage hints in world state and refresh changed or previously untracked hints before re-emitting the active multi-agent mode. - Present `wait_agent` polling guidance in the overridable developer instructions only when the tool is enabled, instead of embedding it in the tool schema. ## Testing - Cover cold resumes, changes to `wait_agent` availability, custom usage hints, message ordering, and tool-schema behavior. GitOrigin-RevId: a9c6798d5dc2dedc8dadc49e0a80ff50a757ab83
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/a9c6798d5dc2dedc8dadc49e0a80ff50a757ab83
branch
from
August 6, 2026 00:22
6051732 to
92b83e2
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/a9c6798d5dc2dedc8dadc49e0a80ff50a757ab83
branch
August 6, 2026 00:23
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 multi-agent usage hints in world state
Why
Resumed sessions need the current multi-agent usage instructions when configuration changes or the saved history predates usage-hint tracking.
What changed
wait_agentpolling guidance in the overridable developer instructions only when the tool is enabled, instead of embedding it in the tool schema.Testing
wait_agentavailability, custom usage hints, message ordering, and tool-schema behavior.