Add negotiated session bootstrap identity to Codex 0.147 - #1
Open
matthewgapp wants to merge 3 commits into
Open
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.
Summary
Adds an optional, experimental, explicitly negotiated app-server capability for installing a one-shot, in-memory bootstrap identity into an idle loaded Codex thread:
thread/bootstrapIdentity/installwith strict parameters and a typed receiptCompatibility and product boundary
This is an optional experimental negotiated capability. It is advertised only to an app-server connection that enabled the experimental API; callers must typed-stop when it is absent.
Stock and backward-compatible Codex remain supported for their existing behavior, including existing read/resume operations. This change does not assume that an ordinary user-installed Codex exposes the new method.
This PR does not bundle, download, select, or install a default Codex binary. It contains no Blob repository integration, makes no E2E-fixture assumption, and performs no local product installation.
The source base is pinned to official Codex 0.147 commit
be6e8eac029b183056b7e4402879f15d2c85f61b. The PR head is the reviewed commitf8b6003c966517d8a2a3ac37de650ee22ab2d0d2.Validation
Focused and proportional proof on the pinned source:
cargo check --tests: passedcodex-app-server-protocolsuite: 286 passed, 1 ignored fixture writerBroad harness caveat: an unfiltered app-server library run is not claimed as passing. Its
message_processor::...turn_start_jsonrpc_span_parents_core_turn_spanstest stack-overflows in this local harness; the same failure was reproduced on the clean pre-repair parent, so the full protocol suite and focused serialized app-server E2E suite above are the reported executable proof.Non-goals