Commit Graph

101 Commits

Author SHA1 Message Date
31acf347de Add org-skill-literate-programming+engineering-standards skills
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
- Add org-skill-literate-programming: enforce Org discipline
  - One function per block, pre-tangle check, .lisp is derived
- Extend org-skill-engineering-standards with Phase 0-5 lifecycle
  - Test-first design, three chaos tiers
  - Literate programming rules, decision audit trail
2026-04-25 18:42:17 -04:00
d177a12469 wip: paren balance fixes in policy blocks + engineering standards scaffolding
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 16s
- Fix unbalanced parens in org-skill-policy.org (8 blocks)
- Add org-skill-engineering-standards.lisp scaffolding
- Add org-skill-self-fix.lisp helper
- Add test runners and tool-permissions tests

Note: Some fixes may be over-corrections. Full structural audit needed.
2026-04-25 12:05:23 -04:00
249d537ca2 Add org-skill-self-edit: self-repair with paren balancing
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
- New skill hooks into :syntax-error and :repair-request events
- Deterministic paren balancing (fast fix)
- Surgical file edits with memory rollback on failure
- :self-edit and :balance-parens cognitive tools
- 9 new tests, all 93 tests passing
2026-04-23 22:18:31 -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
037584b105 Add org-skill-emacs-edit for structured org manipulation
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
- 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.
2026-04-23 07:35:35 -04:00
de9da130a1 Consolidate Lisp utilities into core skills
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
- Merge lisp-validator + lisp-repair → org-skill-lisp-utils.org
- Add self-fix skill (from contrib)
- Add engineering standards skill (from contrib)
- Delete old org-skill-lisp-validator.org

This consolidates all Lisp utilities (count-char, deterministic-repair,
neural-repair, structural/syntactic/semantic validation) into one skill.
2026-04-23 07:22:28 -04:00
1f10e51309 docs: Comprehensive documentation for core skills and README
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
- 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
2026-04-22 16:58:10 -04:00
b62b7f1095 fix: protocol validator allows REQUEST without :target if :source is present
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
- 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.
2026-04-22 14:47:34 -04:00
76040c1f48 feat: Add Lisp Validator skill with 3-phase deterministic gate
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 5s
- Implements structural (O(n) paren balance), syntactic (reader with *read-eval* nil),
  and semantic (whitelist AST walk) validation.
- Exposes :validate-lisp cognitive tool for Probabilistic Engine self-correction.
- Replaces validate-lisp-syntax stub in harness/skills.org with delegation.
- Adds mandatory validation rule to Probabilistic Engine system prompt.
- Refactors org-skill-policy.org with 6 concrete invariants (Transparency, Autonomy,
  Zero-Bloat, Modularity, Mentorship, Sustainability) and explicit override hierarchy.
