Skip to content

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

Rust

Merge branch 'main' into audit/pr-369

AkitaOnRails2df02ba90686
diff --cc CHANGELOG.md
index a96ad842,d88d6179..ad768786
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -21,14 -41,8 +41,14 @@@ and this project adheres to [Semantic V
invalid, infer remote connectivity from the managed Kiro MCP entry, inject
handoffs through `agentSpawn` stdout, enforce capture exclusions for known
v2 tool payloads, and uninstall only exact ai-memory entries. Kiro v3 hook
- capture remains unsupported until its command-input payload is documented
- and can be fixture-tested (#355).
+ capture remains unsupported pending sanitized live lifecycle and built-in
+ tool payload fixtures, despite its now-documented standalone schema (#355).
+- Added `[consolidation] max_input_tokens` (`AI_MEMORY_CONSOLIDATION__MAX_INPUT_TOKENS`)
+ to bound the whole LLM consolidation prompt — observation dump, current page
+ body, system prompt, page conventions, slot snapshots, and schema — instead of
+ only the observation dump. Defaults to 100k tokens for a 200k-context
+ provider; lower it to the real input capacity of a smaller local model.
+ Budgets below the fixed prompt reserve are rejected at startup (#369).
### Fixed
- Mixed-case and trailing-period usernames now use deterministic hashed