#!/usr/bin/env bash
# Environment setup used for this comparison: Ubuntu 24.04 x86_64.
# Run in each of two detached worktrees, one at the base and one at the head.
# Supply a new worktree with no existing .t3 database.
set -euo pipefail
sudo -n apt-get install -y --no-install-recommends zfs-zed
command -v zed
if command -v zeditor; then
  echo 'This reproduction requires no Zed editor installation.' >&2
  exit 1
fi
vp i
T3CODE_DEV_SEED=0 vp run dev
# Pair the browser with the startup token (never include it in evidence).
# The app creates its default "server" project and empty "New thread".
# Run capture(tools, tabId) from driver.js against each paired tab.
# A strace -f -s 200 -e trace=execve attached to each server captures launches.
# Before upload: resize captures to 1280x800, mask environment and provider
# selector with black rectangles. Compare the two raw stills: zero differing pixels.
