Hacker

Shubham Naik

@shubham9448

Joined Nov 2026Salesforce Developer at Vanshiv TechnologiesIndia

Elsewhere

Projects

  • Kill Switch Agent

    Flagsmith Experimentation HackathonNov 2026

    I built the Kill Switch Agent, an AI agent that finds the feature flag behind a production incident and switches it off in Flagsmith once a person approves in Slack. The problem: when a new release breaks production, switching a flag off takes seconds, but finding which flag to switch off takes 20–40 minutes of digging through dashboards and releases. Meanwhile customers keep failing: at 1,000 orders an hour and ₹1,500 an order, a checkout failing 30% of the time loses about ₹4.5 lakh in an hour. Who uses it: on-call engineers, SREs and product teams who ship behind feature flags, especially small teams without a 24/7 ops rotation. How it works: 1) Each app reports every request with the flags that user had. Any Express app plugs in with two lines of code, and the Connect page creates the flag and its rollout segment in Flagsmith. 2) Every 10 seconds the agent compares users with each flag ON vs OFF. A flag whose ON group fails 3x more becomes the suspect. 3) Claude investigates with read-only tools, checking the flag through the Flagsmith MCP server, and decides whether it's a bug, an attack or an outage. 4) Guardrails in code reject anything the numbers don't support. 5) A person approves in Slack. Nothing changes before that. 6) The Flagsmith Admin API switches the flag off, and the agent checks that errors actually stopped and posts an incident report. It also can't be tricked: if errors come from a few attackers instead of a real bug, it proposes blocking them rather than rolling back a healthy feature, where a simple error-rate rule would switch the feature off for everyone. Teams can also chat with it in Slack ("turn new_checkout back on for 10% only"), and every change still needs an Approve click.