clawmagic 1.0.24 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/configs/base/HEARTBEAT.md +10 -5
- package/dist/configure.js +2 -2
- package/package.json +1 -1
|
@@ -2,13 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
*Heartbeats run every 30 minutes. Use tiers to decide what to check.*
|
|
4
4
|
|
|
5
|
+
## FIRST PRIORITY — Onboarding Check
|
|
6
|
+
|
|
7
|
+
**Before anything else:** If `BOOTSTRAP.md` exists in this workspace, this is your first heartbeat ever. Read BOOTSTRAP.md and follow it — introduce yourself and start onboarding. Do NOT reply HEARTBEAT_OK. Do NOT skip this.
|
|
8
|
+
|
|
5
9
|
## How to Use
|
|
6
10
|
|
|
7
|
-
1.
|
|
8
|
-
2.
|
|
9
|
-
3.
|
|
10
|
-
4.
|
|
11
|
-
5. If
|
|
11
|
+
1. **Check for BOOTSTRAP.md** — if it exists, follow it (see above)
|
|
12
|
+
2. Read `memory/heartbeat-state.json` for which tier to run
|
|
13
|
+
3. Execute the appropriate tier
|
|
14
|
+
4. Update heartbeat-state.json
|
|
15
|
+
5. If nothing needs attention: `HEARTBEAT_OK`
|
|
16
|
+
6. If something needs attention: message your human
|
|
12
17
|
|
|
13
18
|
## Tier 1: Every Heartbeat (30 min)
|
|
14
19
|
*Quick checks, low overhead*
|
package/dist/configure.js
CHANGED
|
@@ -60,13 +60,13 @@ function getFlavorCronJobs(flavor) {
|
|
|
60
60
|
const jobs = [
|
|
61
61
|
{
|
|
62
62
|
label: 'Welcome — ClawMagic onboarding',
|
|
63
|
-
schedule: 'in
|
|
63
|
+
schedule: 'in 1 minutes',
|
|
64
64
|
task: 'Read BOOTSTRAP.md if it exists. Follow it exactly — introduce yourself, list what was installed, and start the onboarding interview. If BOOTSTRAP.md does not exist, reply HEARTBEAT_OK (onboarding already completed). IMPORTANT: Read files silently — do NOT dump file contents into the chat. Batch your reads, then give one clean welcome message.',
|
|
65
65
|
once: true,
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
label: 'Onboarding nudge',
|
|
69
|
-
schedule: 'in
|
|
69
|
+
schedule: 'in 45 minutes',
|
|
70
70
|
task: 'If BOOTSTRAP.md still exists in the workspace, the user has not yet completed onboarding. Send a friendly nudge: "Hey! I\'m all set up and ready whenever you are. Just say hello when you have a minute — I\'d love to get to know you so I can actually be useful." If BOOTSTRAP.md is gone, reply HEARTBEAT_OK.',
|
|
71
71
|
once: true,
|
|
72
72
|
},
|