diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-24 06:43:45 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-24 06:43:45 -0400 |
| commit | 11c054a9f4e34a35f778d8564b7c6d8158da8b21 (patch) | |
| tree | c066b8704723bc55e727da1c64c027d5f7cef73c /modules/httpd-config.el | |
| parent | 85fb34ed70ec59bba1436f19a463d6cd3f5cf006 (diff) | |
| download | dotemacs-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 'modules/httpd-config.el')
0 files changed, 0 insertions, 0 deletions
