Fixed real breakages found walking the live "Sign in with Rithub" ->
onboarding -> feed flow with a fresh mail.tm account:
- onboarding/interests called a nonexistent PATCH /users/preferences (404
every time, treated as fatal) instead of the real POST /users/interests
endpoint -- every real signup got stuck on step 2 unless they clicked
"Skip for now".
- the cached auth-store user object stayed stale right after saving
interests, so the feed page's empty-feed onboarding-redirect bounced a
user who just finished onboarding straight back to /onboarding/welcome.
Now updates the store immediately after the real POST succeeds.
- onboarding/follow's handleFinish called the same nonexistent preferences
endpoint (silently swallowed, but still real dead code) -- removed.
Feed empty-state is no longer blank for a newcomer with 0 follows: new
GET /forge-activity/public-site-feed (no auth) polls Rithub's own public
API for recently updated/created repos + real events, no fake users or
posts. Wired into the feed page as a labeled "Repo activity on Rithub"
section.
New one-click "Open on Ritgram" entry point at /go/rithub (Ritgram-owned
Next.js route handler, not a Rithub template) -- server-redirects straight
into the existing Rithub OAuth flow. Added to the already-live
rithub-lifecycle welcome/48h-nudge emails (apps/rithub-lifecycle, a
separate RIT-RET pass) so every real new Rithub signup gets the link.
Also fixed stale ritgram.ereboslab.com domain references and emoji in the
Ritgram welcome email template (dead code, never wired to send -- fixed
for correctness regardless) and the DEFAULT_FROM fallback address.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>