carlos / platform Public

spec: social sign-in rev 3, GitHub address needs a one-time code (P9)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 823d494ebb4fdc1866bf2b8fc1ad3dc8f2d16f4d parent 94ca4c8
1 file changed, +7 −3
  • docs/superpowers/specs/2026-11-02-console-social-signin-design.md +7 −3

Intent

Human

A sounds good

Attributed to this commit: 2.25 g CO₂e (256,090 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-console-social-signin, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/specs/2026-11-02-console-social-signin-design.md b/docs/superpowers/specs/2026-11-02-console-social-signin-design.md
index c8fee2463..dfea140f1 100644
--- a/docs/superpowers/specs/2026-11-02-console-social-signin-design.md
+++ b/docs/superpowers/specs/2026-11-02-console-social-signin-design.md
@@ -1,7 +1,7 @@
# Console sign-in with Apple, Google and GitHub, with linked sign-in methods and merging
-Status: rev 2, 2026-11-02, draft for Paul's approval (rev 1 plus the
-builder check's answers, §14). Follows
+Status: rev 3, 2026-11-02, for Paul's approval (rev 1, the builder
+check's answers in §14, and Paul's P9). Follows
[console email sign-in](2026-10-21-console-email-signin-design.md), whose
sign-in flow, sessions and step-up this extends.
@@ -58,6 +58,10 @@ Success:
the address it was recorded under.
- **P8. People can add and remove sign-in methods** from Your settings, but
can never remove the last one.
+- **P9. GitHub's verified address needs a one-time emailed code** before it
+ can attach to or create a person. After that, GitHub signs the person
+ straight in. The same applies to a Google address that Google isn't
+ authoritative for (§6.2).
## 3. Goals, non-goals, anti-goals
@@ -334,7 +338,7 @@ for these cases:
Google is authoritative for.
- **Apple:** `email_verified` is true. Apple confirms both real addresses and
the relay addresses it issues.
-- **GitHub:** never on its own. A GitHub sign-in whose address would attach
+- **GitHub:** never on its own (P9). A GitHub sign-in whose address would attach
to an existing person, or create a new one, first needs a one-time emailed
code to that address (§4.2 step 4). After that, the GitHub identity is
linked and later sign-ins go straight through (§4.2 step 1).