Skip to content

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

docs(memory): describe the hosted families added for phase 2

Shanu48e62aef0827
diff --git a/crates/openhuman-core/src/memory/driver/README.md b/crates/openhuman-core/src/memory/driver/README.md
index 8885a750bc..f5a975e23c 100644
--- a/crates/openhuman-core/src/memory/driver/README.md
+++ b/crates/openhuman-core/src/memory/driver/README.md
@@ -51,23 +51,28 @@ dialect adds:
- **CortexDB and TinyHumans:** document, conversation, learning and event
ingest, and `answer`.
-- **TinyHumans alone:** `goals`, `tool_memory`, `documents`, `sources` and
- `maintenance` too (tinymemory's hosted-families spec).
+- **TinyHumans alone:** `goals`, `tool_memory`, `documents`, `sources`,
+ `maintenance`, `retrieval`, `ingest`, `profile`, `episodic`, `scoring` and
+ `tree` too (tinymemory's hosted-families spec).
- **Mem0:** conversation ingest and graph.
- **Cognee:** graph.
-The other module-only surfaces are absent from those engines: `tree`,
-`entities`, `people`, `retrieval`, `source_sync`, `coding_sessions`, and on
-every remote engine but TinyHumans the five above. Their RPCs
+The other module-only surfaces are absent from those engines: `chunks`,
+`entities`, `people`, `source_sync`, `coding_sessions`, and on every remote
+engine but TinyHumans the families above. For an engine with a sink and no
+`source_sync` (TinyHumans), the host syncs local sources itself
+(`memory/sources/hosted_sync.rs`). Their RPCs
are capability-gated out of the registry when a context is ambient, and answer
"memory driver does not support the ... family" otherwise. `provider_status`,
the engine RPCs and the mandatory core/recall RPCs are never gated.
-Two host lanes read the mandatory recall on such an engine, and an engine that
-ranks without scoring (hosted CortexDB) changes what they can do. Auto-recall's
-notes leg keeps the engine's first `AUTO_RECALL_UNSCORED_NOTES` hits instead of
-flooring similarities that all read 0.0 (`memory/auto_recall`), and a refused
-lookup puts its reason in the block (`auto_recall/refusal.rs`). Situational
+Two host lanes read namespace recall, and an engine that ranks without scoring
+(hosted CortexDB) changes what they can do, whether it answers through the
+mandatory recall or its retrieval family (whose hits carry a rank and no
+signal: `memory/ops/fallback.rs::rank_only`). Auto-recall's notes leg keeps the
+engine's first `AUTO_RECALL_UNSCORED_NOTES` hits instead of flooring
+similarities that all read 0.0 (`memory/auto_recall`), and a refused lookup
+puts its reason in the block (`auto_recall/refusal.rs`). Situational
preferences and the contradiction check (`memory/preferences`) cannot judge
relevance without a score and answer nothing. A connector sync resolves the
Sources sink before it asks the connector for pages, because the connector
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rs b/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rs
index 11ca959383..aedab426c2 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rs
@@ -347,7 +347,7 @@ Capability {
name: "Memory Engine",
domain: "intelligence",
category: CapabilityCategory::Intelligence,
- description: "Choose which engine stores and recalls the assistant's memory: the built-in local TinyCortex (default), CortexDB hosted by TinyHumans (billed in credits, uses your signed-in session), or your own Supermemory, Mem0, Cognee, CortexDB or AgentMemory service. Switching applies immediately without a restart, and existing memories can be copied to the new engine first. Keys live in the OS keychain, never in config. Local-only capabilities such as the memory tree and document store are only available on the local engine.",
+ description: "Choose which engine stores and recalls the assistant's memory: the built-in local TinyCortex (default), CortexDB hosted by TinyHumans (billed in credits, uses your signed-in session), or your own Supermemory, Mem0, Cognee, CortexDB or AgentMemory service. Switching applies immediately without a restart, and existing memories can be copied to the new engine first. Keys live in the OS keychain, never in config. Hosted memory also keeps documents, goals, tool rules, the learned profile and episodic memory, takes connector and local-folder syncs, and draws the Brain graph from what the server understood; the local chunk store and its tools (vault, pipeline status, tree rebuild) are only available on the local engine, and other remote engines keep the core memory only.",
how_to: "Settings > Memory Engine. Pick an engine, enter its endpoint and key if it needs them, then switch or migrate.",
status: CapabilityStatus::Beta,
privacy: MEMORY_TO_REMOTE_ENGINE,
diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.md
index 07d51a7972..8ba7e18db4 100644
--- a/docs/TEST-COVERAGE-MATRIX.md
+++ b/docs/TEST-COVERAGE-MATRIX.md
@@ -357,7 +357,7 @@ End-to-end coverage of the agent harness via the web-chat RPC surface against an
| 8.2.5 | Coding-session persona ingestion | RU+RI+VU+WD | `vendor/tinymemory/crates/tinymemory-core/src/engine/persona_tests.rs` (vendored `tinymemory`), `crates/openhuman-core/src/memory/sources/rpc_tests.rs`, `tests/json_rpc_e2e.rs`, `app/src/components/intelligence/__tests__/CodingSessionsCard.test.tsx`, `app/src/services/memorySourcesService.test.ts`, `app/test/e2e/specs/coding-session-memory.spec.ts`, `app/test/playwright/specs/coding-session-memory.spec.ts` | ✅ | Discovers Codex and Claude Code histories, excludes machine-authored turns, exposes status/ingest RPCs, and surfaces incremental ingestion on Brain > Sources |
| 8.2.6 | Folder-source path picker | RU+VU | `crates/openhuman-app/src/directory_picker.rs`, `app/src/utils/tauriCommands/directoryPicker.test.ts`, `app/src/components/intelligence/FolderField.test.tsx` | ✅ | Browse resolves an absolute path through the OS-native chooser and refuses to store a non-resolvable value (bare directory name) when none is available (#5831) |
| 8.2.7 | Sync History and live sync activity | RU+RI+VU | `crates/openhuman-core/src/memory/sources/run_history_tests.rs`, `crates/openhuman-core/src/memory/sources/rpc/driver_run_tests.rs`, `crates/openhuman-core/src/memory/sources/rpc_monthly_summary_tests_tests.rs`, `crates/openhuman-core/src/integrations/composio/ops/connector_runs_tests.rs`, `crates/openhuman-core/src/integrations/composio/ops/source_rows_tests.rs`, `crates/openhuman-core/src/memory/sync_activity_tests.rs`, `tests/memory_sources_e2e.rs` (`sources_sync_dispatches_to_the_module_rather_than_refusing_the_capability`), `app/src/components/intelligence/SyncAuditPanel.test.tsx`, `app/src/components/intelligence/SyncActivityCard.test.tsx`, `app/src/components/intelligence/__tests__/memorySyncActivityStore.test.ts`, `app/src/components/intelligence/MemorySourceRow.test.tsx`, `app/src/components/intelligence/MemoryTreeStatusPanel.test.tsx` | ✅ | Every host-driven run (Sync button, Apply all, Composio) leaves one history row merged with the driver's audit log; manual driver runs end in `completed` or `failed`; a late per-document stage cannot reopen a finished row; Brain > Sync shows what is syncing and the job queue, and re-reads the history when a run ends (#6257) |
-| 8.2.8 | Selectable memory engines and migration | RU+RI+VU | `crates/openhuman-core/src/memory/ops/engine_migrate_tests.rs`, `crates/openhuman-core/src/memory/ops/engine_tests.rs`, `tests/memory_engine_e2e.rs`, `tests/memory_engine_migrate_e2e.rs`, `tests/memory_hosted_surface_e2e.rs`, `app/src/components/settings/panels/MemoryEnginePanel.test.tsx`, `app/src/components/settings/panels/MemoryEngineErrorAlert.test.tsx`, `app/src/components/intelligence/MemoryFamilyGate.test.tsx`, `app/src/pages/__tests__/Brain.test.tsx` | ✅ | Engine selection, migration copy/cancel/failure behavior, hosted and external drivers, and capability gating; on the hosted engine a 403 reads `MEMORY_FORBIDDEN:` (never a sign-out), an outage `MEMORY_UNREACHABLE:`, and Brain's sync panels say "Not available" (#6718). The hosted engine serves goals, tool rules, documents, the source sink and maintenance (`memory_hosted_surface_e2e.rs::the_hosted_engine_serves_documents_and_tool_rules`), and Brain gates coding sessions on their own family |
+| 8.2.8 | Selectable memory engines and migration | RU+RI+VU | `crates/openhuman-core/src/memory/ops/engine_migrate_tests.rs`, `crates/openhuman-core/src/memory/ops/engine_tests.rs`, `tests/memory_engine_e2e.rs`, `tests/memory_engine_migrate_e2e.rs`, `tests/memory_hosted_surface_e2e.rs`, `app/src/components/settings/panels/MemoryEnginePanel.test.tsx`, `app/src/components/settings/panels/MemoryEngineErrorAlert.test.tsx`, `app/src/components/intelligence/MemoryFamilyGate.test.tsx`, `app/src/pages/__tests__/Brain.test.tsx` | ✅ | Engine selection, migration copy/cancel/failure behavior, hosted and external drivers, and capability gating; on the hosted engine a 403 reads `MEMORY_FORBIDDEN:` (never a sign-out), an outage `MEMORY_UNREACHABLE:`, and Brain's sync panels say "Not available" (#6718). The hosted engine serves goals, tool rules, documents, the source sink and maintenance (`memory_hosted_surface_e2e.rs::the_hosted_engine_serves_documents_and_tool_rules`), draws the Brain graph from the server's derived facts (`::the_hosted_engine_draws_the_brain_graph_from_its_understanding`), and takes a local folder synced by the host (`::a_local_folder_syncs_into_hosted_memory`, `memory/sources/hosted_sync_tests.rs`); Brain gates coding sessions on their own family and local-store controls on `chunks` |
### 8.3 Memory Retrieval Benchmarks
diff --git a/gitbooks/developing/engines.md b/gitbooks/developing/engines.md
index d4bc64523c..7cf3fc3dcf 100644
--- a/gitbooks/developing/engines.md
+++ b/gitbooks/developing/engines.md
@@ -126,24 +126,34 @@ an engine lacks answer a clean "does not support" error (see the
for the full table).
- **Hosted engine.** It serves `goals`, `tool_memory`, `documents`, `sources`
- (the sink connector sync writes to) and `maintenance` (a health report).
- Connector sync, goals, tool rules and documents work there, and the memory
- doctor reports the hosted service's health.
+ (the sink connector sync writes to), `maintenance` (a health report),
+ `retrieval`, `ingest`, `profile`, `episodic`, `scoring` and `tree`.
+ Connector sync, goals, tool rules, documents, episodic memory and the learned
+ profile work there, the memory doctor reports the hosted service's health,
+ and the Brain graph draws the facts, beliefs and concepts the server derived
+ from what was written.
- **Direct CortexDB engine.** It serves none of those.
-- **Neither.** No remote engine serves `tree`, `graph`, `retrieval`,
+- **Neither.** No remote engine serves `graph`, `chunks`, `entities`,
`source_sync` or `coding_sessions`.
-Brain's sync panels (activity and history) need `sources`, and its
-coding-sessions card needs `coding_sessions`. Each shows "Not available" on an
-engine without its family, and syncing a local folder source needs
-`source_sync`, so it is refused on hosted memory.
-
-Auto-recall reads the notes a user saved through the mandatory recall on such an
-engine. Hosted CortexDB ranks its recall without scoring it, so its notes cannot
-be floored on similarity: the lane keeps the engine's first three, behind the
-same gate that decides whether a message needs memory at all. Situational
-preferences and the contradiction check need a scored engine and stay empty
-there. A lookup the engine refuses (out of credits, session not accepted,
+Brain's sync panels (activity and history) need `sources`, its coding-sessions
+card needs `coding_sessions`, and the controls and status that work on a local
+chunk store (reset, rebuild, vault, pipeline status) need `chunks`. Each shows
+"Not available", or is left out, on an engine without its family. Hosted memory
+runs no source pipeline of its own, so the host syncs local folder, GitHub, RSS
+and web-page sources itself: it reads them and sends the items through the
+engine's sink, from the Sync button, Apply all, and a daily schedule
+(`memory/sources/hosted_sync.rs`, `hosted_periodic.rs`). A file removed from a
+synced folder stays in memory until the source is removed.
+
+Hosted CortexDB ranks its recall without scoring it: a hit carries its rank and
+no signal (no similarity, keyword, graph, episodic or freshness), with or
+without the retrieval family. Auto-recall keeps such notes in the engine's
+order, its first three, behind the same gate that decides whether a message
+needs memory at all, and hybrid search keeps the engine's order. Situational
+preferences and the contradiction check need a measured similarity and stay
+empty there. Summaries need a model the hosted engine does not reach, so a
+segment's recap is the heuristic one. A lookup the engine refuses (out of credits, session not accepted,
credential refused, unreachable) puts a one-line reason in the recall block
instead of an empty result, so the model says memory is unavailable rather than
that something was never stored.