From landing page through application, portal tasks, and the full lender feedback loop.
Two screens of data collection before signup.
PreAuthContext — never written to localStorage, sent with account creation
From signup to an authenticated session with a loan file.
Amplify SDK registers email + password, Cognito sends verification code
src/pre-auth/signup-screen.tsx
Borrower submits code, then auto-sign-in authenticates the new account
Bridge Cognito token to Flask cookie, then create the loan file
src/lib/auth.api.ts · src/lib/endpoints.ts
PreAuthContext to create the File
The decision engine tracks which ones are complete via satisfy codes.
Borrowers complete lender-requested tasks: docs, identity, bank accounts.
From lender order to borrower completion.
Every borrower action flows through the decision engine.
The borrower fulfills remaining tasks, then the loan moves to closing and funding.
The full borrower path — and where to go next in the series.