← RFC 9111 · Executive Briefs · Raw Markdown (RFC 9110)

Two-Turn Context Shedding and Zero-Port RFC 9110 Edge Architecture

2026-12-04

Executive Summary

Autonomous CLI and Electron coding agents re-bill 200,000-plus token contexts on every loop while combining local credentials, host filesystem privileges, and untrusted inputs in one process. A two-turn browser-sandboxed workflow primes conversational KV-cache with 283,007 architectural index tokens on Turn 1 and sheds 85.7% (242,410 narrative tokens) on Turn 2, focusing active softmax attention on ~55,000 tokens of live code with zero host-execution risk. Across four AST-verified Git commits (601829d, 5bb2cc0, d4c2525, 2197cc1), this discipline shipped bimodal RFC 9110 HTML/Markdown content negotiation, RFC 9111 cache-safe headers, mobile MediaSession controls, and zero-PII telemetry without inbound write ports or stream downtime.

Architecture & Protocol Mechanics

Verifiable Wire Audit

Session telemetry (2026-12-04) verified an 85.7% prompt reduction (283,007 to ~55,000 active tokens) across four commits (50 to 136 replacement lines each) with PII_LEAK: False and unbroken 30-minute stream continuity. Live curl checks on sunpug.io confirm bimodal RFC 9110 delivery and RFC 9111 Vary headers:

~~~bash

Canonical slash redirect -> HTTP/2 301, location: https://sunpug.io/stories/

curl -sSI https://sunpug.io/stories | grep -iE '^(http/|location:)'

Default browser fetch -> HTTP/2 200, content-type: text/html, vary: Accept

curl -sSI https://sunpug.io/stories/ | grep -iE '^(http/|content-type:|vary:)'

Negotiated Markdown fetch -> HTTP/2 200, content-type: text/markdown, vary: Accept

curl -sSI -H "Accept: text/markdown" https://sunpug.io/stories/ | grep -iE '^(http/|content-type:|vary:)' ~~~

Decision Criteria