Add SRP password sign-in (with TOTP, two-password accounts and a clear error when Proton asks for a CAPTCHA), browser sign-in through a session fork, and sign-out to the new session, with the matching routes in the fake server. The fake does real server-side SRP with go-srp and issues a per-user key salt. Where the plan and the SDK differ, the SDK wins: - the fork sign-in URL escapes its payload like encodeURIComponent (authWeb.ts generateSignInUrl), so the plan's literal URL is the unescaped form; - POST /core/v4/auth sends PersistentCookies 1 and an empty Payload (auth.ts authViaPassword); - the key password uses the first KeySalts entry (auth.ts getUserKeyPassword). protontest.ApproveFork takes the sign-in URL instead of the user code, since the payload key exists only in the URL; the plan is updated. go-srp moves to a direct dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plans
Fork-only. Implementation plans from the superpowers writing-plans workflow.
Transient: a plan lives only on its feature branch and is removed with
git rm before the merge request is opened. This README stays.
- Naming:
NNN-short-slug.md, matching its spec number. - Links back to its spec. Bite-sized checkbox tasks with exact file paths, test commands, and commit checkpoints.
- Written for an engineer with zero context for this codebase - spell out the obvious.
- Tick checkboxes as you go so another agent can resume an interrupted session.
- Front matter:
status: draft | approved | in-progress. There is nodone- a finished plan is deleted.