ContriveAtlas
neostory-schema-set/22snapshot a59c206cec9d
Open Observatory

Engines · Game engine and authority

A pure game kernel explains every judgment; the authority decides what joins history

Versioned rules and admitted evidence enter a deterministic interpreter with no network, media, authorization, or UI dependencies. The gateway serializes commands, appends the resulting events atomically, and replicas rebuild the same state from accepted history.

Product · Engineering · Operations
DeclaredImplementedObservedPlanned
neostory-schema-set/22snapshot a59c206cec9d

Engines · Game engine and authority

A pure game kernel explains every judgment; the authority decides what joins history

Versioned rules and admitted evidence enter a deterministic interpreter with no network, media, authorization, or UI dependencies. The gateway serializes commands, appends the resulting events atomically, and replicas rebuild the same state from accepted history.

Product · Engineering · Operations11 nodes · 10 directed relationships

What this view establishes

The architectural commitments

  1. The kernel can be tested and reproduced from canonical inputs because it has no infrastructure side effects.
  2. A client may forecast a command locally, but only an authority-accepted event advances shared history.
  3. Explanations and state hashes are part of the durable receipt, not UI decoration reconstructed later.
  4. The Games tab on the web (2026-09-09) lists a person's own games and turns with the clip each turn was proven by, read as that person: the gateway's ownership scoping is the only 'mine', and every outcome is the kernel's accepted event, never re-judged in the browser.

Kernel boundary and command/event flow

04

Inputs

rulesetimplemented

Ruleset revision

Pinned mechanics, scoring and terminal conditions

sessionimplemented

Game session

Seats, phase, ruleset and accepted-event head

game-evidenceimplemented

Evidence submission

Reviewed semantic facts and exact revision pins

commandimplemented

Game command

Canonical intent against an expected state hash

02

Pure game kernel

interpreterimplemented

Deterministic interpreter

Pure domain rules over pinned records and evidence

judgmentimplemented

Judgment + explanation

Events, rule references and next-state hash

03

Admission and atomic resolve

admissionimplemented

Admission boundary

Authenticates actor and validates referenced evidence

serial-resolveimplemented

Atomic resolution

Locks session head, rejects races and evaluates once

kernel-registryimplemented

Domain kernel registry

Composition point selects trusted rules by contract

02

Durable history

game-eventsimplemented

Append-only events

Accepted transcript facts with canonical receipts

state-projectionimplemented

Replay projection

Clients and web rebuild identical game state

Command admission, pure interpretation and accepted event flow

InputsPure game kernelAdmission and atomic resolveDurable historyRuleset revision to Deterministic interpreter: pins behavior. implemented.Ruleset revisionDeterministic interpreter01 · pins behaviorimplementedGame session to Game command: names expected head. implemented.Game session → Game command02 · names expected headimplementedEvidence submission to Deterministic interpreter: admitted facts. implemented.Evidence submissionDeterministic interpreter03 · admitted factsimplementedGame command to Admission boundary: submits. implemented.Game commandAdmission boundary04 · submitsimplementedAdmission boundary to Atomic resolution: authorized intent. implemented.Admission boundary → Atomic resolution05 · authorized intentimplementedDomain kernel registry to Atomic resolution: selects kernel. implemented.Domain kernel registry → Atomic resolution06 · selects kernelimplementedAtomic resolution to Deterministic interpreter: evaluates once. implemented.Atomic resolutionDeterministic interpreter07 · evaluates onceimplementedDeterministic interpreter to Judgment + explanation: explains. implemented.Deterministic interpreter → Judgment + explanation08 · explainsimplementedJudgment + explanation to Append-only events: appends atomically. implemented.Judgment + explanationAppend-only events09 · appends atomicallyimplementedAppend-only events to Replay projection: replays. implemented.Append-only events → Replay projection10 · replaysimplemented

Connections and evidence

Open the 10-relationship source key

Numbers set an explanatory reading order. They do not measure runtime timing.

  1. 01

    Ruleset revisionDeterministic interpreter

    pins behavior

    implemented
  2. 02

    Game sessionGame command

    names expected head

    implemented
  3. 03

    Evidence submissionDeterministic interpreter

    admitted facts

    implemented
  4. 04

    Game commandAdmission boundary

    submits

    implemented
  5. 05

    Admission boundaryAtomic resolution

    authorized intent

    implemented
  6. 06

    Domain kernel registryAtomic resolution

    selects kernel

    implemented
  7. 07

    Atomic resolutionDeterministic interpreter

    evaluates once

    implemented
  8. 08

    Deterministic interpreterJudgment + explanation

    explains

    implemented
  9. 09

    Judgment + explanationAppend-only events

    appends atomically

    implemented
  10. 10

    Append-only eventsReplay projection

    replays

    implemented

Connections and evidence

10 directed, source-backed relationships

Numbers set an explanatory reading order. They do not measure runtime timing.

  1. 01

    Ruleset revisionDeterministic interpreter

    pins behavior

    implemented
  2. 02

    Game sessionGame command

    names expected head

    implemented
  3. 03

    Evidence submissionDeterministic interpreter

    admitted facts

    implemented
  4. 04

    Game commandAdmission boundary

    submits

    implemented
  5. 05

    Admission boundaryAtomic resolution

    authorized intent

    implemented
  6. 06

    Domain kernel registryAtomic resolution

    selects kernel

    implemented
  7. 07

    Atomic resolutionDeterministic interpreter

    evaluates once

    implemented
  8. 08

    Deterministic interpreterJudgment + explanation

    explains

    implemented
  9. 09

    Judgment + explanationAppend-only events

    appends atomically

    implemented
  10. 10

    Append-only eventsReplay projection

    replays

    implemented

What this view establishes

The architectural commitments

  1. The kernel can be tested and reproduced from canonical inputs because it has no infrastructure side effects.
  2. A client may forecast a command locally, but only an authority-accepted event advances shared history.
  3. Explanations and state hashes are part of the durable receipt, not UI decoration reconstructed later.
  4. The Games tab on the web (2026-09-09) lists a person's own games and turns with the clip each turn was proven by, read as that person: the gateway's ownership scoping is the only 'mine', and every outcome is the kernel's accepted event, never re-judged in the browser.
19 repository sources behind this view
  • Explorer/app/page.tsx
  • Sources/NeoStoryClient/GameAuthorityResolveCoordinator.swift
  • Sources/NeoStoryGameKernel/Evidence.swift
  • Sources/NeoStoryGameKernel/GameAuthorityContract.swift
  • Sources/NeoStoryGameKernel/GameInputs.swift
  • Sources/NeoStoryGameKernel/GameInterpreter.swift
  • docs/deployment.md
  • docs/game-application-roadmap.md
  • docs/game-authority-wave2.md
  • docs/game-kernel-g0.md
  • docs/game-lab.md
  • domains/skate/web/game-kernel.ts
  • fixtures/game-kernel-g1/README.md
  • fixtures/game-kernel-g1/conformance.json
  • gateway/src/neostory_gateway/authentication.py
  • gateway/src/neostory_gateway/game_authority.py
  • gateway/src/neostory_gateway/kernel_registry.py
  • gateway/tests/test_game_authority_postgres.py
  • schema/game-domain.schema-package.json