Files
passepartout/lisp/system-self-improve-add.lisp
Amr Gharbeia d35aea391e feat(v0.3.0): Event Orchestrator skill
- New system-event-orchestrator skill with hook registry, cron registry, and tier classifier

- Three dispatch tiers: :reflex (no LLM), :cognition (light), :reasoning (full)

- Org-mode timestamp parsing for repeat patterns (+1w, +1d, +1m)

- Registers on heartbeat via defskill, dispatches due cron jobs

- Fix all remaining harness-log → log-message references across org files
2026-05-02 22:36:39 -04:00

19 lines
717 B
Common Lisp

(defun self-improve-edit (filepath old-text new-text)
"Applies a transformation to a source file."
(declare (ignore old-text new-text))
(log-message "SELF-EDIT: Applying changes to ~a" filepath))
(defskill :passepartout-system-self-improve
:priority 100
:trigger (lambda (ctx) (declare (ignore ctx)) nil))
(defun self-improve-fix (skill-name error-log)
"Attempts to diagnose and repair a broken skill."
(declare (ignore error-log))
(log-message "SELF-FIX: Attempting repair of ~a..." skill-name))
(defskill :passepartout-system-self-improve
:priority 100
:trigger (lambda (ctx) (member (getf ctx :type) '(:LOG :EVENT)))
:deterministic (lambda (action ctx) (declare (ignore action ctx)) nil))