Stop a Planner workflow that is waiting on a Decisions question
Atomic pauses running and pending stages only, so Stop Planner on a run whose live stage was waiting on a question changed nothing, while the transcript said it paused. Read the workflow tool's reported status, and when a pause changes nothing, quit each live run instead: quitting keeps the run resumable, withdraws its open question from Decisions, and asks it again on resume. A run that neither pause nor quit can stop reports the failure in Chat. Assistant-model: Claude Opus 5.5 Assistant-workflow: inline Assistant-verification: bun test passed: 1755 pass, 2 PostgreSQL skips, 0 fail, including pause, quit fallback, and unstoppable-run failure Assistant-verification: bun run types passed: all workspaces Assistant-verification: bun run ci passed: dprint, oxlint, tokens, type scale, Impeccable (no new findings) Assistant-verification: agent-browser E2E failed before this change: Stop Planner on a run waiting in Decisions left the run card running User-preference: A pause in the Planner pauses its workflows and resume resumes everything Co-authored-by: Alex Lavaee <lavaman131@github.com>
Parent632df18
3 files changed+83-12
StackedSplit