Hacker
Yashash Mathur
@mathur_yashash
Projects
Requiem
Flagsmith Experimentation HackathonNov 2026
Requiem is for teams that run feature flags and experiments on self-hosted Flagsmith. Every flag ends one of two ways: it breaks and has to be killed fast, or it wins and someone has to delete the old code. Today both are left to people. Requiem handles both. You write one contract per flag in requiem.yaml: an error ceiling, an owner and a date it should be gone by. Kill: Requiem reads the error rate per variant from OpenTelemetry. After three bad checks in a row it rolls everyone back to control, pauses the Flagsmith experiment, marks the flag Unhealthy through Feature Health, annotates Grafana and writes an incident note. Over five measured runs it took 20.7 to 24.8 s from breakage to kill; the rollout call itself takes under 0.3 s. Retire: when an experiment has an answer, it reads Flagsmith's own results, applies plain rules (sample floors, SRM check, chance to win of 0.95) and writes a memo. Nothing changes until a person approves that exact memo by its hash. Then it completes the experiment, ships the winner to everyone and opens a pull request where a LibCST codemod has deleted the losing code. Nag: a CI check fails on flags past their date and lists every file and line that still uses them. Traffic in the demo is load-generated on one laptop; the README says exactly how.