Console has been deployed since 2026-10-14 but sign-in never worked: SCRIBASE_URL
was baked to the Scribase control-plane API (api.scribase.com) instead of a real
project's own gateway, because no project had ever been provisioned for it.
Also fixed a real, unrelated bug found while provisioning: the control-api's
real-time project-runtime image (scribase-project-runtime:local) had been
reclaimed by a routine docker image prune (it has no running container, so it's
unprotected) -- this broke every new Scribase project, temp or paid, not just
this one. Rebuilt it on box 1 via the documented narrow compose step.
Provisioned a real (temporary, 72h TTL) Scribase project for the console via
`npx scribase init --temp --yes` against production, applied all 14 of
db/migrations/*.sql against it via the real database/execute API (0007_ship.sql
had a literal backslash in a regex that the SQL-execute endpoint's injection
guard rejects outside E'...'/$$...$$ -- rewrote `github\.com` as the
behaviorally-identical `github[.]com` character class; existing tests already
only check accept/reject behavior, unaffected), and wired the real anon/service
role keys via `wrangler secret put`.
Deployed (version 49f09f0f-d84b-4379-acc4-d1a78df81a90) and verified end to end:
a real POST to /auth/email now reaches the real gateway's /auth/v1/otp (confirmed
by direct curl to the gateway, bypassing the app) and correctly hits GoTrue's own
over_email_send_rate_limit after repeated test calls -- proof the full
app -> SCRIBASE_URL -> gateway -> GoTrue chain is for real wired correctly, not
the prior 404 "route not found" / zero-project-exists failure.
Remaining real step (not done here): this project is temporary and expires in
72h. A permanent one needs either a real SCRIBASE_ACCESS_TOKEN for the
ereboslab org, or the $1 Dodo card-check "Keep this project" flow at the
project's claim URL -- both genuinely owner-gated (2FA / a real card), see
plans/railyard.md and apps/console/DEPLOY.md for the exact next step.