LangGraph Graph (Compiles and Runs — Verified on Pi)
Graph status: ✅ Compiles, 36 nodes, hex adjacency, MemorySaver checkpointer. Server running on port 8000.
Two invocations tested: - Sherpa moved to hex 02 (turn 2, position updated, state persisted) - Rif moved to hex 16 (locked — prerequisite hex 12 not completed, gating enforced)
State size: 16.9KB after 2 invokes with Hermes output.
State Schema (Omni Config)
GameState:
nodes: dict # 36 hex entries (merge reducer)
units: dict # 3 unit entries (merge reducer)
node_player_prompts: dict # corrections per hex (append reducer)
staged_configs: dict # poller → unit handoff
routed_context: dict # curation → target handoff
mission: dict # objective, criteria
decisions: list # upstream choices (append reducer)
turn_log: list # traceability log (append reducer)