github doobidoo/mcp-memory-service v10.58.0
v10.58.0 — InsightGenerator: configurable exclusion, automated-type heuristic, acknowledgement flow

3 hours ago

InsightGenerator: configurable exclusion, automated-type heuristic, and acknowledgement flow

This MINOR release delivers three improvements to the InsightGenerator system based on real-corpus observations reported in discussion #897, plus a collection of accumulated Milvus/CI fixes.

New Features

MCP_INSIGHT_EXCLUDE_TAGS env var — Set a comma-separated list of tags to exclude from InsightGenerator gap detection, supplementing the built-in exclusion set (conflict:unresolved, automated, __test__, temporary, processed, auto-generated, insight-card). Useful for project-specific system tags that should never trigger insight gaps.

export MCP_INSIGHT_EXCLUDE_TAGS=ci,radar,monitoring

Automated-type heuristic — Gap detection is now skipped for tags where >90% of tagged memories have an automated memory_type (session, auto-generated, temporary). This catches status-marker tags not in the exclusion list automatically, without manual configuration.

Insight card acknowledgement — When a user tags an insight card with acknowledged, store_insights materialises a stable sentinel memory. The sentinel's hash is derived independently of source memories, so the card is never regenerated in future consolidation cycles — even if the original card is later deleted. Sentinel failures are logged as warnings (non-fatal).

Bug Fixes

  • fix(milvus): deduplicate _drain_graph_edges against Milvus Lite double-batch bug; "id" now included in output_fields so graph edges are correctly deduplicated (commit 6f7e1f8)
  • fix(milvus): use consistency_level="Session" in semantic-dedup ANN search — Milvus's default Bounded consistency does not guarantee same-session visibility (commit 6f7e1f8)
  • fix(triage): triage_discussions.py now uses existing daily-triage label and creates missing automated label via API (commit 6f7e1f8)
  • fix(milvus): _drain_query_iterator deduplication via seen_ids set defends against Milvus Lite last-batch duplication (commit 96bfbd8)
  • fix(milvus): remove server-side time filter from semantic-dedup ANN search for Milvus Lite compatibility (commit 96bfbd8)
  • fix(ci): repair YAML parse error in pr-contributor-welcome workflow (commit 96bfbd8)
  • fix(test): raise test_api_search_by_tag_time_filter_performance threshold to 500ms for slow CI runners (PR #939)

Test Coverage

~1,983 tests (23 new tests covering all three InsightGenerator paths and CI stability fix).

Migration Notes

No breaking changes. MCP_INSIGHT_EXCLUDE_TAGS is additive — existing deployments continue working without any configuration change.

Full changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md#10580---2026-05-16

Don't miss a new mcp-memory-service release

NewReleases is sending notifications on new releases.