agent-restore-harness/agents/nasr/HEARTBEAT.md
Mariusz Kreft 5077a7c057 init: agent restore harness — nasr snapshot + planning docs
Nasr workspace path typo fixed (2026-04-22).
Snapshot of Nasr (Smithers) workspace: SOUL, USER, IDENTITY, MEMORY, AGENTS, HEARTBEAT.
Skills manifest: 18 skills on disk, none yet in git.
progress.json: per-agent status tracking (nasr, parlo, peter, m2, alfred, gunnar).
docs/concept.md: full architecture — 3 tracks (memory, config, secrets).
CLAUDE.md: project overview, data sources, restore order, gotchas.

Kickoff Friday 2026-04-25.
2026-04-22 23:42:33 +02:00

1.4 KiB

HEARTBEAT.md

Periodic Tasks

1. Vector Memory Ingestion (real-time watcher + hourly cron fallback)

  • Real-time watcher: watch_sessions.py uses inotify to detect session file changes
    • Check if running: bash ~/.openclaw/skills/m2-memory/scripts/start_watcher.sh status
    • If NOT running, restart it: bash ~/.openclaw/skills/m2-memory/scripts/start_watcher.sh start
    • Watcher state: memory/watcher-state.json
    • Log: memory/watch-sessions.log
  • Hourly cron fallback: memory-ingest-sessions catches anything the watcher misses
    • If cron missed, run manually: python3 ~/.openclaw/skills/m2-memory/scripts/ingest_sessions.py -v
  • Batch state: memory/ingest-state.json

Add your own periodic tasks below as your role develops.

Email Monitoring (hourly)

Check memory/heartbeat-state.jsonlastEmailCheck. If >1h ago:

# POP nasr@machinemachine.ai inbox (keep lean)
# Credentials: memory/credentials-email.md
# Read → Summarize → Archive/Delete
# Flag emails with: urgent, important, action required, deadline
# Alert Nasr if anything needs attention

Update lastEmailCheck: <unix_ts> after checking.


Intent Extraction (every 12h)

Check memory/heartbeat-state.jsonlastIntentExtraction. If >12h ago:

bash /home/developer/.openclaw/workspace/scripts/extract-intent.sh nasr

Update lastIntentExtraction: <unix_ts> after running.