REFAC: Standardize on Cognitive Cycle and update documentation

This commit is contained in:
2026-04-14 15:59:19 -04:00
parent 34a210228e
commit e29ca5679e
46 changed files with 195 additions and 268 deletions

View File

@@ -3,15 +3,15 @@
#+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`).
- Current state: `opencortex.el` combines final outputs and internal thoughts into a single `*opencortex-chat*` buffer.
- Goal: Create a dedicated `*opencortex-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.
- Modify `projects/opencortex/src/opencortex.el` to route `(:log :LOG)` messages to `*opencortex-reasoning*`.
- Add `opencortex-interrupt` command that sends `(:type :EVENT :payload (:sensor :interrupt))` to the kernel.
- Bind `C-c C-k` to `opencortex-interrupt` in the chat buffer.
- Open `*opencortex-reasoning*` as a side-window when `opencortex-chat` is called.
* Phase C: Tester (Automated Proof)
- Test Emacs evaluation using batch mode to verify the syntax of the modified `org-agent.el`.
- Test Emacs evaluation using batch mode to verify the syntax of the modified `opencortex.el`.
- Open Emacs and connect to the live kernel to verify message routing.