aboutsummaryrefslogtreecommitdiff
path: root/archive
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 06:43:45 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 06:43:45 -0400
commit11c054a9f4e34a35f778d8564b7c6d8158da8b21 (patch)
treec066b8704723bc55e727da1c64c027d5f7cef73c /archive
parent85fb34ed70ec59bba1436f19a463d6cd3f5cf006 (diff)
downloaddotemacs-11c054a9f4e34a35f778d8564b7c6d8158da8b21.tar.gz
dotemacs-11c054a9f4e34a35f778d8564b7c6d8158da8b21.zip
feat(ai-term): wrap-teardown + shutdown entry points for rulesets
Add the three headless functions the rulesets wrap-it-up workflow calls via emacsclient -e, since this module owns the aiv- session naming, the agent buffer, and the geometry restore. cj/ai-term-quit kills a project's tmux session and agent buffer and restores the layout, idempotent and safe when already gone. cj/ai-term-live-count returns the integer count of live aiv- sessions for the shutdown safety gate. cj/ai-term-shutdown-countdown re-checks that gate, then runs an abort-able run-at-time countdown in the echo area and, uncancelled, runs the shutdown command (a defcustom so tests stub it). Reuses the existing kill/close helpers. 13 ERT tests cover the live-count parsing, the quit kill-and-idempotency, and the gate-abort/cancel/tick logic; the tmux and shutdown side effects are manual. Claude-Session: https://claude.ai/code/session_01BqrdWUo9GcznYX2pZr76gZ
Diffstat (limited to 'archive')
0 files changed, 0 insertions, 0 deletions