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,monitoringAutomated-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_edgesagainst Milvus Lite double-batch bug;"id"now included inoutput_fieldsso graph edges are correctly deduplicated (commit 6f7e1f8) - fix(milvus): use
consistency_level="Session"in semantic-dedup ANN search — Milvus's defaultBoundedconsistency does not guarantee same-session visibility (commit 6f7e1f8) - fix(triage):
triage_discussions.pynow uses existingdaily-triagelabel and creates missingautomatedlabel via API (commit 6f7e1f8) - fix(milvus):
_drain_query_iteratordeduplication viaseen_idsset 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-welcomeworkflow (commit 96bfbd8) - fix(test): raise
test_api_search_by_tag_time_filter_performancethreshold 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