#!/usr/bin/env bash
# Run from each evidence checkout after vp i. Use a fresh database on each side.
# Keep the dev server running throughout the idle observation.
T3CODE_DEV_SEED=0 vp run dev
# In another terminal, from that checkout (SCRATCH is a new synthetic folder):
# node apps/server/src/bin.ts project add --base-dir .t3 "$SCRATCH"
# node apps/server/src/bin.ts thread start --base-dir .t3 --provider codex --model gpt-6-luna --wait "$SCRATCH" 'Run exactly this shell command once and nothing else: setsid -f sleep 3654 ; then reply DONE.'
# Identify the newly created t3code-codex-*.scope (do not use the agent's own scope).
# python3 monitor.py "$UNIT" "$OUTPUT.jsonl"
# monitor.py samples systemctl state and the real cgroup's process membership.
# render.py turns those recorded samples into a 1x-speed video and final still.
