From 53d05cfd41bad2e370fbe0cb905c59be1d6a69c0 Mon Sep 17 00:00:00 2001 From: Natalie Date: Tue, 2 Jun 2026 15:20:25 -0700 Subject: [PATCH] =?UTF-8?q?fix(@projects/@claire):=20=F0=9F=90=9B=20update?= =?UTF-8?q?=20stale=20session=20cleanup=20logic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- src/claire/orchestrator/bootstrap.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/claire/orchestrator/bootstrap.py b/src/claire/orchestrator/bootstrap.py index f6bf735..4c45ce8 100644 --- a/src/claire/orchestrator/bootstrap.py +++ b/src/claire/orchestrator/bootstrap.py @@ -578,11 +578,9 @@ def ensure_running( stale = True if not stale: return cfg.orchestrator.session_uuid - # Stale — kill the live session(s); fall through to spawn fresh. - try: - rcl.kill(match=slug, yes=True) - except RclaudeError: - pass # best-effort; spawn proceeds either way + # Stale — fall through to spawn fresh. The kill-before-spawn below + # tears down this live pane (one kill point for both the stale and + # orphan cases). # Snapshot pre-spawn session uuids at this cwd so discovery can ignore # stale disk JSONLs from previous Claude runs (Claude doesn't delete