writeonce/docs/stories/language-runtime-database
shoney.arickathil fe56ba0944 docs: iteration 9d story -- keypair authentication for attach
- promotes 9c's identity fork to its own iteration: program identity
  is a keypair (first-boot generated into WO_DATA, 0600, printable
  fingerprint); A's [share] grants name PUBLIC KEYS, B pins A's key
  in [connect.a]; mutual challenge-response, fresh nonces, transcript-
  hash signing (protocol tag + fingerprints + nonces + channel)
- acceptance criteria: registered-key attach carries 9c rights
  unchanged; unregistered key refused pre-statement with fingerprint
  logged; same-uid-wrong-key refused (uid SUPERSEDED, not
  supplemented); impostor on A's socket path aborted by B's pinned-key
  check; handshake replay refused; rotation = manifest change
- four forks recorded: crypto provenance (lean: vendored compact
  Ed25519 as the one sanctioned vendored component), keygen home
  (lean: first-boot into WO_DATA), signed-transcript layout, uid
  survival (lean: keys only, peer-cred demoted to log enrichment)
- out of scope: transport encryption, CA machinery, key escrow,
  root-attacker protection
- plan folds into 9c's when specced (neither ships alone); 9c fork 3
  marked superseded-as-end-state; roadmap + board rows added

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 12:26:49 +02:00
..
00-story.md docs: iteration 9d story -- keypair authentication for attach 2026-08-15 12:26:49 +02:00
01-principles-doc.md language-runtime-database iterations 2026-08-07 19:36:49 +02:00
02-vm-core.md language-runtime-database iterations 2026-08-07 19:36:49 +02:00
03-compiler-front.md docs: compiler front-end specifications and plans (Tasks 2-6) 2026-08-10 09:11:04 +02:00
04-single-binary-e2e.md language-runtime-database iterations 2026-08-07 19:36:49 +02:00
05-language-surface.md docs: reprioritise to log-watcher-executable only; update stories and plans 2026-08-14 22:16:14 +02:00
06-program-mode-stdlib.md docs: reprioritise to log-watcher-executable only; update stories and plans 2026-08-14 22:16:14 +02:00
07-logwatcher-proof.md docs: reprioritise to log-watcher-executable only; update stories and plans 2026-08-14 22:16:14 +02:00
07b-inferred-gc-mark-sweep.md docs: borrow/GC analysis for the database engine, into the iterations 2026-08-15 09:57:53 +02:00
08-shard-actor-runtime.md language-runtime-database iterations 2026-08-07 19:36:49 +02:00
09-database-engine.md docs: borrow/GC analysis for the database engine, into the iterations 2026-08-15 09:57:53 +02:00
09b-table-relations-query.md docs: borrow/GC analysis for the database engine, into the iterations 2026-08-15 09:57:53 +02:00
09c-cross-program-tables.md docs: iteration 9d story -- keypair authentication for attach 2026-08-15 12:26:49 +02:00
09d-keypair-attach-auth.md docs: iteration 9d story -- keypair authentication for attach 2026-08-15 12:26:49 +02:00
10-http-service.md language-runtime-database iterations 2026-08-07 19:36:49 +02:00
11-fibers.md docs: story iterations 11-12 (fibers, blue-green deploy) 2026-08-10 09:58:52 +02:00
12-blue-green-deploy.md docs: story iterations 11-12 (fibers, blue-green deploy) 2026-08-10 09:58:52 +02:00