This started as an experiment while writing an interactive novel. The real problem I ran into wasn't writing the story, but keeping the structure understandable as the number of branches and conditions grew.
That's what led me to experiment with a declarative format where the prose stays separate from the runtime logic.
The reader runtime is intentionally simple (vanilla JS modules + DOM rendering) and the editor works locally in the browser using IndexedDB.
Happy to answer questions about the architecture or the Codex workflow if anyone is curious.