fix(@projects/@claire): 🐛 update stale session cleanup logic
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
1d431b5056
commit
53d05cfd41
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue