The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(memory): update citation ownership in memory README
Steven Enamakelb5480c12c8e4
diff --git a/crates/openhuman-core/src/memory/README.md b/crates/openhuman-core/src/memory/README.mdindex 35c0dce7cc..8d395d19c7 100644--- a/crates/openhuman-core/src/memory/README.md+++ b/crates/openhuman-core/src/memory/README.md@@ -167,8 +167,7 @@ in [`channels.rs`](./channels.rs) so a channel's memory can be forgotten later.`[memory.recall] date_hint` on, `lifecycle::date_hint::extract` makes onesmall model call to work out which days the user means; a late or badanswer just leaves the pack in its normal order. The pack's citations are-parked per thread (`tools::record_pack_citations`) and `web_chat` takes them-for the chat's memory chips (`tools::take_turn_citations`).+recorded by the web chat citation sink and drained for the chat's memory chips.### Background work@@ -302,7 +301,7 @@ The agent `memory` tool applies the same confinement and overwrites any| [`layout_migration/`](./layout_migration/) | Host adapter over `tinymemory_tools::layout_migration` (copy, placement, cleanup and the job live in tinymemory): `app_host.rs` (the real `LayoutHost`), `claim.rs`, `state.rs` (file-backed `MigrationStateStore`), `service.rs` (RPC/tick entry points). || [`billing.rs`](./billing.rs) | Whether background rewrites are free for the user right now. || [`files.rs`](./files.rs) | Owner-only (0600 / 0700 on unix) writes of the local state files. |-| [`tools.rs`](./tools.rs) | The single `memory` agent tool and per-turn citations. |+| [`tools.rs`](./tools.rs) | The single `memory` agent tool; citations are collected by `web_chat`. || [`bus.rs`](./bus.rs) | The cron subscriber and the pending-deletions subscriber. || [`schemas.rs`](./schemas.rs), [`schemas/defs.rs`](./schemas/defs.rs), [`schemas/handlers.rs`](./schemas/handlers.rs) | The `openhuman.memory_*` controller schemas and thin handlers. || [`types.rs`](./types.rs) | RPC request and view shapes; contract types are re-exported from `tinymemory_api`. |diff --git a/crates/openhuman-core/src/memory/types.rs b/crates/openhuman-core/src/memory/types.rsindex 6810f16e03..a0e6fa6d46 100644--- a/crates/openhuman-core/src/memory/types.rs+++ b/crates/openhuman-core/src/memory/types.rs@@ -7,7 +7,9 @@use chrono::{DateTime, Utc};use serde::{Deserialize, Serialize};-use tinymemory_api::{EngineDescriptor, FetchMode, LearningKind, MemoryMeta, MetaFilter};+use tinymemory_api::{+ Citation, EngineDescriptor, FetchMode, Hit, LearningKind, MemoryMeta, MetaFilter,+};use tinymemory_integrations::import::ImportState;use crate::config::schema::MemorySourceKind;diff --git a/crates/openhuman-core/src/web_chat/mod.rs b/crates/openhuman-core/src/web_chat/mod.rsindex 72570ec5fd..5cbbe4725d 100644--- a/crates/openhuman-core/src/web_chat/mod.rs+++ b/crates/openhuman-core/src/web_chat/mod.rs@@ -27,7 +27,7 @@//! contract), `types.rs` (shared param/state types).mod channel_event;-mod citations;+pub(crate) mod citations;#[cfg(test)]mod citations_tests;mod egress_surface;