Why it matters

Interruption shapes user control. Understanding shapes design.

Advertisement

The architecture

Cancel signal to agent.

Agent stops + returns partial.

State cleanup + audit.

Agent interruption flowUser cancelsignalAgent stopsgraceful + partialState + auditcleanup + logCompletableFuture cancel + workflow signal (Temporal); log for analysis
Agent interruption.
Advertisement

How it works end to end

CompletableFuture cancel.

Workflow signal (Temporal).

State cleanup.

Audit log.