Files
PaperClipAI/doc
DottaandClaude Opus 5.5 fe9a5e93cc fix(heartbeat): stop a comment the closing run already read from reopening its finished task
A person's comment posted during a run became its own queued run when the
running run was executed by another server (K15 overlap). The run read the
comment through get_task_history and finished the task, but nothing proved
that read. The queued run waited for an agent slot, was cancelled as a stale
continuation, and its message was saved again, reopening the done task for a
second completion turn.

- Record the comment revisions a native run's task-history read returned
  (run-log event task_history.read) and count a succeeded reader as delivery
  in deliveredQueuedCommentIds.
- Hold a comment behind a same-agent running run even when this process does
  not track that run, so the release drain settles it when the run finishes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 13:28:02 -06:00
..
…
…
…
…