Implement M9.6 narrow secure dev-session protocol

Add protocol v1: versioned, bounded frames (Hello, Welcome, Intent,
IntentResult, environment/organism views, Close) carrying session, epoch
and commit watermark, with an explicit little-endian canonical codec, a
header-first FrameReader, seeded mutation tests and a libFuzzer target.
SessionAdmission enforces world/region scope, grant lifetime and skew,
single-use grants, one session per subject, epoch, replay, tick window
and per-session rate.

Dev identity is a 108-byte HMAC-SHA256 grant (PSA) that cannot be
created or verified outside the dev environment. Transport security is
TLS 1.3 only via pinned Mbed TLS 4.1.1 LTS with TLS 1.2, DTLS, tickets
and PSK compiled out, AEAD suites, ECDHE groups and a pinned dev CA.
Opt-in EVO_BUILD_NETWORK, new network CI suite. Sockets and region
integration follow in M9.7. ADR-0082 records the decision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-01 18:53:55 -04:00
co-authored by Claude Opus 5.5
parent 9bb147de82
commit 8fbe093cc8
39 changed files with 3200 additions and 27 deletions
+8 -1
View File
@@ -416,7 +416,14 @@ M9.7. Evidence in engineering/VALIDATION.md.
controller/ownership fields, identical rendering for identical phenotypes,
alive/dead/removed handling, budgeted detail with explicit truncation, and an
opt-in rectangle-only engineering inspector under ADR-0081. ImGui is not adopted.
Evidence in engineering/VALIDATION.md. Next gate: M9.6.
Evidence in engineering/VALIDATION.md.
**M9.6 status (2026-10-01):** dev session protocol v1 (versioned bounded frames,
session/epoch/commit watermark, explicit little-endian codec), session admission
(scope, single-use grants, one session per subject, epoch, replay, tick window,
rate) and dev-only HMAC grants refused outside `dev`, over a TLS 1.3-only channel
with pinned Mbed TLS 4.1.1 LTS under ADR-0082. Sockets and region integration are
M9.7. Evidence in engineering/VALIDATION.md. Next gate: M9.7.
**Goal:** a native desktop cellular viewer/controller with input, camera, renderer,
readable organism/environment views and a real development-server connection.