Design the call before writing the prompt.
Build a linear first version of the customer journey, reorder steps, and export it for engineering review. Keep policy decisions and human escape routes visible.
next step
Attach a success condition and failure path to every tool
The linear flow is the review baseline. Production logic still needs timeouts, retry limits, invalid responses, tool failure, transfer failure, after-hours behavior, and a safe end state.