P2c leads-first portal backend

FeatureSecurityService
Shipped
July 5, 2026 at 9:44 PM UTC
Author
Kamo
Commit
bc78afe

- MortgageVerticalResolver: resolves an org's RESIDENTIAL_MORTGAGE LeadMarket, MORTGAGE CommerceMarket, designated default LeadVendorProduct, and EFFECTIVE POS-enabled — one deterministic readiness read backing both the settings gate (#11) and the portal gate (#12). - PortalLeadService: leads-first — createOrGetAnonymousLead (keyed to an AccountGuid cookie, auto-assigned the default product in the mortgage market, fail-closed on readiness — NO signup, NO AppMortgage), patchEstimate, and the sign-in mergeGuidIntoMember (binds the GUID to the member's Account + reparents the lead(s), mirroring assignLeadAccount's history writes). - PortalController **************** lead POST/PATCH, merge}: anonymous (org-from-host, GUID from the trusted BFF X-Kamo-Guid header); merge is ***-bound. Compiles clean. Anonymous routes pass the permitAll filter chain (controllers self-gate).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing