Repository navigation
feat: support exact package registry HTTPS origins - #11
Merged
Merged
Conversation
Add trusted Harness extraHTTPSOrigins for Claude and Codex prepared revisions, with bounded exact-host validation and credential-overlap rejection. Generate matching Harness and inline Agent schemas and cover compiler, schema and revision behavior. Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
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.
Claude and Codex workspaces cannot reach language-package registries through their compiled egress policy. Trusted Harness authors can now add
extraHTTPSOrigins: at most 32 exact DNS HTTPS:443 origins, normalized and deduplicated into prepared revisions. Wildcards, IPs, credentials, alternate ports, non-root paths and unsupported harness types fail validation. Origins that overlap an existing credential binding are rejected; package destinations add no credentials or runtime configuration.Generated standalone Harness and inline Agent schemas match their Helm copies. Documentation lists the six approved registry hosts and the whole-host scope of
storage.googleapis.com. Five existing lint findings files receive equivalent formatting or standard-library rewrites so full configured lint passes.Validation: translator/compiler and generated OpenAPI tests, repository generation, full lint, affected control-auth/controller/app checks, local envtest admission and complete control-auth/gRPC suites passed. The original missing-envtest-asset failure was resolved through the repository setup target; owned test fixtures are gone. Fresh pre-review and Astra final review accepted the frozen candidate before publication.
This implements compiler/API policy only. Infrastructure configuration and real package installation in both providers remain separate qualification gates.