Hacker

Emafido Emmanuel

@emafido

Joined Oct 2026Student at University of LagosNigeria

Elsewhere

Projects

  • Flaggate

    Flagsmith Experimentation HackathonNov 2026

    FlagGate is a pre-flight check that runs before a Flagsmith feature flag is promoted to Production. The problem: teams assume "flag off" means "new code off", but that only holds if every path to the new code actually checks the flag. In April 2026, GitHub shipped a code path that was meant to be behind a feature flag, but the gating was incomplete, and 2,092 pull requests got incorrect merges. FlagGate catches that class of bug before users see it. Who uses it: engineers and release owners who promote flags from Staging to Production. How it works: you run flaggate check <flag> and it goes through four steps: Reads live Staging and Production state from the Flagsmith Management API and shows what would change. Runs 26 test personas through Flagsmith's own local evaluation to show who would flip to the new behaviour. Makes one LLM call (Gemini, structured JSON) that audits the code for paths that reach the new behaviour without checking the flag, and for fallbacks that turn the flag on when Flagsmith is unreachable. A deterministic verifier then opens every cited file and line and drops any finding whose quoted code isn't really there, so hallucinated findings never reach the human. Asks a human to decide: promote fully, 10% canary, or block. Before any write, it snapshots Production, applies the change, reads it back to verify, logs it to an append-only audit log, and offers one-command rollback. Everything that touches Production is deterministic. The LLM only reads code. In our eval it caught both seeded bugs in 3 of 3 runs, with 0 rejected citations and 0 false findings on the clean flag.