{
  "jobs": [
    {
      "id": "21257baf-2637-4b0e-8a29-acf78f1f11f8",
      "agentId": "main",
      "name": "heartbeat-day-14",
      "enabled": true,
      "createdAtMs": 1774062479954,
      "schedule": {
        "kind": "cron",
        "expr": "37 14 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Heartbeat 检查（isolated 执行，2026-11-16 改造）。\n\nRead HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.\n\n🔴 铁律：\n1. 先做工作保护检查：若有 Chrome/Chromium/Playwright 进程运行 >5 分钟 → 直接输出 HEARTBEAT_OK，不做任何系统变更\n2. 只做只读检查，禁止 kill 非 Gateway 进程，禁止 systemctl restart openclaw-gateway\n3. 有异常才写 memory/YYYY-MM-DD.md 并告知；无异常安静收工\n4. 本 job delivery=none，你的回复只进 cron 日志，不会打扰 Paul",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "delivery": {
        "mode": "none"
      },
      "state": {
        "lastRunAtMs": 1796280453034,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 106630,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796366220000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796280559664
    },
    {
      "id": "cda7bf64-105e-4a31-9579-7ea8426164d2",
      "agentId": "main",
      "name": "MiniMax-TokenPlan额度巡检",
      "description": "巡检 MiniMax TokenPlan Max 套餐额度（5h窗口/周窗口），告急时飞书告警，防止 fallback 链滑向按量计费",
      "enabled": true,
      "createdAtMs": 1795746102417,
      "schedule": {
        "kind": "cron",
        "expr": "52 9,14,20 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行 MiniMax TokenPlan 额度巡检：\n\n1. 运行 `cd /home/inno15/.openclaw/workspace && python3 scripts/minimax_tokenplan_quota.py --notify 2>&1`\n2. 脚本会查询套餐的 5 小时窗口 + 周窗口剩余百分比；低于阈值时自动发飞书告警给 Paul 并回读校验\n3. 判断标准：\n   - 退出码 0 且输出「额度正常」→ 无需打扰，回复「TokenPlan 额度正常：<5h剩余>% / <周剩余>%」即可\n   - 退出码 0 且输出「告警已发送」→ 脚本已自行告警，回复一句确认（附剩余百分比）\n   - 退出码非 0 → 巡检本身失败，如实报告退出码与错误摘要，不得声称额度正常\n\n注意：本 job 是 agentTurn 类型，cron 判定成败看 agent turn 是否完成。若脚本执行失败，必须在回复中写明失败原因，严禁声称任务成功。",
        "timeoutSeconds": 300
      },
      "delivery": {
        "mode": "announce",
        "to": "user:ou_a6e4ebe738f37d915aef230664d582d2",
        "channel": "feishu",
        "accountId": "default"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796367120000,
        "lastRunAtMs": 1796349120115,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 14082,
        "lastDelivered": true,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796349134197
    },
    {
      "id": "cf5b37ef-ba27-4214-afa5-3bd84f4f8211",
      "agentId": "main",
      "name": "heartbeat-day-17",
      "enabled": true,
      "createdAtMs": 1774062480045,
      "schedule": {
        "kind": "cron",
        "expr": "43 17 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Heartbeat 检查（isolated 执行，2026-11-16 改造）。\n\nRead HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.\n\n🔴 铁律：\n1. 先做工作保护检查：若有 Chrome/Chromium/Playwright 进程运行 >5 分钟 → 直接输出 HEARTBEAT_OK，不做任何系统变更\n2. 只做只读检查，禁止 kill 非 Gateway 进程，禁止 systemctl restart openclaw-gateway\n3. 有异常才写 memory/YYYY-MM-DD.md 并告知；无异常安静收工\n4. 本 job delivery=none，你的回复只进 cron 日志，不会打扰 Paul",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796290980113,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 320631,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796377380000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796291300744
    },
    {
      "id": "047d3c5a-ac8f-4abd-8995-559ea8704b04",
      "agentId": "main",
      "name": "Medallia-YTD-Evening-18:10",
      "enabled": true,
      "createdAtMs": 1785684843184,
      "schedule": {
        "expr": "10 18 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "抓取Medallia YTD数据并输出摘要（Trajectory已接入）：\n\n执行命令（exec 工具，yieldMs=300000 等它跑完，注意本脚本实测耗时约 200-350 秒）：\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify --compress medallia_ytd /home/inno15/.openclaw/workspace/scripts/wrappers/medallia_ytd_wrapper.py\n\n说明：\n- traj_wrap 参数：--compress 完成后自动压缩轨迹写记忆；--notify 完成后飞书通知 Paul（含四项指标摘要）。\n- **2026-11-04 变更**：原 `Medallia-WinningMetrics-YTD-18:00` 已删除（它与 06:00 job 跑完全相同的脚本，\n  属重复采集，且 11-04 两次因 isolated agent setup 超时失败）。**晚间的飞书通知职责现由本 job 承担**，\n  所以本 job 必须带 --notify，否则晚间你将收不到 Medallia YTD 数据。\n- 早间（06:00）的通知仍由 `Medallia-WinningMetrics-YTD-06:00` 负责（那条还负责写企业微信智能表格）。\n- 脚本实际耗时较长（脚本内 elapsed_seconds 通常 200-350s），务必用 yieldMs=300000 等它跑完再结束本轮，不要提前判失败。\n- 抓取结果写入 /tmp/wm_medallia_pedia.json\n- 若 exec 超过 420 秒仍未返回，等它跑完；本 job timeoutSeconds 已放宽到 900 秒。\n- delivery 保持 mode=none：traj_wrap --notify 自己发飞书，cron 再 announce 会重复推送。\n\n完成后简要输出：Guest Love / Loyalty Recognition / Loyalty Enrolment Eff 三个值及是否 has_error（数据取不到时必须是 0 + error，禁止用旧数据）。\n\n---\n\n【退出码检查】（agentTurn 类型 cron 判定成败看「agent turn 是否完成」而非命令退出码，必须自己先看退出码再下结论）\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 900
      },
      "delivery": {
        "mode": "none",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796379000000,
        "lastRunAtMs": 1796292600115,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 151286,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796292751401
    },
    {
      "id": "d2e43d72-fb66-4f97-bb36-2a88d66dd701",
      "agentId": "main",
      "name": "WM-Pipeline-18:00",
      "description": "WM完整流水线-18:00-三合一-Medallia+Atom+Summary+发企微群",
      "enabled": true,
      "createdAtMs": 1785748461001,
      "schedule": {
        "expr": "50 18 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行WM Pipeline（Trajectory已接入）——必须一次 exec 跑完，不要多次调用工具，不要额外读文件或截图：\n\n执行命令（用 exec 工具，yieldMs=480000 等待它跑完）：\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify-on-failure --compress wm_pipeline /home/inno15/.openclaw/workspace/scripts/wm_pipeline.py\n\n说明：\n- wm_pipeline.py 内部已完成全部三步：medallia_ytd.py(≤300s) → atom_srr.py(≤300s) → wm_wecom_send.py(≤330s) 发企微群\n- 你不需要再读 /tmp/wm_medallia_pedia.json 或 /tmp/wm_atom.json，也不需要自己发企微\n- 全程只允许这一次 exec 调用；命令返回后再输出一行结果摘要即可\n- 若 exec 超时/报错，直接输出错误摘要，不要重试第二次\n\n🔴 2026-11-04 修复（静默假成功）：\n- 原命令是 `--compress`（无通知）→ 11-04 18:57 实测：wm_wecom_send.py 因 180s 包装超时被砍，\n  企微消息**未发出**，traj_wrap exit=5，但 cron 记 status=ok → **Paul 零告警**（静默假成功）\n- 现改为 `--notify-on-failure`：**成功静默**（企微消息已发，不重复打扰），\n  **失败必发飞书**（企微没送达时你立刻知道）\n- 同时已把 wm_pipeline.py 的企微发送 timeout 从 180s → 330s（子进程最坏耗时 90s×3+5s×2=280s，\n  原来 180s 会在重试途中把子进程砍掉）\n\n退出码检查（agentTurn 类型 cron 判定成败看「agent turn 是否完成」而非命令退出码，必须自己先看退出码再下结论）：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 正常。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 1700
      },
      "delivery": {
        "mode": "none",
        "channel": "wecom",
        "to": "wrEvJAHAAAOitXV8mBUmvWSxfEazegCQ"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796381400000,
        "lastRunAtMs": 1796295000124,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 199165,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796295199289
    },
    {
      "id": "456ca220-a7f2-40b8-afd0-92dcc03081f4",
      "agentId": "main",
      "name": "Paul-通勤骑行打卡-晚间19:05",
      "description": "Paul 通勤骑行打卡提醒（周一至周五 19:05）：早上上班骑来、晚上骑回。单程 8.2km/30min，双程 16.4km/60min。数据在 memory/fitness/cycling_log.json，脚本 scripts/fitness_log.py。",
      "enabled": true,
      "createdAtMs": 1796303615097,
      "schedule": {
        "kind": "cron",
        "expr": "5 19 * * 1-5",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul 通勤骑行 · 晚间打卡提醒（周一至周五 19:05）。\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=60000）：\n```bash\npython3 /home/inno15/.openclaw/workspace/scripts/fitness_log.py show\n```\n\n步骤2 —— **不要再调用任何工具**（不要 sessions_send、不要二次 exec、不要读文件、不要 edit/write）。\n\n步骤3 —— 把脚本 stdout 原样整理成最终回复正文，加一句简短点评（1-2句，中英混搭）：\n- 标题：🚴 通勤骑行 · 今日打卡\n- 保留「今天 / 早上 / 晚上 / 本周 / 累计」这几项数字\n- 如果晚上还没打卡 → 提醒一句「晚上这趟 8.2km 别忘了」\n- 如果两程都完成 → 一句肯定 + 本周进度\n- 结尾一句鼓励语，1句即可\n\n你的最终回复会被 announce 机制自动投递到 Paul 的飞书。\n\n---\n【退出码检查】\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的「Traceback」「Error」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。\n\n【注意】\n- 打卡是 Paul 本人手动做的（跟他说「打卡 morning/evening」即可），cron 只负责提醒和统计。\n- 不要尝试自动打卡，不要改写 cycling_log.json。",
        "timeoutSeconds": 300,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796382300000
      },
      "updatedAtMs": 1796303615097
    },
    {
      "id": "d48f2de9-02a3-4613-9d53-bd8fb183ce04",
      "agentId": "main",
      "sessionKey": "agent:main:cron:d48f2de9-02a3-4613-9d53-bd8fb183ce04",
      "name": "PASK-晚间预热-主动服务引擎",
      "description": "PASK晚间预热引擎·19:45·主动预测Paul晚间需求",
      "enabled": true,
      "createdAtMs": 1782234716267,
      "schedule": {
        "expr": "39 19 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行（Trajectory已接入）：\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify --compress pask_evening /home/inno15/.openclaw/workspace/scripts/pask_evening_warmup.py\n\n⚠️ 2026-11-03：timeoutSeconds 由 300 放宽到 900（实测 251s，只差 49 秒就爆，且没算锁等待时间）。\n⚠️ 浏览器任务已自动加互斥锁，若遇「浏览器锁被占用」请等待（不要重跑），等待上限 1500s。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」「浏览器锁」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 900
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "cooldownMs": 1800000,
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "state": {
        "nextRunAtMs": 1796384340000,
        "lastRunAtMs": 1796297940688,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 39958,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796297980646
    },
    {
      "id": "b4ac9635-3410-4271-aa74-c87c364b5fc0",
      "agentId": "main",
      "name": "每日任务汇总报告-20:05",
      "enabled": true,
      "createdAtMs": 1781502701790,
      "schedule": {
        "expr": "5 20 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "生成当日任务汇总报告（脚本已完成生成→发送→回读校验三步，你只负责跑它并如实汇报结果）。\n\n命令：\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify daily_task_report /home/inno15/.openclaw/workspace/scripts/wrappers/daily_task_report_wrapper.py\n\n严格三步，不做第四步：\n1. 生成 /tmp/daily_task_report_YYYY-MM-DD.xlsx\n2. 发送到飞书给 Paul（wrapper 内部已用 send_file_to_feishu.py 完成）\n3. 回读消息 API 确认送达（wrapper 内部已做，会打印「✅ 发送确认: msg_type=... body=...」）\n\n【禁止事项（2026-11-29 Paul 拍板）】\n- ❌ 不要截图确认（这一步历史上耗时最高、价值最低）\n- ❌ 不要下载回传文件做 md5 比对\n- ❌ 不要重跑脚本「确认一下」\n- ❌ 不要做任何内容抽查/回归测试/调试\n- ✅ 交付证据只看 wrapper stdout 里的「✅ 发送确认」和 message_id\n\n【退出码检查】\n本 job 是 agentTurn 类型：cron 判定成败看「agent turn 是否完成」，不看命令退出码，所以必须自己看退出码。\n1. 命令执行完毕后先看退出码，再看输出内容。\n2. 退出码 = 0 → 正常，继续。\n3. 退出码 ≠ 0 → 步骤失败。最终回复必须写明失败原因（摘取 stdout/stderr 里的「归因」「需要」「FATAL」「Traceback」等关键行），严禁声称成功。\n4. 若命令无任何输出或超时被杀 → 同样按失败处理，如实说明。\n\n最终回复格式（三行以内）：\n- 状态：成功 / 失败\n- 报告：<路径> + 今日/进行中/已完成 条数\n- 送达：<message_id> + 回读确认内容\n\n脚本完成后 traj_wrap 会另行通知结果。",
        "timeoutSeconds": 900,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796385900000,
        "lastRunAtMs": 1796299500105,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 19671,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796299519776
    },
    {
      "id": "1ed17848-7b5b-417f-87e5-3a907e32c6b4",
      "agentId": "main",
      "name": "heartbeat-day-20",
      "enabled": true,
      "createdAtMs": 1774062480138,
      "schedule": {
        "kind": "cron",
        "expr": "25 20 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Heartbeat 检查（isolated 执行，2026-11-16 改造）。\n\nRead HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.\n\n🔴 铁律：\n1. 先做工作保护检查：若有 Chrome/Chromium/Playwright 进程运行 >5 分钟 → 直接输出 HEARTBEAT_OK，不做任何系统变更\n2. 只做只读检查，禁止 kill 非 Gateway 进程，禁止 systemctl restart openclaw-gateway\n3. 有异常才写 memory/YYYY-MM-DD.md 并告知；无异常安静收工\n4. 本 job delivery=none，你的回复只进 cron 日志，不会打扰 Paul",
        "timeoutSeconds": 1500,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796300700169,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 152381,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796387100000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796300852550
    },
    {
      "id": "2c1a464f-571d-4e17-8128-c894ce3fd6ed",
      "agentId": "main",
      "name": "Paul-晚间LifeGoal总计-20:30",
      "enabled": true,
      "createdAtMs": 1788693047063,
      "schedule": {
        "kind": "cron",
        "expr": "39 20 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul晚间Life Goal总计——复盘一天。\n\n执行步骤：\n1. 读取RAG文档：/mnt/nas-backup/openclaw/hotel-knowledge/chunks/99.99.99_Paul_人生方向_Life_Goals_v1.0_001.md\n2. 读取今日记忆：memory/YYYY-MM-DD.md\n3. 判断今日：\n   - 周一/二/四/五：发送今日3大人生方向的完成情况（一句话总结）\n   - 周三/周六：❌休息日，不发送晚间总结，轻松问候即可\n   - 周日：本周总结+明天周一开始新一周\n4. 发送飞书消息给Paul（open_id: ou_a6e4ebe738f37d915aef230664d582d2）：\n   - 周三/周六：只发轻松晚安问候\n   - 其他日期：今日完成情况（3大方向各一句）+ 简短点评 + 明日重点预告\n5. 语气：中英混合，简洁有力，温暖鼓励",
        "timeoutSeconds": 900,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796387940000,
        "lastRunAtMs": 1796302744835,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 290144,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1796303034979
    },
    {
      "id": "86760141-24c9-434c-8962-8152d8dc20f7",
      "agentId": "main",
      "name": "Paul-英语闪卡晚间测试-21:00",
      "enabled": true,
      "createdAtMs": 1796265443657,
      "schedule": {
        "expr": "0 21 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul 英语闪卡 · 晚间语境测试（L2「用」层级）。\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=60000）：\n```bash\npython3 /home/inno15/.openclaw/workspace/scripts/flashcard_send.py quiz\n```\n\n步骤2 —— **不要再调用任何工具**（不要 sessions_send、不要二次 exec、不要读文件）。把脚本 stdout 原样整理成最终回复正文：\n- 标题：🌙 英语闪卡 · 晚间测试\n- 保留题目、句子、三个选项，格式照抄\n- 保留脚本给的作答提示（`1B 3A 2C` 这种格式）\n- 结尾一句：中英混合的鼓励语，1句即可\n\n你的最终回复会被 announce 机制自动投递到 Paul 的飞书。\n\n---\n【Paul 作答格式（2026-12-03 Paul 明确要求）】\nPaul 会用纯数字+字母格式作答（手机打符号困难）。晚间测试他回 `1B 3A 2C`，周测他回 `1 GDP 2 X`。\nPaul 主会话收到后调用：\n- `python3 scripts/flashcard_send.py quiz-process \"1B 3A\"` → 判分并写回记忆曲线\n- `python3 scripts/flashcard_send.py weekly-process \"1 GDP\"` → 判分并写回记忆曲线\n你（cron job）只负责发题，不负责判分，不要尝试解析或写盘。\n\n---\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "model": "minimax/MiniMax-M3.1-Flash",
        "timeoutSeconds": 600
      },
      "delivery": {
        "channel": "feishu",
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "cooldownMs": 1800000,
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "state": {
        "nextRunAtMs": 1796389200000,
        "lastRunAtMs": 1796303038288,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 23814,
        "lastDelivered": true,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796303062102
    },
    {
      "id": "9e57e5e0-b542-491c-aa54-1bea6d8f7eca",
      "agentId": "main",
      "name": "EX-ctrip-pipeline-v59",
      "description": "携程EX·21:05·v59 API直提版（采集+撰写+提交+独立复核）。2026-11-18 因旧账号被禁用导致 EX 无定时任务、堆积 68 条未回复，��补建。",
      "enabled": true,
      "createdAtMs": 1795009955598,
      "schedule": {
        "expr": "5 21 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行携程EX网评回复 v59（API直提版，Trajectory已接入）。\n\n🔴 **失败必须告警**：所有命令经 traj_wrap.py 且带 `--notify-on-failure`：成功静默、失败必发飞书。\n**不要用裸 python3 跑脚本**。\n\n🔒 **浏览器互斥锁**：所有浏览器命令必须经 `flock_browser_run.py --max-wait 1200` 包装。\n\n**流程（严格按序，一次 exec 跑一步，不要并行）**\n\n步骤1 — 采集待回复（exec, yieldMs=180000）：\n```bash\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify-on-failure --compress ctrip_ex_v59_collect flock_browser_run.py --max-wait 1200 -- python3 ctrip_ex_v59.py --collect\n```\n输出队列文件：/home/inno15/.openclaw/workspace-marcom/pending_queue_ex_v59.json\n**若 count=0 → 直接输出一行「EX无待回复，静默结束」并结束本轮，不要做任何其他操作。**\n\n⚠️ **--collect 失败时禁止重试！** 若退出码非 0（或输出出现 FATAL / count=None / rcode=401 / rcode=502 /「浏览器锁」超时），本轮立即结束，重试上限 **0 次**。\n\n步骤2 — 撰写回复（你是撰写者，不是调度者）：\n1) 读取 pending_queue_ex_v59.json 的 items（字段 commentId / userName / content / avgScore / hotelRoomInfo / commentLanguage）\n2) **先删除旧回复文件** `/home/inno15/.openclaw/workspace-marcom/ex35_replies.json`（避免提交上一轮残留）\n3) 逐条撰写中文回复，输出 JSON 字典（key=commentId, value=回复正文），**覆盖写入** ex35_replies.json\n4) 写完自检并在最终输出里报告：条数 / 落款齐全数 / 是否含平台名 / 同开头最高重复次数\n\n撰写硬性要求（违反=事故）：\n- 每条回复必须针对该条评论的具体内容，禁止通用模板套用\n- 落款固定为「——北海银滩智选假日酒店」，禁止出现「携程」「美团」「抖音」「飞猪」「OTA」等平台名\n- 长度 60-170 字\n- 差评（avgScore<4）先真诚致歉 + 具体改进承诺，不辩解\n- 好评要具体点名他提到的元素（位置、早餐、洗衣阁、员工称呼、免费升级、延长退房等）\n- 点名员工的回复里必须出现该称呼\n\n步骤3 — 提交（exec, yieldMs=180000）：\n```bash\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify-on-failure --compress ctrip_ex_v59_submit flock_browser_run.py --max-wait 1200 -- python3 ctrip_ex_v59.py --submit\n```\n\n🔴 **MAX_SUBMIT=50 上限**：待回复超过 50 条时，第一轮只提交 50 条并留下剩余。**必须循环提交直到清零**：\n- 重新采集（步骤1命令），若仍有剩余 → 用剩余 commentId 从 ex35_replies.json 筛出新文件 `/home/inno15/.openclaw/workspace-marcom/ex35_replies_r2.json`（只含剩余 key）\n- 再跑步骤3命令，但加参数：`--reply-file /home/inno15/.openclaw/workspace-marcom/ex35_replies_r2.json`\n- 最多循环 3 轮；仍残留 → 报告残留数，不要谎报完成\n\n🔴 **脚本防残留机制**：若回复文件里含已提交的 commentId，脚本会拦截报错 → 此时必须用上面说的「只含剩余 key 的新文件」重跑。\n\n🔴 **成功判据**：以重新调用 `getCommentList(NotFeedBack)` 后待回复条数下降/归零为准，**不要**用页面 badge 判断。\n\n退出码检查（agentTurn 类型 cron 判定成败看「agent turn 是否完成」而非命令退出码）：\n1. 每步执行完毕后**先看退出码**，再看输出。\n2. 退出码 = 0 → 正常。\n3. 退出码 ≠ 0 → **该步骤失败**，必须在最终回复里写明失败原因，**严禁声称任务成功**。\n4. 命令无输出或超时被杀 → 按失败处理。\n\n无待回复或全部成功时**不要发送任何飞书消息**。\n\n🔴🔴 **【2026-11-21 新增强制验收闸门】**（不满足 = 本轮失败，必须上报，禁止收尾）\n\n背景：11-20 21:23 那轮 EX 流水线采集到 10 条后 agent 直接空转收尾，\n     撰写与提交**从未执行**，但 cron 仍记 status=ok → Paul 静默 20 小时零告警。\n     根因：cron 只看「agent turn 是否完成」，不看「评论是否真被回复」。\n\n**本轮结束前必须逐项自检，全部满足才算完成：**\n1. 本轮**必须存在** submit 阶段的 trajectory 文件：\n   `/mnt/nas-backup/openclaw/trajectory/runs/*/ex_ctrip_v59-*.jsonl`（当天）\n   找不到 = 提交从未发生 = **本轮失败**\n2. 该 trajectory 的 run_end 摘要必须包含 `remaining=0`\n   （脚本已改为轮询到稳定才判定，remaining>0 即为未清干净）\n3. 脚本退出码必须为 0；非 0 必须原样上报失败原因，**严禁声称成功**\n4. 若步骤2（撰写）产出了 N 条回复，则 submit 阶段的 submitted 数必须 = N\n\n**任一项不满足** → 在最终回复里明确写「❌ 本轮失败 + 缺哪一项」，\n并且**不要**写「已完成/成功」。\n\n🔴 **本轮若因任何原因未执行提交，必须明确告知 Paul**（不能静默结束）：\n在最终回复第一行写 `❌ EX 网评未完成提交，待回复 N 条`。",
        "timeoutSeconds": 1500
      },
      "delivery": {
        "failureDestination": {
          "channel": "feishu",
          "mode": "announce",
          "to": "ou_a6e4ebe738f37d915aef230664d582d2"
        },
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "cooldownMs": 1800000,
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "state": {
        "nextRunAtMs": 1796389500000,
        "lastRunAtMs": 1796303100116,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 330784,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796303430900
    },
    {
      "id": "b3b655b7-4d07-4286-87e3-934ec0576932",
      "agentId": "main",
      "name": "Paul-英语闪卡日报-21:30",
      "enabled": true,
      "createdAtMs": 1796265511730,
      "schedule": {
        "expr": "30 21 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul 英语闪卡 · 每日记忆曲线日报。\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=60000）：\n```bash\npython3 /home/inno15/.openclaw/workspace/scripts/flashcard_send.py stats\n```\n\n步骤2 —— **不要再调用任何工具**。把脚本 stdout 原样整理成最终回复正文，加一句简短点评（1-2句，中英混搭）：\n- 点出「已掌握」数量的变化趋势\n- 如果连续多天 mastered=0（艾宾浩斯刚启动的正常现象），说明这是正常节奏，不要 alarming\n- 结尾一句鼓励语\n\n你的最终回复会被 announce 机制自动投递到 Paul 的飞书。\n\n---\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 600
      },
      "delivery": {
        "channel": "feishu",
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "cooldownMs": 1800000,
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "state": {
        "nextRunAtMs": 1796391000000,
        "lastRunAtMs": 1796304600162,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 19431,
        "lastDelivered": true,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796304619593
    },
    {
      "id": "149b1b08-fe1e-4c26-846e-6c9ee2384631",
      "agentId": "main",
      "sessionKey": "agent:main:cron:149b1b08-fe1e-4c26-846e-6c9ee2384631",
      "name": "每日成长报告 - Paul",
      "enabled": true,
      "createdAtMs": 1776045567882,
      "schedule": {
        "expr": "50 21 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "请完成以下任务，并把**最终报告直接作为你的回复正文输出**（不要调用任何消息发送工具，cron 会自动投递给你）：\n\n1. 读取今天和近期的 memory/YYYY-MM-DD.md 文件，了解过去1-2天发生的重要事件\n2. 读取 .learnings/ 目录（LEARNINGS.md, ERRORS.md, FEATURE_REQUESTS.md）整理这周的技能学习/错误修复\n3. 统计当前 Skills 数量和状态\n\n报告格式：\n📊 每日成长报告 - YYYY-MM-DD\n\n🍃 今日技能学习\n- （新学会什么/改进什么）\n\n🐛 今日问题修复\n- （发现的错误及修复情况）\n\n📈 能力短板 & 明日计划\n- （需要提升的能力）\n- （明日计划）\n\n🛠️ Skills 状态\n- 共 X 个技能（活跃/待改进/新增）\n\n语气：幽默、中英混合、简洁有力，不要流水账。\n\n🔴 2026-11-04 修正：原 payload 要求自行调用消息发送工具，而 cron 的 delivery=announce\n也会把 agent 回复推给 Paul → **每次收到两份（双发）**。\n现改为「只输出报告正文，由 cron 投递」→ 单份，且 delivery 通道天然有送达保证。",
        "timeoutSeconds": 1200,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796392200000,
        "lastRunAtMs": 1796305800110,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 157543,
        "lastDeliveryStatus": "delivered",
        "consecutiveErrors": 0,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1796305957653
    },
    {
      "id": "c70884a1-6ed5-4b6f-be0b-d7b3369d91fa",
      "agentId": "main",
      "name": "nightly-trajectory-integrity-check",
      "description": "每晚23:30复核：所有浏览器任务的trajectory是否都有run_end。缺run_end=被砍=假成功（11-02事故模式）。",
      "enabled": true,
      "createdAtMs": 1793649758842,
      "schedule": {
        "kind": "cron",
        "expr": "55 23 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行 trajectory 完整性复核（一次 exec 跑完）：\n\n```bash\ncd /home/inno15/.openclaw/workspace && python3 - <<'PYEOF'\nimport json,datetime\nfrom pathlib import Path\nbase=Path('/mnt/nas-backup/openclaw/trajectory/runs')\nnow=datetime.datetime.now()\n# 🔴 2026-11-27 修正：原逻辑只看「当天」文件，但本 job 23:41 跑，\n#    当天最后 19 分钟的活儿（23:41→24:00）永远查不到 → 漏网。\n#    改成查「昨天 + 今天」，覆盖整个 24h 滚动窗口。\ntoday=now.date()\nyesterday=today-datetime.timedelta(days=1)\nfiles=[]\nfor d in (yesterday, today):\n    for f in base.glob(f'{d:%Y-%m}/*.jsonl'):\n        try:\n            if datetime.date.fromtimestamp(f.stat().st_mtime) in (yesterday, today):\n                files.append(f)\n        except OSError:\n            pass\nfiles=sorted(files, key=lambda p:p.stat().st_mtime)[-60:]\nkilled=[]; errored=0; ok=0\nfor f in files:\n    kinds=[]\n    try:\n        for l in open(f,errors='ignore'):\n            if not l.strip(): continue\n            try: kinds.append(json.loads(l).get('event',''))\n            except: pass\n    except OSError:\n        continue\n    if not kinds or 'run_start' not in kinds: continue\n    if 'run_end' in kinds: ok+=1\n    elif kinds[-1]=='error': errored+=1\n    else: killed.append((f.name, kinds[-1]))\nif killed:\n    print('🔴 发现被中断的轨迹（无 run_end 且无 error = 被砍 = 假成功）:')\n    for n,k in killed: print('   ',n,'| 最后一个事件:',k)\n    print('归因: 该任务被 SIGTERM 中断（命令通道 630s 超时或事件循环阻塞）')\n    print('需要: 检查并发冲突 + traj_wrap 信号处理器是否回退')\nelse:\n    print(f'✅ 无被砍轨迹（完整 {ok}，明确失败 {errored}）')\nPYEOF\n```\n\n规则：\n- 退出码 0 且输出「✅ 无被砍轨迹」→ 静默结束，不要发任何消息。\n- 输出含「🔴 发现被中断」→ **立即飞书通知 Paul**（用 sessions_send，channel=feishu，to=ou_a6e4ebe738f37d915aef230664d582d2），\n  附上被中断的任务名列表和最后事件类型，并给出归因与建议。\n- 命令无输出或超时 → 也按失败处理，飞书告警。\n\n⚠️ 判据说明：\n- 最后事件为 `error` 的**不算**被砍（脚本主动上报的失败，有明确归因，cron 也已记失败）。\n- 只有「既无 run_end 也无 error」才是被 SIGTERM 砍断的静默假成功。\n- 查「昨天 + 今天」两天（2026-11-27 修正）：只看当天会漏掉前一天晚上 23:41→24:00 那段。\n- 文件列表取最近 60 个（原来 30 个），两天数据量翻倍。\n\n⏱ 调度说明：\n- 时间从 23:41 挪到 23:55 —— 23:41 时当天最后 19 分钟的 trajectory 还没产生，\n  挪到 23:55 覆盖面更大；同时 23:41→23:55 之间与任何 cron 无冲突。\n- timeout 300 → 600s（查两天文件 + 60 个文件解析，留足余量）。",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 3600000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796399700000,
        "lastRunAtMs": 1796313300630,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 20953,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796313321583
    },
    {
      "id": "6409d2cb-9a4f-481d-9b7e-3298ed9f266a",
      "agentId": "main",
      "name": "heartbeat-night-00",
      "enabled": true,
      "createdAtMs": 1774062480244,
      "schedule": {
        "kind": "cron",
        "expr": "53 0 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Heartbeat 检查（isolated 执行，2026-11-16 改造）。\n\nRead HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.\n\n🔴 铁律：\n1. 先做工作保护检查：若有 Chrome/Chromium/Playwright 进程运行 >5 分钟 → 直接输出 HEARTBEAT_OK，不做任何系统变更\n2. 只做只读检查，禁止 kill 非 Gateway 进程，禁止 systemctl restart openclaw-gateway\n3. 有异常才写 memory/YYYY-MM-DD.md 并告知；无异常安静收工\n4. 本 job delivery=none，你的回复只进 cron 日志，不会打扰 Paul",
        "timeoutSeconds": 900,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796316792830,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 144051,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796403180000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796316936881
    },
    {
      "id": "878df1bf-1561-4104-b4db-1ceff6fd0a38",
      "agentId": "main",
      "sessionKey": "agent:main:cron:878df1bf-1561-4104-b4db-1ceff6fd0a38",
      "name": "Paul晨间预热-记忆驱动版",
      "description": "01:10 三层记忆驱动，主动预测Paul今日需求，过夜遗留问题才打扰",
      "enabled": true,
      "createdAtMs": 1782050407180,
      "schedule": {
        "kind": "cron",
        "expr": "10 1 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行 Paul 晨间预热任务（三层记忆 + 主动预测）。\n\n⚠️ 2026-11-01 重构：旧版 8 步多轮工具调用跑到 984s 被超时砍掉（连续 5 天失败）。现改为「一次 exec 采集 + 一次写入」，实测 3 秒完成。\n\n步骤1 —— 一次性采集（只允许这一次 exec，yieldMs=120000）：\n```bash\nbash /home/inno15/.openclaw/workspace/scripts/morning_warmup.sh\n```\n该脚本输出：L1/L2/L3 三层记忆内容、语义检索结果、携程/美团待回复队列与最近日志、Skill Auto-Discovery、系统健康。\n\n步骤2 —— 写入今日重点到 L2（一次 exec）：\n```bash\ncd /home/inno15/.openclaw/workspace/scripts && node memory_manager.js write workspace \"morning_warmup_$(date +%F)\" 7 \"<今日重点一句话 + 遗留问题>\"\n```\n\n步骤3 —— 只有「过夜遗留问题」才飞书通知 Paul（open_id: ou_a6e4ebe738f37d915aef230664d582d2）：\n- 遗留问题 = 携程 EX/CP 待回复 > 0、或美团 Cookie 失效、或 gateway 异常\n- 无遗留 → 静默退出，不打扰 Paul\n\n全程最多 3 次工具调用，禁止额外读文件/截图。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 1800,
        "model": "zhipu/glm-4-flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796404200000,
        "lastRunAtMs": 1796317800138,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 20927,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796317821065
    },
    {
      "id": "ee35971f-90f8-456e-9e33-65dd62c02586",
      "agentId": "main",
      "sessionKey": "agent:main:cron:ee35971f-90f8-456e-9e33-65dd62c02586",
      "name": "system-backup-daily",
      "enabled": true,
      "createdAtMs": 1776081186524,
      "schedule": {
        "expr": "5 2 * * *",
        "kind": "cron"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行系统备份任务：\n1. 运行 /home/inno15/.openclaw/workspace/scripts/backup-system.sh daily\n2. 验证备份完整性（重点检查 state/ 关键回滚集是否齐全：cron/jobs.json、cron/jobs-state.json、plugins/installs.json、secrets.json、credentials/、misc/pending_approvals.json、agents/*/agent/）\n3. 输出备份结果摘要\n不需要报告给 Paul，静默执行即可。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。\n\n【🔴 2026-11-30 新增：备份完整性硬校验】\n备份后必须确认 state/ 目录存在且上述 7 项关键回滚集齐全。\n缺任意一项 → 视为备份失败（退出码非 0 的等效处理），在回复里写明缺哪一项。\n理由：state/ 是升级 OpenClaw 失败后的唯一退路，缺 cron 定义 = 65 个 job 全丢。",
        "timeoutSeconds": 1800,
        "model": "zhipu/glm-4-flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796346133989,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 47225,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796407500000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796346181214
    },
    {
      "id": "9dfe1fde-2aa4-474e-b27b-41a20d06a775",
      "agentId": "main",
      "sessionKey": "agent:main:cron:9dfe1fde-2aa4-474e-b27b-41a20d06a775",
      "name": "记忆进化+向量索引重建",
      "description": "02:00 记忆自我进化（老化归档）+ 向量索引重建 + 归档清理",
      "enabled": true,
      "createdAtMs": 1782050494446,
      "schedule": {
        "expr": "47 2 * * *",
        "kind": "cron"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行记忆系统自我进化（每日02:00）——只允许一次 exec 调用，禁止任何第二轮工具调用：\n\n执行命令（exec 工具，yieldMs=300000 等它跑完）：\nbash /home/inno15/.openclaw/workspace/scripts/run_memory_evolve.sh\n\n脚本内部完成：memory_manager.js evolve → vector_memory_index.py rebuild → 归档统计 → failure-analysis 条目统计。\n\n命令返回后只输出一行摘要（脚本 stdout），不要再调用任何工具。\n\n⚠️ 2026-10-23 修复：旧版 vector_memory_index.py 用稠密 TF-IDF 建索引，5634个IHG知识块导致 python RSS 冲到 2.54GB，触发 kernel OOM killer 把 gateway 一起杀掉（当日 3 次 OOM，10+ 个 cron 被误伤）。现已改为稀疏 CSR + 限量加载，峰值 165MB。若 rebuild 步骤失败，说明索引代码又出问题了，立即飞书通知 Paul。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 600,
        "model": "zhipu/glm-4-flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796410020000,
        "lastRunAtMs": 1796343596158,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 52513,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796343648671
    },
    {
      "id": "ec662a5f-0a0e-4a3d-8ebd-a3b8de57a451",
      "agentId": "main",
      "name": "IHG-Standards-RAG同步",
      "enabled": true,
      "createdAtMs": 1785387231214,
      "schedule": {
        "kind": "cron",
        "expr": "14 3 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行IHG Standards增量同步（Trajectory已接入）：\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --compress ihg_sync /home/inno15/.openclaw/workspace/scripts/ihg_standards_sync.py\n\ntraj_wrap参数：--compress 完成后自动压缩轨迹到记忆\n\n同步内容：\n- 源：//100.86.125.96/study/IHG standards\n- 目标1：/mnt/nas-backup/openclaw/hotel-knowledge/chunks/（RAG chunks）\n- 目标2：//100.86.125.96/study/obsidian/ihg-standards/（Obsidian vault）\n\n静默执行，完成后traj_wrap自动压缩轨迹写记忆。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 1800,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796411640000,
        "lastRunAtMs": 1796343648671,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 154868,
        "consecutiveErrors": 0,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796343803539
    },
    {
      "id": "d047b280-c384-407e-b4ce-ee2a4f4d89ac",
      "agentId": "main",
      "name": "记忆系统回归测试-MemoryTax基线对照",
      "description": "每天跑记忆系统 vs 朴素 RAG 的净价值对照测试。依据《Memory Tax》(arXiv:2610.34073)：没有朴素 RAG 对照组，就无法知道记忆系统是否在缴「记忆税」。失败即告警。",
      "enabled": true,
      "createdAtMs": 1795974741375,
      "schedule": {
        "kind": "cron",
        "expr": "23 4 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行记忆系统回归测试（每日04:23）——只允许一次 exec 调用，禁止任何第二轮工具调用：\n\n执行命令（exec 工具，yieldMs=300000 等它跑完）：\ncd /home/inno15/.openclaw/workspace && python3 scripts/memory_regression_test.py\n\n脚本内部完成：税源体检（分块粒度 / 缓存时效 / 正文可及性 / 遗忘能力 / provenance / 基线存在性）+ 6 条查询的「记忆系统 vs 朴素 RAG」净价值对比。\n\n命令返回后只输出一行摘要（脚本 stdout），不要再调用任何工具。\n\n退出码检查（agentTurn 类型 cron 判定成败看「agent turn 是否完成」而非命令退出码，必须自己先看退出码再下结论）：\n1. 命令执行完毕后，先看退出码，再看输出内容。\n2. 退出码 = 0 → 正常，继续。\n3. 退出码 ≠ 0 → 该步骤失败。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的「❌」「FAILURES」「净价值为负」等关键行），严禁声称任务成功。\n4. 若命令无任何输出或超时被杀 → 同样按失败处理，如实说明。\n\n⚠️ 若退出码非 0 且原因是「净价值为负」（记忆系统被朴素 RAG 打败）或「索引缓存缺失」，说明记忆系统正在缴记忆税 → 立即飞书通知 Paul，不要静默。",
        "model": "minimax/MiniMax-M3.1-Flash",
        "timeoutSeconds": 600
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796415780000,
        "lastRunAtMs": 1796344944493,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 203595,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796345148088
    },
    {
      "id": "ec9d950a-6320-48df-88db-22207ee01b07",
      "agentId": "main",
      "name": "Medallia-WinningMetrics-YTD-05:10",
      "description": "Medallia YTD Winning Metrics → 企业微信智能表格，每天06:00",
      "enabled": true,
      "createdAtMs": 1785678389225,
      "schedule": {
        "kind": "cron",
        "expr": "10 5 * * *",
        "tz": "Asia/Shanghai",
        "staggerMs": 0
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行（Trajectory已接入）：\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify --compress medallia_wm /home/inno15/.openclaw/workspace/scripts/medallia_wm_webhook.py\n\ntraj_wrap参数：\n  --notify   启动/完成时飞书通知Paul\n  --compress 完成后自动压缩轨迹到记忆\n\n抓取Guest Love + Loyalty Recognition YTD数据写入企业微信智能表格。\n静默执行，除非traj_wrap通知失败。\n\n⚠️ 2026-11-03：浏览器任务已自动加互斥锁，若遇「浏览器锁被占用」请等待（不要重跑），等待上限 1500s。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」「浏览器锁」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 900
      },
      "delivery": {
        "mode": "none",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796418600000,
        "lastRunAtMs": 1796343803539,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 334359,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796344137898
    },
    {
      "id": "ebc8abd5-2c38-4c55-b709-a2360ff09e89",
      "agentId": "main",
      "sessionKey": "agent:main:cron:ebc8abd5-2c38-4c55-b709-a2360ff09e89",
      "name": "storage-monitor-daily-05:30",
      "enabled": true,
      "createdAtMs": 1776081186605,
      "schedule": {
        "expr": "33 5 * * *",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行存储监控任务：\n1. 检查本地磁盘使用率（df -h）\n2. 检查NAS可用性（df -h /mnt/nas-backup）\n3. 查找>10MB本地文件：find /home/inno15/.openclaw -type f -size +10M 2>/dev/null | head -10\n4. 检查/tmp清理状态\n5. 如使用率>85%或有大文件迁移需求，静默记录到memory/heartbeat-history.md\n不需要报告给 Paul，静默执行即可。",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796346181214,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 140582,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796419980000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796346321796
    },
    {
      "id": "6da24afa-685a-40a7-8092-0b0dff02c49b",
      "agentId": "main",
      "name": "heartbeat-night-05",
      "enabled": true,
      "createdAtMs": 1774062480365,
      "schedule": {
        "kind": "cron",
        "expr": "47 5 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Heartbeat 检查（isolated 执行，2026-11-16 改造）。\n\nRead HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.\n\n🔴 铁律：\n1. 先做工作保护检查：若有 Chrome/Chromium/Playwright 进程运行 >5 分钟 → 直接输出 HEARTBEAT_OK，不做任何系统变更\n2. 只做只读检查，禁止 kill 非 Gateway 进程，禁止 systemctl restart openclaw-gateway\n3. 有异常才写 memory/YYYY-MM-DD.md 并告知；无异常安静收工\n4. 本 job delivery=none，你的回复只进 cron 日志，不会打扰 Paul",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796345828167,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 503220,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796420820000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796346331387
    },
    {
      "id": "512f3212-8ae9-4b33-ad38-00b7b31a8594",
      "agentId": "main",
      "name": "Paul-晨间提醒-06:30",
      "enabled": true,
      "createdAtMs": 1788693035220,
      "schedule": {
        "kind": "cron",
        "expr": "41 6 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul 晨间提醒任务。\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=30000）：\n```bash\ndate '+%Y-%m-%d %u %A'\n```\n拿到今天的日期和星期编号（1=周一 … 7=周日）。\n\n步骤2 —— **禁止再调用任何其他工具**（不要读文件、不要 sessions_send、不要 edit/write、不要 web_search、不要第二次 exec）。你的最终回复文本会被 announce 机制直接投递到 Paul 的飞书。\n\n步骤3 —— 按星期规则，直接输出今天要发给 Paul 的晨间消息正文（纯文本，中英混排，简洁有力，不要流水账，不要 markdown 标题层级）：\n\n- 星期 2/4/5（周二/四/五）：早安问候 + 今日3大方向核心任务（终身学习：晚间20:50-21:50 精读；身体锻炼：通勤骑行；文学修养：苏东坡）+ 学习时间提醒（通勤30分钟英语听力 + 白天碎片30分钟闪卡）\n- 星期 3（周三）：❌全天休息，不学习。只输出一段轻松问候与鼓励语，不要列任务\n- 星期 6（周六）：❌休息日（睡觉为主）。只输出轻松问候，不要列任务\n- 星期 7（周日）：休息日 + 一句\"明天周一开始新的一周\"，不要列任务\n- 星期 1（周一）：早安问候 + 今日3大方向核心任务 + 学习时间提醒\n\n注意：\n- 不要输出工具执行结果或过程说明，只输出消息正文\n- 不要写文件\n- 长度控制在 150-400 字\n\n【🔴 2026-12-03 Paul 亲自补充：身体锻炼项已更新】\nPaul 明确说明身体锻炼是**通勤骑行**，不是游泳/力量：\n- 单程 8.2 km / 30 分钟（早上上班骑来），双程 16.4 km / 60 分钟（晚上骑回）\n- 周一至周五\n- 早安提醒里提到身体锻炼时，就写「通勤骑行 8.2km 上半程」，不要再提游泳/力量\n- 周六日是休息日，不安排骑行\n\n---\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796424060000,
        "lastRunAtMs": 1796344678163,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 23008,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1796344701171
    },
    {
      "id": "5f17ee4b-0a26-4992-a08a-585c8d075d28",
      "agentId": "main",
      "name": "WM-BHYBS-Weekly-Report",
      "description": "Winning Metrics 2026 BHYBS 每日9:00飞书推送",
      "enabled": true,
      "createdAtMs": 1785747894307,
      "schedule": {
        "kind": "cron",
        "expr": "23 7 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行 WM-BHYBS 周报（winning_metrics_report.js）。\n\n🔴 2026-11-05 修复（浏览器互斥锁）：本 job 之前直接调 `node winning_metrics_report.js`，\n**绕过了 traj_wrap 的自动加锁** → 07:00 与其他浏览器任务并发 → 事件循环阻塞\n（eventLoopDelayMaxMs=51841）→ 整轮跑 742s。已改为经 flock_browser_run.py 包装。\n\n命令（exec 工具，一次跑完，不要拆成多条）：\n```\ncd /home/inno15/.openclaw/workspace/scripts && python3 flock_browser_run.py --max-wait 1200 -- node winning_metrics_report.js\n```\n\n⚠️ 拿不到锁时脚本会 exit(3) 并明确归因，**不要重跑、不要并发跑**，等下一轮即可。\n\n【退出码检查】（本 job 是 agentTurn 类型：cron 判定看的是「agent turn 是否完成」，不是命令退出码）\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 正常，继续。\n3. 退出码 = 1 → 报告有未完成项，**不得报成功**，如实告知 Paul 哪几项失败。\n4. 退出码 = 3 → 浏览器锁未拿到（可能被占用），如实说明「本轮因浏览器互斥锁跳过」。\n5. 其他非 0 → 如实报告退出码与错误摘要。\n\n🔴 2026-11-05 另一个修复（逐指标错误标记）：medallia_ytd.py + winning_metrics_report.js\n原本用**全局** has_error 开关 → Pedia 一项失败会连带把已抓到的 Guest Love /\nLoyalty Recognition 也置空。现已改为逐指标 *_error 标记，坏的不拖累好的。\n若报告里仍显示某项 \"0 (ERROR)\"，那才是该项真失败。",
        "timeoutSeconds": 2400
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796426580000,
        "lastRunAtMs": 1796344218360,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 431248,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1796344649608
    },
    {
      "id": "916b5fa5-21b9-4dad-9d38-6e8e2b63a4c3",
      "agentId": "main",
      "name": "Medallia YTD Morning Report",
      "enabled": true,
      "createdAtMs": 1785684833999,
      "schedule": {
        "kind": "cron",
        "expr": "30 7 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行 Medallia YTD 早报（脚本直发企微群）——**只需一次 exec，不要自己发企微、不要读 /tmp 文件、不要重试第二次**。\n\n执行命令（exec 工具，yieldMs=600000 等它跑完）：\n\ncd /home/inno15/.openclaw/workspace && python3 scripts/medallia_morning_report.py\n\n这个脚本内部已完成全部三步：\n1. 跑 medallia_ytd.py 抓数据（内含浏览器互斥锁 flock，最长等锁 1200s）\n2. 校验数据（has_error 或关键指标为 0 → 拒绝发送，退出码 1，**不会发占位数据**）\n3. 自己调 `openclaw message send --channel wecom --target <WM datas chat_id>` 发送到企微群\n4. 幂等：memory/medallia_wecom_state.json 按「群名+日期」去重，同日不重发\n\n🔴 2026-12-01 Paul 指令：为什么改成脚本直发\n- 原先用 cron `delivery.mode=announce` 投递企微群 → 企微回 `errcode=93006 invalid chatid`（hint 1796081588513023946971372）\n- 同一 chatid 走 `openclaw message send`（gateway WS）实测**成功**（08:41 DBR 投递实证）\n- → 根因在 cron announce 通道对 wecom chatid 的处理，**不是群 ID 错**\n- → 所以：**delivery 改 mode=none，发送责任交给脚本**\n- ⚠️ 千万别把 delivery 改回 announce，否则又会 93006 失败\n\n退出码检查（agentTurn 类型 cron 判定成败看「agent turn 是否完成」而非命令退出码，必须自己先看退出码再下结论）：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 正常。\n3. 退出码 = 1 → 抓取失败或数据无效（脚本未发送任何消息）→ 必须在最终回复里写明失败原因（摘取 stderr 的「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 退出码 = 2 → 未解析到群 chat_id，未发送 → 如实说明。\n5. 退出码 = 3 → 企微发送失败（已重试 3 次）→ 如实说明失败摘要。\n6. 退出码 = 4 → 幂等跳过（今天已发过）→ 正常，不算失败。\n7. 若命令超时/被杀 → 同样按失败处理，如实说明，不要重跑。",
        "timeoutSeconds": 900
      },
      "delivery": {
        "mode": "none",
        "channel": "wecom",
        "to": "wrEvJAHAAAOitXV8mBUmvWSxfEazegCQ"
      },
      "description": "Medallia YTD 早报 → 企微群 WM datas。🔴 2026-12-01 起改为脚本直发：scripts/medallia_morning_report.py（抓取+校验+openclaw message send 走 gateway WS + 幂等）。原因：cron delivery.mode=announce 对企微群返回 errcode=93006 invalid chatid，而同一 chatid 走 openclaw message send 实测成功 → announce 通道不可用于企微群投递。delivery 必须保持 mode=none。",
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 3600000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796344137898,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 540265,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "nextRunAtMs": 1796427000000,
        "lastFailureNotificationDeliveryStatus": "not-requested"
      },
      "updatedAtMs": 1796344678163
    },
    {
      "id": "30fd4794-bace-4225-94f4-18f51baddeac",
      "agentId": "main",
      "name": "daily-429-fallback-curve-check",
      "enabled": true,
      "createdAtMs": 1794492979010,
      "schedule": {
        "kind": "cron",
        "expr": "41 7 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行 429/fallback 曲线核查并把结论发给 Paul。\n\n步骤：\n1. 运行 `cd /home/inno15/.openclaw/workspace && python3 scripts/fin/check_429_curve.py 2>&1`\n2. 该脚本统计 429 事件数、401 auth 失败数、fallback 成功/失败分布、兜底命中分布。\n3. 判断标准：\n   - ✅ 健康：401 = 0（SecretRef 未复发），fallback 成功 ≥ 失败\n   - 🔴 SecretRef 复发：出现 401 auth 失败 → gateway 又把占位符当 key 发了，需立即检查 openclaw.json 的 secrets.providers 与 SecretRef id 的 RFC6901 转义\n   - ⚠️ 全链被限流：fallback 失败原因全是 rate_limit → 建议 Paul 上\"cron 整点错开\"（原计划③）\n   - ⚠️ 兜底全是 minimax → 跨 provider 没真正生效，需复查 deepseek key 解析\n4. 用一段话（不超过 200 字）+ 关键数字表总结，附一条改进建议，发给 Paul。\n\n注意：脚本会打印全部明细日志，只抓取关键数字，不要把整个日志贴给 Paul。",
        "timeoutSeconds": 1200,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "user:ou_a6e4ebe738f37d915aef230664d582d2",
        "accountId": "default"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796427660000,
        "lastRunAtMs": 1796344701172,
        "lastRunStatus": "error",
        "lastStatus": "error",
        "lastDurationMs": 1122148,
        "lastDeliveryStatus": "not-delivered",
        "lastFailureNotificationDeliveryStatus": "not-delivered",
        "consecutiveErrors": 1,
        "consecutiveSkipped": 0,
        "lastDelivered": false,
        "lastError": "⚠️ ⏰ Cron failed",
        "lastDiagnostics": {
          "summary": "⚠️ ⏰ Cron failed",
          "entries": [
            {
              "ts": 1796345823288,
              "source": "tool",
              "severity": "error",
              "message": "⚠️ ⏰ Cron failed"
            },
            {
              "ts": 1796345823299,
              "source": "agent-run",
              "severity": "error",
              "message": "⚠️ ⏰ Cron failed"
            }
          ]
        },
        "lastDiagnosticSummary": "⚠️ ⏰ Cron failed",
        "lastDeliveryError": "⚠️ ⏰ Cron failed",
        "lastFailureNotificationDelivered": false,
        "lastFailureNotificationDeliveryError": "⚠️ ⏰ Cron failed",
        "lastFailureAlertAtMs": 1796345824958
      },
      "updatedAtMs": 1796345823320
    },
    {
      "id": "5c7c2f8d-836a-403a-b0d9-a7ed7b339cf3",
      "agentId": "main",
      "name": "WM-Pipeline-07:30",
      "description": "WM完整流水线-07:30-三合一-Medallia+Atom+Summary+发企微群",
      "enabled": true,
      "createdAtMs": 1785855591629,
      "schedule": {
        "kind": "cron",
        "expr": "56 7 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行WM Pipeline（Trajectory已接入）——必须一次 exec 跑完，不要多次调用工具，不要额外读文件或截图：\n\n执行命令（用 exec 工具，yieldMs=480000 等待它跑完）：\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify-on-failure --compress wm_pipeline /home/inno15/.openclaw/workspace/scripts/wm_pipeline.py\n\n说明：\n- wm_pipeline.py 内部已完成全部三步：medallia_ytd.py(≤300s) → atom_srr.py(≤300s) → wm_wecom_send.py(≤330s) 发企微群\n- 你不需要再读 /tmp/wm_medallia_pedia.json 或 /tmp/wm_atom.json，也不需要自己发企微\n- 全程只允许这一次 exec 调用；命令返回后再输出一行结果摘要即可\n- 若 exec 超时/报错，直接输出错误摘要，不要重试第二次\n\n🔴 2026-11-04 修复（静默假成功）：\n- 原命令是 `--compress`（无通知）→ 11-04 18:57 实测：企微发送因 180s 包装超时被砍，\n  消息**未发出**，traj_wrap exit=5，但 cron 记 status=ok → **Paul 零告警**\n- 现改为 `--notify-on-failure`：**成功静默**，**失败必发飞书**\n- 同时已把 wm_pipeline.py 的企微发送 timeout 从 180s → 330s\n\n退出码检查（agentTurn 类型 cron 判定成败看「agent turn 是否完成」而非命令退出码，必须自己先看退出码再下结论）：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 正常。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 1800
      },
      "delivery": {
        "mode": "none",
        "channel": "wecom",
        "to": "wrEvJAHAAAOitXV8mBUmvWSxfEazegCQ"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796428560000,
        "lastRunAtMs": 1796344649608,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 294885,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796344944493
    },
    {
      "id": "acf38112-34eb-40b1-8aa4-3e5f1664f058",
      "agentId": "main",
      "name": "heartbeat-day-08",
      "enabled": true,
      "createdAtMs": 1774062479664,
      "schedule": {
        "kind": "cron",
        "expr": "11 8 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Heartbeat 检查（isolated 执行，2026-11-16 改造）。\n\nRead HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.\n\n🔴 铁律：\n1. 先做工作保护检查：若有 Chrome/Chromium/Playwright 进程运行 >5 分钟 → 直接输出 HEARTBEAT_OK，不做任何系统变更\n2. 只做只读检查，禁止 kill 非 Gateway 进程，禁止 systemctl restart openclaw-gateway\n3. 有异常才写 memory/YYYY-MM-DD.md 并告知；无异常安静收工\n4. 本 job delivery=none，你的回复只进 cron 日志，不会打扰 Paul",
        "timeoutSeconds": 900,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796345828153,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 305836,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796429460000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796346133989
    },
    {
      "id": "ca398079-f87d-49cf-884c-6263998aac8d",
      "agentId": "main",
      "name": "Paul-人生目标周度复盘提醒-Sat08:00",
      "enabled": true,
      "createdAtMs": 1788692607241,
      "schedule": {
        "kind": "cron",
        "expr": "23 8 * * 6",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul人生目标周度复盘提醒（Step 4监督机制）。（2026-11-01 重构：一次 exec 采集 + 一次成稿）\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=120000）：\n```bash\nbash /home/inno15/.openclaw/workspace/scripts/pdca_weekly_context.sh\n```\n输出包含：Life Goals RAG + 近7天记忆要点 + 今日记忆尾部。\n\n步骤2 —— **不要再调用任何工具**。基于输出成稿并直接作为最终回复正文（announce 自动投递飞书），内容包含：\n- 3大人生方向各自执行情况（终身学习：周一/二/四/五 20:50-21:50 + 通勤/碎片英语；身体锻炼：游泳+力量；文学修养：苏东坡精读进度）\n- ❌周三/周六为休息日，不计缺失\n- 英语碎片学习情况\n- 下周重点建议（3条以内）\n\n语气：中英混合，简洁有力，幽默鼓励，不要流水账。长度 500-800字。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 900,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796430180000,
        "lastRunAtMs": 1796084580126,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 83581,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1796138959539
    },
    {
      "id": "f8cee726-751d-4acf-9081-aa3ee70224be",
      "agentId": "main",
      "name": "早会DBR-客诉刷新版-0820-兜底",
      "description": "【兜底】08:20 DBR 客诉刷新版。🔴 2026-11-30 起主路径已改为「邮件事件驱动」：GSM@crowneplazabeihai.com 的 LogBook 邮件一到（07:30-08:20）即自动更新并推送，由 scripts/dbr_mail_watchdog.py + dbr_mail_trigger.py 负责。本 job 只在「邮件迟到/守护进程挂掉/触发器失败」时兜底补发。幂等：dbr_mail_trigger.py 的 state 文件按数据日去重，同一数据日只推一次，两条路径不会重复刷屏。",
      "enabled": true,
      "createdAtMs": 1795027766640,
      "schedule": {
        "kind": "cron",
        "expr": "36 8 * * *"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "DBR 客诉刷新版 **兜底** 任务（08:20）。\n\n背景（2026-11-30 起）：主路径已改为**邮件事件驱动** —— PMS 日报邮件（GSM@crowneplazabeihai.com，subject \"LogBook YYYY.MM.DD\"，\n含 CP/EX 的 Log Book + Manager Report + Winning Metric 共 6 个附件）一到，就由 scripts/dbr_mail_watchdog.py 轮询发现并自动\n更新推送（通常 07:48 到达 → 约 07:50 推送完成）。\n\n**你这一轮只在「主路径没成功」时才需要干活。**\n\n请执行：\n\n1. 先查主路径是否已推送（幂等状态文件）：\n   cd /home/inno15/.openclaw/workspace && cat memory/dbr_mail_trigger_state.json\n   - 若已有今天的记录（done 里含今天的数据日）→ **主路径已成功，本轮直接结束，不要重复推送**，\n     只需回报一句「主路径已送达，兜底跳过」。\n   - 若没有今天的记录 → 执行下面的兜底流程。\n\n2. 兜底流程（仅当主路径没成功时）：\n   cd /home/inno15/.openclaw/workspace && python3 scripts/dbr_mail_trigger.py --date auto --max-wait 120\n   这个脚本会自己：找 LogBook 邮件 → 核验发件人 → 拉附件 → 数据日校验 → 重出 CP/EX 两份 HTML+PDF\n   → 归档 NAS → 发飞书给 Paul。幂等由它自己的 state 文件保证。\n\n3. 如果脚本报错（邮件没到 / 数据日仍不符），把错误摘要 + 当前各源数据日发给 Paul，\n   **不要静默重试到超时**。脚本本身会如实标注「客诉为旧数据，勿当当日投诉看」。\n\n参考：skills/dbr-report/SKILL.md",
        "timeoutSeconds": 1200
      },
      "delivery": {
        "mode": "announce",
        "to": "user:ou_a6e4ebe738f37d915aef230664d582d2",
        "channel": "feishu",
        "accountId": "default"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "cooldownMs": 3600000,
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "state": {
        "nextRunAtMs": 1796430960000,
        "lastRunAtMs": 1796346321796,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 66015,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1796346387811
    },
    {
      "id": "78ea067b-daac-4365-af7a-dadb2ca1f75a",
      "agentId": "main",
      "name": "Paul-英语闪卡复习-每日09:00",
      "enabled": true,
      "createdAtMs": 1788709797626,
      "schedule": {
        "kind": "cron",
        "expr": "0 9 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul 英语闪卡 · 每日复习（L1「认」层级）。按当天星期自动分配主题（周一~周二 politics/economy，周三 tech，周四 international/tech，周五 culture，周末混合）。\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=60000）：\n```bash\npython3 /home/inno15/.openclaw/workspace/scripts/flashcard_send.py send\n```\n\n步骤2 —— **不要再调用任何工具**（不要 sessions_send、不要二次 exec、不要读文件）。把脚本 stdout 原样整理成最终回复正文：\n- 标题：📚 英语闪卡 · 今日复习\n- 保留卡片内容（8 张）和编号\n- 结尾必须原样附上脚本已生成的「回复格式」提示：**`Yes: 1,4,7  No: 2,3,5,6,8`**（Yes=记住了，No=没记住）\n  🔴 不要改写成 ✅/❌ 或 emoji —— Paul 明确要求手机打字友好、不要打符号\n- 结尾一句：中英混合的鼓励语，1句即可\n\n你的最终回复会被 announce 机制自动投递到 Paul 的飞书。\n\n---\n【Paul 作答格式（2026-12-03 Paul 明确要求）】\nPaul 固定用纯数字格式作答：`Yes: 1,4,7, No. 2,3,5,6,8`（手机打 ✅❌ 很艰难）。\n也认这些变体：`yes 1 4 7` / `No. 2 3 5 6 8` / `1✅ 3❌` / `记住了: 2 没记住: 5`。\nPaul 主会话收到后会调用：\n`python3 scripts/flashcard_send.py process \"Yes: 1,4,7, No. 2,3,5,6,8\"` → 写入记忆曲线 + 回全部卡的例句。\n你（cron job）只负责发卡，不负责处理作答，不要尝试解析或写盘。\n\n---\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796432400000,
        "lastRunAtMs": 1796346393825,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 28459,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1796346422284
    },
    {
      "id": "e263043c-ce49-4000-a6fa-d3caaeea9d48",
      "agentId": "main",
      "name": "heartbeat-day-11",
      "enabled": true,
      "createdAtMs": 1774062479817,
      "schedule": {
        "kind": "cron",
        "expr": "23 11 * * *",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Heartbeat 检查（isolated 执行，2026-11-16 改造）。\n\nRead HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.\n\n🔴 铁律：\n1. 先做工作保护检查：若有 Chrome/Chromium/Playwright 进程运行 >5 分钟 → 直接输出 HEARTBEAT_OK，不做任何系统变更\n2. 只做只读检查，禁止 kill 非 Gateway 进程，禁止 systemctl restart openclaw-gateway\n3. 有异常才写 memory/YYYY-MM-DD.md 并告知；无异常安静收工\n4. 本 job delivery=none，你的回复只进 cron 日志，不会打扰 Paul",
        "timeoutSeconds": 600,
        "model": "minimax/MiniMax-M3.1-Flash"
      },
      "delivery": {
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "lastRunAtMs": 1796354580083,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 81164,
        "lastDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "nextRunAtMs": 1796440980000,
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1796354661247
    },
    {
      "id": "b5120480-a275-423e-8011-7c5080c45204",
      "agentId": "main",
      "name": "CP-ctrip-pipeline-v59",
      "description": "携程CP·22:20·v59 API直提版（采集+撰写+提交+独立复核）。2026-11-21 起仅周六/周日/法定假期运行，其他时间人工回复。",
      "enabled": true,
      "createdAtMs": 1793433035464,
      "schedule": {
        "expr": "20 22 * * 6,0",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "静默执行携程CP网评回复 v59（API直提版，Trajectory已接入）。\n\n🔴 **2026-11-05 新增：失败必须告警（--notify-on-failure）**\n11-04 21:35 那次本 job 超时 925s 被砍，且**告警本身也投递失败**\n（gateway 日志：`cron: failure destination announce failed` + `err: Operation aborted`）\n→ Paul 零告警 → 后来手工重跑才发现。\n→ 现所有命令经 traj_wrap.py 且带 `--notify-on-failure`：成功静默、失败必发飞书。\n→ **不要用裸 python3 跑脚本**，必须用下面的 traj_wrap 命令（它负责失败通知 + 轨迹记录）。\n\n🔒 **浏览器互斥锁（必须遵守）**\n所有浏览器命令必须经 `flock_browser_run.py` 包装：\n`python3 /home/inno15/.openclaw/workspace/scripts/flock_browser_run.py --max-wait 1200 -- `\n\n**流程（严格按序，一次 exec 跑一步，不要并行）**\n\n步骤1 — 采集待回复（exec, yieldMs=180000）：\n```bash\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify-on-failure --compress ctrip_cp_v59_collect flock_browser_run.py --max-wait 1200 -- python3 ctrip_ex_v59.py --cp --collect\n```\n输出队列文件：/home/inno15/.openclaw/workspace-marcom/pending_queue_cp_v59.json\n**若 count=0 → 直接输出一行「CP无待回复，静默结束」并结束本轮，不要做任何其他操作。**\n\n⚠️ **--collect 失败时禁止重试！**\n若退出码非 0（或输出出现 FATAL / count=None / rcode=401 / rcode=502 / 「浏览器锁」超时），\n**本轮立即结束，绝对不要重跑 --collect。** 重试上限为 **0 次**。\n\n步骤2 — 撰写回复（你是撰写者，不是调度者）：\n1) 先读取 pending_queue_cp_v59.json 的 items（字段 commentId / userName / content / avgScore / hotelRoomInfo / commentLanguage）\n2) **先删除旧回复文件** `/home/inno15/.openclaw/workspace-marcom/cp_replies_v59.json`（避免提交上一轮残留）\n3) 逐条撰写中文回复，输出 JSON 字典（key=commentId, value=回复正文），**覆盖写入** cp_replies_v59.json\n4) 写完自检并在最终输出里报告：条数 / 落款齐全数 / 是否含平台名 / 同开头最高重复次数\n\n撰写硬性要求（违反=事故）：\n- 每条回复必须针对该条评论的具体内容，禁止通用模板套用\n- 落款固定为「——北海银滩皇冠假日酒店」，禁止出现「携程」「美团」「抖音」「飞猪」「OTA」等平台名\n- 长度 60-170 字\n\n步骤3 — 提交（exec, yieldMs=180000）：\n```bash\ncd /home/inno15/.openclaw/workspace/scripts && python3 traj_wrap.py --notify-on-failure --compress ctrip_cp_v59_submit flock_browser_run.py --max-wait 1200 -- python3 ctrip_ex_v59.py --cp --submit\n```\n提交后**必须复核**：「提交前待回复=1 → 提交后=0」，并确认 rcode=200。\n\n退出码检查（agentTurn 类型 cron 判定成败看「agent turn 是否完成」而非命令退出码）：\n1. 每步执行完毕后**先看退出码**，再看输出。\n2. 退出码 = 0 → 正常。\n3. 退出码 ≠ 0 → **该步骤失败**，必须在最终回复里写明失败原因，**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 按失败处理。\n\n无待回复或全部成功时**不要发送任何飞书消息**（traj_wrap --notify-on-failure 只在失败时发）。\n\n🔴🔴 **【2026-11-21 新增强制验收闸门】**（不满足 = 本轮失败，必须上报，禁止收尾）\n\n背景：11-20 EX 流水线静默假成功 —— 采集到 10 条后 agent 直接空转收尾，\n     撰写与提交**从未执行**，但 cron 仍记 status=ok → Paul 静默 20 小时零告警。\n     根因：cron 只看「agent turn 是否完成」，不看「评论是否真被回复」。同一编排模式在 CP 同样存在风险。\n\n**本轮结束前必须逐项自检，全部满足才算完成：**\n1. 本轮**必须存在** submit 阶段的 trajectory 文件：\n   `/mnt/nas-backup/openclaw/trajectory/runs/*/cp_ctrip_v59-*.jsonl`（当天）\n   找不到 = 提交从未发生 = **本轮失败**\n2. 该 trajectory 的 run_end 摘要必须包含 `remaining=0`\n   （脚本已改为轮询到稳定才判定，remaining>0 即为未清干净）\n3. 脚本退出码必须为 0；非 0 必须原样上报失败原因，**严禁声称成功**\n4. 若步骤2（撰写）产出了 N 条回复，则 submit 阶段的 submitted 数必须 = N\n\n**任一项不满足** → 在最终回复里明确写「❌ 本轮失败 + 缺哪一项」，并且**不要**写「已完成/成功」。\n\n🔴 **本轮若因任何原因未执行提交，必须明确告知 Paul**（不能静默结束）：\n在最终回复第一行写 `❌ CP 网评未完成提交，待回复 N 条`。\n\n🚦 **【2026-11-21 运行日门禁】**（第一步必须做，不通过就静默结束）\n\nPaul 明确要求：**CP 携程网评只在周六、周日及公共假期运行，其他时间由人工回复。**\n\n本 job 的 cron 表达式已设为 `20 22 * * 6,0`（周六/周日），法定假期日由系统 crontab\n（`cp_ctrip_holiday_trigger`）触发本 job。但**调休上班的周六/周日**也会命中 cron 表达式\n（如 2026-02-14 春节调休、2026-10-10 国庆调休），必须在此拦截。\n\n**步骤0 — 运行日门禁（在做任何其他操作之前）**：\n```bash\ncd /home/inno15/.openclaw/workspace && python3 scripts/holiday_guard.py --quiet; echo \"GUARD_EXIT=$?\"\n```\n- `GUARD_EXIT=0` → 今天是休息日 → **继续**步骤1\n- `GUARD_EXIT=1` → 今天是工作日（含调休上班日）→ **立即结束本轮**，\n  在最终回复里只写一行「CP 今日为工作日（调休上班/非假期），按 Paul 要求人工回复，流水线跳过」，\n  然后**停止**，不要采集、不要撰写、不要提交、**不要发任何飞书消息**。\n\n⚠️ 门禁脚本数据源 `data/china_holidays.json` 覆盖 2026、2027 年（据国务院办公厅通知）。\n若输出「节假日数据缺失 → 保守跳过」→ 说明该年份数据还没更新 → **跳过本轮**并提醒 Paul。",
        "timeoutSeconds": 1500
      },
      "delivery": {
        "failureDestination": {
          "channel": "feishu",
          "mode": "announce",
          "to": "ou_a6e4ebe738f37d915aef230664d582d2"
        },
        "mode": "none"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "cooldownMs": 1800000,
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "sessionKey": "agent:main:cron:b5120480-a275-423e-8011-7c5080c45204",
      "state": {
        "nextRunAtMs": 1796480400000,
        "lastRunAtMs": 1795962000105,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 133236,
        "lastDeliveryStatus": "not-requested",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0
      },
      "updatedAtMs": 1795962133341
    },
    {
      "id": "949c4609-00a1-4617-ac09-ba33b11c8c05",
      "agentId": "main",
      "name": "系统深备份-含转录与插件",
      "description": "每周深备份：含 session transcripts（294MB）+ 插件代码（82MB）+ 完整关键回滚集。这是升级 OpenClaw 前的标准退路快照，耗时约 100 秒。",
      "enabled": true,
      "createdAtMs": 1795977041325,
      "schedule": {
        "expr": "47 3 * * 0",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "执行系统深备份（每周一次，含大件归档）：\n1. 运行 /home/inno15/.openclaw/workspace/scripts/backup-system.sh weekly-deep --deep\n   ⚠️ 注意参数顺序：--deep 是 flag，tag 在前。脚本已兼容两种写法。\n2. 验证备份完整性：\n   - archive/main-sessions.tar 存在且 tar -tf 不报错\n   - state/ 下 7 项关键回滚集齐全：cron/jobs.json、cron/jobs-state.json、plugins/installs.json、secrets.json、credentials/、misc/pending_approvals.json、agents/*/agent/\n3. 输出备份结果摘要（大小/文件数/耗时）\n不需要报告给 Paul，静默执行即可。\n\n---\n\n【退出码检查】\n本 job 是 agentTurn 类型：cron 判定成败看「agent turn 是否完成」，不是命令退出码。\n1. 命令执行完毕后先看退出码，再看输出内容。\n2. 退出码 = 0 → 正常继续。\n3. 退出码 ≠ 0 → 该步骤失败。必须写明失败原因（摘 stdout/stderr 关键行），严禁声称成功。\n4. 命令无输出或超时被杀 → 按失败处理，如实说明。\n\n【🔴 2026-11-30 新增】\n深备份耗时约 100 秒（294MB transcripts 打包）。若因超时被杀：\n- 先确认 archive/main-sessions.tar 是否已生成（ls -la 检查大小）\n- 若 tar 已完整生成 → 可视为备份成功，但要在回复里说明 tar 的实际大小\n- 若 tar 不完整 → 判定失败，如实报告\n\n【磁盘保护】\n执行前先检查 df -h /home，若可用空间 < 5G → 跳过并报告（不要把盘写满）。",
        "model": "minimax/MiniMax-M3.1-Flash",
        "timeoutSeconds": 1800
      },
      "delivery": {
        "mode": "none",
        "channel": "feishu",
        "to": "user:ou_a6e4ebe738f37d915aef230664d582d2",
        "accountId": "default"
      },
      "failureAlert": {
        "after": 1,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 3600000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796500020000
      },
      "updatedAtMs": 1795977223715
    },
    {
      "id": "4548f7f5-9d2c-4a87-922f-66cf483409a1",
      "agentId": "main",
      "name": "Paul-英语闪卡周测-周日20:00",
      "enabled": true,
      "createdAtMs": 1796265444195,
      "schedule": {
        "expr": "0 20 * * 0",
        "kind": "cron",
        "tz": "Asia/Shanghai"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul 英语闪卡 · 周测（L3「产出」层级）。给释义，Paul 拼写单词 —— 这是记忆的真面目。\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=60000）：\n```bash\npython3 /home/inno15/.openclaw/workspace/scripts/flashcard_send.py weekly\n```\n\n步骤2 —— **不要再调用任何工具**（不要 sessions_send、不要二次 exec、不要读文件）。把脚本 stdout 原样整理成最终回复正文：\n- 标题：🧠 英语闪卡 · 周测\n- 保留题号、释义、字母数与首字母提示\n- 保留脚本给的作答提示（`1 GDP 2 X` 这种格式，写不出写 X）\n- 结尾一句：中英混合的鼓励语，1句即可\n\n你的最终回复会被 announce 机制自动投递到 Paul 的飞书。\n\n---\n【Paul 作答格式（2026-12-03 Paul 明确要求）】\nPaul 会用纯数字+英文单词格式作答（手机打符号困难），写不出就写 X。\nPaul 主会话收到后调用：\n`python3 scripts/flashcard_send.py weekly-process \"1 GDP 2 X\"` → 判分并写回记忆曲线。\n你（cron job）只负责发题，不负责判分，不要尝试解析或写盘。\n\n---\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "model": "minimax/MiniMax-M3.1-Flash",
        "timeoutSeconds": 600
      },
      "delivery": {
        "channel": "feishu",
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "cooldownMs": 1800000,
        "mode": "announce",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "state": {
        "nextRunAtMs": 1796558400000
      },
      "updatedAtMs": 1796265444195
    },
    {
      "id": "d7a077f6-6493-4fce-b0f8-a753431a9fb9",
      "agentId": "main",
      "name": "Paul-周日PDCA复盘-20:10",
      "enabled": true,
      "createdAtMs": 1788693064062,
      "schedule": {
        "kind": "cron",
        "expr": "17 20 * * 0"
      },
      "sessionTarget": "isolated",
      "wakeMode": "now",
      "payload": {
        "kind": "agentTurn",
        "message": "Paul周日PDCA复盘——本周总计+下周计划。（2026-11-01 重构：改为「一次 exec 采集 + 一次成稿」，避免多轮读文件导致 session stall → timeout）\n\n步骤1 —— 只允许这一次 exec 调用（yieldMs=120000 等它跑完）：\n```bash\nbash /home/inno15/.openclaw/workspace/scripts/pdca_weekly_context.sh\n```\n输出包含：Life Goals RAG（人生方向基准）+ 近7天记忆要点 + 今日记忆尾部。\n\n步骤2 —— 基于输出直接成稿，**不要再调用任何工具**（不要读文件、不要二次 exec、不要 sessions_send）。你的最终回复正文会被 announce 机制自动投递到 Paul 的飞书。\n\nPDCA 结构（保持简短，600-900字）：\n**P（Plan）本周目标回顾** —— 3大人生方向各自的本周计划\n**D（Do）执行情况** —— 终身学习（周一/二/四/五 20:50-21:50 + 通勤/碎片英语）、身体锻炼（游泳/力量）、文学修养（苏东坡精读进度、《定风波》是否掌握）；周三/周六休息日不算缺失\n**C（Check）差距** —— 哪些完成、哪些没完成、原因直说\n**A（Act）下周重点** —— 下周3大方向重点（1-3项）+ 1条改进建议\n\n语气：中英混合，简洁有力，鼓励为主但直面问题，不要流水账、不要客套开场白。\n\n---\n\n【退出码检查】（2026-11-02 批量追加）\n\n本 job 是 agentTurn 类型：**cron 判定成败看的是「agent turn 是否完成」，不是「命令退出码」**。\n因此若执行的是 shell 命令，必须自己检查退出码，否则失败会被 agent 的「完成汇报」洗成成功。\n\n规则：\n1. 命令执行完毕后，**先看退出码**，再看输出内容。\n2. 退出码 = 0 → 该步骤正常，继续后续步骤。\n3. 退出码 ≠ 0 → **该步骤失败**。必须在最终回复里写明失败原因（摘取 stdout/stderr 里的\n   「归因」「需要」「FATAL」「LOGIN_FAIL」「Traceback」等关键行），**严禁声称任务成功**。\n4. 若命令未产出任何输出或超时被杀 → 同样按失败处理，如实说明。",
        "timeoutSeconds": 900
      },
      "delivery": {
        "mode": "announce",
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2"
      },
      "failureAlert": {
        "after": 2,
        "channel": "feishu",
        "to": "ou_a6e4ebe738f37d915aef230664d582d2",
        "cooldownMs": 1800000,
        "mode": "announce"
      },
      "state": {
        "nextRunAtMs": 1796559420000,
        "lastRunAtMs": 1795954620096,
        "lastRunStatus": "ok",
        "lastStatus": "ok",
        "lastDurationMs": 38552,
        "lastDeliveryStatus": "delivered",
        "lastFailureNotificationDeliveryStatus": "not-requested",
        "consecutiveErrors": 0,
        "consecutiveSkipped": 0,
        "lastDelivered": true
      },
      "updatedAtMs": 1795954658648
    }
  ],
  "total": 38,
  "offset": 0,
  "limit": 38,
  "hasMore": false,
  "nextOffset": null,
  "deliveryPreviews": {
    "21257baf-2637-4b0e-8a29-acf78f1f11f8": {
      "label": "not requested",
      "detail": "not requested"
    },
    "cda7bf64-105e-4a31-9579-7ea8426164d2": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "cf5b37ef-ba27-4214-afa5-3bd84f4f8211": {
      "label": "not requested",
      "detail": "not requested"
    },
    "047d3c5a-ac8f-4abd-8995-559ea8704b04": {
      "label": "none -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "d2e43d72-fb66-4f97-bb36-2a88d66dd701": {
      "label": "none -> wecom:wrEvJAHAAAOitXV8mBUmvWSxfEazegCQ",
      "detail": "explicit"
    },
    "456ca220-a7f2-40b8-afd0-92dcc03081f4": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "d48f2de9-02a3-4613-9d53-bd8fb183ce04": {
      "label": "not requested",
      "detail": "not requested"
    },
    "b4ac9635-3410-4271-aa74-c87c364b5fc0": {
      "label": "none -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "1ed17848-7b5b-417f-87e5-3a907e32c6b4": {
      "label": "not requested",
      "detail": "not requested"
    },
    "2c1a464f-571d-4e17-8128-c894ce3fd6ed": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "86760141-24c9-434c-8962-8152d8dc20f7": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "9e57e5e0-b542-491c-aa54-1bea6d8f7eca": {
      "label": "not requested",
      "detail": "not requested"
    },
    "b3b655b7-4d07-4286-87e3-934ec0576932": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "149b1b08-fe1e-4c26-846e-6c9ee2384631": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "c70884a1-6ed5-4b6f-be0b-d7b3369d91fa": {
      "label": "not requested",
      "detail": "not requested"
    },
    "6409d2cb-9a4f-481d-9b7e-3298ed9f266a": {
      "label": "not requested",
      "detail": "not requested"
    },
    "878df1bf-1561-4104-b4db-1ceff6fd0a38": {
      "label": "not requested",
      "detail": "not requested"
    },
    "ee35971f-90f8-456e-9e33-65dd62c02586": {
      "label": "not requested",
      "detail": "not requested"
    },
    "9dfe1fde-2aa4-474e-b27b-41a20d06a775": {
      "label": "not requested",
      "detail": "not requested"
    },
    "ec662a5f-0a0e-4a3d-8ebd-a3b8de57a451": {
      "label": "not requested",
      "detail": "not requested"
    },
    "d047b280-c384-407e-b4ce-ee2a4f4d89ac": {
      "label": "not requested",
      "detail": "not requested"
    },
    "ec9d950a-6320-48df-88db-22207ee01b07": {
      "label": "none -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "ebc8abd5-2c38-4c55-b709-a2360ff09e89": {
      "label": "not requested",
      "detail": "not requested"
    },
    "6da24afa-685a-40a7-8092-0b0dff02c49b": {
      "label": "not requested",
      "detail": "not requested"
    },
    "512f3212-8ae9-4b33-ad38-00b7b31a8594": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "5f17ee4b-0a26-4992-a08a-585c8d075d28": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "916b5fa5-21b9-4dad-9d38-6e8e2b63a4c3": {
      "label": "none -> wecom:wrEvJAHAAAOitXV8mBUmvWSxfEazegCQ",
      "detail": "explicit"
    },
    "30fd4794-bace-4225-94f4-18f51baddeac": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "5c7c2f8d-836a-403a-b0d9-a7ed7b339cf3": {
      "label": "none -> wecom:wrEvJAHAAAOitXV8mBUmvWSxfEazegCQ",
      "detail": "explicit"
    },
    "acf38112-34eb-40b1-8aa4-3e5f1664f058": {
      "label": "not requested",
      "detail": "not requested"
    },
    "ca398079-f87d-49cf-884c-6263998aac8d": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "f8cee726-751d-4acf-9081-aa3ee70224be": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "78ea067b-daac-4365-af7a-dadb2ca1f75a": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "e263043c-ce49-4000-a6fa-d3caaeea9d48": {
      "label": "not requested",
      "detail": "not requested"
    },
    "b5120480-a275-423e-8011-7c5080c45204": {
      "label": "not requested",
      "detail": "not requested"
    },
    "949c4609-00a1-4617-ac09-ba33b11c8c05": {
      "label": "none -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "4548f7f5-9d2c-4a87-922f-66cf483409a1": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    },
    "d7a077f6-6493-4fce-b0f8-a753431a9fb9": {
      "label": "announce -> feishu:ou_a6e4ebe738f37d915aef230664d582d2",
      "detail": "explicit"
    }
  }
}
