feat(memory): P2 memory improvements — autosave, snapshot, response cache#755
Merged
feat(memory): P2 memory improvements — autosave, snapshot, response cache#755
Conversation
…ache Add autosave assistant responses to semantic memory with configurable min-length threshold (#748). Implement memory snapshot export/import via CLI subcommand with version check and duplicate resolution (#749). Add SQLite-backed LLM response cache with blake3 hashing, TTL expiry, and background cleanup (#750). Include per-chunk streaming redaction, length-prefix hash encoding, and comprehensive test coverage.
10 tasks
Add autosave assistant, memory snapshot export/import, and LLM response cache to mdbook docs, CLI reference, configuration reference, and crate READMEs.
Add streaming redaction content test, autosave min_length boundary tests, cache write end-to-end test, and fix import skipped counter for existing conversations.
Add commented examples for vector_backend, token_safety_margin, redact_credentials, autosave, response_cache, temporal_decay, MMR, and skill prompt_mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements P2 improvements from epic #740:
memory.autosave_assistant/autosave_min_lengthzeph memory export <path>/zeph memory import <path>with JSON format, version check, and INSERT OR IGNORE duplicate resolutionllm.response_cache_enabled/response_cache_ttl_secsSecurity
scrub_content()redaction in streaming path (SEC-04)Test plan
cargo clippy --workspace -- -D warningscleancargo +nightly fmt --checkcleanCloses #748, closes #749, closes #750
Part of #740