fix: Paren balance and flatten refactor
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s

Flatten refactor: library/ -> harness/ and library/gen/ -> skills/
opencortex.asd updated with new paths. README.org rewritten with
simplified pitch.

Critical fixes in harness/skills.org (source of truth):
- COSINE-SIMILARITY: Fixed let* binding list paren mismatch
- parse-skill-metadata: Fixed ID extraction block closes
- load-skill-from-org: Fixed handler-case and nested let closes
- def-cognitive-tool :replace-string: Removed extra closing paren
- boot-sequence-tests: Fixed let/unwind-protect nesting

Note: .lisp files are generated from .org via org-babel-tangle at
install time; fixes must always be made in .org and retangled.
Skills derived from opencortex-contrib imported via earlier commits.
This commit is contained in:
2026-04-27 10:51:16 -04:00
parent 8063a63bfd
commit 5d4979f5ab
4 changed files with 117 additions and 87 deletions

View File

@@ -1,16 +1,16 @@
(defsystem :opencortex
:name "opencortex"
:author "Amr"
:author "Amr"
:version "0.2.0"
:license "AGPLv3"
:description "The Probabilistic-Deterministic Lisp Machine"
:depends-on (:bordeaux-threads :cl-ppcre :usocket :ironclad :dexador :uuid :cl-json :str :uiop :cl-dotenv :hunchentoot)
:depends-on (:usocket :bordeaux-threads :dexador :uiop :cl-dotenv :cl-ppcre :hunchentoot :ironclad :str :cl-json :uuid)
:serial t
:components ((:static-file "harness/package.lisp")
(:static-file "harness/skills.lisp")
:components ((:file "harness/package")
(:file "harness/skills")
(:file "harness/communication")
(:file "harness/communication-validator")
(:file "harness/memory")
@@ -36,4 +36,26 @@
:build-operation "program-op"
:build-pathname "opencortex-server"
:entry-point "opencortex:main")
:entry-point "opencortex:main")
(defsystem :opencortex/tests
:depends-on (:opencortex :fiveam)
:components ((:file "harness/act-tests")
(:file "harness/boot-sequence-tests")
(:file "harness/immune-system-tests")
(:file "harness/memory-tests")
(:file "harness/pipeline-act-tests")
(:file "harness/pipeline-perceive-tests")
(:file "harness/pipeline-reason-tests")
(:file "harness/peripheral-vision-tests")
(:file "harness/emacs-edit-tests")
(:file "harness/engineering-standards-tests")
(:file "harness/lisp-utils-tests")
(:file "harness/lisp-validator-tests")
(:file "harness/literate-programming-tests")
(:file "harness/self-edit-tests")
(:file "harness/tool-permissions-tests")))
(defsystem :opencortex/tui
:depends-on (:opencortex :croatoan :usocket :bordeaux-threads)
:components ((:file "harness/tui-client")))