From c180e55cb324da1254d9ad5852f7926bde7359b3 Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Tue, 28 Apr 2026 20:04:46 -0400 Subject: [PATCH] fix(skills): ensure skill loader collects lisp blocks inheriting tangle properties --- harness/skills.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/harness/skills.org b/harness/skills.org index 95eebe5..2811058 100644 --- a/harness/skills.org +++ b/harness/skills.org @@ -171,7 +171,11 @@ The ~opencortex~ Skill Engine enables **Late-Binding Intelligence**, allowing th ((uiop:string-prefix-p "#+begin_src lisp" clean-line) (setf in-lisp-block t) (let ((target (extract-tangle-target clean-line))) - (setf collect-this-block (and target (not (search "/tests" target)))))) + ;; Collect if there's no tangle target (inherits from file) + ;; or if it's a lisp file and NOT a test. + (setf collect-this-block (or (null target) + (and (not (search "no" target)) + (not (search "/tests" target))))))) ((uiop:string-prefix-p "#+end_src" clean-line) (setf in-lisp-block nil) (setf collect-this-block nil)) ((and in-lisp-block collect-this-block)