carlos / platform Public

design-console-social-signin

What

Plan 1 of 4 for Google, Apple and GitHub sign-in on the console (spec docs/superpowers/specs/2026-11-02-console-social-signin-design.md, rev 3, approved by Paul 2026-11-02; plan docs/superpowers/plans/2026-11-02-console-social-signin-1-methods.md).

  • sign_in_methods table mapping (kind, subject) to the person (users.address), backfilled offline on every start (keymail when a grant or keymail session exists, else email).
  • finishSignin resolves through it; sessions record method_id; the Keymail grant stays keyed by the proved address.
  • New-person budget (10/IP/hour, 200/hour overall) checked before any sign-in creates a person; a refusal writes nothing.
  • Invites can be accepted with any email/keymail address the person holds; memberships and seats keyed by the person.
  • Your settings: read-only "Sign-in methods" table (copy approved by Paul; dates as "2 Nov 2026"; Added hidden on phones).

Review

Built by Astra (gpt-6-astra, high) per task, each task reviewed by Opus; whole-branch Opus review: ready to merge, no Critical/Important. vet + darwin/windows cross-builds pass locally; the full console package runs on CI only.

After deploy (dev first)

SELECT COUNT(*) FROM users u WHERE NOT EXISTS (SELECT 1 FROM sign_in_methods m WHERE m.address = u.address) should be 0.

Human

Console social sign-in: approved design (rev 3) and Plan 1 built. Every sign-in now resolves through a signinmethods table to a person; invites accept any held address; new-person budget on all sign-up paths; Your settings lists sign-in methods. Not dormant: changes sign-in for everyone, so merge needs Paul's go.

Commits 14
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity