memoryweave/carriers/shared/decision-log.md

26 lines
800 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Decision Log — 决策记录
> Namespace: shared
> 自动 append不覆盖历史
---
## 2026-05-28: v3.8 锁定 Go + Rust 双二进制
**决策**: 织忆主进程用 Go (daemon + API)Rust sidecar 负责计算密集型整合LanceDB/BGE/聚类/衰减)。
**理由**: Go 的并发模型适合 API 层Rust 的零开销适合数据引擎。
---
## 2026-05-27: BGE-M3 从 API 迁移到本地 ONNX
**决策**: 使用 BGE-M3 ONNX 模型本地推理,替代模力方舟 API 调用。
**理由**: 降低延迟 (500ms → 43ms),去除 API 依赖 (网络被墙)。
---
## 2026-05-26: 零外部依赖策略
**决策**: 所有 Go 功能用标准库实现,禁止引入 gorilla/websocket、go-redis 等外部包。
**理由**: 网络被墙环境,任何外部依赖都可能失败。