Skip to content

fix(web): replace the forgot-password popover with a line that names the way back in, and journey the sign-in page - #145

Merged
aRustyDev merged 3 commits into
mainfrom
fix/web-forgot-password-dead-end
Nov 13, 2026
Merged

aRustyDev merged 3 commits into
mainfrom
fix/web-forgot-password-dead-end

Conversation

@aRustyDev

@aRustyDev aRustyDev commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

What

The imported web app's sign-in screen is drawn from /api/instances/, which Thrust answers with every method other than the password turned off (the same as the pin, S01). So the social buttons and the email-code step never render, and email-check always answers CREDENTIAL. The one dead end left was "Forgot your password?", which opened the pin's popover ("your god hasn't enabled SMTP") and sent nothing.

  • web/apps/web/components/account/auth-forms/password.tsx (already in the Q-R2 ledger): the SMTP-off branch is now one line, "Forgot your password? Ask your admin to reset it." The locale file and the popover file are untouched. scripts/check-web-diff.sh: 2 files differ from the pin, both allowed.
  • e2e/journeys/m2-sign-in-methods.spec.ts (new): the signed-out path. The sign-in page and its password step show no other method, no call goes to a reset, code or social route, the forgot line is there (the popover on the pin), and the password still signs in.
  • Control sso-on: the browser turns two providers on; the journey must fail at "a sign-in method other than the password", and the run fails as CONTROL INERT if it turned none on.
  • installControl takes an optional workspace now, so a journey with none (this one) can run under slow-page.
  • D-037, the F-A03 note (reset by email is after M2), a parity-matrix row, app.md, G-31.

Measured

Locally, on worker-memory, on this branch rebased onto #144 (THRUST_PORT set, because lsof stalled under a load average of about 700):

  • scripts/e2e.sh worker-memory controls: VERDICT: PASS. Main run: passed 2 of 2, none unexpected, skipped or flaky.
  • Controls that must fail, each failing with its words: stickies-404, empty-list, sso-on ("is on the sign-in page, Expected: 0, Received: 2"), wrong target (TARGET GUARD (plane)). The count guard refused the skip. slow-page (must pass) passed with both journeys.
  • oxfmt --check and tsc --noEmit on web/apps/web: clean. oxlint on password.tsx: two warnings, both on lines this PR does not touch.

In this PR's CI (run 43478874902), the worker-cf e2e cell ran both journeys on the Postgres-backed Worker: passed 2 of 2, the same four controls failed as required, the skip was refused, slow-page passed, VERDICT: PASS. The other cells (26 contract cells, hermetic, pg-adapter, mutants, web, lint, deps) all succeeded.

Not measured

  • Not run on the pinned Plane. plane-oracle is local only and needs the fork checkout, so the spec's Plane branch (click the popover, expect text containing "SMTP") has never executed. TRACEABILITY says "not run yet" for the pin.
  • The "Ask your admin" assertion has no control of its own (no run with password.tsx reverted).

CI is red on deny, and so is main

cargo deny check fails on RUSTSEC-2026-0533 (ammonia, mutation XSS via embedded SVG and MathML; fix: cargo update -p ammonia), and the gate job fails because deny is not success. This PR changes no Rust file and no lockfile. The latest run on main (72da790, run 43475094189) fails the same two jobs and nothing else. This PR does not fix it.

Before you merge

The new line points at an operator path that is not built yet. Q-F7 decided "the admin creates the user with a temporary password", and nothing implements it: today no route changes a password except sign-up and the test-only /internal/seed. The operator reset is the next PR. This one is correct about what the screen shows and honest in D-037, but until the next PR lands, "ask your admin" has no tool behind it.

Refs: #46

🤖 Generated with Claude Code

aRustyDev and others added 3 commits November 13, 2026 13:03
…the way back in, and journey the sign-in page

The imported app draws its sign-in screen from /api/instances/, which answers every
method other than the password as off (the same as the pin, S01). So no social
button or code step renders. The one dead end left was "Forgot your password?",
which opened the pin's popover ("your god hasn't enabled SMTP") and sent nothing.

- password.tsx (already in the Q-R2 ledger): the SMTP-off branch is now one line,
  "Forgot your password? Ask your admin to reset it." The locale file and the popover
  file are not touched.
- e2e/journeys/m2-sign-in-methods.spec.ts: the signed-out person's path. The sign-in
  page and its password step show no other method, no call goes to a reset, code,
  or social route, the forgot line is there (the popover on the pin), and the
  password still signs in.
- Control `sso-on`: the browser turns two providers on; the journey must fail at
  "a sign-in method other than the password", and the run fails as CONTROL INERT if
  it turned none on.
- D-037, the F-A03 note (reset by email is after M2; an operator sets a password
  until then, Q-F7), the parity-matrix row, app.md and G-31.

Measured locally on worker-memory only. Not run on worker-cf or on the pinned Plane
(plane-oracle needs the fork checkout), so the pin's popover branch of the spec has
not executed. The "Ask your admin" assertion has no control of its own.

Refs: #46
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The pull request's own CI ran both journeys on the Postgres-backed Worker (run
43478874902): passed 2 of 2, the four must-fail controls failed with their words, the
count guard refused the skip, and slow-page passed. G-31 and the parity-matrix row said
"worker-memory only" and "the worker-cf cell has not run it". The pinned Plane is still
not run, and the "Ask your admin" assertion still has no control of its own.

Refs: #46
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev merged commit 76347e2 into main Nov 13, 2026
35 checks passed
@aRustyDev
aRustyDev deleted the fix/web-forgot-password-dead-end branch November 13, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant