Memory Promote
Pre-promotion quality audit. Run before OpenClaw's Dreaming process promotes short-term memories to MEMORY.md.
Steps
- Determine parameters:
top_n: user specified number, or default 10use_llm: user said "--llm" or "with LLM" → True, otherwise False
- Call
memory_promotion_audit_oc(top_n=N, use_llm=...) - Summarize in one sentence, then show the full report
Summary format
Top 10 candidates: 7 pass, 2 suggested skip (1 source deleted, 1 import-only), 1 flagged (low avg score).
What users can do with results
This tool outputs recommendations only — it doesn't block Dreaming. Options for the user:
- Ignore and let Dreaming run normally
- Manually remove unwanted entries from the short-term memory file
- Run
/memory-cleanupfirst to remove low-quality entries before Dreaming
LLM mode adds
Long-term value advisory for each passing/flagged entry:
long_term_knowledge— abstract knowledge or stable design facts, good to keepone_time_context— one-off context with low long-term value, consider skippinguncertain— not enough context to judge
Advisory doesn't affect Dreaming — it's informational only.
Notes
Score shown is approximate (±10%, consolidation dimension excluded). Read-only — never modifies any files. LLM mode requires an API key.