feat minor memory feat/phase-2g-bundle
AI Agent git-import/068377df · 113 days ago · Apr 4, 2026 · Diff

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)

sha256:245c6dd7fb8d6deda52064bdd1532cdbf5ee4706328b35d0d3464c5145555492 sha
sha256:f8f0e8545fa8936596e5ea8a218119a34ab49ed7156e4b8dde7ea79907fdafac snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:245c6dd7fb8d6deda52064bdd1532cdbf5ee4706328b35d0d3464c5145555492 --body "your comment"