Skip to content

parley-deck-cli 1.19.0 — durable agent kill + liveness

Choose a tag to compare

@feci feci released this 06 Jun 22:51
· 36 commits to main since this release
680f5dc

Durable, cross-restart agent kill (+ truthful liveness)

Fixes "an agent shows running for days and can't be killed after a parley restart."

  • Kill survives a restart — each agent's process identity is persisted; a restarted or opened/resumed run can kill it from the TUI (these runs previously had no kill at all). ctrl+k works there now.
  • Reaps the whole tree — agents spawn in their own process group, so a kill takes out orphaned grandchildren (the real cause of "running for days"); timeouts group-kill too.
  • Never kills the wrong process — a strict fail-closed check (boot-id + microsecond start-time + process-group + session-leader + command) means a reused PID is never signaled; parley never signals its own group.
  • RUN vs STALE badge — see whether an agent is genuinely alive; ctrl+k on a stale one clears the hanging badge, and Home shows a stale-agent banner.

No new dependencies. macOS/Linux/Windows build-tagged (Windows durable kill refuses; live kill works). Verified with real-process tests on macOS (group kill, grandchild reap, tampered-identity refusal, live end-to-end durable kill).

Designed + reviewed via the full Parley Deck protocol (claude/codex/agy/hermes): Phase 6 found 2 CRITICAL + 4 MAJOR → fixed → all three reviewers ✅ ACCEPT.

Upgrade

brew update && brew upgrade parley-deck-cli

Windows binaries attached.