Skip to content

Support gateway-only deployments behind AWS HTTPS proxies - #1032

Open
ReganBell wants to merge 8 commits into
mainfrom
codex/fleet-gateway-session-auth
Open

Support gateway-only deployments behind AWS HTTPS proxies#1032
ReganBell wants to merge 8 commits into
mainfrom
codex/fleet-gateway-session-auth

Conversation

@ReganBell

@ReganBell ReganBell commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

A deployment using only a model gateway key and an HTTPS proxy in front of an HTTP AWS ALB cannot complete its first live session: Pi checks direct provider credentials before the gateway adapter runs, and the CLI attempts to deliver its sandbox package directly to the ALB over TLS.

This change resolves authentication for mapped models without registering a provider-wide gateway credential, routes signed layer requests through the configured HTTPS front door for HTTP origins, and forwards the required signature/capability headers in the AWS scaffold. Direct ALB TLS binding remains unchanged. Conformance now parses only tool.json descriptors, allowing tools to include executable and JSON installation assets.

Validation: gateway-only failure reproduced with a real AgentSession against a local HTTP streaming endpoint; 50 focused model tests, 54 deployment-layer/template tests, 114 AWS tests (including four focused transport tests), core and CLI typechecks, and focused lint pass. Independent review covered credential isolation, user-provider overrides, stale mappings, preserved model headers, TLS and redirect behavior, and installation assets. Live AWS validation is pending this exact candidate.

ReganBell and others added 3 commits September 9, 2026 15:58
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
@ReganBell
ReganBell marked this pull request as ready for review September 9, 2026 23:02
Co-authored-by: Codex <codex@openai.com>
@ReganBell ReganBell changed the title Honor gateway-only authentication in Pi sessions Support gateway-only deployments behind AWS HTTPS proxies Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant