织忆 MemoryWeave 记忆基础设施 — Go + Rust 双二进制架构
Go to file
xiaowei 03fe336616 E4 图谱推理实现文档:E4.1 矛盾检测+E4.2 跨agent recall+E4.3 遗忘参考图谱度
E4.1: ConflictDetector 注入 core.go:API, Commit 时对相似记忆运行 DetectContradiction()
E4.2: Recall 结果 < 3 时补充 shared namespace(去重 + Score=0.5 降权)
E4.3: ShouldForget(graphDegree ...int) 可变参数,度>5 时每度+0.03保留分
E4.3 调用方待接入 graphDegree(admin.go:71, server.go:904)
2026-05-31 16:13:29 +08:00
.github/workflows
.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
docs docs: add consolidate fix work log (2026-05-31) 2026-05-31 11:58:26 +08:00
go E4 图谱推理:E4.1 矛盾检测+E4.2 跨agent recall+E4.3 遗忘参考图谱度 2026-05-31 16:03:21 +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
rust fix: eps=1.0 (19 clusters from 1486 items), add col_vector() for FixedSizeListArray reading 2026-05-31 14:35:29 +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
DESIGN.md docs: 更新 DESIGN.md — 同步 v3.8 实施状态 2026-05-31 06:46:10 +08:00
IMPLEMENTATION-FIVE.md E4 图谱推理实现文档:E4.1 矛盾检测+E4.2 跨agent recall+E4.3 遗忘参考图谱度 2026-05-31 16:13:29 +08:00
IMPLEMENTATION.md 进度更新: G1-G9 全部完成, Hermes 插件添加 WebSocket 2026-05-30 02:16:47 +08:00
Makefile
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 E3 完成:增量 embedding 验证 2026-05-31 15:17:35 +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