- Add command history with ↑↓ arrow navigation
- Add multi-line input support (Shift+Enter)
- Add UI chrome: borders, help bar, status bar
- Add slash commands: /help, /exit, /clear
- Style messages with emoji prefixes (🤔💬🔧✅)
- Format incoming messages with format-incoming function
- Fix input rendering with conditional bold attributes
Tests created but unable to run in this environment due to
SBCL reader issue at position 254. Code compiles correctly -
load works at runtime via load-skill-from-org.
- Created tests/lisp-utils-tests.lisp (20 tests)
- Created tests/emacs-edit-tests.lisp (6 tests)
- Updated opencortex.asd to include new test files
NOTE: Tests cannot run in this environment - needs running
SBCL with quicklisp. Need to run: (asdf:test-system :opencortex)
- Created tests/emacs-edit-tests.lisp with FiveAM tests
- Added to opencortex.asd test suite
Violation fixed: I previously added tests to org but didn't run them.
- Pure Lisp implementation (no Emacs subprocess)
- Read org files via ingest-ast
- Write back preserving structure (#+begin_src blocks)
- Add headlines with auto-generated IDs
- Set properties on headlines
- Set TODO states (TODO → DONE)
- Cognitive tools: :org-read, :org-write, :org-add-headline, :org-set-property, :org-set-todo
This enables self-editing on org files without breaking tangling.
Add explicit :depends-on declarations to ASDF components for proper
dependency resolution. This ensures correct load order even with
:serial t enabled.
Fixes the ASDF position tracking bug by making dependencies explicit.
BREAKING: Removed :serial t from ASDF to avoid position tracking bug.
Skills now load after other modules. Tools added with eval-when wrapper.
New cognitive tools: reload-skill, read-file, write-file, replace-string
Working backwards from SOTA parity. Critical analysis of OpenCode,
Claude Code (leaked source), GBrain, and OpenClaw/Hermes.
Every borrowed concept documented with BORROW/REJECT rationale.
All concepts reimplemented in pure Lisp.
- Policy skill: Add philosophical foundation, invariant priority explanations, code block documentation
- Bouncer skill: Add security vector explanations, flight plan workflow, approval lifecycle
- README: Add architecture diagrams (mermaid), design principles, roadmap details
Each function now has detailed docstrings explaining:
- What it does
- Why it was designed that way
- How it fits into the larger system
- loop.org: Explain metabolic pipeline, error recovery, heartbeat
- reason.org: Document dual-engine architecture (probabilistic + deterministic)
- act.org: Detail actuation, actuator pattern, feedback loop
- perceive.org: Explain signal normalization, async vs sync processing
- manifest.org: Add ASDF system design, boundary contract
Each function now has its own code block with detailed docstrings explaining:
- What the function does
- Why it was designed that way
- How it fits into the larger system
- Parameter descriptions
- Return values
- 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.
- Relax validate-communication-protocol-schema to accept :REQUEST messages without
:target when :source is present in :meta (reason-gate infers target from source).
- This preserves 'equality of clients' — gateways don't duplicate routing logic.
- Add communication-validator to ASD components.
- Fixes TCP CLI gateway integration: clients can now connect and receive responses.
- Verified with test client: 13/13 skills load, Perceive gate processes messages.
- load-skill-from-org now only collects #+begin_src lisp blocks that have a
:tangle directive pointing to a runtime .lisp file, excluding tests/ paths.
- validate-lisp-syntax falls back to a basic reader check when
lisp-validator-validate is not yet fboundp, breaking the circular dependency
between the harness loader and the validator skill.
- Verified full boot: 13/13 skills load successfully, including the new
skill-lisp-validator (priority 900) and skill-policy (priority 500).