memoryweave/go/internal
xiaowei 31712986de fix(graph_sqlite): fix ExpandFromResults - wrong field access + Chinese entity extraction
Root causes fixed:
1. ExpandFromResults accessed p["to"] but SQLiteGraphStore.Navigate
   returns {"source","target","relation","weight"} - field name mismatch
   caused graph expansion to always return empty
2. Original logic checked seen[r.ID] (memory ID) against entity name
   (neighbor string), which never matched - removed stale logic

Also improved extractPotentialEntities:
- Now handles Chinese continuous character sequences (2-8 chars)
- Chinese entities extracted as whole words, not split by spaces
- English capitalized words preserved with original casing

Changes:
- ExpandFromResults: correct field access (source/target/relation),
  bidirectional neighbor detection (forward + reverse edges),
  separate seenEntities map for entity dedup
- extractPotentialEntities: full rewrite for Chinese + better English
  word tokenization without space-based splitting
2026-05-30 19:17:12 +08:00
..
api fix(selfoptimize): repair 3 dashboard metrics that were stuck at 0 2026-05-30 18:03:49 +08:00
consolidate feat: 自优化第二轮 — 待办5项全部补齐 2026-05-30 12:44:50 +08:00
distill v3.8-graph: P0-P6 图谱增强 2026-05-30 05:23:15 +08:00
distributed perf: 34 benchmarks + 性能报告 — i5-11260H 2026-05-28 18:41:11 +08:00
governance fix(graph_sqlite): fix ExpandFromResults - wrong field access + Chinese entity extraction 2026-05-30 19:17:12 +08:00
metrics feat: Prometheus 监控集成 — /metrics 端点 + 14 指标 + 8 告警规则 2026-05-29 02:51:46 +08:00
models feat: reranker优化 + namespace隔离修复 + graph_auto扩展 2026-05-29 15:19:25 +08:00
selfoptimize fix(selfoptimize): repair 3 dashboard metrics that were stuck at 0 2026-05-30 18:03:49 +08:00
storage feat: 自优化7项全部补齐 2026-05-30 12:08:16 +08:00