refactor: standardize skill API keywords to :probabilistic/:deterministic
This commit is contained in:
@@ -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 '(#\/))))
|
||||
|
||||
Reference in New Issue
Block a user