writeonce/docs/stories/runtime-v2
shoney.arickathil 51addb504c docs(rv2-tls): brainstorm runtime-v2 9 (in-process TLS) to ready — hand-rolled
- decision: HAND-ROLL TLS 1.3 (no vendored lib) per developer call; keeps the
  zero-external-dep single binary, and raises risk rather than lowering it —
  recorded, owned, with mandatory mitigations
- 1.3-only; RSA-PSS/PKCS1 + ECDSA-P256 + full ASN.1/X.509 chain validation +
  trust store + hostname (the scope needed to reach real LLM APIs)
- decomposed into a bottom-up phase ladder: A AEAD (=rv2 8, forces AES-GCM
  there) -> B HKDF -> C X25519 -> D signatures/RSA -> E X.509 -> F record+FSM
  client -> G inbound server; C/D/E may each split into own iterations
- risk + test strategy section: constant-time, reference-tested (openssl +
  RFC 8448 vectors), negative tests first-class, no partial-trust states
- deps: rv2 8 (AEAD), lang 34 (SHA/HMAC), net.connect (110, landed). Board synced

(cherry picked from commit f1881cca8cd0cdd58b1ac844e3e3ea9c234bb99c)
2026-09-15 01:15:31 +02:00
..
00-story.md docs: jarvis track, runtime-v2 7/8/9, lang-41 fix design, fiber scope-gap 2026-09-15 01:15:31 +02:00
01-streaming-subprocess.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
02-pty.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
03-signals-as-events.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
04-termios.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
05-fd-passing.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
06-term-size-width.md feat(rt2): term.size + term.width — the wmux ladder's last runtime asks 2026-09-15 01:15:30 +02:00
07-observability.md docs: jarvis track, runtime-v2 7/8/9, lang-41 fix design, fiber scope-gap 2026-09-15 01:15:31 +02:00
08-symmetric-cipher.md docs: jarvis track, runtime-v2 7/8/9, lang-41 fix design, fiber scope-gap 2026-09-15 01:15:31 +02:00
09-in-process-tls.md docs(rv2-tls): brainstorm runtime-v2 9 (in-process TLS) to ready — hand-rolled 2026-09-15 01:15:31 +02:00