refactor: standardize skill API keywords to :probabilistic/:deterministic
This commit is contained in:
@@ -131,6 +131,6 @@ Interfaces for blueprint actuation and requirement perception. Source of truth i
|
||||
(defskill :skill-architect
|
||||
:priority 110 ; Higher priority to lead the loop
|
||||
:trigger #'trigger-skill-architect
|
||||
:neuro #'neuro-skill-architect
|
||||
:symbolic #'architect-actuate)
|
||||
:probabilistic #'neuro-skill-architect
|
||||
:deterministic #'architect-actuate)
|
||||
#+end_src
|
||||
|
||||
@@ -154,8 +154,8 @@ The *Chaos Gauntlet* skill is designed to be non-invasive, running primarily in
|
||||
(defskill :skill-chaos
|
||||
:priority 10 ; Lower priority, used for background testing
|
||||
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :chaos-trigger))
|
||||
:neuro (lambda (context)
|
||||
:probabilistic (lambda (context)
|
||||
(let ((p (getf context :payload)))
|
||||
(format nil "A chaos trigger was received (~a). Should I run a stress test?" (getf p :mode))))
|
||||
:symbolic #'chaos-stress-test)
|
||||
:deterministic #'chaos-stress-test)
|
||||
#+end_src
|
||||
|
||||
@@ -51,8 +51,8 @@ Enable visual communication of plans and system states.
|
||||
(defskill :skill-diagrammer
|
||||
:priority 60
|
||||
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :visualize))
|
||||
:neuro #'neuro-skill-diagrammer
|
||||
:symbolic (lambda (action context) action))
|
||||
:probabilistic #'neuro-skill-diagrammer
|
||||
:deterministic (lambda (action context) action))
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
@@ -99,6 +99,6 @@ Interfaces for TCP I/O and protocol framing. Source of truth is the Harness Comm
|
||||
(defskill :skill-emacs-bridge
|
||||
:priority 100
|
||||
:trigger (lambda (context) nil)
|
||||
:neuro (lambda (context) nil)
|
||||
:symbolic (lambda (action context) action))
|
||||
:probabilistic (lambda (context) nil)
|
||||
:deterministic (lambda (action context) action))
|
||||
#+end_src
|
||||
|
||||
@@ -41,8 +41,8 @@ Unify the system's diverse information silos into a single, navigable graph.
|
||||
(defskill :skill-hyper-graph
|
||||
:priority 70
|
||||
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :deep-trace))
|
||||
:neuro (lambda (context) "Synthesize a lineage report for the target ID.")
|
||||
:symbolic (lambda (action context) action))
|
||||
:probabilistic (lambda (context) "Synthesize a lineage report for the target ID.")
|
||||
:deterministic (lambda (action context) action))
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
@@ -84,6 +84,6 @@ RULES:
|
||||
(defskill :skill-inbox-processor
|
||||
:priority 100
|
||||
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :heartbeat))
|
||||
:neuro #'neuro-skill-inbox-processor
|
||||
:symbolic #'inbox-process-logic)
|
||||
:probabilistic #'neuro-skill-inbox-processor
|
||||
:deterministic #'inbox-process-logic)
|
||||
#+end_src
|
||||
|
||||
@@ -73,7 +73,7 @@ Hooks into the `:heartbeat` sensor.
|
||||
(setf *last-reflection-time* now)
|
||||
t)
|
||||
nil)))
|
||||
:neuro (lambda (ctx)
|
||||
:probabilistic (lambda (ctx)
|
||||
(declare (ignore ctx))
|
||||
(let* ((memories (sample-random-memories 3))
|
||||
(context-string "LATENT REFLECTION CANDIDATES:\n"))
|
||||
@@ -94,7 +94,7 @@ Find hidden connections, suggest new tags, or propose a new insight that bridges
|
||||
MANDATE: Output EXACTLY ONE Common Lisp property list starting with (:type :REQUEST).
|
||||
Use the :emacs target and :insert-at-end action to write your reflection into the \"*opencortex-chat*\" buffer."
|
||||
context-string)))
|
||||
:symbolic (lambda (action ctx)
|
||||
:deterministic (lambda (action ctx)
|
||||
(declare (ignore ctx))
|
||||
;; Approve any safe request
|
||||
action))
|
||||
|
||||
@@ -34,8 +34,8 @@ Automate the "Easy Apply" process on LinkedIn to sustain revenue streams.
|
||||
(defskill :skill-linkedin
|
||||
:priority 50
|
||||
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :revenue-pulse))
|
||||
:neuro (lambda (context) nil)
|
||||
:symbolic (lambda (action context) action))
|
||||
:probabilistic (lambda (context) nil)
|
||||
:deterministic (lambda (action context) action))
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
@@ -91,6 +91,6 @@ Register the high-fidelity browsing tool with the harness.
|
||||
(defskill :skill-playwright
|
||||
:priority 150
|
||||
:trigger (lambda (ctx) (declare (ignore ctx)) nil) ; Passive tool provider
|
||||
:neuro nil
|
||||
:symbolic (lambda (action ctx) (declare (ignore ctx)) action))
|
||||
:probabilistic nil
|
||||
:deterministic (lambda (action ctx) (declare (ignore ctx)) action))
|
||||
#+end_src
|
||||
|
||||
@@ -55,8 +55,8 @@ Eliminate speculative debugging through rigorous scientific methodology.
|
||||
(defskill :skill-scientist
|
||||
:priority 90
|
||||
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :test-failure))
|
||||
:neuro #'scientist-hypothesis
|
||||
:symbolic #'scientist-propose-fix)
|
||||
:probabilistic #'scientist-hypothesis
|
||||
:deterministic #'scientist-propose-fix)
|
||||
#+end_src
|
||||
|
||||
* Phase B: Blueprint (PROTOCOL)
|
||||
|
||||
@@ -52,8 +52,8 @@ Automate the extraction of root causes and architectural learnings into the Meme
|
||||
(defskill :skill-scribe-rca
|
||||
:priority 90
|
||||
:trigger (lambda (context) (search "SYSTEM ERROR" (format nil "~a" (getf (getf context :payload) :text))))
|
||||
:neuro #'scribe-rca-draft
|
||||
:symbolic (lambda (action context) action))
|
||||
:probabilistic #'scribe-rca-draft
|
||||
:deterministic (lambda (action context) action))
|
||||
#+end_src
|
||||
|
||||
* Phase B: Blueprint (PROTOCOL)
|
||||
|
||||
@@ -99,6 +99,6 @@ RULES:
|
||||
(defskill :skill-scribe
|
||||
:priority 60
|
||||
:trigger #'trigger-skill-scribe
|
||||
:neuro #'neuro-skill-scribe-enrich
|
||||
:symbolic #'scribe-get-changed-dailies)
|
||||
:probabilistic #'neuro-skill-scribe-enrich
|
||||
:deterministic #'scribe-get-changed-dailies)
|
||||
#+end_src
|
||||
|
||||
@@ -72,8 +72,8 @@ Interfaces for background verification and kernel alerting. Source of truth is t
|
||||
:trigger (lambda (context)
|
||||
(let ((sensor (getf (getf context :payload) :sensor)))
|
||||
(or (eq sensor :buffer-update) (eq sensor :file-saved))))
|
||||
:neuro (lambda (context) nil)
|
||||
:symbolic (lambda (action context)
|
||||
:probabilistic (lambda (context) nil)
|
||||
:deterministic (lambda (action context)
|
||||
(let ((file (getf (getf context :payload) :file)))
|
||||
(when (and file (search "projects/" file))
|
||||
(let ((parts (uiop:split-string file :separator '(#\/))))
|
||||
|
||||
@@ -128,6 +128,6 @@ Interfaces for TDD suite actuation and protocol perception. Source of truth is t
|
||||
(defskill :skill-tech-analyst
|
||||
:priority 120
|
||||
:trigger #'trigger-skill-tech-analyst
|
||||
:neuro #'neuro-skill-tech-analyst
|
||||
:symbolic #'tech-analyst-actuate)
|
||||
:probabilistic #'neuro-skill-tech-analyst
|
||||
:deterministic #'tech-analyst-actuate)
|
||||
#+end_src
|
||||
|
||||
@@ -84,8 +84,8 @@ Maintain a state-aware provider cascade that routes around "pain" (failures) and
|
||||
:trigger (lambda (context)
|
||||
(let ((sensor (getf (getf context :payload) :sensor)))
|
||||
(or (eq sensor :tool-error) (eq sensor :cost-audit))))
|
||||
:neuro (lambda (context) nil)
|
||||
:symbolic (lambda (action context)
|
||||
:probabilistic (lambda (context) nil)
|
||||
:deterministic (lambda (action context)
|
||||
(let ((p (getf (getf context :payload) :provider)))
|
||||
(when p (token-accountant-record-pain p))
|
||||
action))))
|
||||
|
||||
@@ -127,6 +127,6 @@ loginGemini().catch(err => {
|
||||
(defskill :skill-web-research
|
||||
:priority 60
|
||||
:trigger (lambda (context) (eq (getf (getf context :payload) :sensor) :web-search))
|
||||
:neuro (lambda (context) nil)
|
||||
:symbolic (lambda (action context) (ask-gemini-web (getf (getf action :payload) :prompt))))
|
||||
:probabilistic (lambda (context) nil)
|
||||
:deterministic (lambda (action context) (ask-gemini-web (getf (getf action :payload) :prompt))))
|
||||
#+end_src
|
||||
|
||||
Reference in New Issue
Block a user