61 lines
1.7 KiB
Org Mode
61 lines
1.7 KiB
Org Mode
#+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
|