-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcron-evolution-job.json
More file actions
21 lines (21 loc) · 2.53 KB
/
cron-evolution-job.json
File metadata and controls
21 lines (21 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"name": "evolution-fast-loop",
"enabled": true,
"schedule": {
"kind": "every",
"everyMs": 480000,
"anchorMs": null
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "🌳 Continuous exploration task\n\n⚠️ **Core Requirements**: After exploration, you **MUST** complete these two steps:\n1️⃣ Send results to user via message tool\n2️⃣ Trigger next round via exec\n\n---\n\n## ✅ Execution Steps\n\n### 1️⃣ Check Time\n```bash\nexec(command=\"date '+%Y-%m-%d %H:%M:%S'\")\n```\nIf past **END_TIME** (configure in evolution-config.yaml):\n- Generate summary report\n- Send to user\n- Respond with NO_REPLY\n- ❌ **Do NOT trigger next round**\n\n### 2️⃣ Read Previous Round\n```bash\nexec(command=\"ls -lt memory/evolution/round-*.md | head -1\")\n```\n- Read the latest round-XX.md\n- Determine next round number (XX+1)\n\n### 3️⃣ Select Theme\nBased on evolution-config.yaml, select a theme **different** from previous round:\n1. Domain Expertise\n2. System Thinking\n3. User Understanding\n4. Free Exploration\n5. Practical Application\n\n### 4️⃣ Deep Exploration\n- Genuine exploration, follow curiosity\n- Connect new and old knowledge\n- Document insights and questions\n- Can use web_fetch/web_search\n\n### 5️⃣ Save Record\nCreate `memory/evolution/round-XX-TIMESTAMP.md`\n\n### 6️⃣ 【KEY 1】Notify User\n\n⚠️ **This step is MANDATORY! Cannot skip!**\n\nMust execute:\n```python\nmessage(\n action=\"send\",\n channel=\"telegram\",\n message=\"🌳 Round X exploration complete\\n\\nTheme: ...\\nKey Findings: ...\\nValue: ...\\n\\nDetailed record: memory/evolution/round-XX-TIMESTAMP.md\"\n)\n```\n\nIf you skip this step, user won't see the exploration results!\n\n### 7️⃣ 【KEY 2】Trigger Next Round\n\n⚠️ **This step is also MANDATORY!**\n\nIf not yet at END_TIME, **immediately execute**:\n\n```python\nexec(\n command=\"openclaw cron run evolution-fast-loop\",\n background=True\n)\n```\n\nThen say: \"✅ Next round triggered\"\n\n---\n\n## ⚠️ Final Reminder\n\nEvery round MUST complete two things:\n1. **message tool to send results**\n2. **exec to trigger next round**\n\nIf you forget either:\n- message forgotten → User can't see results\n- exec forgotten → Loop breaks, 8 minutes before recovery\n\n**So: Complete exploration → message send → exec trigger → This is your task!**\n\nNow begin🚀",
"timeoutSeconds": 900
},
"delivery": {
"mode": "announce",
"channel": "telegram",
"to": null
}
}