mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-20 09:50:48 +01:00
Treat unchanged unmerged PRs as unfinished delivery before status commit. Reuse the bounded continuation and recovery policy so reassessment does not repeatedly query GitHub through status-race retries. Lock source and destination tasks before work-product updates, including human updates. Re-read the product under those locks so restoring an archived PR cannot bypass the completion snapshot. Add four reassessment regressions and a real PostgreSQL lock regression. The five cases reproduced the previous failures. Server typecheck and six focused lifecycle/work-product suites pass after the fixes. Co-Authored-By: Paperclip <noreply@paperclip.ing>