Write it in CWL
Routes, handlers, Effects — only what we can claim yet.
Method
Every stack peels into one genome — CWL. Convert and Secure consume it. Recorded traffic decides what ships. AI drafts; unproven claims stay unlabeled.
Genome in the middle
Routes, handlers, Effects — only what we can claim yet.
Peel once, emit many. No special-case translator for every language pair.
Replay recorded production behavior. Mismatch = no ship — human or AI authored.
Six stages
Same spine for every origin language — depth of testing varies by pair (see the Hub).
Capture real requests, effects, and responses. That tape is the oracle — not a design memo.
Origin code to shared model. Or author routes directly in CWL when greenfield.
Agents suggest CWL and emits, flag uncertainty, reuse proven patterns (Intelligence Shorthand).
Modern stack (Hono / Fastify / etc.) or CWL for review. Unsure pieces stay unproven — never façades.
Side-by-side against step one. Same bar for AI drafts and human edits.
Mirror, then slice, then more. Any route rolls back the moment something looks wrong.