Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
Merge remote-tracking branch 'origin/main' into audit/pr-1380
AkitaOnRails30b44da395a9
diff --cc CHANGELOG.mdindex 627ef135,990a12be..5d28212d--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -12,7 -12,24 +12,25 @@@ version in [`docs/changelog/`](docs/cha## [Unreleased]### Fixed+- Preserved indexed Markdown links with escaped or nested brackets in their labels, including links exported in OKF bundles and reindexed after import. ([#1380](https://github.com/akitaonrails/ai-memory/pull/1380))+ - Fixed `open_feedback_findings` reporting feedback attached to TTL-expired+ pages. The store query now filters out expired page targets against the+ current timestamp, preventing `memory_lint` from emitting `feedback_flagged`+ findings for expired pages that are pending forget-sweep deletion.+ ([#1388](https://github.com/akitaonrails/ai-memory/pull/1388))+ - Fixed `existing_latest_paths` ignoring page TTL expiration. The query now+ filters out expired pages against the current timestamp, preventing the+ consolidation link guard from keeping wikilinks or typed relations targeting+ expired pages that are pending forget-sweep deletion.+ ([#1387](https://github.com/akitaonrails/ai-memory/pull/1387))+ - Fixed `page_belief_inputs` counting contradictions against TTL-expired target+ pages as active live contradictions. When a page declares a `contradicts`+ relation to a target whose `expires_at` TTL has passed, the declaration is+ stale and must not weaken belief strength or reduce confidence in retrieval+ ranking. `contradiction_sql` now applies the `not_expired` guard on the target+ page, aligning belief input aggregation with the lint's resolved/stale split.+ ([#1386](https://github.com/akitaonrails/ai-memory/pull/1386))+ - Kept the previous backup or OKF export intact when an archive download is interrupted, and publish completed downloads atomically. Successful downloads replace destination symlinks with private files rather than changing their targets or inheriting their permissions. ([#1381](https://github.com/akitaonrails/ai-memory/pull/1381))## [3.1.1] - 2026-10-17diff --cc docs/okf.mdindex 8321408c,a360c1da..1f6f7364--- a/docs/okf.md+++ b/docs/okf.md@@@ -18,10 -18,12 +18,16 @@@ standardized. The files are greppable,anything OKF-aware. Nothing is locked in: the export is a validated copy ofthe files ai-memory already stores its memory in.+Local wikilink labels containing brackets or backslashes remain ordinary+Markdown links in an exported bundle. Reindexing the extracted concept files+preserves their link targets.++ Backup and OKF export downloads replace their output only after the whole+ response arrives. An interrupted download keeps the previous archive intact.+ New files and replacement symlinks are private; existing regular files keep+ their permissions and still require write access. Read-only files and+ directory destinations are refused. A symlink target is never changed.+The rest of this page is the design: how conformance is enforced andhow existing stores migrate.