|
|
0484c6321a
|
feat(memory): add session memory persistence module
Tests / test (push) Failing after 5s
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 |
|
|
|
fd7d75c0ed
|
Merge darkplex-core into cortex — unified intelligence layer v0.2.0
Tests / test (push) Failing after 2s
- Merged all unique darkplex-core modules into cortex:
- intelligence/ subfolder (anticipator, collective, shared_memory, knowledge_cleanup, temporal, llm_extractor, loop)
- governance/ subfolder (policy engine, risk scorer, evidence, enforcer, report generator)
- entity_manager.py, knowledge_extractor.py
- Fixed bare 'from intelligence.' imports to 'from cortex.intelligence.'
- Added 'darkplex' CLI alias alongside 'cortex'
- Package renamed to darkplex-core v0.2.0
- 405 tests passing (was 234)
- 14 new test files covering all merged modules
|
2026-02-12 08:43:02 +01:00 |
|