# Forgejo owner capitalization proof environment

- Real T3 web app driven by the repository's e2e scenario runner, 1280 × 800, light theme.
- Each side has a fresh scenario database; projects and Replay threads are created through `t3.project` and `t3.thread`.
- Real Forgejo 13 Docker image (`codeberg.org/forgejo/forgejo:13`), SQLite, listening locally on HTTPS port 33248 with a locally generated CA and leaf certificate. No API mocks.
- Synthetic administrator `Alice` (`alice@example.invalid`) and private organization `acme-org` owned by Alice.
- Real `fj` v0.7.0, downloaded from its official release.
- `PROOF_FJ` points at the fj binary; `PROOF_TOKEN` is a synthetic Forgejo token. `XDG_DATA_HOME/forgejo-cli/keys.json` contains an Application token for `127.0.0.1:33248`. The scenario symlinks fj into the runner's private bin directory.
- `SSL_CERT_FILE` holds system CAs plus the local CA; `NODE_EXTRA_CA_CERTS` holds the local CA.
- Pass these names via `T3_SCENARIO_INHERIT_ENV=PROOF_*,SSL_CERT_FILE,NODE_EXTRA_CA_CERTS,XDG_DATA_HOME,T3CODE_DEV_SEED`, with `T3CODE_DEV_SEED=0`.
- Every project is an independent Git repository with one initial commit and no remote. Local Git credential helpers use the synthetic token via its environment variable; no credential is embedded in the scenario.
- Publish Private using HTTPS, allowing the push to complete (the original reproduction used SSH with SSH disabled, which obscured success after repository creation).
- Cases: `alice/proof-lowercase`, `ALICE/proof-uppercase`, `Alice/proof-exact-case`, `acme-org/proof-organization`.
- Before each side the scenario deletes only these synthetic remote repositories, then recreates fresh local projects. Settings enables offering Forgejo; each thread's Publish repository wizard selects Forgejo, enters the owner/name, selects HTTPS, and publishes.
- The sole assertion checks the actual rendered `Repository published` heading for all four cases. Screenshots are taken after the terminal success or failure state. The runner records the interaction on both sides.
