fix(chaos): stabilize tangle paths to absolute targets via concat for reliable bootstrap

This commit is contained in:
2026-04-28 17:56:48 -04:00
parent fd5513057e
commit b7f6eb68e9
35 changed files with 159 additions and 159 deletions

View File

@@ -1,4 +1,4 @@
#+PROPERTY: header-args:lisp :tangle (expand-file-name "skills.lisp" (expand-file-name "harness/" (or (identity (getenv "INSTALL_DIR")) ".")))
#+PROPERTY: header-args:lisp :tangle (expand-file-name "skills.lisp" (expand-file-name "" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/harness")))
#+TITLE: The Skill Engine (skills.lisp)
#+AUTHOR: Amr
#+FILETAGS: :harness:skills:
@@ -419,7 +419,7 @@ EXAMPLES:
*** The Eval Tool (Internal Inspection)
#+begin_src lisp
** Cognitive Tool Registration
#+begin_src lisp :tangle (expand-file-name "skills.lisp" (expand-file-name "harness/" (or (identity (getenv "INSTALL_DIR")) ".")))
#+begin_src lisp :tangle (expand-file-name "skills.lisp" (expand-file-name "" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/harness")))
;; Cognitive tools are registered in *cognitive-tools* (defined in package.lisp)
;; using the def-cognitive-tool macro.
#+end_src
@@ -589,7 +589,7 @@ EXAMPLES:
* Test Suite
#+begin_src lisp :tangle (expand-file-name "boot-sequence-tests.lisp" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/tests"))
#+begin_src lisp :tangle (expand-file-name "boot-sequence-tests.lisp" (concat (concat (or (identity (getenv "INSTALL_DIR")) ".") "/harness") "/tests"))
(defpackage :opencortex-boot-tests
(:use :cl :fiveam :opencortex)
(:export #:boot-suite))