Typed state, routing and graph execution
medium 8 minA graph makes control explicit through nodes, edges and a state schema.
Where it shows up
The same pattern appears across everyday software.
Why a refund query entered the shipping branch
Record the original request independently from derived fields. This allows later inspection even when a rewrite changes the query. A node returns a state update and a validated edge chooses a declared destination. A compiled graph may still route incorrectly on an unseen input. Compare the expected edge with the run trace and inspect state before routing. This separates classification errors from retrieval errors in the selected branch.