Skip to content

Move V2 agent message delivery into AgentControl - #45670

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a88bcede015a17f6c11c7cad95ee58add5dc2820
Sep 15, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/a88bcede015a17f6c11c7cad95ee58add5dc2820

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Move V2 agent message delivery into AgentControl

What changed

Extract target validation, runtime reloading, and message delivery from the V2 tool handler into AgentControl::deliver_message. Keep target resolution, analytics, and tool-facing error mapping in the handler.

Represent plaintext and encrypted payloads with AgentMessage, sharing communication construction with agent spawning. Preserve queue-only and follow-up turn semantics, target checks before reload, and turn metadata propagation.

## What changed

Extract target validation, runtime reloading, and message delivery from the V2 tool handler into `AgentControl::deliver_message`. Keep target resolution, analytics, and tool-facing error mapping in the handler.

Represent plaintext and encrypted payloads with `AgentMessage`, sharing communication construction with agent spawning. Preserve queue-only and follow-up turn semantics, target checks before reload, and turn metadata propagation.

GitOrigin-RevId: a88bcede015a17f6c11c7cad95ee58add5dc2820
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/a88bcede015a17f6c11c7cad95ee58add5dc2820 branch from c68a345 to 4415f98 Compare September 15, 2026 10:36
@copyberry
copyberry Bot merged commit 4415f98 into main Sep 15, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/a88bcede015a17f6c11c7cad95ee58add5dc2820 branch September 15, 2026 10:36
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 15, 2026

This branch was successfully deployed

1 active deployment
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.

2 participants