Verify, repair, backfill, and back up Pi/Claude/Codex session capture across Flagg, Blaine, and Panda. Use when checking whether agent activity is captured, clearing joelclaw outbox backlogs, backing transcripts up to three-body NAS, or scheduling capture verification.
76
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill when Joel asks whether agent activity is being captured, indexed, or backed up across machines.
Transcript/raw activity sources:
~/.pi/agent/sessions, ~/.pi/agent/run-history.jsonl, ~/.pi/notes-bridge/events.jsonl~/.claude/projects~/.codex/sessions, ~/.codex/archived_sessions, ~/.codex/session_index.jsonl~/.joelclaw/runs-dev~/.joelclaw/outboxNAS backup target:
/Volumes/three-body/sessions/<machine>/<source-key>/.../Volumes/three-body/sessions/receipts/*.jsonCurrent live capture endpoint, per 2026-07-09 repair receipt:
http://joels-mac-studio.tail7af24.ts.net:3111/api/runshttp://joels-mac-studio.tail7af24.ts.net:3111/api/runs/healthImportant drift note: older system-architecture docs say Panda is Central. Flagg/Mac Studio is the working capture endpoint for Blaine. Capture authentication uses Flagg's persistent local ~/.joelclaw/capture-auth.db; Typesense machines_dev is only its enrollment/migration mirror.
From ~/Code/joelhooks/joelclaw-runtime:
bun scripts/agent-session-audit-backup.ts \
--hosts flagg,blaine,panda \
--central-url http://joels-mac-studio.tail7af24.ts.net:3111 \
--backup-root /Volumes/three-body/sessions \
--repair-env \
--sync=true \
--replay-outbox \
--replay-limit 250 \
--replay-max-bytes 10485760What it does:
JOELCLAW_CENTRAL_URL in .zshrc, .zprofile, and ~/.config/system-bus.env/api/runsFor a metadata-only audit, use --sync=false and omit both --repair-env and --replay-outbox. Those flags mutate state independently of sync. Discover the current Central endpoint and host set from service configuration; historical endpoint examples are not current authority. Raw transcript content still requires the session evidence receipt.
Use a low --replay-limit first when clearing a huge outbox. Do not unleash tens of thousands of run-capture events without checking worker/Inngest health.
Host worker function:
system/agent-session.capture-backup.verifysystem/agent-session.capture-backup.requestedTZ=America/Los_Angeles 15 5 * * *Manual trigger:
joelclaw send system/agent-session.capture-backup.requested -d '{
"hosts": "flagg,blaine,panda",
"centralUrl": "http://joels-mac-studio.tail7af24.ts.net:3111",
"repairEnv": true,
"replayLimit": 250,
"replayMaxBytes": 10485760
}'centralHealthOk=true.~/.joelclaw/outbox count trends toward zero on each machine./Volumes/three-body/sessions/receipts.runs-dev, and outbox counts.http://panda:3000; that endpoint is stale and fails./api/runs until its local Typesense auth lookup is healthy again.system-architecture and recent receipts before changing authority language.~/.joelclaw/auth.json; the script reads them locally on each host.7094ced
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.