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

@@ -20,13 +20,13 @@
- Update `think` in `src/neuro.lisp` to automatically inject the tool belt into the system prompt.
** 4. Recursive Loop Integration
- Update `cognitive-loop` to recognize and execute tool calls.
- Update `cognitive-cycle` to recognize and execute tool calls.
* Phase D: Build (Implementation)
** 1. Registry & Macro
#+begin_src lisp
(in-package :org-agent)
(in-package :opencortex)
(defvar *cognitive-tools* (make-hash-table :test 'equal))
@@ -63,7 +63,7 @@ Refactor `think` to:
- Generate the tool belt prompt.
- Prepend it to the `system-prompt` in `ask-neuro`.
** 4. Integration with 'cognitive-loop'
** 4. Integration with 'cognitive-cycle'
Update the recursive check to:
- Handle `(:target :tool :action :call ...)` specifically.
- Look up the tool in `*cognitive-tools*`.