#!/usr/bin/env bash
set -euo pipefail
# Run from the tested checkout with its own fresh T3 home and synthetic project.
proof_home=$1
proof_workspace=$2
node apps/server/src/bin.ts thread start "$proof_workspace" 'Use T3 delegate_task to start ONE background Claude Haiku 5.5 subagent in shared isolation. Its only job is to run python3 -c "import time; time.sleep(80)" then reply DONE. Immediately after launching reply STARTED and end your turn. When completion arrives reply RECEIVED and stop. Do not wait or check progress.' --provider claudeAgent --model claude-haiku-5-5 --title 'Background sidebar proof' --base-dir "$proof_home" --json
