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 | 4e1401d1499be3d24df78edd97310d200e719e10 (patch) | |
| tree | 9fe55839f6ca7741eaf45ac9f286f5b1bef49089 /tests/test-coverage-core--parse-simplecov.el | |
| parent | 69931ef2923363e071cb125661ff2f0ed91e890e (diff) | |
| download | dotemacs-4e1401d1499be3d24df78edd97310d200e719e10.tar.gz dotemacs-4e1401d1499be3d24df78edd97310d200e719e10.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 'tests/test-coverage-core--parse-simplecov.el')
0 files changed, 0 insertions, 0 deletions
