18 lines
1017 B
Org Mode
18 lines
1017 B
Org Mode
* Flight Plan: Fix Chat Skill Parsing
|
|
:PROPERTIES:
|
|
:STATUS: FINISHED
|
|
:END:
|
|
|
|
** Analyst Phase
|
|
The Chat skill currently tells the LLM to output Org-mode subtrees, but the =opencortex= kernel evaluates LLM output via =read-from-string=. This expects a valid s-expression, specifically a Common Lisp property list (plist) that targets an Emacs actuator with an =:insert-at-end= action. We must explicitly mandate that the LLM wraps its conversational output in this plist.
|
|
|
|
** Coder Phase
|
|
- [X] Create =inbox/flight-plan-chat-fix.org= (this file).
|
|
- [X] Update =notes/org-skill-chat.org= to instruct the LLM to return exactly: =(:target :emacs :payload (:action :insert-at-end :buffer "*opencortex-chat*" :text "..."))=
|
|
- [X] Fix tangle paths to root-relative =../projects/...=
|
|
|
|
** Tester Phase
|
|
- [X] Tangle the file via =emacs --batch=.
|
|
- [X] Perform syntax check with SBCL.
|
|
- [X] Verified that =projects/org-skill-chat/src/chat-logic.lisp= is correctly generated and valid.
|
|
- [X] User to reload skill and test in Emacs. |