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
+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-生活管理/提醒