#!/usr/bin/env bash
# From each checked-out commit, start with a fresh isolated .t3 database.
# Do not copy a live database. Pair the browser using the startup URL.
# Run seedEvidence(syntheticWorkspaceRoot) from seed.js in that browser.
# The fixture root must contain empty Orchard and Harbor directories.
# Enable Boring sidebar; project/thread sorting = Last user message.
# Disable working shelf and close thread details; use dark theme, 1280x800 CSS pixels.
# Navigate to evidence-a. Record the browser before running this command.
# It invokes t3_thread_send as an MCP client, which records createdBy=agent.
set -euo pipefail
node apps/server/src/bin.ts thread send --base-dir .t3 evidence-a 'Agent-posted update in Thread A' --json
# Wait for 'second fixture turn complete'. Stop recording.
# Base: Orchard moves above Harbor. Head: Harbor remains above Orchard.
# Both: Thread B remains above Thread A.
# For stills, dismiss overlays and compare screenshots taken 500ms apart.
