feat(cc-013): add auto memory companion repo with three exercises
Companion repo for CC-013. Covers triggering memory, structuring MEMORY.md with index and topic files, and proving cross-session persistence shapes Claude behavior. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
eb5a4f0f6a
5 changed files with 551 additions and 0 deletions
43
CLAUDE.md
Normal file
43
CLAUDE.md
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
# Auto Memory: Claude Code Remembers What You Teach It
|
||||
|
||||
## What this project is
|
||||
|
||||
A companion repo for the From AI to Chitta article on **Auto Memory**
|
||||
(concept ID: `CC-013`). It contains exercises that let you build and
|
||||
verify a working cross-session memory system in Claude Code.
|
||||
|
||||
Article: https://fromaitochitta.com/cc-013
|
||||
|
||||
## How to use this
|
||||
|
||||
1. Open Claude Code in this directory: `cd claude-code-auto-memory && claude`
|
||||
2. Work through exercises in order: `exercises/01-trigger-memory.md`, then 02, then 03
|
||||
3. Each exercise has concrete steps with expected output
|
||||
4. Compare your results to the expected output described in each exercise
|
||||
|
||||
## Code quality expectations
|
||||
|
||||
- This is a learning repo. Clarity over cleverness.
|
||||
- Every exercise must run without modification on a clean clone
|
||||
- No external dependencies
|
||||
- If something does not work as expected, that is useful information: note it
|
||||
|
||||
## Project structure
|
||||
|
||||
```
|
||||
exercises/ Numbered exercises with steps and expected output
|
||||
CLAUDE.md This file: project instructions
|
||||
README.md Overview for anyone who clones this repo
|
||||
```
|
||||
|
||||
## Domain
|
||||
|
||||
Claude Code Memory and Instructions
|
||||
|
||||
## Memory
|
||||
|
||||
Keep session notes in a local `MEMORY.md` (gitignored). This file
|
||||
(CLAUDE.md) is for instructions. MEMORY.md is for state.
|
||||
|
||||
Note: memory files for this project are stored at
|
||||
`~/.claude/projects/<project-hash>/memory/`. Machine-local only.
|
||||
Loading…
Add table
Add a link
Reference in a new issue