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

@@ -23,7 +23,7 @@ To maintain sovereignty, the harness must remain a "dumb" bus. It should not kno
** The Installer Script (opencortex.sh)
The shell script is the primary entry point. It handles the initial git clone, dependency installation, and literate tangle.
#+begin_src bash :tangle (expand-file-name "../opencortex.sh" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/harness"))
#+begin_src bash :tangle (expand-file-name "../opencortex.sh" (or (identity (getenv "INSTALL_DIR")) (file-name-directory (buffer-file-name))))
#!/bin/bash
# (The content here is a duplicate of the main opencortex.sh for literate consistency)
# [Note: Implementation is already verified in the top-level script]