Commit graph

6 commits

Author SHA1 Message Date
47f9703e3b feat: port needs, alert, summarize, anomaly, predict, monitor modules
All checks were successful
Tests / test (push) Successful in 3s
2026-02-09 16:20:22 +01:00
0123ec7090 fix: format specifier crash when stream_info is None
All checks were successful
Tests / test (push) Successful in 3s
2026-02-09 12:51:56 +01:00
cbd3556a09 feat: cortex init + schedule — self-managed jobs via systemd/launchd
All checks were successful
Tests / test (push) Successful in 2s
- cortex init: creates workspace, smoke tests, optional job setup
- cortex schedule list|status|enable|disable|logs
- Linux: systemd user timers
- macOS: launchd plists
- Jobs: feedback (6h), hygiene (daily), health (30min)
- --interval flag for custom intervals
- Replaces external OpenClaw cron jobs
- 169/169 tests green
2026-02-09 12:19:15 +01:00
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