claude-code: added memories (claude.md) generation

This commit is contained in:
Sewer56 2025-08-22 21:15:09 +01:00 committed by Austin Horstman
parent 17a1004948
commit 343e555657
6 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{
programs.claude-code = {
enable = true;
memory = {
text = ''
# Project Memory
## Current Task
Test implementation of memory management.
## Key Context
- This is a test configuration
- Memory should be created at ~/.claude/CLAUDE.md
'';
};
};
nmt.script = ''
assertFileExists home-files/.claude/CLAUDE.md
assertFileContent home-files/.claude/CLAUDE.md ${./expected-memory.md}
'';
}