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

feat(memory): Session 7 — relationship discovery pass (Daemon Spec Phase D)

Implements Pass 3 of the consolidation daemon: cross-topic relationship discovery via LLM. Adds buildDiscoverPrompt, parseDiscoverResponse, and runDiscoverPass to lib/memory-consolidate.mjs; wires discover into consolidateMemory after the consolidation and verify passes; extends resolvePassNames to honour passes.discover (default false, opt-in); surfaces discover in CLI output and --passes help text; and exports buildDiscoverPrompt/parseDiscoverResponse for direct testing.

53 new tests across 7 suites cover prompt construction, response parsing (valid JSON, fenced, partial arrays, invalid JSON fallback), encrypt flag suppressing facts, dryRun mode, wiring into consolidateMemory (ordering, null when skipped, null on dry-run), CLI --passes discover, and MCP passes: ["discover"]. Full suite: 835 pass, 0 fail (was 782).

sha256:72a02ea8af704f0dbb46b9a395eb3b2acb3ce6e48e05906f1212d5cdcd4d5ee1 sha
sha256:80f411e513c4bb1717b95e92ab18cd0ab4a62ac9d66265b4c2a334ff71607693 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:72a02ea8af704f0dbb46b9a395eb3b2acb3ce6e48e05906f1212d5cdcd4d5ee1 --body "your comment"