Home /Modules/http-4.0/PRODUCTION-GATES.md

PRODUCTION-GATES.md

http-4.0/PRODUCTION-GATES.md · 74 line(s) · markdown

HTTP 4.0 Production Gates and Implementation Plan

This document tracks work required before SLeeLa HTTP 4.0 can be described as production-ready. It intentionally distinguishes a reusable policy primitive from an integrated, tested production feature.

Gate 0 — Repository integrity and reproducible builds

Gate 1 — Complete frame payload schemas

Define and enforce a versioned payload schema for OPEN, DATA, END, RESET, WINDOW, PING, PONG, RESUME, and CAPSULE. Each schema must state:

Tests must prove that malformed control payloads are rejected before state mutation. Unknown control payload extensions must not be silently interpreted as known semantics.

Gate 2 — Persistent stream dispatch and flow control

The current reference server accepts one frame in each HTTP request. A production stream engine requires a persistent session/dispatch abstraction rather than attaching the current state model to a one-frame handler without lifecycle guarantees.

Required behavior:

Gate 3 — Authenticated carrier boundary

The current code is HTTP/1.x over TCP; it is not a QUIC implementation. Do not hand-roll QUIC or TLS in the frame parser.

Until this gate is complete, deploy only behind an independently authenticated transport and keep the native server loopback-only by default.

Gate 4 — Durable, authenticated resume

The current resume module provides policy checks and delegates verification to callbacks. Production requires an actual trusted implementation:

No default or placeholder verifier may return success in production configuration.

Gate 5 — Security validation and release evidence

Current disposition

HTTP 4.0 remains experimental / not production-ready. The HTTP 4.0 conformance workflow passed on commit 7a1b867148b039b66b50ae1604e2e005d33da6bf, but the repository-wide native portability workflow failed at SHA-256 verification on five files before compilation. See STATUS.md and native workflow run.