Memory Sanitizer
When to Use
- User says sanitize memory or task matches this capability
- User says trust score retrieval or task matches this capability
- User says clean knowledge graph or task matches this capability
Workflow
- For each memory entry, score trust 0-10 (source, recency, user-confirmed).
- Discard entries below 4 unless user explicitly references them.
- Prefix 4-6 scores with [unverified memory] when citing.
- Flag contradictions between entries; prefer user-confirmed.
Integrations
semantic-memory-managerknowledge-graph-builderagentic-uncertainty-quantifier
Error Handling
| Failure | Response |
|---|---|
| All entries low trust | Ask user to confirm facts before proceeding. |
| Contradictory memories | Present both; ask user to resolve. |
Gotchas
- Delegate retrieval to semantic-memory-manager when installed.
Example
Input: User request matching triggers above. Output: Structured result per workflow with integrations invoked as needed.