Skip to content

Use captured step settings when spawning subagents - #46075

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/068bdb744149048829cdaa68d254b62e96e6e6af
Sep 17, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Use captured step settings when spawning subagents

Why

After a settings update during an active turn, spawned agents could inherit the turn's initial model and reasoning settings. Effort-only overrides could also be validated against the wrong model.

What changed

Build child configuration from the invoking step's captured model, effective reasoning effort, and reasoning summary in both multi-agent versions. Validate effort-only overrides against that captured model's supported reasoning levels.

Testing

Add regression coverage for spawning after an active-turn settings update in both multi-agent versions, including effort-only overrides. Update configuration tests to check captured settings and the model's default reasoning effort.

## Why

After a settings update during an active turn, spawned agents could inherit the turn's initial model and reasoning settings. Effort-only overrides could also be validated against the wrong model.

## What changed

Build child configuration from the invoking step's captured model, effective reasoning effort, and reasoning summary in both multi-agent versions. Validate effort-only overrides against that captured model's supported reasoning levels.

## Testing

Add regression coverage for spawning after an active-turn settings update in both multi-agent versions, including effort-only overrides. Update configuration tests to check captured settings and the model's default reasoning effort.

GitOrigin-RevId: 068bdb744149048829cdaa68d254b62e96e6e6af
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/068bdb744149048829cdaa68d254b62e96e6e6af branch from a907ead to 800d183 Compare September 17, 2026 01:51
@copyberry
copyberry Bot merged commit 800d183 into main Sep 17, 2026
1 check passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/068bdb744149048829cdaa68d254b62e96e6e6af branch September 17, 2026 01:51
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 17, 2026
@wyd988928
wyd988928 deployed to issue-triage September 17, 2026 01:58 — with GitHub Actions Active
@wyd988928
wyd988928 deployed to issue-triage September 17, 2026 01:58 — with GitHub Actions Active
@wyd988928
wyd988928 deployed to issue-triage September 17, 2026 01:58 — with GitHub Actions Active
@wyd988928
wyd988928 deployed to issue-triage September 17, 2026 01:59 — with GitHub Actions Active

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