Verified routines
Verified routines
Use createRoutineRunner({ verify }) with a host-built Agent for task-readiness and final-artifact gates. Waiting results retain a same-process continuation; resume requires renewed host authorization and retains the original task/deadline. asTool owns a fresh child across waiting. Read the complete recipe for scopes, bounded source recovery, cancellation and limits. Existing routine/session contracts retain their defaults.