feat(agents-api): package private Codex harness with shared metadata access - #664
Merged
Merged
Conversation
SaladDay
marked this pull request as ready for review
September 16, 2026 23:43
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.
The existing daemon Go RPC can opt into a separately built, exact-pin Codex harness whose private metadata socket uses the same native EnvironmentManager as execution. This provides a deployable consumer of the qualified manager hook while retaining raw stdio and the native model/tool loop.
Validation on65c23cc7: full
make check467.67s on a clean unchanged tree; nine native tests including isolated dotenv/frozen-binding and open-stdin subprocesses; rustfmt/Clippy; release/source identity; actual binary startup, collision, framing, stalled-peer and EOF faults. Kimi real API workflow75.20s covers four ready owners, nine metadata observations, cancellation with independently observed command exit1.3042s, cold native history/files and released endpoint closure. The private provider-only fixture overlay preserves prompts and assertions. No public HTTP or query change requires separate OpenAPI/sqlc generation.Retained limitation: the initial MiniMax attempt failed with empty native tool arguments; the loss boundary is unresolved and remains queued. Local exit is not remote descendant retirement. Private metadata is not public Files, filesystem isolation or full protocol compatibility. Fresh independent full-diff review found no actionable issue. All15 final-head CI checks passed; the merged tree matches the verified candidate.