1. Feedback端点 类型修复 (core.go)
- 之前传 map[string]int,Update() 只处理 map[string]string/map[string]interface{}
- int 被当作 string case 处理, 被丢弃
- 修复: map[string]interface{}{"": 1}
2. IPC 搜索字段名 (lancedb_ipc.go)
- Rust send_ok 用 report_json,不是 result
- 错误改用 resp.Result 导致 IPC 结果永远为空
- 回退到 resp.ReportJSON (这是正确的)
- 加 Result 字段只是为了日志可见性(不被 Rust 填充)
验证: recall_count=6, useful_count=1 确认写入 LanceDB
|
||
|---|---|---|
| .github/workflows | ||
| .venv | ||
| backups | ||
| carriers/shared | ||
| deploy | ||
| go | ||
| openclaw-zhiyi-plugin | ||
| plugins | ||
| proto | ||
| rust | ||
| scripts | ||
| .gitignore | ||
| BENCHMARK.md | ||
| DESIGN.md | ||
| IMPLEMENTATION-FIVE.md | ||
| IMPLEMENTATION.md | ||
| Makefile | ||
| README.md | ||
| REPAIR-FULL.md | ||
| REPAIR-PLAN.md | ||
| VERSION | ||
| WORKLOG.md | ||
README.md
织忆 (MemoryWeave) — 独立记忆基础设施
Go + Rust 双二进制架构 | port 7821 | 版本 v0.1.0-dev
织忆是多 Agent 系统的共享记忆层。
zhiyid (Go daemon, port 7821)
├── REST API / WebSocket
├── 蒸馏引擎 / 冲突治理
├── Redis 事件流
└── 调用 zhiyi-consolidate
zhiyi-consolidate (Rust binary, systemd timer)
├── LanceDB 原生读写
├── DBSCAN 聚类 / 衰减回归
├── Embedding + Rerank 管线
└── → 结果写回 LanceDB
快速开始
# 构建
make build
# 安装
sudo make install
# 验证
curl http://localhost:7821/health
文档
语言分工
| 组件 | 语言 | 原因 |
|---|---|---|
| HTTP API + 业务逻辑 | Go | goroutine 高并发,单二进制 |
| LanceDB + 向量管线 | Rust | 原生 lancedb crate,零 FFI |
| Embedding/Rerank | Rust | Candle/ort 推理 |