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
9191aecab2
fix(tui): resolve crash by removing --non-interactive and adding defensive rendering
2026-05-01 18:16:55 -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
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
75957dfc69
fix(cli): use dynamic funcall for skill functions in setup and doctor
2026-04-28 19:58:40 -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
503d4536bf
fix(setup): properly route tangled tests and orchestrator
2026-04-28 18:50:48 -04:00
b46f19b4c9
fix(setup): use clean relative tangling from deployment subdirs
2026-04-28 18:02:17 -04:00
6f1e606cfa
fix(setup): cd into target dirs before tangling to resolve relative paths
2026-04-28 17:58:37 -04:00
00c3f8ef69
fix(setup): hardcode INSTALL_DIR in emacs eval for reliable tangling
2026-04-28 17:53:38 -04:00
8ed9a78d54
fix(setup): explicitly setenv INSTALL_DIR in emacs for reliable tangling
2026-04-28 17:52:21 -04:00
5be90dcb8f
fix(setup): require uiop in emacs for correct tangle path resolution
2026-04-28 17:51:04 -04:00
e8a3980fb4
fix(setup): harden emacs tangle command for non-interactive environments
2026-04-28 17:46:11 -04:00
1fb284b8b0
fix(setup): cd to OC_DATA_DIR before tangling to ensure correct artifact placement
2026-04-28 17:44:52 -04:00
ee6b263584
fix(setup): ensure tui-client.org is tangled explicitly during setup
2026-04-28 17:44:01 -04:00
d73f372e4b
fix(setup): copy harness org files to deployment dir for correct tangling
2026-04-28 17:43:22 -04:00
54b59c9019
fix(setup): restore and harden setup script for scorched earth bootstrap
2026-04-28 17:34:34 -04:00
fc0c069d65
tests: Add FiveAM tests for v0.2.0 completion
...
Self-edit: 5 new tests (apply success/not-found/file-not-found, parse-location x2)
Config-manager: 4 new tests (get-oc-config-dir, save-providers, configure-provider)
Gateway-manager: 2 new tests (multiple-platforms, registration)
Tier 1 Chaos: Verified org files pass structural balance
Note: Some tests have issues - config tests use functions not exported, one self-edit test has search function issue. Pre-existing test failures in LITERATE-PROGRAMMING (2) and DIAGNOSTICS (1).
2026-04-28 15:19:49 -04:00
08109414e8
fix(cli): ensure SKILLS_DIR and MEMEX_DIR are exported for all commands
2026-04-28 14:10:17 -04:00
e16d51e0f8
fix(setup): copy org skills to deployment dir and fix manifest tangle
2026-04-28 14:07:57 -04:00
80e327dd20
fix(v0.2.0): resolve macro conflicts, sync load order, and fix skill packaging
...
- Standardized def-cognitive-tool to 5-argument signature.
- Consolidated *cognitive-tools* as a hash table in package.lisp.
- Removed skills from opencortex.asd to enforce dynamic Skill Engine loading.
- Added missing (in-package :opencortex) to various skill files.
- Fixed let/let* sequential binding issues in emacs-edit and self-edit.
- Updated opencortex.sh to initialize skills before running doctor.
- Fixed uiop:user-homedir-pathname usage in config-manager.
2026-04-28 10:46:24 -04:00
a717ab1d3a
docs(milestone): complete v0.2.0 Interactive Refinement
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-27 20:17:56 -04:00
41e25d091e
refactor(standard): granularity, XDG compliance, and literate thinking medium
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-27 19:53:45 -04:00
2e8e79a193
fix(v0.2.0): finalize structural integrity and clean boot
...
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
75b7d5e710
fix(build): resolve self-copy collision in opencortex.sh
...
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
Added a guard to skip file copying if SCRIPT_DIR and INSTALL_DIR are identical,
preventing the 'same file' error when running in local development mode.
2026-04-27 17:51:51 -04:00
f940861921
build: dynamically tangle to INSTALL_DIR without copying .org files
...
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
6c333af7aa
ARCH: Finalize semantic reorganization, skill jailing, and unified CLI
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)
...
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
...
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
5a164363b8
fix(reason): Mandate strict sexp output and implement cognitive extraction safety
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 20:51:48 -04:00
fb5a5b19cc
fix(boot): Implement boot.lock to prevent duplicate daemon race conditions
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 19:19:42 -04:00
7bd58d7089
fix(boot): Use --eval '(load ...)' instead of --load '(form)' for pre-compilation
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 19:13:58 -04:00
54bc4743fd
fix(boot): Correct shell quoting for Lisp pre-compilation form
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 19:10:52 -04:00
89ddfd8ec3
fix(boot): Perform full foreground pre-compilation to prevent FASL race conditions
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 8s
2026-04-19 19:08:59 -04:00
40beb513e9
fix(boot): Remove destructive cache purge from TUI launch to prevent race condition
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 6s
2026-04-19 19:04:17 -04:00
ef5b13dd15
fix(boot): Implement Neural Cache Warming to prevent compilation race conditions
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 19:00:50 -04:00
63e821ede3
fix(kernel): Aggressive Lisp cache purge and keyword normalization
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 16:44:46 -04:00
7a5c4f0b18
fix(kernel): Definitive quote stripping and env detection
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 16:17:44 -04:00
6117793cd9
fix(boot): Use explicit bash invocation to prevent Permission denied on execution
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 14:18:05 -04:00
b867c8066f
fix(tui): Purge final newline from protocol and disable Lisp debugger for TUI
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 12:18:49 -04:00
d99166d41a
fix(setup): Restore bash variables accidentally evaluated during refactor
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 11:54:38 -04:00
eb33106771
refactor(setup): Implement strict command router to eliminate fallthrough bugs
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 11:47:44 -04:00
6a23c23e89
fix(setup): Inject exit 0 to prevent fallback CLI execution
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 11:44:42 -04:00
1bb2d92f3f
fix(setup): Definitively halt script after setup success to prevent CLI fallthrough
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
2026-04-19 11:42:22 -04:00
559d4bd6de
fix(setup): Correctly exit after setup success to prevent protocol fallthrough
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-19 11:37:23 -04:00
af55fa525e
fix(mvp): Resolve protocol desync, TUI scoping, and installer fallthrough
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
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
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
2026-04-17 19:57:45 -04:00