From 2e503d82aefb2c06724f19838b29ef4ed5cb5253 Mon Sep 17 00:00:00 2001 From: xiaowei Date: Sun, 24 May 2026 23:15:11 +0800 Subject: [PATCH] =?UTF-8?q?Initial=20commit:=20=E7=BB=87=E5=BF=86=20v1.0.0?= =?UTF-8?q?=20-=20Phase=201.1=20Auto-Distill=20Engine=20(=E6=A1=86?= =?UTF-8?q?=E6=9E=B6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 40 ++++++++++++++++++++++++++++++++++++++++ README.md | 30 ++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 .gitignore create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..11223e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,40 @@ +# Python +__pycache__/ +*.py[cod] +*.so +.Python +build/ +dist/ +*.egg-info/ +.eggs/ + +# Virtual env +venv/ +.venv/ +env/ + +# IDE +.idea/ +.vscode/ +*.swp +*.swo + +# 测试 +.pytest_cache/ +.coverage +htmlcov/ + +# 数据库 +*.db +*.sqlite + +# 本地配置 +.env +.env.local + +# 日志 +*.log + +# OS +.DS_Store +Thumbs.db \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e6c52f --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# 织忆 (MemoryWeave) 独立记忆服务 + +> 织忆是独立记忆层,不是行为层。只负责记忆的存储、检索、共享和质量审核。 + +## 项目结构 + +``` +src/ +├── distill/ # 蒸馏引擎 +│ ├── engine.py # 主引擎 +│ ├── queue.py # 持久化队列 +│ ├── hard_rules.py # 硬规则过滤 +│ └── conflicts.py # 冲突检测 +└── models/ # 数据模型 + ├── episode.py # Episode 模型 + └── distilled.py # Distilled 模型 +tests/ # 测试 +config.py # 配置 +``` + +## 开发流程 + +1. 我规划 → opencode 执行 → 我验收 → openclaw 体验 + +详见 [设计文档](../mc/小唯/07-Wiki/concepts/织忆(MemoryWeave)-v2.6-完整定稿.md) + +## 相关链接 + +- Gitea: http://192.168.123.11:3000/xiaoxue_admin/zhiyi +- 设计文档: ~/mc/小唯/07-Wiki/concepts/织忆(MemoryWeave)-v2.6-完整定稿.md \ No newline at end of file