自动同步: 2026-02-27 23:00
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"agent:haonan:main": {
|
||||
"sessionId": "ce805fc1-4760-48fd-8dc8-ec782f397aa8",
|
||||
"updatedAt": 1772197786643,
|
||||
"updatedAt": 1772203956971,
|
||||
"systemSent": true,
|
||||
"abortedLastRun": false,
|
||||
"model": "MiniMax-M2.5",
|
||||
@@ -12,7 +12,7 @@
|
||||
"chatType": "direct",
|
||||
"from": "feishu:ou_be83febac9ee2afaa343c642bc697c48",
|
||||
"to": "user:ou_be83febac9ee2afaa343c642bc697c48",
|
||||
"accountId": "feishu-pm"
|
||||
"accountId": "default"
|
||||
},
|
||||
"lastChannel": "feishu",
|
||||
"lastTo": "user:ou_be83febac9ee2afaa343c642bc697c48",
|
||||
@@ -25,14 +25,14 @@
|
||||
"deliveryContext": {
|
||||
"channel": "feishu",
|
||||
"to": "user:ou_be83febac9ee2afaa343c642bc697c48",
|
||||
"accountId": "feishu-pm"
|
||||
"accountId": "default"
|
||||
},
|
||||
"chatType": "direct",
|
||||
"sessionFile": "/home/starmen1265/.openclaw/agents/haonan/sessions/ce805fc1-4760-48fd-8dc8-ec782f397aa8.jsonl",
|
||||
"modelProvider": "mm",
|
||||
"systemPromptReport": {
|
||||
"source": "run",
|
||||
"generatedAt": 1772197762454,
|
||||
"generatedAt": 1772203713158,
|
||||
"sessionId": "ce805fc1-4760-48fd-8dc8-ec782f397aa8",
|
||||
"sessionKey": "agent:haonan:main",
|
||||
"provider": "mm",
|
||||
@@ -44,9 +44,9 @@
|
||||
"sandboxed": false
|
||||
},
|
||||
"systemPrompt": {
|
||||
"chars": 25595,
|
||||
"projectContextChars": 16622,
|
||||
"nonProjectContextChars": 8973
|
||||
"chars": 25877,
|
||||
"projectContextChars": 16751,
|
||||
"nonProjectContextChars": 9126
|
||||
},
|
||||
"injectedWorkspaceFiles": [
|
||||
{
|
||||
@@ -109,8 +109,8 @@
|
||||
"name": "MEMORY.md",
|
||||
"path": "/home/starmen1265/.openclaw/agents/haonan/workspace/MEMORY.md",
|
||||
"missing": false,
|
||||
"rawChars": 1849,
|
||||
"injectedChars": 1849,
|
||||
"rawChars": 1978,
|
||||
"injectedChars": 1978,
|
||||
"truncated": false
|
||||
}
|
||||
],
|
||||
@@ -281,14 +281,14 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"lastAccountId": "feishu-pm",
|
||||
"compactionCount": 0,
|
||||
"inputTokens": 191197,
|
||||
"outputTokens": 267,
|
||||
"lastAccountId": "default",
|
||||
"compactionCount": 1,
|
||||
"totalTokens": 200000,
|
||||
"contextTokens": 200000,
|
||||
"memoryFlushAt": 1772194484696,
|
||||
"memoryFlushCompactionCount": 0
|
||||
"memoryFlushAt": 1772203595893,
|
||||
"memoryFlushCompactionCount": 1,
|
||||
"inputTokens": 1012819,
|
||||
"outputTokens": 2702
|
||||
},
|
||||
"agent:haonan:wecom:dm:zhangqing": {
|
||||
"origin": {
|
||||
|
||||
@@ -72,6 +72,11 @@ sudo apt-get install -y libavutil-dev ffmpeg
|
||||
|
||||
## ⚠️ 安全规则
|
||||
|
||||
### git push --force 禁用规则(2026-02-27)
|
||||
- **严禁使用 `git push --force`**
|
||||
- 强制推送会覆盖远端历史,导致数据丢失
|
||||
- 如需同步,先 fetch + merge 或 rebase,或向用户汇报
|
||||
|
||||
### rm 命令使用规则
|
||||
- **使用 rm 命令之前必须向用户汇报具体操作命令**
|
||||
- **禁止直接执行 rm 命令**
|
||||
|
||||
@@ -26,3 +26,29 @@ ZHIHU_SPECIFIED_ID_LIST = [
|
||||
|
||||
## 待修复
|
||||
- 修改 `zhihu_article_crawler.py`,强制每次更新配置中的 ID 列表
|
||||
|
||||
## 2026-02-27 后续
|
||||
|
||||
### 修复并提交 (20:20)
|
||||
- 修复 `zhihu_article_crawler.py`,强制更新 MediaCrawler 配置
|
||||
- 提交到 kb-skills 仓库 (commit 727cfc1)
|
||||
|
||||
### Git 仓库迁移失误 (20:42)
|
||||
- 错误:将 knowledge-base 仓库从根目录移到 archive/
|
||||
- 错误:使用 `git push --force` 推送到远端,**导致远端历史丢失**
|
||||
- 失误:删除了 .gitea 目录(包含 CI 配置)
|
||||
- 后果:远端仓库 commit 历史全部丢失,只能看到最后一个 commit
|
||||
|
||||
### MEMORY.md 更新
|
||||
- 添加规则:严禁使用 `git push --force`(2026-02-27 新增)
|
||||
|
||||
### 知识库 CI 部署 (22:33)
|
||||
- 新建 `.gitea/workflows/deploy.yml`
|
||||
- 触发条件:main 分支推送
|
||||
- 部署目标:micecola.top:/www/wwwroot/kb-web-test/zhangqing
|
||||
- 认证方式:待解决(SSH 密钥问题)
|
||||
- 用户名:kb_admin
|
||||
|
||||
### 待解决
|
||||
- Gitea runner 没有 SSH 密钥,无法部署
|
||||
- 需要蒋先生在 Gitea 后台配置 runner 的 SSH 密钥
|
||||
|
||||
+5
-4
@@ -3,8 +3,8 @@
|
||||
"deviceId": "a12f851ec2a179ca97d45b204bc3788476f062520fa77c5edef5cd054a176b1e",
|
||||
"publicKey": "Ka6zP7u6MzDaQBqOpXHYUBC5MYLlVGGZM8vIi11WnTw",
|
||||
"platform": "linux",
|
||||
"clientId": "cli",
|
||||
"clientMode": "cli",
|
||||
"clientId": "gateway-client",
|
||||
"clientMode": "backend",
|
||||
"role": "operator",
|
||||
"roles": [
|
||||
"operator"
|
||||
@@ -24,11 +24,12 @@
|
||||
"operator.pairing"
|
||||
],
|
||||
"createdAtMs": 1770807648254,
|
||||
"lastUsedAtMs": 1772196839537
|
||||
"lastUsedAtMs": 1772202024200
|
||||
}
|
||||
},
|
||||
"createdAtMs": 1770807648254,
|
||||
"approvedAtMs": 1770807648254,
|
||||
"remoteIp": "192.168.1.36"
|
||||
"remoteIp": "192.168.1.36",
|
||||
"displayName": "agent"
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
"operator.approvals",
|
||||
"operator.pairing"
|
||||
],
|
||||
"updatedAtMs": 1772196839573
|
||||
"updatedAtMs": 1772202024228
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user