#!/usr/bin/env bash
set -euo pipefail
# Run from each evidence checkout after vp i.
# Start the server separately with T3CODE_DEV_SEED=0 and GOOGLE_GEMINI_BASE_URL set.
# In Settings > Providers > Add provider, choose Antigravity, then Gemini API key.
# Supply a nonempty placeholder key, add the instance, and click Connect.
# Confirm Antigravity 1.5.19, Authenticated, and Gemini 4 Neon.
# Pass the same empty git project directory on each side.
project_dir=${1:?Supply an empty git project directory}
node apps/server/src/bin.ts project add --base-dir .t3 --title 'Subagent completion' "$project_dir"
node apps/server/src/bin.ts thread start --base-dir .t3 --provider antigravity --model gemini-4-neon --title 'Native subagent idle' "$project_dir" 'Use invoke_subagent to launch exactly one native subagent with role "self". Give it exactly this instruction: "Reply directly with the single word PONG as your final response. Do not call send_message or any other tool." Do not message it and do not wait on it with any tool. After launching it, reply with one short sentence and end your turn.'
# Open the returned thread in the web client. Record the response and completion state.
# Leave the base server running without editing files; observe for at least 5.5 minutes.
# Both captures use Chromium, 1280x800, light appearance, fresh per-checkout databases.
# Published media crop away the left sidebar and mask the environment name for privacy.
