feat(arch): implement 'Code as Thought' architecture and formalize PSF Consensus Loop
This commit is contained in:
@@ -1 +0,0 @@
|
||||
../system/skills/org-skill-web-interface.org
|
||||
60
notes/org-skill-web-interface.org
Normal file
60
notes/org-skill-web-interface.org
Normal file
@@ -0,0 +1,60 @@
|
||||
#+TITLE: SKILL: Web Dashboard Agent (Universal Literate Note)
|
||||
#+ID: skill-web-interface
|
||||
#+STARTUP: content
|
||||
#+FILETAGS: :web:dashboard:telemetry:psf:
|
||||
|
||||
* Overview
|
||||
The **Web Dashboard Agent** provides a lightweight telemetry window into the Neurosymbolic Kernel. It exposes the active skill graph and system logs via a local HTML dashboard.
|
||||
|
||||
* Phase A: Demand (PRD)
|
||||
:PROPERTIES:
|
||||
:STATUS: FROZEN
|
||||
:END:
|
||||
|
||||
** 1. Purpose
|
||||
Define the interfaces for system observability and telemetry serving.
|
||||
|
||||
** 2. User Needs
|
||||
- **Transparency:** Overview of skill performance (executions, time, failures).
|
||||
- **Accessibility:** Served over a local HTTP port.
|
||||
- **Observability:** Tail of system logs for debugging.
|
||||
- **Low Overhead:** Background execution.
|
||||
|
||||
** 3. Success Criteria
|
||||
*** TODO Server Bootstrap Verification
|
||||
*** TODO Telemetry Data Rendering
|
||||
*** TODO Log Tail Exposure
|
||||
|
||||
* Phase B: Blueprint (PROTOCOL)
|
||||
:PROPERTIES:
|
||||
:STATUS: SIGNED
|
||||
:END:
|
||||
|
||||
** 1. Architectural Intent
|
||||
Interfaces for HTTP serving and skill introspection. Source of truth is the kernel telemetry bus and skill registry.
|
||||
|
||||
** 2. Semantic Interfaces
|
||||
#+begin_src lisp
|
||||
(defun start-dashboard (&optional (port 8080))
|
||||
"Starts the telemetry web server.")
|
||||
|
||||
(defun dashboard-home ()
|
||||
"Renders the primary HTML dashboard.")
|
||||
#+end_src
|
||||
|
||||
* Phase D: Build (Implementation)
|
||||
|
||||
** Server Initialization
|
||||
#+begin_src lisp :tangle projects/org-skill-web-interface/src/web-logic.lisp
|
||||
(defun start-dashboard (&optional (port 8080))
|
||||
(format nil "Starting dashboard on port ~a" port))
|
||||
#+end_src
|
||||
|
||||
* Registration
|
||||
#+begin_src lisp
|
||||
(defskill :skill-web-interface
|
||||
:priority 10
|
||||
:trigger (lambda (context) nil)
|
||||
:neuro (lambda (context) nil)
|
||||
:symbolic (lambda (action context) action))
|
||||
#+end_src
|
||||
Reference in New Issue
Block a user