darkplex-core/cortex
Claudia 0484c6321a
Some checks failed
Tests / test (push) Failing after 5s
feat(memory): add session memory persistence module
New cortex/memory/ module that provides:
- boot_assembler: builds BOOTSTRAP.md from threads, decisions, narrative
- thread_tracker: tracks conversation threads across sessions via NATS
- narrative_generator: daily narrative with Ollama LLM (fallback: structured)
- pre_compaction: snapshot pipeline before context compaction

CLI commands:
- cortex memory bootstrap [--dry-run] [--workspace DIR]
- cortex memory snapshot [--workspace DIR]
- cortex memory threads [--summary] [--hours N]

All paths configurable via WORKSPACE_DIR, NATS_URL, AGENT_NAME env vars.
No hardcoded paths. Works with any OpenClaw agent.

Fixes array/dict handling for empty threads.json and decisions.json.
2026-02-13 11:52:25 +01:00
..
governance fix: all imports updated to cortex.xxx namespace — 405 tests green 2026-02-12 08:47:45 +01:00
intelligence feat(memory): add session memory persistence module 2026-02-13 11:52:25 +01:00
memory feat(memory): add session memory persistence module 2026-02-13 11:52:25 +01:00
__init__.py feat: initial cortex package — 8 intelligence modules, CLI, Docker 2026-02-09 11:18:20 +01:00
alert.py fix: sync missing import os + stray } from darkplex-core PR #2 (YesMan) 2026-02-11 20:25:29 +01:00
anomaly.py fix: sync missing import os + stray } from darkplex-core PR #2 (YesMan) 2026-02-11 20:25:29 +01:00
auto_handoff.py fix: all 169 tests passing 2026-02-09 11:21:44 +01:00
cli.py feat(memory): add session memory persistence module 2026-02-13 11:52:25 +01:00
composite_scorer.py feat: initial cortex package — 8 intelligence modules, CLI, Docker 2026-02-09 11:18:20 +01:00
config.py refactor: remove all hardcoded paths, use env vars + config 2026-02-09 12:13:18 +01:00
context.py fix: format specifier crash when stream_info is None 2026-02-09 12:51:56 +01:00
dpo_extractor.py feat: expand signal extraction — positive reinforcement, teaching, soft redirects 2026-02-12 10:23:31 +01:00
enhanced_search.py refactor: remove all hardcoded paths, use env vars + config 2026-02-09 12:13:18 +01:00
entity_manager.py Merge darkplex-core into cortex — unified intelligence layer v0.2.0 2026-02-12 08:43:02 +01:00
feedback_loop.py refactor: remove all hardcoded paths, use env vars + config 2026-02-09 12:13:18 +01:00
health_scanner.py refactor: remove all hardcoded paths, use env vars + config 2026-02-09 12:13:18 +01:00
init.py feat: cortex init + schedule — self-managed jobs via systemd/launchd 2026-02-09 12:19:15 +01:00
intent_classifier.py feat: initial cortex package — 8 intelligence modules, CLI, Docker 2026-02-09 11:18:20 +01:00
knowledge_extractor.py Merge darkplex-core into cortex — unified intelligence layer v0.2.0 2026-02-12 08:43:02 +01:00
learn.py fix: format specifier crash when stream_info is None 2026-02-09 12:51:56 +01:00
llm_extractor.py Merge darkplex-core into cortex — unified intelligence layer v0.2.0 2026-02-12 08:43:02 +01:00
loop.py Merge darkplex-core into cortex — unified intelligence layer v0.2.0 2026-02-12 08:43:02 +01:00
memory_hygiene.py refactor: remove all hardcoded paths, use env vars + config 2026-02-09 12:13:18 +01:00
monitor.py fix: sync missing import os + stray } from darkplex-core PR #2 (YesMan) 2026-02-11 20:25:29 +01:00
needs.py fix: sync missing import os + stray } from darkplex-core PR #2 (YesMan) 2026-02-11 20:25:29 +01:00
predict.py feat: port needs, alert, summarize, anomaly, predict, monitor modules 2026-02-09 16:20:22 +01:00
roadmap.py refactor: remove all hardcoded paths, use env vars + config 2026-02-09 12:13:18 +01:00
scheduler.py fix: format specifier crash when stream_info is None 2026-02-09 12:51:56 +01:00
sentinel.py fix: format specifier crash when stream_info is None 2026-02-09 12:51:56 +01:00
summarize.py fix: sync missing import os + stray } from darkplex-core PR #2 (YesMan) 2026-02-11 20:25:29 +01:00
tracker.py fix: format specifier crash when stream_info is None 2026-02-09 12:51:56 +01:00
triage.py feat: initial cortex package — 8 intelligence modules, CLI, Docker 2026-02-09 11:18:20 +01:00
validate_output.py feat: initial cortex package — 8 intelligence modules, CLI, Docker 2026-02-09 11:18:20 +01:00