Files
PaperClipAI/packages
Priya RamanandPaperclip 97879de951 fix(adapter-utils): bound the process-session wrapper with a host lease
A host crash left the scratch root on disk, so the remote process-session
wrapper polled its unchanged control directory forever and kept its child
alive. The host now writes and refreshes a lease file under sessionDir on
an unreferenced timer; the wrapper reads the lease as filesystem metadata
only (device, inode, modification time) on a monotonic clock, and
terminates itself once the lease stops moving past its duration.

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-08-26 23:06:46 +00:00
..