Skip to content
This repository was archived by the owner on Oct 1, 2026. It is now read-only.

v0.6.2

Choose a tag to compare

@pgermishuys pgermishuys released this 28 Feb 09:31
· 272 commits to main since this release

Fixed

  • Replace in-memory pendingInterrupt with persistent paused flag on WorkState — 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:

  1. Race condition: session.idle could arrive before tui.command.execute, so the flag wasn't set in time
  2. 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) sets paused: true on interrupt
  • resumeWork(directory) clears it on /start-work resume
  • checkContinuation returns null when paused, suppressing all continuation until explicitly resumed