Skip to content

Preserve turn triggers across delegated agent work - #44659

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

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Preserve turn triggers across delegated agent work

Why

Delegated usage should retain the trigger of the turn that initiated it, including composer input and scheduled automation.

What changed

Propagate turn_trigger through agent spawning and follow-up messages in both multi-agent tool implementations. Apply the supplied trigger when pending mailbox work starts a new turn.

Testing

Extend tests to verify trigger propagation to spawned and nested agents, updated triggers on reused agents and peer follow-ups, and preservation of the active turn's trigger when steering.

## Why

Delegated usage should retain the trigger of the turn that initiated it, including composer input and scheduled automation.

## What changed

Propagate `turn_trigger` through agent spawning and follow-up messages in both multi-agent tool implementations. Apply the supplied trigger when pending mailbox work starts a new turn.

## Testing

Extend tests to verify trigger propagation to spawned and nested agents, updated triggers on reused agents and peer follow-ups, and preservation of the active turn's trigger when steering.

GitOrigin-RevId: e8fea208587c633fec7cb3f1c0815ff91d1a44e5
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e8fea208587c633fec7cb3f1c0815ff91d1a44e5 branch from e996abc to e004dc6 Compare September 10, 2026 22:26
@copyberry
copyberry Bot merged commit e004dc6 into main Sep 10, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e8fea208587c633fec7cb3f1c0815ff91d1a44e5 branch September 10, 2026 22:26
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 10, 2026
@dvinales
dvinales deployed to issue-triage September 10, 2026 22:32 — with GitHub Actions Active
@dvinales
dvinales deployed to issue-triage September 10, 2026 22:32 — with GitHub Actions Active
@dvinales
dvinales deployed to issue-triage September 10, 2026 22:32 — with GitHub Actions Active
@dvinales
dvinales deployed to issue-triage September 10, 2026 22:33 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
issue-triage — e004dc6a Deployed Sep 10, 2026 by dvinales via Identify potential duplicates (open issues fallback) #44497
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