Pi Server
The FastAPI server keeps:
GET /healthGET /state?thread_id=game-session-001GET /nodesPOST /invokePOST /resumePOST /checkpointPOST /reset
/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:
POST /route_contextstores pointer or curated context from one node output into a target node’s routed context.POST /unit/updateupdates an open Hermes agent’s model, harness, tools, trail context, access list, and block list.POST /node/updateupdates node prompt/default config and player correction metadata.