You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multi-phase workflow runs have no crash-resume; a crash restarts from zero #182
Multi-phase workflow runs have no crash-resume policy. recoverInterruptedRuns (electron/store.js:526) only marks a crashed "working" thread interrupted; workflow agents are explicitly one-shot ("no --resume" at electron/workflow.js:226, 365, 463, 549). A crashed Seed -> ... -> Synthesize run loses all phase progress and the user restarts from zero. BRAINSTORM §5 left "resume policy for half-finished phases" as an open question; PRODUCT-SPEC §5 M3 promised "reopen app, see last run state."
Impact
Long fan-out runs are exactly the expensive ones to lose, and they are the runs most likely to hit a crash window.
Fix direction
Persist per-phase completion state in the store; on restart offer "resume workflow from phase N" reusing finished phase outputs.
Slice landed on a worker branch (plan #824, uncommitted): crash recovery now fail-closes in-progress work-log items (including a mid-retry Plan agent 1 retrying line) so they cannot stay done:false forever.
The rest of this issue is still open: persist per-phase completion and offer resume from phase N. No CLI --resume (#815) and no user-facing Retry button.
Activity
currentbits commentedon Sep 2, 2026
Slice landed on a worker branch (plan #824, uncommitted): crash recovery now fail-closes in-progress work-log items (including a mid-retry
Plan agent 1 retryingline) so they cannot staydone:falseforever.The rest of this issue is still open: persist per-phase completion and offer resume from phase N. No CLI
--resume(#815) and no user-facing Retry button.Resume crashed multi-phase workflow runs from the interrupted phase (#…
Resume crashed multi-phase workflow runs from the interrupted phase (#…