07-24 What Should Not Live in Lyquor State?
Lyquor makes persistent state unusually convenient: network functions can update shared, versioned state, while instance functions can maintain node-local state. That convenience creates a design risk. If every order, observation, response, file, and audit record becomes state, both layers eventually inherit the cost of an unbounded database.
Our central judgment is: data belongs in state only when future execution, recovery, or validation of a future transition must read it as a current fact. Persistent data that fails this test needs a different home and a defined lifecycle; ephemeral data may not need persistence at all.