#+TITLE: Flight Plan: Reactive Reasoning Interface #+DATE: 2026-04-07 #+FILETAGS: :plan:emacs:ui:reasoning: * Phase A: Demand (Verify State) - Current state: `org-agent.el` combines final outputs and internal thoughts into a single `*org-agent-chat*` buffer. - Goal: Create a dedicated `*org-agent-reasoning*` buffer for internal LLM logs. Add an interrupt hotkey (`C-c C-k`). * Phase B: Blueprint (Surgical Edits) - Modify `projects/org-agent/src/org-agent.el` to route `(:log :LOG)` messages to `*org-agent-reasoning*`. - Add `org-agent-interrupt` command that sends `(:type :EVENT :payload (:sensor :interrupt))` to the kernel. - Bind `C-c C-k` to `org-agent-interrupt` in the chat buffer. - Open `*org-agent-reasoning*` as a side-window when `org-agent-chat` is called. * Phase C: Tester (Automated Proof) - Test Emacs evaluation using batch mode to verify the syntax of the modified `org-agent.el`. - Open Emacs and connect to the live kernel to verify message routing.