◆The Codex: Your World's Memory
The Codex is the permanent, canonical memory bank of your world. Every rule, every fact, every truth about your universe lives here. The narrator treats the Codex as absolute law.
The Codex is created automatically when your world is born. The engine writes the foundational rules, genre constraints, and world logic based on your concept. You can edit it at any time to refine or expand.
›1. The Ultimate Authority
The Codex is the highest authority in your world. If the Codex says magic does not exist, the narrator will never introduce magical elements. If it says the government is a theocracy, every character will exist within that political reality.
What the Codex Contains
The Codex captures the foundational truths of your world:
- Genre and Tone - The rules of reality (is there magic? what technology level? what is the mood?)
- Core Conflicts - The central tensions driving your world
- Universal Rules - Laws of nature, society, or physics unique to your setting
- Major Factions - The organizations that shape the political landscape
- Economic Model - How trade, currency, and wealth work
›2. Fuelling the Art Forge
The Codex is also the source of truth for the Art Forge. When you generate a portrait or item image, the engine reads the Codex to ensure the art matches your world's aesthetic.
A world set in 1920s noir will never produce fantasy armour portraits. The Art Forge reads the Codex and locks the visual style to your genre automatically.
›3. Keep It Lean (Macro vs. Micro)
The Codex is designed for macro-lore - the overarching rules of the world. Not individual character backstories or specific item descriptions.
Good for the Codex:
- "Magic is dying. Only 3 Wellsprings remain."
- "The Syndicate controls all trade west of the Divide."
- "Technology is pre-industrial. No gunpowder."
Better left to play:
- Individual character backstories (tracked automatically)
- Specific item properties (tracked in the OmniCodex)
- Scene-level details (emerge naturally through play)
›4. A Living Document
The Codex evolves as your story progresses. After each chapter, the engine may append updates reflecting how the world has changed - a faction overthrown, a new truth discovered, a rule of nature broken.
You can also edit the Codex manually at any time. Add a new rule, refine an existing one, or correct something that does not match your vision. The narrator will instantly attune to whatever you write.