harness-rs-cortexdb 0.0.21

CortexDB-backed Memory for harness-rs: implements the harness-core Memory trait over CortexDB's MCP server (memory_save / memory_search), giving any harness agent semantic recall + a shared knowledge brain. Optional.
Documentation

harness-cortexdb — CortexDB as a harness Memory

Implements [harness_core::Memory] over CortexDB's MCP server: recall calls memory_search (semantic / lexical vector retrieval) and write calls memory_save. Drop it in anywhere a Memory is expected — the MemoryGuide, the experience layer (harness-experience), a scheduler, etc. — to get semantic recall and a brain that can be shared with other tools (Claude Code / Codex all use ~/.cortexdb by default).

use harness_cortexdb::CortexdbMemory;
use std::sync::Arc;

// Spawn CortexDB's MCP server; share the global brain (~/.cortexdb).
let mem = Arc::new(CortexdbMemory::connect_stdio("cortexdb-mcp-stdio", &[]).await?);
let recorder = harness_experience::ExperienceRecorder::new(mem); // semantic!

Harness MemoryEntry fields round-trip through CortexDB: content maps to the memory content; tags + source are stored under CortexDB's metadata and read back on recall.