#!/usr/bin/env bash
set -euo pipefail
# Run inside either checkout after T3CODE_DEV_SEED=0 vp run dev --host 0.0.0.0.
# Each checkout uses its own fresh .t3 database. No real user database is copied.
workspace="$(mktemp -d)"
node apps/server/src/bin.ts project add --base-dir .t3 --title 'Color proof' "$workspace"
node apps/server/src/bin.ts thread start --base-dir .t3 --provider claudeAgent --model claude-haiku-5-5 --title 'Color question' "$workspace" 'Use the AskUserQuestion tool right now to ask me one question: "Which color?" with options Red and Blue. Allow a custom answer. After I answer, report my answer and whether any image was attached. Do nothing else.'
node apps/server/src/bin.ts thread start --base-dir .t3 --provider claudeAgent --model claude-haiku-5-5 --title 'Undo question' "$workspace" 'Use AskUserQuestion now with TWO questions in ONE tool call. First: "Which color?" header Color, options Red and Blue. Second: "Which shape?" header Shape, options Circle and Square. Allow custom answers. After I answer report both answers and precisely how many attached images you received, including filenames. Do nothing else.'
# UI: type "maybe this shade", Attach files > red.png (64x64 solid red), click Blue.
# Undo: repeat in the first of two questions, click Blue, Previous question,
# focus the custom-answer composer, Control+Z, Next, Circle.
# Mobile: Choose Files > red.png, select Blue, then Submit answers.
