diff --git a/openclaw/yunce/AGENTS.md b/openclaw/yunce/AGENTS.md index a092395e..c68c4f33 100644 --- a/openclaw/yunce/AGENTS.md +++ b/openclaw/yunce/AGENTS.md @@ -280,6 +280,13 @@ The user: - When you make a mistake → document it so future-you doesn't repeat it - **After completing ANY task** → automatically write a summary to `memory/YYYY-MM-DD.md` (no need to wait for "please remember") +### 📋 文件写作规则 (2026-03-29) +**重要**:所有创建的文档、计划、设计文件,**直接写入 Mac mini**,不留在本地。 + +- **写作路径**:`ssh macmini` → `~/Obsidian/shenwei/openclaw/yunce/` +- **不再本地留存**:不复制到 `/home/shenwei/.openclaw/workspace-agent-yunce/` +- **写作后**:执行 `git add` → `git commit` → `git push` 同步到 Git + ### 📋 Session 结束流程 (2026-03-29) 每次 session 结束时,主动给用户一个"工作小结",格式: ``` diff --git a/openclaw/yunce/MEMORY.md b/openclaw/yunce/MEMORY.md index 77c9aa5d..36bc8e03 100644 --- a/openclaw/yunce/MEMORY.md +++ b/openclaw/yunce/MEMORY.md @@ -71,15 +71,20 @@ **云策专属笔记目录**: ``` -MacMini: /Users/weishen/Workspace/nexus/openclaw/yunce +MacMini: /Users/weishen/Obsidian/shenwei/openclaw/yunce ``` **规则**: 所有输出的计划、文档、方案等文字内容,**只存放于此目录** +**写作流程**: +1. SSH 到 Mac mini,直接在 `~/Obsidian/shenwei/openclaw/yunce/` 创建文件 +2. 不在本地留存 +3. 写完后 `git commit` → `git push` 同步 + **Obsidian 各目录用途**: -- `~/Workspace/nexus` — Git 仓库根目录 -- `~/Workspace/nexus/openclaw/yunce` — 云策专属目录 -- `~/Obsidian/shenwei/openclaw/yunce` — Obsidian 主笔记目录(iCloud 同步) +- `~/Obsidian/shenwei/openclaw/yunce` — 云策专属目录(直接写作) +- `~/Workspace/nexus` — Git 仓库(通过 Git 同步) +- `~/Workspace/nexus/openclaw/yunce` — Git 工作目录(由 Mac mini 同步) ---