Skip to content

Phase B: Send absolute-form requests to Praxis and remove the egress listener #1726

Open

Description

@huang195

Part of #1714 · phase B · Section 7 (Phase B) · design in #1717 (docs/superpowers/specs/2026-11-07-praxis-mode-design.md)

Goal

When Praxis can dial the origin itself, remove the hairpin's throwaway parts.

Scope

  • The hop sends absolute-form requests over HTTP/1 (Request.WriteProxy on its own connection, because Go's Transport sends CONNECT for https://).

  • Remove the egress listener, X-Cortex-Dest and the catch-all router entry in gateway.yaml.

  • The gateway is then the dialer: cortex_attribution refuses a request without a valid token (403) before any dial.

Done when

  • Praxis mode passes the end-to-end tests with no egress listener.
  • Users of upstream_ca_bundle and upstream_insecure still work.
  • A tokenless absolute-form request never reaches the origin.

Depends on

Trigger: praxis-proxy/praxis#1479 and #1480 in a release. Also needed upstream first: a CA and verify option for forward-proxy origination, because #1480 uses the system roots only.

Assisted-By: Claude (Anthropic AI) [email protected]

Activity

  1. self-assigned this
    on Nov 7, 2026
  2. added
    laptop
    on Nov 7, 2026
  3. huang195 commented on Nov 11, 2026

    @huang195
    MemberAuthor

    Gate (decided 2026-11-11): #1785 must be done before this phase starts. #1785 puts PPE into cortex-gateway under --praxis and deprecates the Go CPEX plugin. See the Plan and Gates sections of #1714.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

laptop

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions