Files
PaperClipAI/server
DottaandClaude Opus 5.5 b76111e45f fix(recovery): repair a continuation whose delivery is stuck; an edited follow-up is not shown as read
- One module (recovery-continuation-bounds.ts) owns the hold bound (5 min)
  and the pending bound (hold bound + 2 min); the invariant, wake admission
  and delivery read both from it.
- Delivery: a continuation held past the hold bound is no longer skipped
  because another recovery run of its agent is queued.
- Admission: hasPendingFreshContinuation counts a record only within the
  pending bound. Past it a repair wake becomes the task's run; delivery's
  newer-run check settles the record as delivered by it (one successor).
- Opening note: only the comment revision the cut-off run read counts as
  read; a follow-up edited afterwards is listed as changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 20:50:08 -06:00
..