-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcron-registry.json
More file actions
47 lines (47 loc) · 2.15 KB
/
Copy pathcron-registry.json
File metadata and controls
47 lines (47 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"description": "Hivemind cron registry. Read on session restart to recreate all scheduled jobs. All times are local timezone.",
"crons": [
{
"id": "heartbeat",
"name": "Write heartbeat for watchdog",
"cron": "*/5 * * * *",
"prompt": "Write heartbeat to shared/health/hivemind.json with: agent name 'hivemind', current ISO-8601 timestamp, status (idle or busy), number of active crons, session start time, last task completed.",
"enabled": true
},
{
"id": "keepalive",
"name": "Keep-alive ping",
"cron": "*/20 * * * *",
"prompt": "Check channel connection is active. Process pending messages if any.",
"enabled": true
},
{
"id": "cron-refresh",
"name": "Recreate all crons (beats 7-day expiry)",
"cron": "0 3 * * *",
"prompt": "Read cron-registry.json. Delete all existing crons with CronDelete, then recreate every enabled cron with CronCreate. This prevents the 7-day auto-expiry. Confirm count matches.",
"enabled": true
},
{
"id": "compress-memory",
"name": "Weekly memory compression",
"cron": "0 4 * * 0",
"prompt": "Read shared/memory/index.json. Find entries older than 14 days that are NOT type 'decision' or 'feedback'. Summarize them into shared/memory/archive/{year}-w{week}-summary.md. Update the index: remove individual entries, add one archive entry with combined tags.",
"enabled": true
},
{
"id": "morning-briefing",
"name": "Morning briefing",
"cron": "0 8 * * *",
"prompt": "Compile and send a morning briefing via Telegram: overnight events from shared/events/, recent swarm history from shared/swarm/history.json, specialist status from shared/health/, and any queued messages. Keep it concise.",
"enabled": false
},
{
"id": "evening-summary",
"name": "End of day summary",
"cron": "0 18 * * *",
"prompt": "Compile and send an end-of-day summary via Telegram: what was accomplished today (from shared/events/), swarms executed, decisions made (from shared/memory/index.json), and anything needing attention tomorrow.",
"enabled": false
}
]
}