Repository navigation
fix(responses): stop marking native collaboration calls as plaintext - #15368
Merged
diegosouzapw merged 1 commit intoOct 6, 2026
Merged
diegosouzapw merged 1 commit into
diegosouzapw merged 1 commit into
Conversation
encrypted_function_args set to an empty array is the marker Codex uses for a call that was delivered as plaintext. The non-streaming translator stamped that marker onto every collaboration call, including ones that arrived already in Responses shape. The sanitizer also rebuilt each function_call without its namespace, status or encrypted arguments, and the stream path restored the identity without writing it back. Only a request that was translated from Chat into Responses gets the empty marker now. A native Responses call keeps the upstream fields as they arrived, and a changed identity is written back into the forwarded event. Signed-off-by: Minxi Hou <houminxi@gmail.com>
diegosouzapw
merged commit Oct 6, 2026
bf1f9e8
into
diegosouzapw:release/v3.8.52
43 of 51 checks passed
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
encrypted_function_argsset to an empty array is the marker Codex uses for a call delivered as plaintext. The non-streaming translator stamped that marker onto every collaboration call, including ones that arrived already in Responses shape.function_callwithout itsnamespace,statusor encrypted arguments, and the stream path restored the identity without writing it back into the forwarded event.Related Issues
Validation
node --import tsx/esm --test tests/unit/issue-15088-native-responses-collaboration-plaintext.test.ts(6 pass)eslinton the changed files, with the repo suppression filerelease/v3.8.52@23a1148486Tests Added Or Updated
tests/unit/issue-15088-native-responses-collaboration-plaintext.test.ts(added)Coverage Notes
encrypted_function_args, while a call translated from Chat still gets the marker.Reviewer Notes