feat: harden Responses gateway operations#4
Merged
Conversation
clutchpbcfo
marked this pull request as ready for review
July 23, 2026 04:59
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
create_threaddispatch, and release only before dispatchValidation
CODEX_BIN="$(command -v codex)" OPENAI_PYTHON_BIN=".../python" npm test— 35/35 passinggit diff --checknode --checkacross source, tests, and JS fixturesnpm audit --audit-level=high— 0 vulnerabilitiesnpm pack --dry-run --jsonNo Hyperagent credentials, real provider calls, live credits, deployment, or merge were used. Docker is not installed in the validation environment, so the image was not built locally.
Requires Hyperagent platform support
Exactly these remaining guarantees cannot be implemented from the documented OAuth MCP surface:
create_threadoutcomes and safe replay across gateway restarts.Until those exist, the bridge omits
usage, cancels local polling only, conservatively commits dispatched budget slots, and fails closed on indeterminate idempotent retries.