#!/usr/bin/env bash
set -eu
# Run from either checked-out revision after vp i; use a fresh isolated T3 home.
workspace=${1:?Pass the synthetic demo-repo directory}
t3_home=${2:?Pass the isolated T3 home}
mkdir -p "$workspace"
git init --initial-branch=main "$workspace"
git -C "$workspace" -c user.name=Evidence -c user.email=evidence@example.invalid commit --allow-empty -m 'Initial commit'
node apps/server/src/bin.ts project add "$workspace" --base-dir "$t3_home"
# UI steps used on both revisions:
# Settings > Providers > Add provider > Antigravity > Next > Next.
# Sign-in method: Gemini API key; API key: any synthetic non-empty value.
# Add instance > Connect. Verified v1.5.12 and eight models.
# New thread > demo-repo > Antigravity > Gemini 3.8 Flash > High.
# Close thread details; Permissions > Supervised.
# Send: Run git status --short in the terminal and tell me the output.
# Wait for approval; expand Running git; capture; Deny.
