Repository navigation
Conversation
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
SDK preflight and CLI dry-run now report
configuredParentSessionThreadLimitfrom the effective Codex configuration, including the selected profile and CLI overrides. This optional field answers one before-start question in #25, which remains open.Changes
The positive integer counts the parent and its delegated subagent threads. Deep workers derive their own cap from
subagents, and direct execution may have no parent session. Actual dispatch, duration and cost depend on the scan. The CLI output schema declares the field as an optional positive integer. Literal dotted keys in an SDK override or project file can overlap the nested setting. In that case preflight omits the field because its effective value can depend on how Codex receives the configuration.Testing
preflight()entry point. These cover the default of nine, one parent thread, invalid limits, and a selected profile's limit of four with zero Deep worker subagents.Risk and rollout
The new field changes the shape of preflight output for callers using exact object comparisons. Invalid limits in an unambiguous configuration now fail during preflight. The scheduler continues to use the existing native configuration.
Prior work and attribution
Public disclosure review
The checklist records the original submission review. The follow-up review covered the new commits, their diffs, the PR description, comments, public links, and the cited test results.