claw-code/rust/crates/rusty-claude-cli/tests
Ubuntu 373fc4eeb4 feat: add persistent auto-memory system
Implement a file-based persistent memory system that allows the AI to
retain knowledge about users, feedback, projects, and references across
sessions. Memory files use YAML frontmatter with markdown body, stored
at ~/.claw/projects/<workspace-hash>/memory/.

Key components:
- MemoryStore data layer with FNV-1a workspace fingerprinting
- MemoryRead/MemoryWrite tools with security hardening (path traversal,
  symlink, absolute path, and size limit protections)
- System prompt injection of MEMORY.md index with prompt injection
  mitigation (fenced code block + trust-lowering notice)
- autoMemoryEnabled config option (defaults to true)
- Doctor health check for auto-memory state
- /memory command enhancement showing persistent memory info

Tested end-to-end with Zhipu GLM-4-Flash via OpenAI-compatible routing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-09 08:46:31 +00:00
..
cli_flags_and_config_defaults.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
compact_output.rs test: align compact CI contract 2026-06-04 13:43:02 +09:00
compact_repl_panic.rs fix: REPL display, /compact panic, identity leak, DeepSeek reasoning, thinking blocks 2026-05-06 15:32:34 +09:00
mock_parity_harness.rs fix: resolve model aliases before syntax validation 2026-05-25 11:21:32 +09:00
output_format_contract.rs feat: add persistent auto-memory system 2026-06-09 08:46:31 +00:00
resume_slash_commands.rs fix: update resume help test for message field parity (#338) 2026-06-05 05:01:05 +09:00