writeonce/docs/stories/language-runtime-database
shoney.arickathil 8789dcd482 docs: web framework + deps design — spec + iterations 15/16
Brainstorm outcome (forks locked with the developer):
- TLS: proxy-terminated (nginx/caddy gives browsers TLS+ALPN+h2; the
  framework speaks HTTP/1.1 behind it) — zero TLS in the toolchain, no
  doctrine fight; homegrown TLS refused outright.
- Dependencies: a real mini package manager — wo.toml [deps] with exact-rev
  git deps, wo.lock, .wo-deps cache, `use <dep>` as a module root; fetch by
  shelling to the git binary (no network code in woc); flat-only v1.
- HTTP/2: v1 is HTTP/1.1 keep-alive; h2c is the parked successor behind
  iterations 8/9f/11 (multiplexing needs a scheduler to pay off); the
  bytes/buffer type rides with it, not v1.
- Handler model: no function values by doctrine, so Handler/Middleware are
  structural interfaces (ICALL dispatch, WO-E205-checked); middleware returns
  ?Resp and rides the shipped ?T narrowing.
- Incubation: framework at docs/examples/writeonce-framework/, consuming
  storefront at docs/examples/web-app/ importing it THROUGH [deps] — the
  sample exercises fetch -> lock -> build -> serve -> durable-restart.
- Iteration 10 relationship: service blocks later LOWER ONTO this library.

Files: specs/2026-08-18-web-framework-design.md (A deps normative, B
framework normative, C h2c parked); stories 15-deps-package-manager.md +
16-web-framework.md; roadmap + board rows.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 19:07:16 +02:00
..
00-story.md docs: web framework + deps design — spec + iterations 15/16 2026-08-19 19:07:16 +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: iteration 7b migration — amend the normative docs (Phase 4) 2026-08-19 17:11:35 +02:00
08-shard-actor-runtime.md docs: performance arc as story iterations (9e measure, 9f io_uring) 2026-08-15 22:12:48 +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 feat: FK restrict on delete + employee sample runs; group-by parked (9b) 2026-08-16 18:37:23 +02:00
09c-cross-program-tables.md docs: employee-list sample -- program B's manifest pair (9c/9d target) 2026-08-15 12:34:19 +02:00
09d-keypair-attach-auth.md docs: employee-list sample -- program B's manifest pair (9c/9d target) 2026-08-15 12:34:19 +02:00
09e-durability-throughput-scale.md docs: performance arc as story iterations (9e measure, 9f io_uring) 2026-08-15 22:12:48 +02:00
09f-io-uring-commit.md docs: performance arc as story iterations (9e measure, 9f io_uring) 2026-08-15 22:12:48 +02:00
09g-query-grammar-corpus.md docs: iteration 9g story -- query grammar from real embedded-DB corpora 2026-08-16 19:28:25 +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
13-compile-time-metaprogramming.md docs: iteration 13 story -- compile-time metaprogramming (derive) 2026-08-16 04:57:00 +02:00
14-skillhost-host-workload.md docs: iteration 14 — skillhost as a host-shaped driving workload 2026-08-16 19:53:06 +02:00
15-deps-package-manager.md docs: web framework + deps design — spec + iterations 15/16 2026-08-19 19:07:16 +02:00
16-web-framework.md docs: web framework + deps design — spec + iterations 15/16 2026-08-19 19:07:16 +02:00