devdesk end NAME run inside NAME leaves a ghost registry entry #3

Closed
opened 2026-10-07 20:04:26 -04:00 by jared · 0 comments
Owner

Source: engineering review, 2026-10-07.

bin/devdesk cmd_end calls kill-session before dd_registry_remove. Run from inside the session, the kill SIGHUPs the caller first, so the registry entry survives and the next attach resumes a session you ended.

Fix: remove from the registry first (as devdesk-claude-run already does), or trap '' HUP.

_Source: engineering review, 2026-10-07._ `bin/devdesk` `cmd_end` calls `kill-session` before `dd_registry_remove`. Run from inside the session, the kill SIGHUPs the caller first, so the registry entry survives and the next attach resumes a session you ended. **Fix:** remove from the registry first (as `devdesk-claude-run` already does), or `trap '' HUP`.
jared added this to the v0.5.0 hardening + header/phone milestone 2026-10-07 20:04:26 -04:00
jared added the bug label 2026-10-07 20:04:26 -04:00
jared closed this issue 2026-10-07 20:15:49 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/devdesk#3