Skip to content

feat: support exact package registry HTTPS origins - #11

Merged
oldsj merged 1 commit into
mainloop-substrate-0-4from
mainloop-registry-egress
Oct 7, 2026
Merged

oldsj merged 1 commit into
mainloop-substrate-0-4from
mainloop-registry-egress

Conversation

@oldsj

@oldsj oldsj commented Oct 7, 2026

Copy link
Copy Markdown
Owner

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.

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>
@github-actions github-actions Bot added the enhancement New feature or request label Oct 7, 2026
@oldsj
oldsj merged commit aa0654b into mainloop-substrate-0-4 Oct 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant