diff options
| -rw-r--r-- | todo.org | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -621,6 +621,14 @@ Couldn't reproduce — neither could Craig (2026-06-25). The toggle code is clea ** DONE [#B] F12 pops EAT instead of ghostel :feature:studio: CLOSED: [2026-06-25 Thu] Done 2026-06-25, design doc =docs/design/eat-f12-toggle.org=. Part A (commit fe7aa658): F12 toggles a single EAT terminal instead of ghostel, reusing the dock-and-remember geometry toggle; ghostel stays for ai-term (M-SPC); EAT runs a plain shell with no tmux; F12 and C-; are bound in EAT's keymaps so they reach Emacs from inside the terminal. Part B (commit 687b438f): EAT's faces are exposed in theme-studio (16 named palette + attribute + prompt-annotation faces) with a =renderEatPreview=, no colors set so it stays vanilla. term 223/223, ai-term 158/158, studio gates green; the toggle wiring (F12 reaches Emacs in EAT, =(eat)= creates the buffer, the predicate recognizes it) was verified live in the daemon. Accepted tradeoff: EAT needs a buffer reload to pick up a theme switch (ghostel auto-resyncs), taken for EAT's pure-elisp face control. The visual F12 dock/toggle check is a VERIFY under Manual testing and validation. +** DOING [#B] Consolidate on EAT, retire ghostel :feature:refactor: +Make EAT the only terminal and remove ghostel entirely (decision 2026-06-25). Phased; the ai-term port (Phase 3) wants its own focused session with a spike first. +- Phase 1 DONE (commit 82294404): extracted =modules/eat-config.el= (eat package + F12/C-; keymaps + the F12 dock-and-remember toggle) out of =term-config.el=. term-config keeps ghostel (ai-term's backend) and requires eat-config. Toggle tests retargeted to eat-config; full suite green. +- Phase 2 DONE (commit 0290b015): EAT experience settings in eat-config.el -- yank-to-terminal on, directory-tracking / prompt-annotations / command-history / mouse / kill-from-terminal / alt-screen affirmed, 10MB scrollback, truecolor already on via the compiled =eat-truecolor= terminfo. zsh shell-integration source line added to =~/.dotfiles/common/.zshrc= (uncommitted -- needs a dotfiles commit + a pull on the other daily driver). +- Phase 3 (the big one): port ai-term from ghostel to EAT. ~30 ghostel touchpoints; the ~74 tmux touchpoints stay (tmux is the persistence layer). *Spike first*: prove EAT + tmux gives the same detach/reattach behavior. Then port =(ghostel)= -> eat creation with the "agent [project]" buffer name, =ghostel-mode= -> =eat-mode= detection, =ghostel-keymap-exceptions= + rebuild -> direct binds in =eat-semi-char-mode-map=, =ghostel-send-string= -> EAT's send fn, =ghostel-copy-mode= -> EAT line mode. Port the 158 ai-term tests. +- Phase 4: retire ghostel. dashboard "Launch Terminal" =(ghostel)= -> =(eat)=; drop ghostel refs in =face-diagnostic.el= + =auto-dim-config.el=; migrate the useful term-config bits (tmux-history capture, copy surfaces -- both tmux-level, work under EAT) into eat-config; delete =term-config.el= and its init.el require; remove the pinned ghostel install. +- Phase 5: cleanup. Remove the theme-studio ghostel app (=GHOSTEL_FACES=) once those faces are dead (ansi-color stays -- EAT inherits it); sweep ghostel mentions in comments/docs. + ** TODO [#C] ai-term.el commentary names a stale F9 keybinding scheme :quick: The header commentary (lines ~43-64) still documents an old =F9= / =C-F9= / =s-F9= / =M-F9= scheme for =cj/ai-term= and its family, but those bindings no longer exist — F9 is unbound in the daemon and the only live global binding is =M-SPC= -> =cj/ai-term-next= (=ai-term.el:1059=). The =M-<f9>= mention in the =cj/ai-term-shutdown= docstring (~996) is stale too. Rewrite the commentary and any stale docstrings to match the current keymap. Found 2026-06-25 while scoping the F12 -> EAT work. |
