# Mounted Forgejo fallback URL proof

Both sides use the real web app in headless Chromium, 1440×900, the default light theme, fresh isolated databases, and Replay (dev), multi-turn recording.

The external service is upstream Forgejo 13.0.5 (codeberg.org/forgejo/forgejo:13), with nginx forwarding /code/ to Forgejo's root. ROOT_URL is http://git.example.com:3000/code/, DOMAIN and SSH_DOMAIN are git.example.com, SSH_PORT is 2222, and DB_TYPE is sqlite3.

The Forgejo admin CLI created synthetic account acme. The real API created public repository acme/repo with auto_init=true and default_branch=main, and registered a generated SSH public key. No pull request 7 exists. The API returned html_url http://git.example.com:3000/code/acme/repo and ssh_url ssh://git@git.example.com:2222/acme/repo.git. The repository's browser URL returned HTTP 200.

The genuine Gitea CLI gt 2.0.0 was authenticated to http://git.example.com:3000/code using a generated access token, with ssh_host configured as git.example.com:2222. Tokens and SSH keys are not included in these artifacts.

The scenario seeds the local project through t3.project with that SSH origin, fetches the real remote over SSH, and creates the replay thread through t3.thread. This replaces the manual Add project flow; the client receives its repository identity from the real server and Forgejo integration.

Set PROOF_GT_BINARY to the installed gt binary. Supply XDG_CONFIG_HOME for its isolated authenticated configuration and GIT_SSH_COMMAND for the generated key. Inherit XDG_CONFIG_HOME,GIT_SSH_COMMAND,T3CODE_DEV_SEED through T3_SCENARIO_INHERIT_ENV. Set T3CODE_DEV_SEED=0. Run scenarios:prove with base 09418562d601df5a451124c2bccb35a6e0c394b8 and head a13048de1abc9ef103e4f77f57e78aa456571f1e.
