Archive session learnings, debugging solutions, and deployment logs to .archive/yyyy-mm-dd/ as indexed markdown with searchable tags. Use when completing a significant task, resolving a tricky bug, deploying, or when the user says "archive this". Maintains .archive/MEMORY.md index for cross-session knowledge reuse.
Capture, index, and reuse project knowledge across sessions.
Search: grep -ri "keyword" .archive/
Index: .archive/MEMORY.md
.archive/MEMORY.md — check for related existing archives.archive/YYYY-MM-DD/references/TEMPLATE.md).archive/MEMORY.md: add one-line entry under the right categoryrelated field in frontmatter.archive/MEMORY.md to find relevant entries.archive/ must be in .gitignore — local-only notescloudwatch-logging.md not session.md)tags, category, and optional related