Skip to content

Add read-only HTTPS transport to the shipped learner gateway - #72

Draft
jsflax wants to merge 1 commit into
codex/canary-context-private-derivationfrom
codex/canary-learner-http
Draft

jsflax wants to merge 1 commit into
codex/canary-context-private-derivationfrom
codex/canary-learner-http

Conversation

@jsflax

@jsflax jsflax commented Nov 5, 2026

Copy link
Copy Markdown
Owner

The shipped Codex learner gateway currently rejects HTTP endpoints. Add an explicit HTTPS compatibility transport for read-only recall while retaining its existing supervised relay, policy callbacks, budgets and audit. Both the policy and child adapter reject write tools; native sealed execution is refused before network access until the hosted operation/receipt protocol is qualified.

Credentials are private-file and exact-endpoint bound. The adapter validates TLS, JSON/SSE framing, typed IDs, protocol/session headers and bounded concurrency/body/deadlines. It does not follow redirects, retry POSTs, resume streams or fall back to another endpoint. MCP2025-03-26/2025-06-18 are the supported compatibility lifecycle; the2026 metadata lifecycle is not implemented.

Validation:15 real loopback TLS + shipped gateway subprocess tests pass, including denied writes, server-request rejection, cancellation, malformed replies, capacity/timeouts, notification watchdog, redirect credential isolation, and pre-network durable refusal. Existing durable92 and legacy-policy38 tests pass; fenced relay5 pass and1 optional external native-fixture test is skipped. Root reviewed the exact four-file diff and evidence before commit.

Stacked on the privacy branch/#71. No standard memory_config resolver, per-fact router, remote writes/receipts or pending queue is enabled. No installed plugin/configuration/credential change, real Engram call, release or signing occurred; this is not M3 learner-write qualification.

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