Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(memory): document live CortexDB integration test

Steven Enamakel8232e235ea26
diff --git a/crates/openhuman-core/src/memory/README.md b/crates/openhuman-core/src/memory/README.md
index b1d33fc24f..ac3df2d915 100644
--- a/crates/openhuman-core/src/memory/README.md
+++ b/crates/openhuman-core/src/memory/README.md
@@ -60,3 +60,13 @@ in `config.toml`; the CortexDB key is in the OS keychain.
`tests/memory_v2_e2e.rs` (JSON-RPC against the mock backend),
`app/test/playwright/specs/memory-v2.spec.ts` (UI), and the sibling `*_tests.rs`.
+
+Against a real CortexDB server, `scripts/test-memory-cortexdb-live.sh` boots the
+pinned harness in Docker (`vendor/tinymemory/integration/cortexdb/`, v0.10.4 by
+default, `CORTEXDB_VERSION=v0.9.9` for the older release) and runs
+`tests/memory_cortexdb_live.rs`. That test spawns the real `openhuman-core`
+binary with the `cortexdb` engine and checks learnings, a synced folder source,
+web-chat conversation ingestion, recall, and `context.md` (compiled by its cron
+job, written to disk, and injected into a new thread's first message). It skips
+unless `OPENHUMAN_LIVE_CORTEXDB_URL` is set, so plain test runs never need
+Docker.
diff --git a/gitbooks/developing/architecture/memory.md b/gitbooks/developing/architecture/memory.md
index ddb055dd92..22a7a700c9 100644
--- a/gitbooks/developing/architecture/memory.md
+++ b/gitbooks/developing/architecture/memory.md
@@ -48,3 +48,13 @@ The MCP server exposes `memory.recall`, `memory.fetch`, `memory.list`, `memory.l
## Tests
`tests/memory_v2_e2e.rs` (JSON-RPC), `app/test/playwright/specs/memory-v2.spec.ts` (UI), and unit tests beside each module (`*_tests.rs`).
+
+Against a real CortexDB server, `scripts/test-memory-cortexdb-live.sh` boots the
+pinned harness in Docker (`vendor/tinymemory/integration/cortexdb/`, v0.10.4 by
+default, `CORTEXDB_VERSION=v0.9.9` for the older release) and runs
+`tests/memory_cortexdb_live.rs`. That test spawns the real `openhuman-core`
+binary with the `cortexdb` engine and checks learnings, a synced folder source,
+web-chat conversation ingestion, recall, and `context.md` (compiled by its cron
+job, written to disk, and injected into a new thread's first message). It skips
+unless `OPENHUMAN_LIVE_CORTEXDB_URL` is set, so plain test runs never need
+Docker.