Hacker
Ayush Rawat
@ayushdrawat1_sys
Elsewhere
Projects
Flag Pilot
Flagsmith Experimentation HackathonNov 2026
We built Flag Pilot, a tool that takes care of what happens after a Flagsmith A/B test ends. Running an experiment is the easy part. When it finishes, someone still has to check whether the result can be trusted, roll out the winner, delete the losing code and clean up the flag. It's tedious and easy to skip, so old flags and dead code pile up. While building this, we also found that Flagsmith's end-experiment call accepted an experiment with no data at all, so nothing was stopping a bad rollout. It's for developers and teams who run experiments in Flagsmith. Flag Pilot is a command-line tool with two Claude Code commands on top. It reads the live results and checks eight rules in plain code: enough users, enough conversions, a fair traffic split, and a clear winner. If the evidence is weak, it refuses to ship. If it's strong, it ships the winner once a person types the experiment's name, checks that users actually receive it, opens a pull request that removes the losing code, and archives the flag after the PR is merged. The AI only explains. The rules decide, and a person approves every step that can't be undone.
CapRock@oldk