Pi Server

The FastAPI server keeps:

/nodes exposes the current 36-node mission fixture, including topology, phase labels, full task text, prerequisites, unlocks, default config, routing metadata, and adjacency. /invoke enforces server-side movement rules before activating the selected graph node: known unit, known target, adjacent target, unoccupied target, and prerequisite-unlocked target. /resume handles accept, correct, skip, and deepen as review actions on that node.

Additional state mutation endpoints: