diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-28 15:29:37 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-28 15:29:37 -0400 |
| commit | b04643106fb0b35cf0664a4f344653ea0ab9c356 (patch) | |
| tree | fee8aed53b7a26f4df703b6535430512420de438 /tests/test-prog-json--json-format-buffer.el | |
| parent | a3b4bac9d9f8ae9309d0876871f5b3f874ab9d74 (diff) | |
| download | dotemacs-b04643106fb0b35cf0664a4f344653ea0ab9c356.tar.gz dotemacs-b04643106fb0b35cf0664a4f344653ea0ab9c356.zip | |
fix(ai-term): keep agent buffers alive through the kill-all sweep
F1 (cj/dashboard-only) kills every other buffer, burying only those on the undead list. Agent buffers were never registered, so the sweep killed live agents and detached their sessions.
Agent buffers are a dynamic family ("agent [<project>]") that an exact-name list can't pre-enumerate, so undead-buffers gains a regexp list (cj/undead-buffer-regexps) and a centralized cj/--buffer-undead-p predicate. Both kill paths route through it. ai-term registers the "agent [" pattern, so every agent -- current or future, however created -- is buried rather than killed.
Diffstat (limited to 'tests/test-prog-json--json-format-buffer.el')
0 files changed, 0 insertions, 0 deletions
