Agent rewrote my auth middleware and I almost shipped it
War story from last night. I pointed Cursor at a Next.js app and asked it to "clean up the auth layer." It confidently replaced my session checks with a shiny new middleware that looked fine in the d…