All systemsIsland MapFamilyQuestsSchemasDataDownload package

Build specification

State and Persistence#

Four layers#

LayerExamplesStoreMerge rule
Canonical worldfamily Actor goals/location, Project state, accepted Contributions, Portal topologyAGE graph + object registryversioned Commands only
Player-specificOrientation, quest progress, relationships, grants, interpretations, discovered mysterygraph + protected relational recordsSource/authorized Action; directional ownership
Instanceshard occupancy, current Pitch evidence, encounter composition, temporary puzzle placementsrelational/ephemeral service with checkpointsinstance authority; promote durable consequence by Command
Ephemeral visualcamera, hover, particles, animation phase, audio mixclient memorynever authoritative

Immutable Records/events preserve consequential transitions. pgvector stores permission-scoped semantic candidates, not authority. A double-entry ledger owns balances.

Persistence targets#

Critical Commands acknowledge after local transaction p95 <400 ms. Reconnect uses event cursor plus aggregate versions. Instance checkpoint every 15 seconds and on scene exit/confirmation. Pitch drafts save after each answer under selected retention. Portal moves, accepted Contributions, funding decisions, Ally permissions, and completion survive service restart and client reinstall when identity recovery succeeds.

Conflict and offline#

Offline-safe actions queue only when declared; financial, governance, membership, and permission changes require online reauthorization. Conflicts return current versions and a fresh preview. No last-write-wins for authority or relationships.