小唯
79019bfc40
A10(t_d618dc7c): 补 human_useful_count 读侧接线 + 真实 LanceDB e2e 闸门
读侧静默 no-op 修复(t_4c810e02 同类:写进库但读不回):
- lancedb_ipc.go 读路径 unmarshal 结构体缺 human_useful_count 字段,
导致 /recall、/memories 读回恒 null(列真实写入但读侧解包丢弃,无报错)。
补 4 处:SearchWithTruncation 结构体+输出映射、Scan 结构体+输出映射、
GetSkillCandidates(mapInt)、新增 mapIntPtr 可空整数映射(NULL≠0)。
- ScanAll/embedded-model 路径经 models.MemoryRecord 已带字段,无需改。
新增 human_useful_count_e2e_test.go(真实 sidecar 写→读回闸门,
仿 bitemporal_e2e 模式,未设 ZHIYI_HUC_E2E_SOCK 自动 skip):
- AC#4 读非空:存量行读回 NULL(nil);
- AC#5 同步+反例:人工 useful×2⇒huc=2/useful=2;机器 dedup 路径不污染 huc;
人工 not-useful 只动 human_not_useful。
验证:go build 通过 + 全 storage 套件绿;真实 sidecar e2e 全绿
(AC4 读回 nil / AC5 huc=2 useful=2 / 反例隔离成立)。
git show --stat 212624a4341fac
2026-10-19 21:28:33 +08:00
..
2026-10-11 23:44:57 +08:00
2026-09-12 17:57:31 +08:00
2026-10-14 05:01:27 +08:00
2026-10-16 22:46:03 +08:00
2026-10-08 20:39:29 +08:00
2026-10-10 15:51:25 +08:00
2026-10-12 18:52:09 +08:00
2026-10-12 18:52:09 +08:00
2026-09-27 00:57:39 +08:00
2026-10-19 03:33:01 +08:00
2026-10-13 22:19:48 +08:00
2026-10-19 03:33:01 +08:00
2026-10-16 12:31:02 +08:00
2026-10-15 19:04:31 +08:00
2026-10-15 19:04:31 +08:00
2026-10-10 15:51:25 +08:00
2026-10-16 22:46:03 +08:00
2026-10-12 19:50:58 +08:00
2026-10-12 19:50:58 +08:00
2026-10-19 21:28:33 +08:00
2026-10-19 19:42:29 +08:00
2026-10-18 21:27:17 +08:00
2026-10-18 21:27:17 +08:00
2026-10-17 21:52:06 +08:00
2026-10-19 21:28:33 +08:00
2026-10-12 19:50:58 +08:00
2026-10-19 19:42:29 +08:00
2026-10-19 03:33:01 +08:00
2026-10-14 00:52:29 +08:00
2026-10-14 00:52:29 +08:00
2026-10-18 12:54:51 +08:00
2026-10-16 19:40:24 +08:00
2026-10-18 12:54:51 +08:00
2026-10-14 04:11:52 +08:00
2026-10-18 21:52:47 +08:00
2026-10-09 12:59:37 +08:00
2026-10-14 01:44:39 +08:00
2026-10-14 03:39:49 +08:00
2026-10-17 23:15:40 +08:00
2026-10-13 07:26:59 +08:00
2026-10-12 16:54:32 +08:00
2026-10-16 23:05:56 +08:00
2026-10-13 23:43:55 +08:00
2026-10-14 10:42:01 +08:00
2026-10-18 00:51:46 +08:00
2026-10-18 00:51:46 +08:00
2026-10-19 20:06:12 +08:00
2026-10-16 12:31:02 +08:00
2026-10-10 15:51:25 +08:00
2026-10-11 18:02:06 +08:00
2026-09-21 16:36:41 +08:00
2026-10-14 13:19:26 +08:00
2026-10-17 23:48:26 +08:00
2026-10-09 12:59:37 +08:00
2026-10-13 01:38:11 +08:00
2026-10-12 18:52:09 +08:00
2026-10-06 17:21:41 +08:00
2026-10-12 14:17:31 +08:00
2026-10-12 18:52:09 +08:00
2026-10-14 04:11:52 +08:00
2026-10-14 01:47:58 +08:00
2026-10-14 01:47:58 +08:00
2026-10-15 21:32:41 +08:00
2026-10-14 01:14:37 +08:00
2026-10-18 02:19:03 +08:00
2026-10-18 02:19:03 +08:00
2026-10-13 01:38:11 +08:00