Commit graph

3 commits

Author SHA1 Message Date
734f96cfcf refactor: remove all hardcoded paths, use env vars + config
All checks were successful
Tests / test (push) Successful in 2s
All ~/clawd/ references replaced with configurable paths:
- CORTEX_HOME (default: ~/.cortex)
- CORTEX_MEMORY_DIR, CORTEX_CONFIG, CORTEX_GROWTH_LOG, CORTEX_ROADMAP
- permanent_files configurable via config.json
- Tests pass both with and without env vars set
- 169/169 tests green
2026-02-09 12:13:18 +01:00
58251e5ce1 fix: all 169 tests passing
- Fixed auto_handoff: added default markers (DECISION/TODO/BLOCKED/QUESTION)
- Fixed enhanced_search: internal imports use cortex. prefix
- Fixed intent_classifier test: stronger WHEN query for date_tokens test
- Fixed test imports: all use cortex.module_name
- Fixed triage test: accept MINIMAL classification for very low priority
- Fixed typo: self.self.assertIn → self.assertIn
2026-02-09 11:21:44 +01:00
43d033e242 feat: initial cortex package — 8 intelligence modules, CLI, Docker
Modules: triage, health_scanner, feedback_loop, memory_hygiene,
         roadmap, validate_output, enhanced_search, auto_handoff
         + composite_scorer, intent_classifier

CLI: 'cortex <module> <command>' unified entry point
Tests: 157/169 passing (12 assertion mismatches from rename)
Docker: python:3.11-slim based
2026-02-09 11:18:20 +01:00