with one click
hipocampus-recall
// Memory recall guide. Structured retrieval from hipocampus memory — ROOT.md triage, manifest-based LLM selection, qmd search fallback.
// Memory recall guide. Structured retrieval from hipocampus memory — ROOT.md triage, manifest-based LLM selection, qmd search fallback.
| name | hipocampus-recall |
| description | Memory recall guide. Structured retrieval from hipocampus memory — ROOT.md triage, manifest-based LLM selection, qmd search fallback. |
Use this when the user's question may relate to past memory. Three-step fallback: ROOT.md O(1) lookup → manifest LLM selection → qmd search.
Check ROOT.md Topics Index for the query topic.
Decision rule: If Topics Index contains a keyword within 1 semantic hop of the query, it's a match. "배포" matches "deployment". "CI/CD" matches "github-actions".
Use this ONLY when ROOT.md Topics Index has no relevant match but you suspect memory may exist (e.g., the user references something that sounds familiar, or the topic is cross-domain).
Build manifest from compaction node frontmatter (NOT full content):
memory/weekly/*.md frontmatter only (type, period, topics)memory/monthly/*.md frontmatter only (type, period, topics)knowledge/*.md first 3 lines onlymemory/daily/ (already rolled up into weekly)Self-evaluate: Given the manifest and the user's query, select up to 5 most relevant files.
Load selected files in full and extract the answer.
Token budget: Manifest should be <500 tokens. If too large, use monthly nodes only.
If Step 1-2 don't find the answer and qmd is installed:
qmd query "keyword1 keyword2" # hybrid (BM25 + vector)
qmd search "keyword1 keyword2" # BM25 only
qmd vsearch "semantic query" # vector only
Use 2-4 specific keywords. Try variations if first query misses.
When recalling memory, check the source age:
project type + >30 days old: append warning — "이 정보는 {N}일 전 기록입니다. 현재 상태를 확인하세요."reference type + [?] marker: append warning — "이 참조는 검증되지 않았습니다. 접근 가능 여부를 확인하세요."user/feedback type: no age warning (these are durable).3-tier agent memory system with 5-level compaction tree. OpenClaw version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
3-tier agent memory system with 5-level compaction tree. Claude Code version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
3-tier agent memory system with 5-level compaction tree. Codex CLI version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
Build 5-level compaction tree (daily/weekly/monthly/root) with smart thresholds and fixed/tentative lifecycle. Run at session start when triggers are met, or via external scheduler.
3-tier agent memory system with 5-level compaction tree. OpenCode version. Defines session start protocol, end-of-task checkpoints, and memory file management. MUST be followed every session.
Manual memory flush: dump current session context to daily raw log via subagent. Invoke with /hipocampus:flush. Run hipocampus:compaction afterwards for tree propagation and qmd reindex.