feat(memory): Session 2 — skeptical memory (verifyMemoryEvent, memory_verify, prompt warnings)
verifyMemoryEvent(): - Dynamically computes confidence at read time (not stored on event) - 'verified': path exists and unchanged since event timestamp - 'stale': path missing, modified after event, or event recorded a failure - 'hint': no verifiable path reference — treat as context only - Extracts path refs from data.path, data.paths[], data.exported[].path - Handles missing vault_path, null events, and no-ts events gracefully - MEMORY_CONFIDENCE_LEVELS exported as frozen array
memory_verify MCP tool: - Verifies one or more events by ID, or recent events by type/limit - Returns per-event confidence + reason + summary counts - Includes note reminding agents to verify before acting on path references
Prompt warnings: - memory-context: skeptical memory notice with memory_verify call-to-action - resume-session: same notice with vault verification reminder
Tests: 18 new tests in test/memory-verify.test.mjs (155 total, all passing)
0 comments
muse hub commit comment sha256:245c6dd7fb8d6deda52064bdd1532cdbf5ee4706328b35d0d3464c5145555492 --body "your comment"
No comments yet. Be the first to start the discussion.