Commit

a3b7d66

Lesson learned building mybirth.day: a leaked surprise party never shows up as a bug. Nothing throws, nothing gets logged. Someone just sees their own party, and they won't report it, because they'll assume they were meant to. So the tests don't check the guard. They check every surface: the events list, the event page, the invite link, notifications, the calendar, the feed, the API. The honoree gets nothing on any of them and a guest gets everything. Another test fails if any route that takes an event skips the visibility middleware, so a new page can't quietly slip past it. Two leaks that checking React props would have missed: The link a guest pastes into the group chat the honoree is in. The preview comes from the server-rendered head, so a sealed invite unfurls as "You're invited". No image, no name. The honoree opening their own link. They get the same 404 as a link that never existed. A friendlier "this is private" would be the spoiler. mybirth.day/get

commit a3b7d66