Track heartbeat/skills settings, add vault backup script

Settings that were silently lost on reinstall:
- Track .smallclaw/heartbeat/config.json (active hours 8-22, interval 30m)
- Track .smallclaw/skills_state.json (multi-agent-orchestrator enabled)
- Fix gitignore: heartbeat/ → heartbeat/runs/ (only ignore run logs, not config)
- Fix gitignore: remove skills_state.json from ignored list

Vault (contains channel tokens, passwords) cannot go in git — instead:
- Add scripts/backup-vault.sh: backs up vault+credentials to ~/.smallclaw-backup/
  keeping last 5 snapshots. Run manually or via cron (0 3 * * *).
- Run initial backup now → ~/.smallclaw-backup/vault_20260518_232441

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
kim
2026-05-18 23:24:54 +09:00
co-authored by Claude Sonnet 4.6
parent 4f536861bb
commit ac678db97b
5 changed files with 80 additions and 16 deletions
+1 -2
View File
@@ -44,11 +44,10 @@
.smallclaw/tasks/
.smallclaw/jobs/
.smallclaw/ocr-cache/
.smallclaw/heartbeat/
.smallclaw/heartbeat/runs/
.smallclaw/task-heartbeat.json
.smallclaw/cron/runs/
.smallclaw/skills/
.smallclaw/skills_state.json
.smallclaw/workspace_state.json
.smallclaw/.migrated-from-localclaw