This repository was archived by the owner on Oct 1, 2026. It is now read-only.
Repository navigation
v0.6.2
Fixed
- Replace in-memory
pendingInterruptwith persistentpausedflag onWorkState— eliminates race condition and one-shot consumption bugs in interrupt handling
Details
The previous interrupt fix (v0.6.1, commit c16e89a) used an in-memory boolean that had two bugs:
- Race condition:
session.idlecould arrive beforetui.command.execute, so the flag wasn't set in time - One-shot consumption: The flag was consumed after the first
session.idle, so subsequent idles resumed continuation despite the interrupt
This release replaces it with a persistent paused field in .weave/state.json:
pauseWork(directory)setspaused: trueon interruptresumeWork(directory)clears it on/start-workresumecheckContinuationreturns null when paused, suppressing all continuation until explicitly resumed