织忆 MemoryWeave 记忆基础设施 — Go + Rust 双二进制架构
Go to file
xiaowei 1fa8349e48 fix: mode propagation, eps=0.1, BGE connectivity check, vector storage, WriteTimeout 60s
Key fixes:
- Go task mode now correctly propagates to Rust sidecar via IPC (RunWithMode)
- DBSCAN eps lowered from 1.5 to 0.1 (cosine threshold 0.995)
- Add BGE HTTP connectivity check (TcpStream 2s timeout) before Step 4 quality backtrace
- Fix LanceDB insert_batch: use Float32Array::from_iter_values + try_new with None validity
- Fix embed.rs: add .timeout(10s) on encode request
- Fix consolidation_pipe.go: nil guards on report
- Fix main.go: WriteTimeout 60s (was 10s, causing exit 52 on full mode)
- Add vector zero detection + debug logging (norms, sample distances)
- Log warning when BGE HTTP unreachable (skip quality backtrace instead of hanging)
2026-05-31 11:46:59 +08:00
.github/workflows v3.8 完整代码: Go API + Rust sidecar + ONNX BGE + Client SDK 2026-05-29 01:07:05 +08:00
.venv fix: 蒸馏引擎 + 命名空间隔离 + PassiveValidator + ephemeral清理 2026-05-29 08:04:57 +08:00
backups fix: 蒸馏引擎 + 命名空间隔离 + PassiveValidator + ephemeral清理 2026-05-29 08:04:57 +08:00
carriers/shared F1-F4: 端到端管道修复 + 蒸馏激活 + 治理基础 2026-05-30 02:01:11 +08:00
deploy fix(G6.2): LLM model换qwen3.5-122b,deploy service同步更新 2026-05-31 01:25:51 +08:00
go fix: mode propagation, eps=0.1, BGE connectivity check, vector storage, WriteTimeout 60s 2026-05-31 11:46:59 +08:00
openclaw-zhiyi-plugin feat: 双插件推送 — Hermes + OpenClaw zhiyi 插件同步 2026-05-30 15:00:33 +08:00
plugins feat: 双插件推送 — Hermes + OpenClaw zhiyi 插件同步 2026-05-30 15:00:33 +08:00
proto v3.8 完整代码: Go API + Rust sidecar + ONNX BGE + Client SDK 2026-05-29 01:07:05 +08:00
rust fix: mode propagation, eps=0.1, BGE connectivity check, vector storage, WriteTimeout 60s 2026-05-31 11:46:59 +08:00
scripts 新增: 本地 bge-m3 嵌入服务器 (embed-server.py) + 重索引脚本 2026-05-30 03:18:43 +08:00
.gitignore chore: fix gitignore, remove stale graph.json, add MemoryMax limits 2026-05-30 17:58:27 +08:00
BENCHMARK.md perf: 34 benchmarks + 性能报告 — i5-11260H 2026-05-28 18:41:11 +08:00
DESIGN.md docs: 更新 DESIGN.md — 同步 v3.8 实施状态 2026-05-31 06:46:10 +08:00
IMPLEMENTATION-FIVE.md docs: add 织忆五步实施计划 E1-E5,附测试验证方案 2026-05-30 18:58:16 +08:00
IMPLEMENTATION.md 进度更新: G1-G9 全部完成, Hermes 插件添加 WebSocket 2026-05-30 02:16:47 +08:00
Makefile v3.8 完整代码: Go API + Rust sidecar + ONNX BGE + Client SDK 2026-05-29 01:07:05 +08:00
README.md
REPAIR-FULL.md F1-F4: 端到端管道修复 + 蒸馏激活 + 治理基础 2026-05-30 02:01:11 +08:00
REPAIR-PLAN.md F1-F4: 端到端管道修复 + 蒸馏激活 + 治理基础 2026-05-30 02:01:11 +08:00
VERSION
WORKLOG.md docs: 紧急修复 - service 文件路径冲突,数据完好 2026-05-31 04:41:23 +08:00

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 推理

仓库

Gitea: http://192.168.123.11:3000/xiaoxue_admin/memoryweave