Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge remote-tracking branch 'refs/remotes/audit-open/1594'
AkitaOnRails804cd0a14736
diff --cc CHANGELOG.mdindex 4e32e217,8ee87cae..fdce0ebf--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -119,18 -25,15 +119,27 @@@ version in [`docs/changelog/`](docs/cha118/295) and ingest throughput; the reported hit@5 delta (0.947 → 0.938)traces to rank-boundary questions that flip between identical runs, nota deterministic ranking change (#1580).+- `install-mcp --client freebuff --apply --auth-token` now stores the key in+ `<data_dir>/auth-token`, where the hooks keep theirs, and writes the FreeBuff+ entry with `--data-dir` and no token, as it already did for the Claude Code+ (`--session-aware`) and Muse bridge entries. FreeBuff's entry is always the+ session-less `mcp-bridge` and already carried that `--data-dir`, but the key+ was written into `~/.agents/mcp.json` as `env.AI_MEMORY_AUTH_TOKEN`, outside+ the data dir's file permissions and outliving a rotation. The key still stays+ in the entry whenever the bridge would not reach it: a configured bearer that+ would win, a different key already stored for the hooks, hooks that sign in+ with OIDC, a failed store, a different endpoint, the Docker helper, or a+ snippet that is only printed.+ ([#1593](https://github.com/akitaonrails/ai-memory/pull/1593))+ - `install-mcp --client codex` now prints the same table name `--apply` writes.+ The printed snippet hand-interpolated `[mcp_servers.<name>]`, so `--name+ ai.memory` printed a header a TOML reader resolves as three nested tables+ rather than one server, and `--name "my memory"` printed an invalid header+ that breaks the whole `config.toml` it is pasted into — while `--apply`+ quoted the key correctly all along. The printed table is now built with the+ apply path's own `toml_edit` writer; output for an ordinary name is+ unchanged.+ ([#1594](https://github.com/akitaonrails/ai-memory/pull/1594))- Fixed `ai-memory run` (and `show`, `continue`, `resume`, `workstreams`,`rename-workstream`) failing on Windows Docker installs with "managed