Files
PaperClipAI/server
DottaandClaude Opus 5.5 b7eb506eac fix(recovery): bound the invariant's 'pending' clauses for stale recovery state
The assigned-work invariant counted a task as pending forever when its
projection said system recovery was working, or when a wake sat deferred
behind a run that had already ended. Both were seen in the release-swap wave:
an undelivered fresh continuation and follow-ups never promoted after restart
recovery ended their run were reported OK and never repaired. 'Working' now
counts only within 20 minutes of the last run's end, and a deferred wake with
no live run only within 5 minutes of its creation; past that the task is a
violation and gets the sweep's one continuation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 19:36:32 -06:00
..