mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-26 01:39:51 +01:00
After a candidate session.open failed, each same-run startup retry met the first launch's provider state in the run-scoped runner root (lifecycle closed, no identity, no turn) and runnerd refused it: "ACPX candidate cannot adopt a prior durable runner activation". Every attempt and every follow-up run ended that way instead of reporting the real cause. Before a local same-run bootstrap, the server now retires that root only when it provably never opened a provider session (this run's identity, no provider identity, no turn, no pending events, requests or calls, provider exit confirmed, no live runner process). Any root that opened a session is kept and the runner's candidate gate still refuses it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>