Repository navigation
feat(native-chat): Codex sessions write their subagents into the host status store #22553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1f424bd
refactor(native-chat): the Codex acquire names its turn-boundary meth…
brennanb2025 42bf8b4
feat(native-chat): Codex sessions write their subagents into the host…
brennanb2025 7513e36
fix(native-chat): close a Codex child's tool call by its item id alone
brennanb2025 4ccb972
test(native-chat): pin the Codex child-work evidence and every hop to…
brennanb2025 d88c397
test(native-chat): a Codex child's new run never inherits the last ru…
brennanb2025 b63cd14
test(native-chat): a Codex session with no child-work sink holds no e…
brennanb2025 bd28276
test(native-chat): deliver a Codex child's announcement twice, as Cod…
brennanb2025 4801fcb
refactor(native-chat): hand the Codex producer's pending edge over di…
brennanb2025 e342134
fix(native-chat): name every Codex turn state in the outcome map; typ…
brennanb2025 acf3516
fix(native-chat): a Codex child's turn ends on the error that ends it…
brennanb2025 91be06a
test(native-chat): a Codex child's turn ending by fatal error or thre…
brennanb2025 ba30b8b
test(native-chat): the Codex parity script reads a waiting child thro…
brennanb2025 9a6b75d
test(native-chat): a Codex child row's journal attempt is its record'…
brennanb2025 e7239f1
test(native-chat): a Codex session's end settles its live children an…
brennanb2025 b22661d
Merge remote-tracking branch 'origin/main' into brennanb2025/c4-codex…
brennanb2025 e930da1
fix(native-chat): a Codex subagent's shell is its open tool until the…
brennanb2025 754da3a
fix(native-chat): a Codex shell becomes a subagent's own work only on…
brennanb2025 6b2e70c
refactor(native-chat): child records keep every settled child and can…
brennanb2025 d85668e
fix(native-chat): a Codex command is live work from its start until i…
brennanb2025 77bf4ca
fix(native-chat): a Codex command whose approval its turn abandoned n…
brennanb2025 9ef9114
Merge remote-tracking branch 'origin/main' into brennanb2025/c4-codex…
brennanb2025 d514f6a
test(native-chat): start the Codex child-work runtime test without th…
brennanb2025 637397d
Merge remote-tracking branch 'origin/main' into brennanb2025/c4-codex…
brennanb2025 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thread/closedmay not be reachable while Orca holds the session. Codex emits it only from its "unload a thread with no subscribers" path, and Orca's connection is auto-subscribed to every thread it creates, including children — so a child's close may never notify us, leaving this arm defensive-only. Worth confirming with a live capture; if it cannot fire, a child whose only ending is a close still readsworkinguntil session end.Technical details