Run the web scenarios from a checkout of current origin/main, which contains the scenario runner. Copy the two scenario files and evidence-capture.ts into scripts/scenarios. Keep forge-fixture.mjs beside this document.

The fixture replaces only upstream GitHub responses. The app, server, RPC, parsers, ordering helpers and rendered clients run unmodified at each revision. It uses synthetic repository and PR data; it performs no forge writes and runs no paid agents.

Set NODE_OPTIONS to --import=<absolute path to forge-fixture.mjs>, GH_TOKEN to the dummy value scenario-only-token, T3CODE_DEV_SEED=0, and T3_SCENARIO_INHERIT_ENV=NODE_OPTIONS,GH_TOKEN,T3CODE_DEV_SEED,PR_FIXTURE_SMALL. Leave PR_FIXTURE_SMALL unset for pr-review-order.e2e.ts; set it to 1 for pr-review-duplicates.e2e.ts. Run scenarios:prove with base 9246c3235e190a669c81a75a5f3b020aaea422be and head f2e1108668ea440df7e222968b0b9f1adc814add.

The paged fixture has 30 entries on page one and three on page two. src/a.ts imports ./z, which is on page two. The single-page fixture adds src/0-first.ts, so directory regrouping resumes src after src/lib. Both fixtures include src/a.test.ts and a delete/add pair under src/type-change. The small patch encodes an actual regular-file-to-symlink type change.

Each final still is accepted only after two pixel-identical screenshots at least 500 ms apart. Web viewport: 1280 by 800, light theme.

For mobile, forge-pagination-fixture.mjs retains the seven-entry fixture and adds a separate paged fixture. Start each commit's real development server with that preload, GH_TOKEN=scenario-only-token, PR_FIXTURE_SMALL=1, T3CODE_DEV_SEED=0 and its own data directory. Add a synthetic git project whose origin is the fixture repository through `t3 project add`. Run Metro from the corresponding checkout. Prepare/install the matching native client with mobile:install, lease an iPhone 17 Pro and/or Pixel 9, and connect the agent-device session from the same working directory used by the drivers.

mobile-open.py resets only the disposable app's data (and the leased iOS simulator keychain), opens the chosen Metro bundle, and pairs with the chosen isolated backend. Arguments are platform, session, checkout, T3 home, server port and Metro port. mobile-drive.py captures the overview, combined diff and changed-files sheet, including the hide-tests state. paged-drive.py opens the paged fixture, collapses only the padding directory, loads page two, captures both filter states, then opens a.ts and performs seven identical upward pans to reach the end of the combined diff. Both platforms wait for the 33-file count before the final capture. Android's --record flag records that same file-open and scrolling interaction on each commit.

Mobile captures use the light theme: iPhone 17 Pro, iOS 27.2, 402×874 points; Pixel 9, Android API 36, 1080×2424 pixels. The expanded sheets expose all fixture rows. Directory headers intentionally resume when the parent directory resumes after a child, so the head captures show src, src/lib, src. Padding remains collapsed only in the paged picker, and all 33 entries remain loaded.
