[{"data":1,"prerenderedAt":438},["ShallowReactive",2],{"content-\u002Fplugins\u002Faio-claude-toolkit\u002Faio-dream":3,"children-\u002Fplugins\u002Faio-claude-toolkit\u002Faio-dream":437},{"id":4,"title":5,"author":6,"body":7,"budget_tier":6,"build_tags":6,"created":6,"description":429,"document_type":430,"extension":431,"game":6,"install":36,"investment_tier":6,"league":6,"meta":432,"navigation":369,"patch":6,"path":433,"plugin":24,"profit_per_hour":6,"ratings":6,"seo":434,"skills_count":6,"status":6,"stem":435,"strategy_tier":6,"tags":6,"updated":6,"version":6,"weight":6,"__hash__":436},"content\u002Fplugins\u002Faio-claude-toolkit\u002Faio-dream.md","aio-dream",null,{"type":8,"value":9,"toc":412},"minimark",[10,37,42,49,54,71,75,108,112,115,150,154,157,162,170,174,249,253,274,278,314,318,332,341,349,354,358,396,400,403,406],[11,12,13],"blockquote",{},[14,15,16,17,25,26,25,30,33,34],"p",{},"From plugin ",[18,19,21],"a",{"href":20},"\u002Fplugins\u002Faio-claude-toolkit",[22,23,24],"strong",{},"aio-claude-toolkit"," · ",[27,28,29],"code",{},"v2.6.2",[22,31,32],{},"Install:"," ",[27,35,36],{},"\u002Fplugin install aio-claude-toolkit@aiocean-plugins",[38,39,41],"h1",{"id":40},"dream-memory-consolidation","Dream: Memory Consolidation",[14,43,44,45,48],{},"You are performing a ",[22,46,47],{},"dream"," — a reflective pass over your memory files. Synthesize what you've learned recently into durable, well-organized memories so that future sessions can orient quickly.",[50,51,53],"h2",{"id":52},"environment","Environment",[55,56,57,64],"ul",{},[58,59,60,61],"li",{},"Memory directory: !",[27,62,63],{},"echo \"${CLAUDE_MEMORY_DIR:-$HOME\u002F.claude\u002Fprojects\u002F$(pwd | sed 's|\u002F|-|g')\u002Fmemory}\"",[58,65,66,67,70],{},"Session transcripts: !",[27,68,69],{},"echo \"${CLAUDE_PROJECT_DIR:-$HOME\u002F.claude\u002Fprojects\u002F$(pwd | sed 's|\u002F|-|g')}\""," (JSONL files — each file is one past session)",[50,72,74],{"id":73},"phase-1-orient","Phase 1 — Orient",[76,77,78,84,91,97],"ol",{},[58,79,80,83],{},[27,81,82],{},"ls"," the memory directory to see what already exists",[58,85,86,87,90],{},"Read ",[27,88,89],{},"MEMORY.md"," to understand the current index",[58,92,93,94],{},"Skim existing topic files so you ",[22,95,96],{},"improve them rather than creating duplicates",[58,98,99,100,103,104,107],{},"If ",[27,101,102],{},"logs\u002F"," or ",[27,105,106],{},"sessions\u002F"," subdirectories exist (assistant-mode layout), review recent entries there",[50,109,111],{"id":110},"phase-2-gather-recent-signal","Phase 2 — Gather recent signal",[14,113,114],{},"Look for new information worth persisting. Sources in rough priority order:",[76,116,117,127,133],{},[58,118,119,122,123,126],{},[22,120,121],{},"Daily logs"," (",[27,124,125],{},"logs\u002FYYYY\u002FMM\u002FYYYY-MM-DD.md",") if present — these are the append-only stream",[58,128,129,132],{},[22,130,131],{},"Existing memories that drifted"," — facts that contradict something you see in the codebase now",[58,134,135,138,139,149],{},[22,136,137],{},"Session transcripts"," — the transcript directory contains JSONL files of past sessions. Grep them for relevant context:\n",[140,141,147],"pre",{"className":142,"code":144,"language":145,"meta":146},[143],"language-bash","grep -rn \"\u003Cnarrow term>\" \u003Ctranscript-dir>\u002F --include=\"*.jsonl\" | tail -50\n","bash","",[27,148,144],{"__ignoreMap":146},"\nUse narrow, specific terms relevant to what you found in Phase 1 (e.g., a project name, a tool, a decision topic). Read surrounding lines when a match looks valuable.",[50,151,153],{"id":152},"phase-3-consolidate","Phase 3 — Consolidate",[14,155,156],{},"For each thing worth remembering, write or update a memory file at the top level of the memory directory.",[158,159,161],"h3",{"id":160},"memory-file-format","Memory file format",[140,163,168],{"className":164,"code":166,"language":167,"meta":146},[165],"language-markdown","---\nname: {{memory name}}\ndescription: {{one-line description — used to decide relevance in future conversations, so be specific}}\ntype: {{user | feedback | project | reference}}\n---\n\n{{memory content}}\n","markdown",[27,169,166],{"__ignoreMap":146},[158,171,173],{"id":172},"memory-types","Memory types",[175,176,177,193],"table",{},[178,179,180],"thead",{},[181,182,183,187,190],"tr",{},[184,185,186],"th",{},"Type",[184,188,189],{},"What to store",[184,191,192],{},"Scope",[194,195,196,210,223,236],"tbody",{},[181,197,198,204,207],{},[199,200,201],"td",{},[22,202,203],{},"user",[199,205,206],{},"Role, goals, preferences, knowledge",[199,208,209],{},"Always private",[181,211,212,217,220],{},[199,213,214],{},[22,215,216],{},"feedback",[199,218,219],{},"User's guidance on approach — corrections AND confirmations",[199,221,222],{},"Private or team",[181,224,225,230,233],{},[199,226,227],{},[22,228,229],{},"project",[199,231,232],{},"Ongoing work, goals, bugs, incidents — NOT derivable from code\u002Fgit",[199,234,235],{},"Bias toward team",[181,237,238,243,246],{},[199,239,240],{},[22,241,242],{},"reference",[199,244,245],{},"Pointers to external systems (Linear, Grafana, Slack, etc.)",[199,247,248],{},"Usually team",[158,250,252],{"id":251},"what-not-to-save","What NOT to save",[55,254,255,258,265,268,271],{},[58,256,257],{},"Code patterns, architecture, file paths, project structure (derivable from code)",[58,259,260,261,264],{},"Git history, recent changes (use ",[27,262,263],{},"git log",")",[58,266,267],{},"Debugging solutions (the fix is in the code)",[58,269,270],{},"Anything already in CLAUDE.md",[58,272,273],{},"Ephemeral task details",[158,275,277],{"id":276},"consolidation-rules","Consolidation rules",[55,279,280,286,292,298],{},[58,281,282,285],{},[22,283,284],{},"Merge"," new signal into existing topic files rather than creating near-duplicates",[58,287,288,291],{},[22,289,290],{},"Convert"," relative dates (\"yesterday\", \"last week\") to absolute dates so they remain interpretable",[58,293,294,297],{},[22,295,296],{},"Delete"," contradicted facts — if today's investigation disproves an old memory, fix it at the source",[58,299,300,301,303,304,306,307,303,310,313],{},"For ",[22,302,216],{}," and ",[22,305,229],{}," types, structure as: rule\u002Ffact, then ",[27,308,309],{},"**Why:**",[27,311,312],{},"**How to apply:**"," lines",[50,315,317],{"id":316},"phase-4-prune-and-index","Phase 4 — Prune and index",[14,319,320,321,323,324,327,328,331],{},"Update ",[27,322,89],{}," so it stays under ",[22,325,326],{},"200 lines"," AND under ",[22,329,330],{},"~25KB",".",[14,333,334,336,337,340],{},[27,335,89],{}," is an ",[22,338,339],{},"index",", not a dump — each entry should be one line under ~150 characters:",[140,342,347],{"className":343,"code":345,"language":346},[344],"language-text","- [Title](file.md) — one-line hook\n","text",[27,348,345],{"__ignoreMap":146},[14,350,351,352,331],{},"Never write memory content directly into ",[27,353,89],{},[158,355,357],{"id":356},"pruning-checklist","Pruning checklist",[55,359,362,372,378,384,390],{"className":360},[361],"contains-task-list",[58,363,366,371],{"className":364},[365],"task-list-item",[367,368],"input",{"disabled":369,"type":370},true,"checkbox"," Remove pointers to memories that are now stale, wrong, or superseded",[58,373,375,377],{"className":374},[365],[367,376],{"disabled":369,"type":370}," Demote verbose entries: if an index line is over ~200 chars, move detail to the topic file",[58,379,381,383],{"className":380},[365],[367,382],{"disabled":369,"type":370}," Add pointers to newly important memories",[58,385,387,389],{"className":386},[365],[367,388],{"disabled":369,"type":370}," Resolve contradictions — if two files disagree, fix the wrong one",[58,391,393,395],{"className":392},[365],[367,394],{"disabled":369,"type":370}," Remove empty or near-empty memory files",[50,397,399],{"id":398},"output","Output",[14,401,402],{},"Return a brief summary of what you consolidated, updated, or pruned. If nothing changed (memories are already tight), say so.",[14,404,405],{},"Format:",[140,407,410],{"className":408,"code":409,"language":167,"meta":146},[165],"## Dream Summary\n\n**Reviewed:** N memory files\n**Updated:** file1.md, file2.md\n**Created:** new-topic.md\n**Pruned:** old-stale.md\n**MEMORY.md:** added 2 entries, removed 1, now at X\u002F200 lines\n\n### Changes\n- Merged feedback about X into existing feedback_testing.md\n- Created project_migration.md for the ongoing DB migration context\n- Removed user_old_role.md (outdated, user changed teams)\n- Converted relative dates in 3 files to absolute dates\n",[27,411,409],{"__ignoreMap":146},{"title":146,"searchDepth":413,"depth":413,"links":414},2,[415,416,417,418,425,428],{"id":52,"depth":413,"text":53},{"id":73,"depth":413,"text":74},{"id":110,"depth":413,"text":111},{"id":152,"depth":413,"text":153,"children":419},[420,422,423,424],{"id":160,"depth":421,"text":161},3,{"id":172,"depth":421,"text":173},{"id":251,"depth":421,"text":252},{"id":276,"depth":421,"text":277},{"id":316,"depth":413,"text":317,"children":426},[427],{"id":356,"depth":421,"text":357},{"id":398,"depth":413,"text":399},"Memory consolidation — review, merge, prune and re-index memory files so future sessions orient quickly.","skill","md",{},"\u002Fplugins\u002Faio-claude-toolkit\u002Faio-dream",{"title":5,"description":429},"plugins\u002Faio-claude-toolkit\u002Faio-dream","sNB9O-z1bptyVioa2ic5scM-FFP4BRYOuse1VueZ1oc",[],1779707416143]