Skip to content

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

Rust

Merge PR #876 into main

AkitaOnRails4551b0b5b703
diff --cc CHANGELOG.md
index e31c1be8,addfc644..c597f079
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -140,10 -80,16 +140,20 @@@ and this project adheres to [Semantic V
checksum block, which concatenates every platform's file. The zip's smoke
test now requires LF rather than tolerating either, so the format the
release claims is the format it ships. (#838)
+- `purge-session` now removes every page version the session owns at
+ `sessions/<id>.md` (including versions written before OKF sources existed
+ and summaries of sessions that never recorded a summary pointer), while a
+ manual page at the same path survives. (#862)
+ - Shell hooks no longer pin a CPU core for minutes on a large payload. The
+ `hooks/_lib.sh` extractors for `cwd`/`workspacePaths`/`workspace_roots`,
+ the session id, and Antigravity's `invocationNum` located each key with
+ `${payload#*"key"}`, which is quadratic in the payload size under dash and
+ bash: a 200 KB Cursor `postToolUse` event spent minutes in
+ `ai_memory_extract_cwd`, and concurrent hooks stayed at 100% CPU before
+ ever reaching the POST. A shared `ai_memory_after_key` helper now finds the
+ first occurrence with one linear `awk` pass (about 50 ms at 200 KB) and
+ feeds the unchanged `sed` parsing, so the extracted values are the same as
+ before. (#870)
## [2.4.0] - 2026-09-21