chore: Audit terminology (org-agent -> opencortex)

This commit is contained in:
2026-04-14 16:03:37 -04:00
parent 6608fb5553
commit c5d3d8c5fa
15 changed files with 43 additions and 43 deletions

View File

@@ -16,7 +16,7 @@ The *Emacs Bridge Agent* is the primary sensory and motor interface to Emacs. It
:END:
** 1. Purpose
Define the transport layer for Org-Agent Communication Protocol (Harness Communication).
Define the transport layer for OpenCortex Communication Protocol (Harness Communication).
** 2. User Needs
- *Isolation:* Kernel remains transport-agnostic.
@@ -78,7 +78,7 @@ Interfaces for TCP I/O and protocol framing. Source of truth is the Harness Comm
(finish-output stream))
(error (c)
(kernel-log "BRIDGE - Lost client: ~a" stream)
(org-agent:unregister-emacs-client stream)))))
(opencortex:unregister-emacs-client stream)))))
(defun broadcast-to-emacs (action-plist context)
"Sends a framed message back to the client that sent the stimulus, or all clients if async."
@@ -87,14 +87,14 @@ Interfaces for TCP I/O and protocol framing. Source of truth is the Harness Comm
(stream-to-emacs stream action-plist)
(progn
(kernel-log "BRIDGE - Async broadcast to all clients...")
(bt:with-lock-held (org-agent:*clients-lock*)
(dolist (s org-agent:*emacs-clients*)
(bt:with-lock-held (opencortex:*clients-lock*)
(dolist (s opencortex:*emacs-clients*)
(stream-to-emacs s action-plist)))))))
#+end_src
* Registration
#+begin_src lisp
(org-agent:register-actuator :emacs #'broadcast-to-emacs)
(opencortex:register-actuator :emacs #'broadcast-to-emacs)
(defskill :skill-emacs-bridge
:priority 100