d35aea391e
feat(v0.3.0): Event Orchestrator skill
...
- New system-event-orchestrator skill with hook registry, cron registry, and tier classifier
- Three dispatch tiers: :reflex (no LLM), :cognition (light), :reasoning (full)
- Org-mode timestamp parsing for repeat patterns (+1w, +1d, +1m)
- Registers on heartbeat via defskill, dispatches due cron jobs
- Fix all remaining harness-log → log-message references across org files
2026-05-02 22:36:39 -04:00
95d1ea3fed
feat: add DeepSeek and NVIDIA NIM providers
...
- Add deepseek and nvidia entries to gateway-provider config
- Add DEEPSEEK_API_KEY and NVIDIA_API_KEY to .env.example
- Add deepseek and nvidia to doctor's LLM provider check
- Fix remaining harness-log → log-message reference
2026-05-02 22:25:24 -04:00
d803889c01
fix(ci): remove ql:add-to-init-file (stdin prompt hangs in non-interactive)
v0.2.1
2026-05-02 18:05:36 -04:00
5a3538ece1
fix(ci): alternate quicklisp install path
2026-05-02 18:02:06 -04:00
f1e375f237
fix(ci): opt into Node 24 to silence deprecation warning
2026-05-02 17:56:09 -04:00
f80c16eed9
fix(lint): handle :tangle-generated .lisp files
2026-05-02 17:17:36 -04:00
0d6854e610
fix(ci): remove inconsistent HOME=/root override
2026-05-02 17:14:00 -04:00
2c5a271262
fix(test): add emacs-nox dep, fix daemon smoke test handshake
Deploy (Gitea) / deploy (push) Failing after 3s
2026-05-02 17:11:17 -04:00
41de20d3f1
v0.2.1: polish, deploy, CI, and literate refactor
...
Deploy (Gitea) / deploy (push) Failing after 11s
- Secret Exposure Gate + Privacy Filter (Bouncer)
- Shell actuator safety harness (timeout, blocked patterns)
- REPL-first enforcement (lisp validation gate, system-prompt-augment)
- Engineering Standards lifecycle (two-track Org-first + REPL-first)
- Literate Programming discipline (one function per block, reflect-back)
- AGENTS.md: thin routing layer, skills are authoritative
- SKILLS_DIR removed, ~/notes fallback eliminated
- opencortex.sh: multi-distro (Debian+Fedora), configure, install service, backup, restore, help
- infrastructure/opencortex.service (systemd user unit)
- Docker: updated to debian:trixie, fixed build context
- GitHub CI: lint + test workflows fixed, trigger on tags only
- Gitea CI: deploy workflow paths fixed
- README: one-line curl install, badges
- USER_MANUAL: Deployment section (bare metal, Docker, backup)
- .gitignore: skills/*.lisp and tests/*.lisp as generated artifacts
- Prose/block refactor across all 35 org files
- Test suite Tier 1: 43/45 pass (env-dependent failures isolated)
2026-05-02 17:04:33 -04:00
9e77958028
feat(opencortex): project-local TODO.org and expanded design decisions
...
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
- Create TODO.org for project-specific tasks (migrated from gtd.org)
- Expand DESIGN_DECISIONS.org with 8 new sections:
- Self-modification without boundaries (vs Hermes)
- Lisp and the AI Dream (1958 vision fulfilled)
- REPL as cognitive substrate (with REPL explanation)
- Evaluation harness (SWE-bench, chaos testing)
- Observability and the thought trace
- MCP strategy (native Lisp client)
- Local-first architecture
- Zero-dependendency deployment
- Fix org-mode syntax errors in tui-client
Parent gtd.org now links to projects/opencortex/TODO.org
Add projects/opencortex/TODO.org to org-agenda-files in emacs-gtd.org
2026-05-01 21:42:54 -04:00
9191aecab2
fix(tui): resolve crash by removing --non-interactive and adding defensive rendering
2026-05-01 18:16:55 -04:00
48520ec517
refactor(harness): centralize mandates, fix TUI reader structure, and enhance memory/perceive
2026-05-01 12:43:25 -04:00
6aec587e90
feat(tui): add background reader, error handling, connection state
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-30 19:56:56 -04:00
a3d07209b6
feat(v0.2.0): unified OpenAI-compatible LLM backend
...
Replace Ollama-specific backend with unified org-skill-unified-llm-backend
that speaks OpenAI API. Works with:
- Local: Ollama (default), vLLM, LM Studio, llama.cpp
- Cloud: OpenRouter, OpenAI, Anthropic, Groq, Gemini
Providers auto-registered from env vars. No separate skills per provider.
Cascade order configured via PROVIDER_CASCADE env var.
Also fix .env loading path in loop (was .local/share, now .config matches wizard).
2026-04-30 18:44:28 -04:00
b63f5477c1
fix(v0.2.0): resolve TUI crash and setup wizard errors
...
- Fix unbalanced parens in config-manager (set-config-value, setup-gateways)
- Fix assoc :key #'car SBCL compatibility issue in setup-llm-providers
- Add missing generate-tool-belt-prompt function
- Fix deterministic-verify to not overwrite action when skills return nil
- Add :explanation to think fallback responses for policy compliance
- Update opencortex.sh to tangle from repo org to XDG .lisp
- Remove generated .lisp artifacts from repo (skills, tests, state)
2026-04-30 17:04:01 -04:00
1eb8a3db92
refactor(skills): use %%SKILLS_DIR%% placeholder for portable tangling
...
- Updated 22 skill org files to use %%SKILLS_DIR%% placeholder
- Modified opencortex.sh setup to replace placeholder with XDG path
- Modified doctor_repair to handle placeholder replacement
- Removed hardcoded absolute path
2026-04-30 11:14:31 -04:00
dabf52f234
fix(skills): add (in-package :opencortex) to org-skill-repl.org
...
Required for tangling to work correctly in XDG location
2026-04-30 11:11:39 -04:00
21c792b019
refactor(skills): absolute XDG paths for tangling
...
- Updated all 23 skill org files to use absolute path
- Tangle now outputs directly to ~/.local/share/opencortex/skills/
- Removed env var (org-babel doesn't expand it)
2026-04-30 11:09:46 -04:00
dd8bb6e3c8
refactor(skills): use XDG paths for tangle destinations
...
- Updated all 22 skill org files to use $OC_DATA_DIR/skills/ paths
- Removed manually created .lisp file (tangling now targets XDG)
- Files will now tangle to ~/.local/share/opencortex/skills/
2026-04-30 11:09:21 -04:00
ddc60b8ff7
fix(harness): resolve compile errors
...
- FIX: memory.lisp - rename copy-org-object to deep-copy-org-object
to avoid conflict with defstruct auto-generated copier
- FIX: reason.lisp - fix malformed char= syntax on line 74
(was: #\((char= ... should be: or (char= ... #\() (char= ... #\[))
2026-04-30 10:58:22 -04:00
1080f0b873
feat(skills): add org-skill-repl for persistent Lisp evaluation
...
- NEW: org-skill-repl skill enables:
* repl-eval: evaluate code with result+output+error separation
* repl-inspect: inspect variables and functions
* repl-list-vars: list all bound symbols in package
* repl-load-file: load files into image
* repl-set-package: switch default package
* repl-help: show available commands
- Supports REPL-first workflow with literate reflection in org
- Priority 200 (after diagnostics, before utils-lisp)
- Follows same pattern as existing skills (in-package, defskill)
2026-04-30 10:54:05 -04:00
6a6f4479ac
feat(core): Skills consolidation and v0.2.0 TUI integration
...
- NEW: org-skill-utils-lisp (consolidated from org-skill-lisp-utils)
* 3-phase validation: structural, syntactic, semantic
* Sandboxed eval, AST extraction/injection/wrapping
* Format, list-definitions utilities
- NEW: org-skill-utils-org (consolidated from org-skill-emacs-edit)
* Read/update/delete org headlines
* Property management, TODO state handling
* ID-link and internal link support
- DELETE: org-skill-lisp-utils (merged into utils-lisp)
- DELETE: org-skill-emacs-edit (merged into utils-org)
- RENAME: run-all-tests.lisp -> run-tests.lisp
- HARDEN: Skill loader with improved lisp keyword handling
- FIX: Package jailing issues with def-cognitive-tool macro conflicts
- ADD: Setup wizard (opencortex setup) and doctor (opencortex doctor)
- ADD: TUI client with Croatoan for native terminal rendering
- REMOVE: Dynamic loading from opencortex.asd (use :force t instead)
- CLEANUP: Test file consolidation (removed duplicate test suites)
Co-authored-by: Agent <agent@memex>
2026-04-30 10:52:20 -04:00
c0d3f066e8
Proactive doctor, setup wizard, and TUI fixes
...
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
BREAKING CHANGES / KNOWN ISSUES:
- 8 skills have syntax errors causing loader warnings:
org-skill-bouncer, org-skill-config-manager, org-skill-credentials-vault,
org-skill-engineering-standards, org-skill-gardener, org-skill-homoiconic-memory,
org-skill-peripheral-vision, org-skill-policy
- These skills fail to load but don't block system operation
- TUI works despite these errors
FEATURES ADDED:
1. Proactive Doctor System
- Doctor runs automatically on daemon startup
- Health check runs before accepting connections
- Adds /health endpoint for health status queries
- *system-health* variable tracks: :healthy, :degraded, :unhealthy, :unknown
2. Error Handling (Option B - Debugger Hook)
- TUI and CLI now run doctor diagnostics on errors
- Shows "Run opencortex doctor" message on crash
- Suggests repair commands after failures
3. Interactive Setup Wizard (org-skill-config-manager)
- Full wizard implemented in config-manager skill:
* LLM provider configuration (OpenAI, Anthropic, OpenRouter, Groq, Gemini, Ollama)
* Gateway linking (Slack, Discord)
* Memory settings (auto-save interval, history retention)
* Network settings (timeout, proxy)
- Saves to ~/.config/opencortex/.env (KEY=VALUE format)
- CLI integration: opencortex setup, setup --add-provider, setup --link
4. CLI Enhancements
- doctor --watch: Background health monitoring (60s interval)
- doctor --fix: Interactive repair (falls back to full setup if core files missing)
- setup command runs wizard or delegates to setup_system
5. TUI Fixes
- Inlined message formatting to avoid dependency issues
- Added error handling in handle-return
- Cleaner error messages
6. Thin Harness Compliance
- Removed doctor from harness (now in org-skill-diagnostics skill)
- XDG directories: only .lisp in harness, .org kept in skills for loader
2026-04-29 12:58:09 -04:00
31d3a52aeb
fix(skills): improve skill loader to allow lisp keywords at start of line
2026-04-28 20:07:14 -04:00
c180e55cb3
fix(skills): ensure skill loader collects lisp blocks inheriting tangle properties
2026-04-28 20:04:46 -04:00
55599d3cba
debug(skills): add package diagnostic logs
2026-04-28 20:02:18 -04:00
9faa861014
fix(skills): implement symbol exporting in skill loader
2026-04-28 20:00:27 -04:00
75957dfc69
fix(cli): use dynamic funcall for skill functions in setup and doctor
2026-04-28 19:58:40 -04:00
5068e4a2c5
fix(skills): implement symbol exporting for dynamic loading
2026-04-28 19:57:56 -04:00
2030538281
fix(setup): initialize skills before running setup wizard and resolve syntax errors in config manager
2026-04-28 19:56:54 -04:00
45d8531efa
fix(daemon): implement and start network listener for TUI connectivity
2026-04-28 19:52:38 -04:00
a616c509ca
fix(chaos): standardize test tangle paths to ../tests/ for deployment
2026-04-28 19:42:45 -04:00
553c93e2c7
fix(tui): complete reconstruction of tui-client.org to resolve catastrophic syntax failures
2026-04-28 19:40:22 -04:00
8a54e769c4
fix(chaos): finalized system reconstruction for scorched earth
2026-04-28 19:19:51 -04:00
829bd7b7aa
fix(skills): finalize reconstructions for diagnostics and llm-gateway
2026-04-28 19:18:49 -04:00
8ad7443d3f
fix(skills): finalize reconstructions for diagnostics and llm-gateway
2026-04-28 19:18:11 -04:00
ad891a86e6
fix(loop): complete reconstruction of loop.org to resolve catastrophic syntax failures
2026-04-28 19:17:25 -04:00
224ede8cca
fix(act): complete reconstruction of act.org to resolve catastrophic syntax failures
2026-04-28 19:16:38 -04:00
9506b23ea6
fix(reason): complete reconstruction of reason.org to resolve catastrophic syntax failures
2026-04-28 19:15:31 -04:00
9f71f7c391
fix(perceive): complete reconstruction of perceive.org to resolve catastrophic syntax failures
2026-04-28 19:14:49 -04:00
fa44b2a58e
fix(perceive): resolve unclosed docstrings and strings
2026-04-28 19:14:09 -04:00
171652a887
fix(context): complete reconstruction of context.org to resolve catastrophic syntax failures
2026-04-28 19:13:09 -04:00
d6fa4a12d7
fix(chaos): finalized system reconstruction for scorched earth
2026-04-28 19:11:58 -04:00
4ff9d519be
fix(communication): correct unclosed string in validator
2026-04-28 19:10:34 -04:00
63cf7bc033
fix(communication): correct missing closing quote in actuator registry docstring
2026-04-28 19:10:01 -04:00
27dd58f238
fix(skills): complete reconstruction of skills.org to resolve catastrophic syntax failures
2026-04-28 19:09:29 -04:00
f465dcc59c
fix(chaos): reset and standardize all tangle headers to clean relative paths
2026-04-28 19:08:31 -04:00
4669fcf22a
fix(harness): complete reconstruction of package.org to resolve catastrophic syntax failures
2026-04-28 19:07:31 -04:00
c2ffcd2c13
fix(harness): complete reconstruction of package.org to resolve catastrophic syntax failures
2026-04-28 19:05:47 -04:00
def2774c8f
fix(chaos): hard-inserted clean relative tangle headers in all core files
2026-04-28 19:04:34 -04:00