Commit Graph

27 Commits

Author SHA1 Message Date
c9c687a832 fix(memory): complete reconstruction of memory.org to resolve catastrophic syntax failures 2026-04-28 18:25:09 -04:00
357efbdb59 fix(chaos): finalized absolute tangle paths via concat and INSTALL_DIR 2026-04-28 18:22:49 -04:00
a2d6c5ae38 fix(memory): add missing tangle header 2026-04-28 18:21:37 -04:00
d15225a453 fix(chaos): force absolute-relative tangle paths in harness 2026-04-28 18:00:49 -04:00
d55384fb65 fix(chaos): use standard getenv for absolute tangle paths 2026-04-28 17:57:57 -04:00
d787981d0d fix(chaos): force absolute tangle paths via concat to eliminate path resolution ambiguity 2026-04-28 17:57:31 -04:00
b7f6eb68e9 fix(chaos): stabilize tangle paths to absolute targets via concat for reliable bootstrap 2026-04-28 17:56:48 -04:00
fd5513057e fix(chaos): switch to definitive absolute paths via expand-file-name for reliable tangling 2026-04-28 17:55:58 -04:00
d6a7e83de4 fix(chaos): use robust (or INSTALL_DIR buffer-dir) for tangle paths 2026-04-28 17:55:08 -04:00
635db05d17 fix(chaos): standardize tangle paths to robust (identity (getenv ...)) 2026-04-28 17:54:12 -04:00
a5538bf9d8 fix(chaos): standardize tangle paths to uiop:getenv across all org files 2026-04-28 17:51:44 -04:00
6d3cfc7bdc fix(chaos): harden Tier 2 tests with deep-copy snapshots and fixed TUI queue 2026-04-28 17:39:51 -04:00
5323f759d0 fix(test): use internal package prefix for compute-merkle-hash 2026-04-28 17:37:35 -04:00
609669b304 fix(chaos): resolve package and symbol issues in Tier 2 tests 2026-04-28 17:36:44 -04:00
e31222d6e3 feat(chaos): implement Tier 2 Integration Chaos for Memory, Networking, and LLM Gateway 2026-04-28 17:32:15 -04:00
2e8e79a193 fix(v0.2.0): finalize structural integrity and clean boot
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
- Fixed memory.org source blocks to ensure persistence functions are tangled.
- Improved extract-tangle-target to handle complex Elisp expressions.
- Corrected opencortex.sh initialization paths to prevent setup loops.
- Reordered variable definitions in policy and standards skills to eliminate forward-reference warnings.
2026-04-27 18:54:18 -04:00
87a0459497 feat(v0.2.0): comprehensive foundation hardening and test verification
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
- Finalized Reflection Loop: Injected deterministic rejection traces back into LLM prompts.
- Hardened Actuators: Added path-traversal guards and enforced Merkle snapshots on AST edits.
- Refactored Lisp Utils: Merged validator/repair into a unified utility skill with whitelist Ast-walking.
- Fixed Build: Resolved all 30+ syntax, scoping, and package visibility errors.
- Verified: Full pass (100%) on all 5 core test suites.
2026-04-27 17:48:01 -04:00
f940861921 build: dynamically tangle to INSTALL_DIR without copying .org files
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
- Updated all 150+ :tangle headers across harness/ and skills/ to use elisp (expand-file-name) to target INSTALL_DIR dynamically.
- Cleaned up environment/ directory depth by moving memory-image.lisp to state/.
- Moved test scripts to tests/ and deleted redundant chat scripts.
2026-04-27 12:51:29 -04:00
664ba8243d refactor: Flatten directory structure library->harness, library/gen->skills 2026-04-27 08:41:26 -04:00
43dbe3cf2d feat(v0.2.0): Self-Improvement & Structural Integrity
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 8s
- Fix critical paren balance issues across harness/skills.org, act.org,
  loop.org, memory.org, and skills/self-edit|emacs-edit.org
- Add :reload-skill cognitive tool for hot-reloading without restart
- Add :generate-embeddings tool and self-edit hot-reload infrastructure
- Wire all new skills (self-edit, emacs-edit, lisp-utils) into main ASDF
- Regenerate all .lisp tangled files via emacs --batch org-babel-tangle
- Add :opencortex/tests ASDF system with 14 test suites
- Fix test files to compile cleanly (self-edit-tests symbol vis, etc.)
2026-04-27 07:30:01 -04:00
97168ae512 refactor: Migrate tests into literate Org files per LP standard
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
- Add test suites inline in harness/communication.org
- Add test suites inline in harness/perceive.org, reason.org, act.org
- Add test suites inline in harness/skills.org, memory.org, loop.org
- Tests now live alongside code, not in separate .lisp files
- Each test block has prose explaining its purpose

Test results: 84/84 pass (100%)
2026-04-25 19:01:48 -04:00
dfe318425f Add v0.2.0 features: vector search + tool permissions
- Local vector search: Ollama embeddings + semantic search
  - get-embedding with caching
  - cosine-similarity computation
  - semantic-search cognitive tool
  - :semantic-search tool for LLM queries

- Tool permission tiers: security gating for cognitive tools
  - Three tiers: :allow, :deny, :ask
  - Gate in execute-tool-action before tool runs
  - Defaults: :deny for shell/delete-file, :ask for eval/write-file
  - :tool-permissions cognitive tool for management

- Embedding provider support: Ollama AND llama.cpp
  - EMBEDDING_PROVIDER env var
  - EMBEDDING_MODEL env var
  - LLAMA_HOST for llama.cpp server

- .env.example: Add embedding config variables
- Fix parse-message in communication.lisp

- Update ASDF: add test files, tool-permissions skill

All 60 tests pass (6 suites x 100%)
2026-04-23 13:43:50 -04:00
586847bd02 fix: Implement COSINE-SIMILARITY and fix memory persistence serialization
- Replace stub COSINE-SIMILARITY with real dot-product implementation
- Fix memory persistence to convert hash tables to alists before serialization
2026-04-22 15:26:39 -04:00
6bfc95e136 feat: Add make-load-form for org-object serialization
Add make-load-form method to enable standard CL serialization of
org-object structs. This is a prerequisite for proper memory persistence.
2026-04-22 15:25:17 -04:00
620267a8df feat: Add memory persistence functions (save/load-memory-to-disk)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
- Add save-memory-to-disk and load-memory-from-disk to memory.lisp
- Integrate auto-save into heartbeat (every N intervals)
- Load memory on daemon startup, save on graceful shutdown/SIGINT
- Add exports to package.lisp

NOTE: Hash table serialization requires object walker for complex structures.
      Current implementation fails on load due to unreadable objects.
2026-04-22 15:14:18 -04:00
6c333af7aa ARCH: Finalize semantic reorganization, skill jailing, and unified CLI
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 4s
2026-04-22 11:38:13 -04:00
60f2c152e0 REORG: Apply semantic directory structure and documentation cleanup
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-21 19:07:32 -04:00