#!/bin/bash
set -eu
# Usage: bash reproduce.sh CHECKOUT FIXTURE_DIRECTORY
checkout=$1
fixtures=$2
cd "$checkout"
vp i
node "$fixtures/seed.mjs" "$checkout" "$fixtures"
export T3CODE_DEV_SEED=0
export GROK_HOME="$fixtures"
export NODE_OPTIONS="--import=$fixtures/provider-fixtures.mjs"
export PATH="$fixtures/bin:$PATH"
vp run dev --no-seed
# Open the printed pairing link, wait for the app, choose Usage > Limits.
# Use a 1280x800 viewport and the light theme on both commits.
# Hover button[aria-label^="Grok: 70% left"], then
# button[aria-label^="Cursor: 80% left"]. Record both interactions.
# Capture each hover only after two screenshots 500ms apart are identical.
