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): correct the derived-key note to the SHA-256 suffix
Shanuf3846420b2eb
diff --git a/.claude/memory.md b/.claude/memory.mdindex 84c2082270..81986c2532 100644--- a/.claude/memory.md+++ b/.claude/memory.md@@ -366,4 +366,4 @@ Quick reference for anyone starting with Claude on this project. Updated by the- **`SYNC_PASS_MAX_ITEMS` (200) sizes one `AcceptSourceItems` call** — the module embeds each document in turn (~1.7 s each) against the 15-min `module_call_slow!` deadline; 500 tripped it. The Sources-row loop (`composio_sync_budgeted`, ≤50 passes) is unaffected; the four entry points that sync once per invocation (`periodic.rs`, `memory/ops/sync.rs`, `bus_part_02.rs` `connection_created`, `slack/rpc.rs`) go through `ops::pass_budget::run_sync_within_budget`, which repeats the pass within a 500-**record** budget. Charge that budget by `records_read`, never by `written`: a module returning already-ingested pages with `more_pending` would otherwise be asked forever.- **`providers_ops.rs` sits at exactly 750 lines** — the `check-openhuman-rust-layout.mjs` limit; edits there must be net-zero lines or split the file.- **`node app/scripts/build-parallel.mjs` fails with `vite: command not found`** when run directly — it shells out to bare `tsc`/`vite`; use `pnpm build` or prefix `PATH=app/node_modules/.bin:$PATH`.-- **"Got it, saved" with zero tool calls (issue #6048)** — the memory *write* tools (`memory_store`, `save_preference`) are always registered, but nothing in the prompt said a request to remember must become a tool call, or forbade claiming a save without one; `memory_store` also required an invented `namespace` + `key`. Now `MemoryWriteSection` (`agent/learning/prompt_sections.rs`, `## Remembering`) is registered by `builder/helpers.rs::add_memory_prompt_sections` whenever a write tool is registered **and** visible, independent of `learning.enabled`; `memory_store` defaults `namespace` to `DEFAULT_AGENT_MEMORY_NAMESPACE` (`global`) and derives `key` from the content (`derive_key`, FNV suffix). The archivist is not a safety net here: it writes the turn to the FTS5 episodic table only, and files raw prose into the tree at segment close. `factory.rs` sits at its legacy cap (1552): put new gating in `helpers.rs`, not inline.+- **"Got it, saved" with zero tool calls (issue #6048)** — the memory *write* tools (`memory_store`, `save_preference`) are always registered, but nothing in the prompt said a request to remember must become a tool call, or forbade claiming a save without one; `memory_store` also required an invented `namespace` + `key`. Now `MemoryWriteSection` (`agent/learning/prompt_sections.rs`, `## Remembering`) is registered by `builder/helpers.rs::add_memory_prompt_sections` whenever a write tool is registered **and** visible, independent of `learning.enabled`; `memory_store` defaults `namespace` to `DEFAULT_AGENT_MEMORY_NAMESPACE` — the assistant's own scope, currently `"global"`, the same namespace the rest of recall reads — and derives `key` from the content (`derive_key`: a readable stem plus a 16-hex SHA-256 suffix; 64 bits, because the stem collides by design and a key collision *overwrites* an unrelated memory rather than duplicating it). The section names only the write tools the session actually offers: `archivist`, `trigger_reactor` and `workflow_builder` carry `memory_store` without `save_preference`, so naming both unconditionally would mandate an invisible tool. The archivist is not a safety net here: it writes the turn to the FTS5 episodic table only, and files raw prose into the tree at segment close. `factory.rs` sits at its legacy cap (1552): put new gating in `helpers.rs`, not inline.