fix(chaos): use robust (or INSTALL_DIR buffer-dir) for tangle paths

This commit is contained in:
2026-04-28 17:55:08 -04:00
parent 635db05d17
commit d6a7e83de4
35 changed files with 143 additions and 143 deletions

View File

@@ -1,4 +1,4 @@
#+PROPERTY: header-args:lisp :tangle (expand-file-name "org-skill-policy.lisp" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/skills"))
#+PROPERTY: header-args:lisp :tangle (expand-file-name "org-skill-policy.lisp" (or (identity (getenv "INSTALL_DIR")) (file-name-directory (buffer-file-name))))
:PROPERTIES:
:ID: 47425a43-2be0-423c-8509-22592cfe9c9e
:CREATED: [2026-04-07 Tue 12:57]
@@ -50,7 +50,7 @@ Every skill executes within its own jailed package namespace, inheriting core ha
#+end_src
* Global Policy Configuration
#+begin_src lisp :tangle (expand-file-name "org-skill-policy.lisp" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/skills"))
#+begin_src lisp :tangle (expand-file-name "org-skill-policy.lisp" (or (identity (getenv "INSTALL_DIR")) (file-name-directory (buffer-file-name))))
(defvar *policy-invariant-priorities*
'((:transparency . 500)
(:autonomy . 400)