Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
docs(changelog): past-tense the PreCompact hook fix (#1229)
Victor Alencaraee03faeeb9a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b2b8a6a9..35e90759 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,12 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]### Fixed-- PreCompact and PostCompaction write the heuristic `sessions/<id>.md`- checkpoint on the `/hook` and `/hook/batch` request and complete the- ingest key there. When a provider is configured, the LLM rewrite is- queued on `session_consolidation_jobs` and handled by the same bounded- worker SessionEnd already uses. The previous inline wait sat behind- the client drain (3 s, or 250 ms incremental) for a 12-135 s provider+- Fixed PreCompact and PostCompaction awaiting the provider inside+ `/hook` and `/hook/batch`. The request now writes the heuristic+ `sessions/<id>.md` checkpoint and completes the ingest key there.+ When a provider is configured, the LLM rewrite is queued on+ `session_consolidation_jobs` and handled by the same bounded worker+ SessionEnd already uses. The previous inline wait sat behind the+ client drain (3 s, or 250 ms incremental) for a 12-135 s providercall, left the ingest key incomplete, and restarted the LLM on everyredelivery. SessionEnd enqueue stays opt-in via`AI_MEMORY_CONSOLIDATE_ON_SESSION_END`; the worker now starts whenever