FEAT: Implement Telegram Gateway and Channel-Aware Chat

This commit is contained in:
2026-04-11 15:34:51 -04:00
parent b2acd9c702
commit 8ba3532067
13 changed files with 381 additions and 30 deletions

View File

@@ -41,17 +41,6 @@ The kernel maintains several thread-safe global variables for logging, telemetry
(defvar *telemetry-lock* (bt:make-lock "kernel-telemetry-lock"))
#+end_src
** Actuator Registration
Actuators are the "hands" of the agent. This registry allows external modules (like Emacs or the Shell) to register functions that the kernel can invoke to perform physical actions.
#+begin_src lisp :tangle ../src/core.lisp
(defvar *actuator-registry* (make-hash-table :test 'equal))
(defun register-actuator (name fn)
"Registers an actuator function. Actuators receive two arguments: (ACTION CONTEXT)."
(setf (gethash name *actuator-registry*) fn))
#+end_src
** Physical Dispatch (dispatch-action)
Routes an approved action to its registered physical actuator.