From 628287619793aa4f166f9ed4f3c2a0fe10c9930f Mon Sep 17 00:00:00 2001 From: weishen Date: Sun, 29 Mar 2026 16:41:53 +0800 Subject: [PATCH] =?UTF-8?q?yunce:=20=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=86=99=E4=BD=9C=E8=A7=84=E5=88=99=20-=20=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E5=86=99Mac=20mini=EF=BC=8C=E4=B8=8D=E7=95=99=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0=E6=8B=B7=E8=B4=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openclaw/yunce/AGENTS.md | 7 +++++++ openclaw/yunce/MEMORY.md | 13 +++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) 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 同步) ---