memoryweave/go
小唯 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
..
client
cmd perf(recall): 累积延迟更新治理写放大 — 读路径零逐条写 + 单事务批量落盘 (t_8496e8b6) 2026-09-12 17:57:31 +08:00
internal fix(tests): 修 pre-existing 测试失配,恢复 make test 全绿 (t_8496e8b6) 2026-09-12 18:07:40 +08:00
proto
static
go.mod
go.sum
integration_test.go fix(tests): 修 pre-existing 测试失配,恢复 make test 全绿 (t_8496e8b6) 2026-09-12 18:07:40 +08:00
zhiyid-new fix(distill): max_tokens 800→1200 — Agnes推理token预算不足 2026-08-20 01:13:06 +08:00