memoryweave/go
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
..
client v3.8 完整代码: Go API + Rust sidecar + ONNX BGE + Client SDK 2026-05-29 01:07:05 +08:00
cmd/zhiyid
internal fix(graph_sqlite): fix ExpandFromResults - wrong field access + Chinese entity extraction 2026-05-30 19:17:12 +08:00
proto feat(M2): 存储层完成 2026-05-28 17:35:25 +08:00
static fix: Search IPC 捕获 created_at/updated_at,recall 时间戳不再为零值 2026-05-30 10:31:25 +08:00
go.mod feat: Prometheus 监控集成 — /metrics 端点 + 14 指标 + 8 告警规则 2026-05-29 02:51:46 +08:00
go.sum feat: Prometheus 监控集成 — /metrics 端点 + 14 指标 + 8 告警规则 2026-05-29 02:51:46 +08:00
integration_test.go test: 60 tests — governance/selfoptimize/routes/integration/edge 2026-05-28 18:35:19 +08:00
zhiyid-new feat: 自优化第二轮 — 待办5项全部补齐 2026-05-30 12:44:50 +08:00