You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: four sign-in/trial bugs from fresh-install testing
1. New email skipped onboarding: sign-out cleared token/plan/email but not
onboarded/onboarded_plan, so a new email inherited the prior account's
onboarded=True. Sign-out now clears the per-account onboarding + trial state.
2. Auto-start trial silently missed: the sign-in enroll is a one-shot with no
log/retry; on a brand-new account it races (account not queryable yet) and
left the user on the generic trial. Added a self-healing net in the daemon's
/v1/me poll (fires for a signed-in Power build not-yet-Power, trial unused;
server-idempotent) + logging on the sign-in path so it's never silent again.
3. 'Start trial' looked dead on failure: the handler only notified on
'already used', not on a network error. Now notifies on failure too.
4. 'Manage on heard.dev' opened heard.dev/account — not a route (blank page).
Points at /dashboard, which exists.
Full suite (841) + full ruff green.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019GTBZjBGurqsHUHsjaU1gA
0 commit comments