Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

Merge land/1524

AkitaOnRails9bcfad761ec5
diff --cc CHANGELOG.md
index dd2cb1e1,cd929e2f..9bb7cf99
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -276,12 -236,14 +276,20 @@@ version in [`docs/changelog/`](docs/cha
session-start fetch whenever any handoff was open, so the session started
with no profile digest, brief or inbox notice at all. The refusal now costs
only the claim, and the handoff stays open.
+- The pre-migration backup archive is now flushed and fsynced, along with its
+ directory entry, before it is verified. The buffered tail of the archive was
+ written when the writer was dropped, which discarded any error such as a full
+ disk, and the file was never put on stable storage, while the verify pass
+ re-read it from the page cache and cleared a destructive in-place migration
+ to run. ([#1525](https://github.com/akitaonrails/ai-memory/pull/1525))
+ - Wiki commits no longer stage a write that is still in flight. A batch write
+ keeps one `.ai-memory-tmp.` staging file per page on disk across an await,
+ and auto-commit does not hold the mutation lock, so a checkpoint landing in
+ that window committed page bodies that were never installed, and a batch
+ that then failed left the rolled-back content in wiki history. A page parked
+ under `.ai-memory-delete.` during a delete, or under
+ `.ai-memory-tmp.move-session.` during a session move, is left out the same
+ way. ([#1524](https://github.com/akitaonrails/ai-memory/pull/1524))
- `mcp-bridge` and the `setup` self-check no longer send requests to the
server through `HTTP_PROXY`, `HTTPS_PROXY` or `ALL_PROXY`, as the hooks
already did. A sandbox such as ai-jail exports a proxy with an empty