memoryweave/go/internal
小唯 a1308be497 fix(governance): #14 冲突误判致蒸馏跳过→召回不到 (t_a54aae79)
1. IsContradiction 阈值 0.3→0.5: 字符级分词下 0.3 过敏, "同话题不同事实"
   大量误判为矛盾, commit 路径 distill_skipped=conflict 跳过写入
2. containsNegCN 移除单字 莫/别 扫描: 特别/其他/分别 等高频非否定词误报
3. commit 请求体补上 resolve_conflict=true 覆盖开关(此前响应文案提及但
   请求体根本无此字段, 覆盖永远不生效)
4. 测试: governance 阈值回归(真矛盾/别误报/不+购买兼容/无否定基线) +
   routes 端到端门控(E2E: 矛盾不触发/flag触发/误报放行/无矛盾基线)
5. server.go: 补 path/filepath import — 工作区有一处他人 WIP 改动
   (AddEdge 429 重试+落盘), 缺 import 导致全仓 build 失败, 此处仅补
   import 使 build 通过, 该 WIP 逻辑本身未评审

验证: go build ./... + go test ./... 全绿; 线上验证见看板卡 t_a54aae79
2026-09-18 04:21:08 +08:00
..
api fix(governance): #14 冲突误判致蒸馏跳过→召回不到 (t_a54aae79) 2026-09-18 04:21:08 +08:00
consolidate
distill feat(distill): 限制 prompt ≤8k token 保护本地 2B 单槽; storage: 添加 SoftDeleteBatch 及 Rust 端批量软删除优化 (t_3fb41049) 2026-09-14 22:09:44 +08:00
distributed
governance fix(governance): #14 冲突误判致蒸馏跳过→召回不到 (t_a54aae79) 2026-09-18 04:21:08 +08:00
metrics
models
redact fix(security): 写入侧凭证过滤 — 密钥不再进记忆/图谱/Obsidian 镜像 2026-09-11 00:41:59 +08:00
selfoptimize fix(tests): 修 pre-existing 测试失配,恢复 make test 全绿 (t_8496e8b6) 2026-09-12 18:07:40 +08:00
storage fix(rust): 恢复缺失的 LanceDBStats/stats() 和 helper 函数 (t_3fb41049); storage: 添加软删除累积延迟缓冲 (t_384f785b) 2026-09-14 22:14:52 +08:00