AGENTS.md:明确工作区同步操作的措辞

This commit is contained in:
2026-03-09 11:26:08 +08:00
parent 4f6d6f24d0
commit 9b5f00dd67
15 changed files with 67 additions and 78 deletions
+2 -2
View File
@@ -70,8 +70,8 @@ This folder is home. Treat it that way.
### 用户的工作区
- 路径:~/work/zq
- 这个工作区目录通过rclone与Nas同步
- **修改内容之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **修改内容之后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- **任何对~/work/zq目录的操作(新建/修改/删除)之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **操作完成后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- 用户的待办记录到~/work/zq/00.收件箱/01-速记本.md
- 用户的提醒记录到~/work/zq/20.领域/23-生活管理/提醒
+17 -11
View File
@@ -1,7 +1,7 @@
{
"agent:haonan:main": {
"sessionId": "19d09a52-cb94-4eb2-8505-21860848a9e5",
"updatedAt": 1773021367541,
"updatedAt": 1773026659270,
"systemSent": true,
"skillsSnapshot": {
"prompt": "\n\nThe following skills provide specialized instructions for specific tasks.\nUse the read tool to load a skill's file when the task matches its description.\nWhen a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.\n\n<available_skills>\n <skill>\n <name>capability-evolver</name>\n <description>A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.</description>\n <location>~/.openclaw/skills/capability-evolver/SKILL.md</location>\n </skill>\n <skill>\n <name>clawlist</name>\n <description>MUST use for any multi-step project, long-running task, or infinite monitoring workflow. Plan, execute, track, and verify tasks with checkpoint validation. For projects, automation, and ongoing operations.</description>\n <location>~/.openclaw/skills/clawlist/SKILL.md</location>\n </skill>\n</available_skills>",
@@ -62,7 +62,7 @@
"sessionFile": "/home/starmen1265/.openclaw/agents/haonan/sessions/19d09a52-cb94-4eb2-8505-21860848a9e5.jsonl",
"systemPromptReport": {
"source": "run",
"generatedAt": 1773021330625,
"generatedAt": 1773026614909,
"sessionId": "19d09a52-cb94-4eb2-8505-21860848a9e5",
"sessionKey": "agent:haonan:main",
"provider": "zhipu",
@@ -75,17 +75,17 @@
"sandboxed": false
},
"systemPrompt": {
"chars": 27888,
"projectContextChars": 14910,
"nonProjectContextChars": 12978
"chars": 29165,
"projectContextChars": 15820,
"nonProjectContextChars": 13345
},
"injectedWorkspaceFiles": [
{
"name": "AGENTS.md",
"path": "/home/starmen1265/.openclaw/agents/haonan/workspace/AGENTS.md",
"missing": false,
"rawChars": 10966,
"injectedChars": 10966,
"rawChars": 11227,
"injectedChars": 11227,
"truncated": false
},
{
@@ -144,6 +144,12 @@
"injectedChars": 1168,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
@@ -377,14 +383,14 @@
},
"compactionCount": 0,
"totalTokensFresh": true,
"cacheRead": 39168,
"cacheRead": 12224,
"cacheWrite": 0,
"lastHeartbeatText": "已在飞书向蒋先生发送日历同步提醒!✅",
"lastHeartbeatSentAt": 1772924419184,
"contextTokens": 200000,
"inputTokens": 29315,
"outputTokens": 924,
"totalTokens": 40565
"inputTokens": 47223,
"outputTokens": 1658,
"totalTokens": 59447
},
"agent:haonan:wecom:dm:zhangqing": {
"origin": {
+2 -2
View File
@@ -70,8 +70,8 @@ This folder is home. Treat it that way.
### 用户的工作区
- 路径:~/work/zq
- 这个工作区目录通过rclone与Nas同步
- **修改内容之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **修改内容之后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- **任何对~/work/zq目录的操作(新建/修改/删除)之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **操作完成后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- 用户的待办记录到~/work/zq/00.收件箱/01-速记本.md
- 用户的提醒记录到~/work/zq/20.领域/23-生活管理/提醒
+2 -2
View File
@@ -70,8 +70,8 @@ This folder is home. Treat it that way.
### 用户的工作区
- 路径:~/work/zq
- 这个工作区目录通过rclone与Nas同步
- **修改内容之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **修改内容之后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- **任何对~/work/zq目录的操作(新建/修改/删除)之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **操作完成后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- 用户的待办记录到~/work/zq/00.收件箱/01-速记本.md
- 用户的提醒记录到~/work/zq/20.领域/23-生活管理/提醒
+2 -2
View File
@@ -63,8 +63,8 @@ Capture what matters. Decisions, context, things to remember. Skip the secrets u
- 路径:~/work/zq
- 这个工作区目录通过rclone与Nas同步
- **修改内容之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **修改内容之后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- **任何对~/work/zq目录的操作(新建/修改/删除)之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **操作完成后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- 用户的待办记录到~/work/zq/00.收件箱/01-速记本.md
- 用户的提醒记录到~/work/zq/20.领域/23-生活管理/提醒
+2 -2
View File
@@ -70,8 +70,8 @@ This folder is home. Treat it that way.
### 用户的工作区
- 路径:~/work/zq
- 这个工作区目录通过rclone与Nas同步
- **修改内容之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **修改内容之后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- **任何对~/work/zq目录的操作(新建/修改/删除)之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **操作完成后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- 用户的待办记录到~/work/zq/00.收件箱/01-速记本.md
- 用户的提醒记录到~/work/zq/20.领域/23-生活管理/提醒
+15 -45
View File
@@ -1,7 +1,7 @@
{
"agent:ui-designer:main": {
"sessionId": "07c2e814-aff5-4c3e-b0bf-037f14e7b69b",
"updatedAt": 1772986573218,
"sessionId": "86294470-5368-482c-b335-3485652830e5",
"updatedAt": 1773022579022,
"systemSent": true,
"abortedLastRun": false,
"chatType": "direct",
@@ -22,7 +22,7 @@
"to": "user:ou_9847ce84b960736c14554730b41e4957",
"accountId": "feishu-art"
},
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/07c2e814-aff5-4c3e-b0bf-037f14e7b69b.jsonl",
"sessionFile": "/home/starmen1265/.openclaw/agents/ui-designer/sessions/86294470-5368-482c-b335-3485652830e5.jsonl",
"compactionCount": 0,
"skillsSnapshot": {
"prompt": "\n\nThe following skills provide specialized instructions for specific tasks.\nUse the read tool to load a skill's file when the task matches its description.\nWhen a skill file references a relative path, resolve it against the skill directory (parent of SKILL.md / dirname of the path) and use that absolute path in tool commands.\n\n<available_skills>\n <skill>\n <name>capability-evolver</name>\n <description>A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.</description>\n <location>~/.openclaw/skills/capability-evolver/SKILL.md</location>\n </skill>\n</available_skills>",
@@ -51,8 +51,8 @@
"model": "glm-5",
"systemPromptReport": {
"source": "run",
"generatedAt": 1772986555332,
"sessionId": "07c2e814-aff5-4c3e-b0bf-037f14e7b69b",
"generatedAt": 1773022572020,
"sessionId": "86294470-5368-482c-b335-3485652830e5",
"sessionKey": "agent:ui-designer:main",
"provider": "zhipu",
"model": "glm-5",
@@ -64,8 +64,8 @@
"sandboxed": false
},
"systemPrompt": {
"chars": 21693,
"projectContextChars": 9208,
"chars": 19285,
"projectContextChars": 6800,
"nonProjectContextChars": 12485
},
"injectedWorkspaceFiles": [
@@ -73,8 +73,8 @@
"name": "AGENTS.md",
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/AGENTS.md",
"missing": false,
"rawChars": 2334,
"injectedChars": 2334,
"rawChars": 2595,
"injectedChars": 2595,
"truncated": false
},
{
@@ -129,38 +129,8 @@
"name": "MEMORY.md",
"path": "/home/starmen1265/.openclaw/agents/ui-designer/workspace/MEMORY.md",
"missing": false,
"rawChars": 18,
"injectedChars": 18,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"truncated": false
},
{
"path": "SELF_IMPROVEMENT_REMINDER.md",
"rawChars": 616,
"injectedChars": 616,
"rawChars": 594,
"injectedChars": 594,
"truncated": false
},
{
@@ -396,12 +366,12 @@
]
}
},
"cacheRead": 14784,
"cacheRead": 14400,
"cacheWrite": 0,
"totalTokensFresh": true,
"contextTokens": 200000,
"inputTokens": 16851,
"outputTokens": 470,
"totalTokens": 31635
"inputTokens": 1706,
"outputTokens": 35,
"totalTokens": 16106
}
}
+2 -2
View File
@@ -70,8 +70,8 @@ This folder is home. Treat it that way.
### 用户的工作区
- 路径:~/work/zq
- 这个工作区目录通过rclone与Nas同步
- **修改内容之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **修改内容之后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- **任何对~/work/zq目录的操作(新建/修改/删除)之前必须先从NAS同步到本地:** `rclone sync "nas-webdav:/home/Drive/工作区/张青/工作区/" ~/work/zq/ --exclude ".git/" --exclude ".gitignore"`
- **操作完成后必须同步到NAS:** `rclone sync ~/work/zq/ "nas-webdav:/home/Drive/工作区/张青/工作区/" --exclude ".git/" --exclude ".gitignore"`
- 用户的待办记录到~/work/zq/00.收件箱/01-速记本.md
- 用户的提醒记录到~/work/zq/20.领域/23-生活管理/提醒