#!/usr/bin/env bash
# Run from either checkout after starting T3CODE_DEV_SEED=0 vp run dev.
# Uses only a synthetic empty Git repository. No database copying.
set -euo pipefail
workspace="$1"
node apps/server/src/bin.ts project add "$workspace" --title 'Notice delivery proof' --base-dir .t3
node apps/server/src/bin.ts thread start --base-dir .t3 --provider claudeAgent --model claude-haiku-5-5 --title 'Child delivery comparison' "$workspace" 'Reply READY. Do not use tools yet.' --json
# Open the returned thread in the paired web app, start recording, then:
# node apps/server/src/bin.ts thread send --base-dir .t3 <thread-id> - --json < prompt.txt
# Watch the automatic completion; do not steer or poll the parent.
