Repository navigation
Use local system trust for native Harnesses - #622
Merged
SaladDay merged 1 commit intoOct 9, 2026
Merged
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.
Native HTTP client construction repeatedly read the sandbox CA bundle through remote File RPCs. The agent host now uses the image’s existing system CA bundle as the single source for its explicit gateway trust pool and a read-only mount at the same path in each view. This replaces the internal directory input; no settings, adapter fields, trust fallback, generated bundle, or cache are added. Native bundled trust stores and sandbox tool CA files remain unchanged.
A fixed no-model Codex two-request comparison removed 442 remote bundle reads. With 5 ms per File operation, first-request wait fell from 3.253 to 1.934 seconds and the next-request interval from 1.788 to 0.491 seconds. Stock image directory and bundle contain the same 150 DER roots; custom or disabled roots follow the generated system bundle. These are controlled measurements, not live latency guarantees.
Validation: focused Go tests, race, vet, cross-platform builds, hygiene, real read-only view and CLI checks, TLS trust/rejection, path conflict tests, translation checks, and fresh independent review passed. A broader MCP fixture failed its cgroup prerequisite on both baseline and candidate; that unrelated fixture was not changed. Final distribution and live qualification remain pending in the coordinated build batch.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.