- Adds Harness Boundary Contract to harness/manifest.org.
2026-04-22 13:12:49 -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
cab0e5a459 RELEASE: OpenCortex v0.1.0 (The Autonomous Foundation)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
- Audited Reactive Signal Pipeline.
- Finalized Unified Envelope & Provider-Agnosticism.
- Completed workspace cleanup and documentation.
- Hardened installer for VM/Docker deployment.
2026-04-20 19:05:37 -04:00
c70f182888 FEAT: Stabilize Unified Envelope Architecture & TUI UX
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
- Fixed background boot crash via --non-interactive flag.
- Implemented robust protocol sanitization (stripped raw streams).
- Refined TUI formatting to display human-readable tool results.
- Fixed opencortex.sh variable shadowing and connection logic.
- Resolved :target field schema validation errors.
2026-04-20 18:19:54 -04:00
b7622feb38 fix(gateway): Total clean-room rewrite of CLI Gateway (verified stable)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 20:36:45 -04:00
0834b4695c fix(protocol): Definitive S-expression restoration and synchronization
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 20:34:26 -04:00
499ef377e6 fix(protocol): Migrate to JSON framing with newline delimiters (resolves desync)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 20:23:27 -04:00
95fecdd64c fix(protocol): Whitelist :CHAT message type in schema validator
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 19:59:26 -04:00
9ae5d03f14 debug(protocol): Log rejected messages in validator
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 19:56:30 -04:00
e2d1d9ac8f fix(protocol): Force uppercase normalization for message types in validator
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 19:47:21 -04:00
5ad02f6f2e fix(protocol): Make validator case-insensitive and normalize actuation keywords
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 19:44:26 -04:00
e1ce366130 fix(tui): Definitive syntax repair and case-insensitive handling
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 18:37:15 -04:00
63e7e9ce32 fix(gateway): Case-insensitive key lookup in get-nested (OpenRouter response fix)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 17:35:25 -04:00
ec1f4af623 fix(gateway): Repair malformed handler-case syntax in LLM Gateway
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 17:32:53 -04:00
0f49356886 fix(gateway): Harden response parsing and enable neural debugging (OpenRouter fix)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 17:31:00 -04:00
3374d27e75 fix(reason): Initialize neural provider cascade (resolves Neural-Dead kernel)
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 17:22:30 -04:00
31f963243d fix(kernel): Normalize default actuators to uppercase :CLI
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 16:30:38 -04:00
72c6032556 fix(protocol): Normalize actuator registration to uppercase :CLI
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 16:28:15 -04:00
1944084426 fix(kernel): Refine jailing logic and bouncer dependencies for cleaner boot
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 15:56:44 -04:00
60384d4f32 fix(memory): Clean-room rewrite to purge FiveAM syntax errors
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 15:52:51 -04:00
91adcc7876 fix(actuator): Clean-room rewrite of shell-actuator skill to purge syntax errors
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 15:51:29 -04:00
a9f0d9ab49 fix(skills): Resolve too many colons in package qualifications
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 15:49:54 -04:00
79a3f303cc fix(skills): Comprehensive syntax and symbol repair for all skills
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 15:47:59 -04:00
655fb09e55 fix(skills): Definitive fix for character literal syntax
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 15:43:26 -04:00
c5bd63e388 fix(skills): Purge backslash corruption and add missing kernel stubs
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 15:40:44 -04:00
e8c66c7e4a fix(protocol): Normalize all keywords to uppercase to resolve TUI routing duplicates
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 15:31:25 -04:00
455a1a62b2 fix(protocol): Synchronize uppercase keywords for TUI and CLI Gateway
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 15:27:33 -04:00
d00112156f fix(vault): Define *vault-memory* as opencortex::*vault-memory* to fix Unbound Variable crash on CHAT-MESSAGE
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 15:05:05 -04:00
9444952d81 fix(vault): Properly comment out fiveam test forms
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 13:52:53 -04:00
65d230e502 fix(protocol): Whitelist :STATUS message type in schema validator
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 12:26:44 -04:00
af55fa525e fix(mvp): Resolve protocol desync, TUI scoping, and installer fallthrough
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 11:32:06 -04:00
d8236cb2cf fix(mvp): 100% Green Boot, Llama.cpp backend, and setup refinement
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-17 20:25:01 -04:00
da38bea182 fix(mvp): Resolve installer fallthrough and TUI connection hang
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-17 19:57:45 -04:00
7c44e00a5f feat(gateway): Upgrade CLI Gateway to high-integrity framed protocol
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-17 19:49:12 -04:00
0debfe5a95 refactor: Switch TUI/daemon communication from JSON to Lisp S-Expressions 2026-04-17 13:36:54 -04:00
47a2cf6478 feat: Implement croatoan-based TUI client and structured CLI gateway 2026-04-17 13:24:10 -04:00
53eee06225 REFAC: Standardize on Cognitive Cycle and harden harness 2026-04-16 12:00:12 -04:00
849c078c37 REFAC: Global rename of org-agent to opencortex 2026-04-14 12:10:11 -04:00
b58b780a44 BRAND: Rename to OpenCortex and prune roadmap to v3.0.0 2026-04-14 11:51:17 -04:00
da0919149e REFAC: Shift terminology to Autonomy and harden CLI via socat 2026-04-14 09:37:40 -04:00
b1656d0835 REFAC: Added emacs-nox to Dockerfile and updated GTD mandate in standards 2026-04-13 21:20:56 -04:00
25600cd70e FIX: Scribe now appends to existing notes and uses version-based filtering 2026-04-13 20:56:11 -04:00