tzt
e5470a3715
feat(proxy): T-X10 采纳 cortiq 语义缓存路由签名分桶——不同路由意图不互串答案
- normalizer.canonical_hash 增加可选 route_sig 段:键 = bucket|doc_version|sig|sha256
(旧三段格式向后兼容,旧条目随 TTL 自然淘汰)
- ProxyConfig 新增 semcache.route_sig_scope:capabilities(默认,vision/tools 需求
签名)/ model(按模型隔离)/ none(旧行为);非法值回落 capabilities
- semcache:签名升级为条目属性并分区 L2 语义扫描(仅键分桶不够——语义层仍会
跨签名命中);签名从缓存键第四段解析,重启重建零 schema 变更;
晋升别名键携带签名段;route_sig=None 的旧调用零过滤完全兼容
- routes:lookup/put 共用同一 norm_hash(消除 put 侧重复哈希),签名贯穿两层
- 新增 tests/test_route_sig.py 6 项(键格式/键空间分割/scope 三态/两层隔离/
重建存活/旧调用兼容)
2026-09-19 09:59:15 +08:00
..
2026-09-19 09:59:15 +08:00
2026-09-18 23:59:44 +08:00
2026-09-05 16:24:56 +08:00
2026-08-12 10:40:04 +08:00
2026-09-01 23:41:45 +08:00
2026-09-18 23:59:44 +08:00
2026-09-01 08:31:47 +08:00
2026-09-18 08:35:36 +08:00
2026-09-18 23:59:44 +08:00
2026-09-05 11:07:04 +08:00