Q-03: LangGraph Configuration
The graph internals. What does the 36-node, 3-unit LangGraph graph actually look like?
Scope: - State schema — full TypedDict with all keys
(nodes, units, access lists, output summaries, player prompts, staged
configs, routed context, decisions, history, turn counters). The omni
config. - Node functions — 36 stubs, wired to agent harnesses per Q-02.
What does each node do when activated? - Edges — hex adjacency topology.
Node state gating (locked/open based on prerequisites). Conditional
edges for revisit/deepen. - Checkpointer — SqliteSaver on Pi.
Serialization, thread safety, named checkpoints for save/load. -
Interrupt patterns — every node interrupts for player review.
Poller/stager subgraph for corrections. Curation subgraph for routing. -
Compilation — compile time on Pi 4 for 36 nodes + ~180 edges. Recursion
limit. - Streaming — stream_writer for live terminal output
on RG.
Depends on: Q-01 (where LangGraph runs), Q-02 (what agents it calls), Q-04 (how RG reaches it)