passepartout: v0.5.1 — Compilation Hardening

Fixed 3 real compilation errors:
- security-vault.lisp: bare defvar missing opening paren
- embedding-native.lisp: CFFI struct refs updated (llama-mparams→(:struct ...), 19 places)
- symbolic-events.lisp: heartbeat vars + save-memory-to-disk → passepartout:: prefix

Suppressed ~100 harmless cross-skill STYLE-WARNINGs:
- Added grep filter for STYLE-WARNING / WARNING: redefining
  in the pre-compile step of the passepartout bash script

ROADMAP updated: all v0.5.1 items marked DONE.
Test suite: 116/116 (100%)
This commit is contained in:
2026-05-08 09:16:33 -04:00
parent c86d079418
commit f6079246ee
16 changed files with 186 additions and 203 deletions

29
test/run-tests.lisp Normal file
View File

@@ -0,0 +1,29 @@
(load (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname)))
(let ((data-dir (or (uiop:getenv "PASSEPARTOUT_DATA_DIR")
(namestring (truename "../")))))
(push (uiop:ensure-directory-pathname data-dir) asdf:*central-registry*)
(setf (uiop:getenv "PASSEPARTOUT_DATA_DIR") data-dir))
(ql:quickload '(:fiveam :passepartout :passepartout/tui :passepartout/tests) :silent t)
(format t "~%=== Initializing Skills ===~%")
(passepartout:skill-initialize-all)
(format t "~%=== Running ALL Test Suites ===~%")
(dolist (suite-spec '(("PASSEPARTOUT-EMBEDDING-NATIVE-TESTS" "EMBEDDING-NATIVE-SUITE")
("PASSEPARTOUT-PROGRAMMING-REPL-TESTS" "REPL-SUITE")
("PASSEPARTOUT-TUI-TESTS" "TUI-SUITE")
("PASSEPARTOUT-SECURITY-DISPATCHER-TESTS" "DISPATCHER-SUITE")
("PASSEPARTOUT-GATEWAY-MESSAGING-TESTS" "MESSAGING-SUITE")
("PASSEPARTOUT-SECURITY-VAULT-TESTS" "VAULT-SUITE")
("PASSEPARTOUT-CONTEXT-TESTS" "CONTEXT-SUITE")))
(let ((pkg (find-package (first suite-spec))))
(when pkg
(let ((suite-sym (find-symbol (second suite-spec) pkg)))
(when suite-sym
(format t "~&--- Suite: ~A ---~%" (first suite-spec))
(fiveam:run! suite-sym))))))
(format t "~%=== ALL TESTS COMPLETE ===~%")