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: update memory guard docs and remove stale Whisper reference
Steven Enamakel41058732798c
diff --git a/crates/openhuman-core/src/inference/README.md b/crates/openhuman-core/src/inference/README.mdindex 7e37284c87..ad8beab195 100644--- a/crates/openhuman-core/src/inference/README.md+++ b/crates/openhuman-core/src/inference/README.md@@ -95,8 +95,8 @@ Also exposes a non-RPC HTTP router (`http::router()`) nested at `/v1` by `crates## Persistence- `openai_oauth/store.rs` persists OAuth tokens via the credentials auth-profile store (`AuthProfilesStore`, `auth-profiles.json`, encrypted at rest) under profile key `provider:openai` / profile `oauth`.-- `LocalAiService` holds in-process runtime state (status, whisper engine handle, owned `ollama serve` child) via the `local::global` `OnceCell` singleton — process-lifetime, not durably persisted.-- Model artifacts live under `<root>/models/local-ai/` (`local/core.rs::model_artifact_path`); installed Whisper/Piper assets via `local/install*`.+- `LocalAiService` holds in-process runtime state (status, owned `ollama serve` child) via the `local::global` `OnceCell` singleton — process-lifetime, not durably persisted.+- Model artifacts live under `<root>/models/local-ai/` (`local/core.rs::model_artifact_path`); installed Piper assets via `local/install*`.- Routing/provider/local settings persisted through `config` (no dedicated `store.rs`).## Dependencies@@ -110,15 +110,15 @@ Also exposes a non-RPC HTTP router (`http::router()`) nested at `/v1` by `crates- `crate::util` — small shared helpers.- `crate::core::all` — `ControllerFuture`, `RegisteredController` (controller registry).- `crate::core::types` — `ControllerSchema`, `FieldSchema`, `TypeSchema`.-- `crate::core::event_bus` — `DomainEvent`, `publish_global` (SessionExpired).+- `crate::core::bus` (`BUS.publish`) / `crate::core::events::DomainEvent` — `SessionExpired` publishing on auth failure.- `crate::core::observability` — `expected_error_kind` for Sentry-noise classification.- `crate::core::jsonrpc` — endpoint mounting reference for `/v1`.- `crate::core::auth` — bearer auth for the OpenAI-compatible endpoint.-- External: `motosan_ai_oauth` (Codex OAuth), `sysinfo` (device profile), `reqwest`, `whisper`-cpp engine bindings.+- External: `motosan_ai_oauth` (Codex OAuth), `sysinfo` (device profile), `reqwest`.## Used by-Widely depended on by the agent layer (`agent/harness`, `agent/harness/session`, `agent/tools`, `agent/triage`, `agent/harness/subagent_runner`), `context`, `voice`, `memory_tree/tree_runtime`, `learning` (+ `learning/transcript_ingest`), `channels`, `embeddings`, `subconscious`, `threads`, and `migrations`/`config/schema`.+Widely depended on by the agent layer (`agent/harness`, `agent/harness/session`, `agent/tools`, `agent/triage`, `agent/harness/subagent_runner`, `agent/learning`, `agent/context`), `voice`, `memory/tree/tree_runtime`, `channels`, `web_chat`, `inference/embeddings`, `threads`, and `migrations`/`config/schema`.## Notes / gotchasdiff --git a/crates/openhuman-core/src/memory/guard/mod.rs b/crates/openhuman-core/src/memory/guard/mod.rsindex 6ddc89effe..a2918c4376 100644--- a/crates/openhuman-core/src/memory/guard/mod.rs+++ b/crates/openhuman-core/src/memory/guard/mod.rs@@ -83,15 +83,13 @@//! be taken: it would make a `readonly` tier start rejecting learning-cache//! rebuilds, which is a behaviour change rather than a refactor.//!-//! Current unguarded profile callers:-//!-//! - `memory/sync/composio/providers/profile.rs`-//! - `agent/learning/{tools,startup,schemas}.rs`-//!-//! A second, independent write path into `user_profile` exists and is *not*-//! covered by the `.profile_store(` needle: `agent/harness/archivist/lifecycle.rs`-//! calls `profile::profile_upsert` on a connection injected at construction.-//! It has no production construction site today.+//! A repo-wide search for `.profile_store(` (re-run for this note; see+//! `memory/bypass_allowlist_tests.rs` for the enforced allowlist) finds no+//! production caller left outside the memory family itself — the callers this+//! note used to list under `memory/sync/composio/providers/` and+//! `agent/learning/` are gone or moved onto the guarded surface. Confirm with+//! the same grep before relying on this being still true; the allowlist test+//! is the actual enforcement, this paragraph is not.//!//! `MemoryClient::memory_handle()` is already `pub(crate)`; do not widen it.diff --git a/crates/openhuman-core/src/web_chat/run_task.rs b/crates/openhuman-core/src/web_chat/run_task.rsindex 893944cd7a..663f66e802 100644--- a/crates/openhuman-core/src/web_chat/run_task.rs+++ b/crates/openhuman-core/src/web_chat/run_task.rs@@ -1,3 +1,7 @@+//! `run_chat_task` — builds the session agent, runs a turn through the agent+//! harness, and spawns the progress bridge alongside it. Called from+//! `ops::start_chat` once validation and cache-lookup are done.+use std::sync::Arc;use crate::agent::profiles::AgentProfileStore;