Architecture

The Backend.

How a campaign survives past session five without forgetting who you are, what you broke, or who died.

Most tools fail at the same place, for the same reason: everything lives in one chat history. Canon, mechanics and current events all compete for the same context, and the longer you play the worse the competition gets. SEREN separates the engine into three concerns that never pollute each other.

The failure One history, growing until it drowns.
The symptom Session ten contradicts session three.
The fix Don't keep it all in one place.
Three layers

Separate concerns, separately stored.

Each layer answers one question and holds one kind of truth. Nothing in the world file changes because of a dice roll; nothing in the ledger argues with the rulebook. That boundary is what makes long play possible.

I The World
Canon.
Read-only · immutable

The bible. Factions and how they move, history, geography, characters, and a separate ledger of who knows which secret. Static files, injected when something in play actually references them — not carried in full, forever, as conversational sediment.

World bible Factions History Locations Secret ledger
II The Ruleset
The math.
Layered · swappable

5e today, with house rulings treated as part of the ruleset rather than as suggestions. The model narrates and adjudicates intent; the arithmetic stays bounded — DCs, damage, resources, the difference between a success and a failure. A ruleset is a layer over the architecture, not the architecture itself, which is why another system can sit in the same slot.

5e framework House rules Custom items New spells & races Other systems · planned
III The State
The live ledger.
Read-write · always moving

Everything that has happened and everything it set in motion. Faction positions, uncollected debts, who died and who knows they died, what was promised, what is still open. It updates as you play, in the background, and it keeps advancing between sessions — which is why the world has news for you when you come back.

Faction shifts Debts The dead Who witnessed what Open threads

Canon doesn't drift, because the thing that changes isn't the thing that's written down.

Cross-level compatibility

A level 11 character in a tier 1 world.

This normally breaks things — a character walks into a campaign built for a different power band and either trivialises it or evaporates. It breaks because most systems store the character and the world in the same place, so a mismatch has nowhere to be resolved. Here, the character is state and the power band is ruleset, and the two are reconciled rather than merged.

Downward · level 11 into tier 1
The world doesn't get easier. It gets more careful.

Encounter maths, faction caution and what people are willing to try against you are read off the state, not fixed at authoring time. The threats change hands. Nothing in the world file is rewritten to accommodate you.

Upward · level 3 into a high-tier world
You are simply small here.

The campaign is not scaled down to meet you. What changes is which doors are open, who will speak to you, and how far you get before the world notices — which is the honest answer, and the more interesting one.

What stays fixed
The economy of the world.

Prices, scarcity, distances, what a favour costs and what a life is worth stay internally consistent. A powerful character is rich relative to the setting; the setting doesn't inflate to match.

Migration is a reconciliation, not a rewrite.

Bringing a character in means resolving three things: what the ruleset says they can do, what the state says they've done, and what the new world already holds as true. Conflicts surface as questions rather than silent overwrites. Nothing is quietly deleted to make the numbers line up.

Transparency

It's a folder. You can read it.

There is no opaque memory to trust. The world, the ruleset and the state are structured Markdown — inspectable, correctable, diffable, and yours. If SEREN got something wrong, you can find the line and fix it.

A campaign, on disk
world/  canon, factions, secrets
ruleset/  5e + your rulings
state/  the ledger, session by session
All Markdown. Zips. Travels.
Auditable

Every change to the state is written down as a change, not absorbed into a summary. You can see when a faction moved and what moved it.

Portable

Plain text in, plain text out. Back it up, version it, hand it to someone else to run. Your notes stay your notes.

Correctable

A wrong fact is an editable line, not an argument with a model. Fix it once and the world is fixed.

Built like software.
Not like a chatbot.

SEREN AI is being built, and it has now run one full session against this architecture — which found four things wrong with it in an evening. The files are published. If the architecture is the part you care about, write to me — that’s the conversation I want to be having.