<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-undead-buffers--buffer-undead-p.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-06-28T19:29:37+00:00</updated>
<entry>
<title>fix(ai-term): keep agent buffers alive through the kill-all sweep</title>
<updated>2026-06-28T19:29:37+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-06-28T19:29:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=c5f27c81f93f8d4eccfb488a92fb3eeb9b515c34'/>
<id>urn:sha1:c5f27c81f93f8d4eccfb488a92fb3eeb9b515c34</id>
<content type='text'>
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 [&lt;project&gt;]") 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.
</content>
</entry>
</feed>
