Auth / foldkit-auth

What foldkit-auth owns

ConcernOwner
Sign-in, passwords, sessions, and cookiesYielded Auth (Auth.make, Http.make)
Verifying request origin and session cookieAuthServer.resolver; per consumer via AuthServer.host
Mapping a session to your User typeYour principal function, run per request
Row- and field-level authorizationfoldkit-guard, given the resolved principal

Cookie issuance, renewal, and sign-out stay in Yielded Auth's HTTP routes (mounted directly with Http.layer(AppAuth, http) or returned by AuthServer.host). Authorization decisions stay in foldkit-guard, which consumes the principal this package returns.