04-tooling

agent config backup

Mon Apr 27 2026 20:00:00 GMT-0400 (Eastern Daylight Time) ·tooling ·status: active

Agent config backup — RayDataCo/ray-config

The Ray Data Co Claude Code agent identity is now backed up to a private GitHub repo, syncing nightly. This makes the AGENT itself portable, not just the data.

What’s backed up

Repo: github.com/RayDataCo/ray-config (private)

Captures everything that makes this Mac mini’s Claude Code instance “Ray”:

Total: ~172 files, 16MB.

What’s deliberately excluded

How it stays current

LaunchAgent co.raydata.ray-config-sync.plist runs ~/Projects/ray-config/bin/sync.sh nightly at 3:33am ET (after 3:17am graph-reingest, before 4am channels-agent restart). Each run rsyncs from canonical locations into the repo, commits with a timestamped message, and pushes to origin/main. If nothing changed, exits cleanly.

Manual run: ~/Projects/ray-config/bin/sync.sh

Disaster recovery

Full step-by-step at ~/Projects/ray-config/SETUP.md (also visible at github.com/RayDataCo/ray-config/blob/main/SETUP.md).

Critical-path summary on a fresh Mac:

  1. Install Xcode CLT + Homebrew (~10 min)
  2. brew install gh tmux yt-dlp ffmpeg python@3.12 jq rsync duckdb && brew install --cask 1password 1password-cli (~5 min)
  3. Install Claude Code from claude.ai/code, sign in with ben@raydata.co (~5 min)
  4. gh auth login + 1Password sign-in (~5 min)
  5. gh repo clone RayDataCo/ray-config ~/Projects/ray-config && gh repo clone RayDataCo/rdco-vault ~/rdco-vault (~3 min)
  6. bash ~/Projects/ray-config/bin/bootstrap.sh (~1 min)
  7. Rebuild Python venvs + rehydrate channel tokens from 1Password + start tmux session (~10 min)

Total critical-path: ~30-45 min to fully-functional agent.

Tier in the 3-2-1 backup stack

TierWhatWhereCadence
1Agent identity (this repo)GitHub RayDataCo/ray-confignightly auto-commit
2System-wide imageTime Machine on local USBhourly/daily/weekly
3Off-site insuranceBackblaze Personal ($9/mo)continuous

Tier 1 (this) is the highest-leverage piece: it makes the AGENT portable, not just the data. Tier 2 (founder ordered USB drives 2026-04-28) and tier 3 (optional) cover total system loss / hardware destruction.

Why this matters

Before today, the Mac mini was a single point of failure for the entire RDCO autonomous-COO setup. The vault was backed up, the project repos were backed up, but the AGENT — the skills + memory + cron loops + channel access policies + LaunchAgent plists — only existed on this one machine. Mac mini SSD dies → reconstruction is days, not minutes.

After today: agent is portable. Mac mini SSD dies → buy new Mac → 30-45 min to fully restored.