01 // GUEST SESSION HYDRATION
JWT claims merge guest carts without race conditions.
A guest token carries a signed claim set while the live cart lives in Redis. On authentication, both hydrate into one PostgreSQL row inside a locked transaction — double submits collapse to a single merge.
- idempotent merge on replayed auth
- claim expiry checked before hydration
- guest key burned after commit




