Repository navigation
test(codex): choose task replies from request history - #665
Merged
Merged
Conversation
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.
Codex can discard a pending model reply when a peer task finishes and sends a native message. The stop-task fixture previously offered the child recovery command only on the fourth parent request; the next request returned ordinary text, so the parent completed without resuming the child.
Choose every parent action from the request's user input and completed tool results. A proposal interrupted before execution remains available; a recorded tool result prevents another execution. Child delays also follow the task payload. Request counters now serve only as diagnostics. Share this script with the native probe.
The native regression controls peer completion before and during the parent follow-up. It retains the exact two target requests, interrupted first turn, completed second turn, distinct turn IDs and usable parent and peer, and additionally requires exactly one native follow-up activity. The interrupted case observes repeated proposals with only one execution. Both cases retain raw requests and session records on failure.
Validation on Linux:
No product behavior, existing lifecycle assertion or timeout changes. macOS and Windows are left to this PR's CI. Task #194; diagnosis and rerun commands are in
experiments/task-controls/README.md.