commit 2e503d82aefb2c06724f19838b29ef4ed5cb5253 Author: xiaowei Date: Sun May 24 23:15:11 2026 +0800 Initial commit: 织忆 v1.0.0 - Phase 1.1 Auto-Distill Engine (框架) 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