#!/usr/bin/env bash
# Run from each checkout. Arguments: isolated T3 home, synthetic workspace.
set -euo pipefail
proof_home="$1"
proof_workspace="$2"
mkdir -p "$proof_workspace"
git init -q --initial-branch=main "$proof_workspace"
node apps/server/src/bin.ts project add "$proof_workspace" --title Demo --base-dir "$proof_home"
# In the Android client, label the connection Demo and open a new task in Demo.
# Start each checkout's server with T3CODE_DEV_SEED=0; never seed from live state.
