Hacker

Haresh R

@haresh2103

Joined Nov 2026SDE at ZohoIndia

Projects

  • FlagGuard — an automatic kill switch for Flagsmith feature flags

    Flagsmith Experimentation HackathonNov 2026

    FlagGuard is an automatic kill switch for Flagsmith feature flags. When the code behind a flag starts failing more than the code it replaced, FlagGuard turns the flag off in Flagsmith and alerts the team — in about 15 seconds, with nobody awake. Feature flags let teams ship new code dark and turn it on when ready. But when that new code breaks in production, a human still has to notice, work out which flag is responsible, and switch it off. Overnight that takes hours, and every user in those hours hits the broken path. Automatic kill switches already exist, and teams turn them off. The reason is that they watch a single error rate, so when a database goes down they disable a perfectly healthy feature and make a bad night worse. FlagGuard compares the flag-ON path against the flag-OFF path it replaced: Bug in the new code → 80% vs 1% → 79 points worse → disabled Database goes down → 80% vs 80% → 0 points worse → does nothing Anything that breaks old and new code equally cancels out. That single decision is what makes it safe to leave running in production, and the demo proves both cases.