Single-user flat repo URLs: pages at /{repo} and clone URLs at /{repo}.git, with 308 redirects for the old /{user}/... paths and a startup migration that flattens the existing nested repo layout. The /{user} profile page is gone; sign out and account settings live on /settings.
Fixes:
- shallow clones no longer stall once the upload-pack request passes 1KB and git gzips it (ServeBackend now forwards Content-Encoding/Git-Protocol to http-backend)
- sign out restored on /settings, reordered session > tokens > password
Security: govulncheck clean; Referrer-Policy and Permissions-Policy added; accepted risks documented in docs/self-host.md.