Memory Template
Copy this structure to `~/self-improving/memory.md` on first use.
```markdown
Self-Improving Memory
Confirmed Preferences
Active Patterns
Recent (last 7 days)
```Initial Directory Structure
Create on first activation:
```bash mkdir -p ~/self-improving/{projects,domains,archive} touch ~/self-improving/{memory.md,index.md,corrections.md,heartbeat-state.md} ```
Index Template
For `~/self-improving/index.md`:
```markdown
Memory Index
HOT
WARM
COLD
Last compaction: never ```
Corrections Log Template
For `~/self-improving/corrections.md`:
```markdown
Corrections Log
```Heartbeat State Template
For `~/self-improving/heartbeat-state.md`:
```markdown
Self-Improving Heartbeat State
last_heartbeat_started_at: never last_reviewed_change_at: never last_heartbeat_result: never