mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-08 12:33:05 +01:00
A warm (keep_running) native run that is cancelled releases its reusable sandbox through stop-and-retain. That release can finish before the cancelled-workspace preservation worker sees a terminal coordinator. The worker only accepted an active lease or a released ephemeral lease, so it never recorded the file recovery. The task workspace kept the ended writer's hold until the one-hour cutoff failed its successor runs. Accept a released reusable lease with a confirmed stop-and-retain receipt as a preservation source. The restore recorder still checks the receipt and the exact workspace binding, and keeps the lease status and receipts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>