memoryweave/go/internal
小唯 995e93598a fix(tests): 修 pre-existing 测试失配,恢复 make test 全绿 (t_8496e8b6)
四处均为本任务之前就存在的测试漂移(与优化B 无关,但让 go test ./... 无法通过):

1. selfoptimize: ae73982 给 NewGapDetector 增加了 (emb, ldb) 两个参数,
   8 处测试调用点未跟进,整包 test 构建失败。测试只用到 RecordMiss/Close/List,
   不需要真实依赖,传 nil, nil 即可。
2. integration_test.go:296 selfoptimize.NewGapDetector() 同上。
3. integration_test.go:323 InMemoryGraph.Navigate 新增 relFilter 参数,补 nil。
4. integration_test.go:339 /api/v1/triggers/fire 的夹具用了 "t1"(那是 executor
   内部编号),routes.Triggers 的真实 ID 是 t_decay/t_distill/t_merge 等,
   导致 Fire 返回 404 trigger not found。夹具改用 t_decay。

验证: go vet ./... 无输出; go test ./... -count=1 全部 ok(根包 8.1s)
2026-09-12 18:07:40 +08:00
..
api perf(recall): 累积延迟更新治理写放大 — 读路径零逐条写 + 单事务批量落盘 (t_8496e8b6) 2026-09-12 17:57:31 +08:00
consolidate fix(consolidate): eps 1.0->0.4 修复 DBSCAN 聚类失效 (clusters=1->34) 2026-09-05 18:13:53 +08:00
distill fix(security): 写入侧凭证过滤 — 密钥不再进记忆/图谱/Obsidian 镜像 2026-09-11 00:41:59 +08:00
distributed perf: 34 benchmarks + 性能报告 — i5-11260H 2026-05-28 18:41:11 +08:00
governance fix(security): 写入侧凭证过滤 — 密钥不再进记忆/图谱/Obsidian 镜像 2026-09-11 00:41:59 +08:00
metrics feat: Prometheus 监控集成 — /metrics 端点 + 14 指标 + 8 告警规则 2026-05-29 02:51:46 +08:00
models feat: E1 BFS 扩展 + 生产部署完整套件 2026-06-02 18:58:38 +08:00
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 docs+test(recall): 修正批量更新注释(delta 分组,非 CASE WHEN)+ 补 IPC 只读校验用例 (t_8496e8b6) 2026-09-12 18:07:30 +08:00