# Attribution runtime proof

Both sides run the real T3 Code server and web client on Linux, using fresh server-created databases. The browser viewport is 1280x800 CSS pixels (captures are 2560x1600 at device scale 2), light theme.

Seed via the projects API. AGENTS.md and the PR template ask for the actual producing model and harness. Set the coding model to anthropic/claude-haiku-4-5-20251001 via Pi, and explicitly set sourceControlWriterModelSelection to anthropic/claude-sonnet-4-6 via Pi. Give the provider instance a synthetic custom display name.

The coding thread uses a new worktree branch, changes greeting.ts from Hello to Hello, world!, and makes a real commit. The same prompt is used on both sides.

A local GitHub API fixture is reached through gh's supported http_unix_socket setting. It returns no existing PR, captures the actual POST /repos/scenario/attribution-demo/pulls payload, and returns HTTP 422 to prevent publication. Remote tracking refs are synthesized from the local commits, so no push or external PR creation occurs.

The create driver invokes git.runStackedAction(create_pr), the server RPC behind the built-in Create PR action. The web action was also exercised. Save the captured POST body unchanged as PR_DESCRIPTION.md after generation, then open it in the real app file viewer next to the completed coding thread. This file is an evidence display, not a product PR draft screen.

Base: 7dd35d324db68c092ab5dec0fa7ea7659470c6b3. It credits a Sonnet identity rather than the Haiku producer.
Head: 2425bea968ee6406a7d3767313fbb2a596c6bf8e. It credits the exact Haiku model slug and harness Pi.

The scripts import the scenario runner's existing API/auth helpers. Put the TypeScript drivers beside scripts/scenarios/t3.ts in a dependency-installed current-main checkout; pass a fresh home directory and server origin as arguments. Start each target checkout's server against that home. Run the Python fixture with a scratch directory argument, set GH_CONFIG_DIR to an isolated config directory whose config.yml sets http_unix_socket to the fixture socket, and use a synthetic GH_TOKEN. Provider credentials remain in the machine's normal Pi configuration and are never uploaded.

Not covered: multiple producing harnesses/models, fork ancestry, rollback exclusion, removed provider instances, absence of requested attribution, and actual GitHub publication.
