Skip to content

Track multi-agent usage hints in world state - #37189

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a9c6798d5dc2dedc8dadc49e0a80ff50a757ab83
Aug 6, 2026
Merged

Track multi-agent usage hints in world state#37189
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a9c6798d5dc2dedc8dadc49e0a80ff50a757ab83

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 6, 2026

Copy link
Copy Markdown

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

  • 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.
## 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
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/a9c6798d5dc2dedc8dadc49e0a80ff50a757ab83 branch from 6051732 to 92b83e2 Compare August 6, 2026 00:22
@copyberry
copyberry Bot merged commit 92b83e2 into main Aug 6, 2026
29 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/a9c6798d5dc2dedc8dadc49e0a80ff50a757ab83 branch August 6, 2026 00:23
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

1 participant