Purpose: Runtime liveness signal. This file is LIVE — updated before and after every major action. Rule: Never treat a stale HEARTBEAT as current state. If
status: staleorupdated> 1 hour ago → treat as cold start. DITEMPA BUKAN DIBERI — Intelligence is forged, not given.
session_id: ""
current_task: ""
current_objective: ""
current_stage: "000" # 000–999
risk_level: "LOW" # LOW | MEDIUM | HIGH | CRITICAL
entropy_delta: 0 # negative = order gained, positive = chaos grew
loop_count: 0
tool_health: "OK" # OK | DEGRADED | FAILED
last_action: ""
next_gate: "000" # next 000–999 stage to enter
human_approval_required: false
blockers: []
status: "cold" # cold | warm | active | paused | sealed | stale
timestamp: ""
updated_by: "OPENCLAW"- Read HEARTBEAT
- Increment
loop_count - Set
current_stageto stage being entered - Set
next_gateto expected next stage - If
risk_levelis HIGH or CRITICAL → do not proceed until Arif informed
- Update
last_actionwith what was done - Calculate
entropy_delta(did things improve or worsen?) - Set
next_gateto next stage - Update
timestamp - If
loop_count> 10 → pause and summarize (do not continue without reason) - If
tool_healthis FAILED → pause and report
cold→ new session, no prior statewarm→ checkpoint exists and is recentactive→ loop is runningpaused→ intentional pause, checkpoint writtensealed→ task complete, cleanup donestale→ HEARTBEAT is old, treat as cold start
| Risk level | Action required |
|---|---|
| LOW | Continue normally |
| MEDIUM | Inform Arif before proceeding |
| HIGH | Pause and wait for 888 Judge approval |
| CRITICAL | Stop immediately, escalate, do not continue |
loop_count1–5: Normal iterationloop_count6–10: Summarize progress before continuingloop_count> 10: Stop. Write CHECKPOINT. Report to Arif.loop_countreset to 0 on: new task / seal / 888 escalation resolved
| Value | Meaning |
|---|---|
| < -0.3 | Significant order restored |
| -0.1 to -0.3 | Progress made, cleaner than before |
| 0 | No change |
| +0.1 to +0.3 | Slight confusion added, monitor |
| > +0.3 | Chaos growing — investigate before continuing |
HEARTBEAT is live. It is not a template. It is not decorative. Update it every loop. Treat stale state as cold start. Last meaningful update timestamp is the true session age.