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 "communication.lisp" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/harness"))
#+PROPERTY: header-args:lisp :tangle (expand-file-name "communication.lisp" (or (identity (getenv "INSTALL_DIR")) (file-name-directory (buffer-file-name))))
#+TITLE: Communication Protocol (communication.lisp)
#+AUTHOR: Amr
#+FILETAGS: :harness:protocol:
@@ -79,7 +79,7 @@ The ~communication.lisp~ module defines the low-level transport and framing logi
** Structural Validation (communication-validator.lisp)
The validator ensures that incoming messages adhere to the strict property list schema of the communication protocol.
#+begin_src lisp :tangle (expand-file-name "communication-validator.lisp" (concat (or (identity (getenv "INSTALL_DIR")) ".") "/harness"))
#+begin_src lisp :tangle (expand-file-name "communication-validator.lisp" (or (identity (getenv "INSTALL_DIR")) (file-name-directory (buffer-file-name))))
(in-package :opencortex)
(defun validate-communication-protocol-schema (msg)