Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
docs: tidy the new [Unreleased] entries and two rewrapped doc paragraphs
AkitaOnRailsa65a560c127f
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 8efc02dc..dbe88e6c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -229,7 +229,6 @@ version in [`docs/changelog/`](docs/changelog/):the edit and is repointed at the new latest id, so the orphan count anddetail list disagreed with the page's own backlinks.([#1526](https://github.com/akitaonrails/ai-memory/pull/1526))-- A `title:` or `body:` search filter whose term carries a second colon, suchas `title:10:30`, now keeps its column. FTS5 read the inner `10` as a columnname and rejected the whole expression, so the query degraded to the quoted@@ -241,7 +240,6 @@ version in [`docs/changelog/`](docs/changelog/):and a repo on `[recall] default_global` no longer broadens an `as_of` queryto global and answers it with present-day rows.([#1519](https://github.com/akitaonrails/ai-memory/pull/1519))-- A `429` or `5xx` from a token endpoint is now a transient provider errorrather than an auth failure. The Copilot token exchange, which GitHubrate-limits per account, and the shared `openai-oauth`/OIDC refresh both@@ -249,20 +247,17 @@ version in [`docs/changelog/`](docs/changelog/):instead of trying the next provider and the operator was told to log inagain for a grant that was never rejected.([#1520](https://github.com/akitaonrails/ai-memory/pull/1520))-- The Gemini embedder now cuts a long input to the same 8 KB head as theOpenAI, Copilot and local embedders. It sent the whole page, while thedefault `gemini-embedding-001` takes at most 2,048 input tokens, and arefused page embedding is only logged, so a long page could end up with novector. Voyage is unchanged: its API shortens an over-long input itself.([#1513](https://github.com/akitaonrails/ai-memory/pull/1513))--- `memory_auto_improve` now reports an exhausted implicit queue — every- completed session already has a review run — as invalid params rather than an+- `memory_auto_improve` now reports an exhausted implicit queue (every+ completed session already has a review run) as invalid params instead of aninternal error, matching `memory_consolidate` for the same dead end. A clientno longer reads the routine end of the queue as a server fault and retries it.([#1518](https://github.com/akitaonrails/ai-memory/pull/1518))-- The wiki's git objects and refs are now synced to disk. libgit2 renamed theminto place without fsync, so a power loss could keep a ref naming a commitwhose object was never written, and every later checkpoint failed. Every@@ -319,14 +314,12 @@ version in [`docs/changelog/`](docs/changelog/):under `.ai-memory-delete.` during a delete, or under`.ai-memory-tmp.move-session.` during a session move, is left out the sameway. ([#1524](https://github.com/akitaonrails/ai-memory/pull/1524))-- The `/hook` ingress now skips a leading UTF-8 byte-order mark, as the nativehook client already did. Some PowerShell pipelines add that marker whenwriting to a native process, and the POSIX shell hook bundle forwards thepayload byte for byte, so such an event was answered with 400 and lostwithout notice. `ai-memory-relay enqueue --file` skips the marker too.([#1523](https://github.com/akitaonrails/ai-memory/pull/1523))-- The POSIX shell hook bundle, the PowerShell bundle under PowerShell 7 and thegenerated TypeScript integrations under Bun (OpenCode) no longer sendtheir requests through an environment proxy (`http_proxy`, `HTTPS_PROXY`,diff --git a/docs/companion-crates.md b/docs/companion-crates.mdindex 9de9dc76..d3ad5e0e 100644--- a/docs/companion-crates.md+++ b/docs/companion-crates.md@@ -684,10 +684,10 @@ unclaimed tree. Building the guard on ai-memory's capturedthe harness.- **ai-memory does not retain the file paths.** For closed-tool agents thestored observation is reduced to a `tool_family` label plus outcome (and an- MCP tool's validated server and tool names); raw- arguments, paths, and other tool names are extracted only transiently for- denylist matching, then dropped (`CaptureDecision` "never retains raw- arguments, paths, or arbitrary tool names"). A consumer can see *that* a file+ MCP tool's validated server and tool names); raw arguments, paths, and other+ tool names are extracted only transiently for denylist matching, then dropped+ (`CaptureDecision` "never retains raw arguments, paths, or arbitrary tool+ names"). A consumer can see *that* a fileop happened in a session, never *which file*.Reversing either (persisting paths, or adding a blocking hook) would trade away adiff --git a/docs/windows.md b/docs/windows.mdindex cdf73d41..8c7ea77b 100644--- a/docs/windows.md+++ b/docs/windows.md@@ -725,9 +725,10 @@ apply to the agent's environment (no re-`install-hooks` needed):Native hooks accept well-formed JSON with or without one leading UTF-8 BOM, assome PowerShell pipelines add that marker when writing to a native process. Theserver's `/hook` ingress skips the same marker, so a shell-bundle hook that-forwards it unchanged is still stored. Any other malformed stdin is not spooled or sent; the hook prints a fixed warning-to stderr, returns `{}` on stdout, and exits successfully so it cannot break the-host agent. The warning never includes payload contents.+forwards it unchanged is still stored. Any other malformed stdin is not spooled+or sent; the hook prints a fixed warning to stderr, returns `{}` on stdout, and+exits successfully so it cannot break the host agent. The warning never+includes payload contents.| Env var | Built-in default | Max override | What it caps ||---|---:|---:|---|