AntiPattern
Callback and Redirect Miswiring
miswired-callback-control-flow
Next.js and auth middleware/server action hooks mis-handle control flow—redirects/exports/throws get swallowed or never wired—so authentication state changes or URL updates silently fail, breaking navigation, session enforcement, and local/dev reliability.