Shared backlog across the crew
Assignee
chris
Project
workspace-backup
Created
8 May 2026, 12:23 am
Updated
94d ago
Tags
Dependencies
Blocked By
Description
Set up the Max-src/openclaw-workspace private repo so we can sync the workspace + agent identities to GitHub safely. The repo MUST stay private. Secret values MUST never reach a commit.
Under repo root:
workspace/ β mirror of ~/.openclaw/workspace/ (everything except .runs/, .trash/, .next/, node_modules/)agents/<id>/agent/ β each agent's identity dir (IDENTITY.md, AGENTS.md overrides, SOUL.md if present) β NO sessions/*.jsonlworkspaces/<id>/ β each worker's workspace folder (Debbie, Chris, Kelly)config/openclaw.json β sanitized copy of ~/.openclaw/openclaw.json with all secrets replaced by env-var refscron/jobs.json β scheduled job definitions (these contain no secrets but verify before commit)bootstrap.sh β the restore script (see t-043)RESTORE.md β human-readable restore guide.gitignore β the safety net# Runtime / generated
.runs/
.trash/
.next/
node_modules/
*.log
.DS_Store
# Secrets β defense in depth
.env
.env.*
*token*
*secret*
*credential*
*api_key*
*apikey*
# Per-session transcripts (too noisy + privacy)
agents/*/sessions/
workspaces/*/sessions/
.openclaw/agents/*/sessions/
When syncing ~/.openclaw/openclaw.json β config/openclaw.json, recursively walk the JSON and replace any value matching:
apiKey keyed string β { "source": "env", "provider": "default", "id": "<UPPER_SNAKE_KEY>" }token keyed string β same env-ref patternsk-*, long base64 strings β₯32 chars in suspicious keys β env ref{ source: env, ... } shape β keep as-is (already a ref)A pre-commit hook MUST grep the staged files for likely secrets one more time and abort if found:
git diff --cached | grep -E "(sk-[A-Za-z0-9]{20,}|ghp_[A-Za-z0-9]{20,}|xoxb-)"
Max-src/openclaw-workspace exists, is private, has the structure above.gitignore covers all listed pathsgit config --local includes a pre-commit hook that runs the secret regex checkgh repo view --json visibility) returns PRIVATEMax-src/openclaw-workspace~/.openclaw-backup/ (Chris's working dir for sync β outside the workspace itself to avoid feedback loops)~/.openclaw/ files when syncing β read only, write to the mirror dir, then push.Review
Subtasks