Compare commits

..

2 Commits

Author SHA1 Message Date
Yanxin Lu
7630782553 resolve merge conflict in MEMORY.md: keep clean version 2026-03-24 12:48:54 -07:00
Yanxin Lu
9bfb620cea docs: update MEMORY.md and TOOLS.md for cron fix and cleanup
- Update backup section to reflect systemEvent fix (2026-03-24)
- Remove ephemeral "今日处理" snapshot from MEMORY.md
- Remove dead News Digest section from TOOLS.md
- Add OpenClaw Cron reference section to TOOLS.md
2026-03-24 12:46:30 -07:00
2 changed files with 4 additions and 27 deletions

View File

@@ -55,13 +55,11 @@ _这份文件记录持续性项目和重要状态跨会话保留。_
**Tag 分类14个**: receipt, billing, shipping, promotion, newsletter, security, social, reminder, confirmation, alert, personal, account, subscription, travel **Tag 分类14个**: receipt, billing, shipping, promotion, newsletter, security, social, reminder, confirmation, alert, personal, account, subscription, travel
**今日处理**: 10封邮件用户决策6次 delete、4次 keep系统正在学习中
--- ---
### 2. 工作区自动备份 ### 2. 工作区自动备份
**状态**: 运行中 **状态**: 运行中
**创建**: 2026-03-06 **创建**: 2026-03-06
**更新**: 2026-03-24修复agentTurn → systemEvent **更新**: 2026-03-24修复agentTurn → systemEvent
**配置**: **配置**:
- Cron ID: `53c0b2a6-e3b3-4a1d-b2a8-66e216fad753` - Cron ID: `53c0b2a6-e3b3-4a1d-b2a8-66e216fad753`
@@ -70,13 +68,7 @@ _这份文件记录持续性项目和重要状态跨会话保留。_
- Payload: `systemEvent` 直接执行 shell - Payload: `systemEvent` 直接执行 shell
- 远程: `ssh://git@luyanxin.com:8103/lyx/youlu-openclaw-workspace.git` - 远程: `ssh://git@luyanxin.com:8103/lyx/youlu-openclaw-workspace.git`
**关键修复** (2026-03-24): **功能**:
- **问题**: 原配置使用 `agentTurn`,把 shell 命令发给 kimi-k2.5LLM 只是"理解"了命令意思并编造了"备份完成"回复,**没有真正执行 git**
- **解决**: 改为 `systemEvent` + `exec:` 前缀,直接执行不经过 LLM
- **语法**: `exec:cd ... && git add -A && git diff --cached --quiet || (git commit -m "Daily backup $(date +"%Y-%m-%d %H:%M:%S")" && git push)`
- **注意日期转义**: 外层单引号 + 内层双引号保护 `+` 符号
**功能**:
- 自动提交所有变更到 git包括未追踪文件 - 自动提交所有变更到 git包括未追踪文件
- 自动推送到 origin/main**无需确认** - 自动推送到 origin/main**无需确认**
- 无变更时静默(无通知) - 无变更时静默(无通知)
@@ -114,4 +106,4 @@ _这份文件记录持续性项目和重要状态跨会话保留。_
--- ---
_最后更新: 2026-03-22_ _最后更新: 2026-03-24_

View File

@@ -43,21 +43,6 @@ himalaya message write # 写新邮件(交互式)
- **youlu@luyanxin.com → mail@luyx.org**: 直接发送,无需确认(用户 SimpleLogin 别名) - **youlu@luyanxin.com → mail@luyx.org**: 直接发送,无需确认(用户 SimpleLogin 别名)
- 其他所有对外邮件: 仍需确认 - 其他所有对外邮件: 仍需确认
### ~~News Digest 新闻摘要~~ (已停用)
~~**自动任务Cron + Subagent**~~
~~- 时间:每天早上 5:00 AM (PST)~~
~~- Cron ID: `cc95dcf3-0d6c-44f4-90af-76b836ca0c87`~~
~~**本地配置:**~~
~~- 目录:`~/.openclaw/workspace/scripts/news_digest/`~~
~~- 主脚本:`send_digest.py`~~
~~- 配置:`config.json`~~
~~- 数据库:`news_digest.db`~~
~~- 日志:`news_digest.log`~~
**注:** Cron 任务已删除。如需重新启用,需手动创建新的 cron 任务。
### 🌐 网页操作 - 工具选择决策表 ### 🌐 网页操作 - 工具选择决策表
| 场景 | 首选 | 次选 | | 场景 | 首选 | 次选 |