Hacker
Injora Injora
@injora
Projects
flag-janitor: feature flags that clean up after themselves
Flagsmith Experimentation HackathonNov 2026
Every feature flag and A/B test leaves a flag and a dead code path behind, and nobody dares delete them, so codebases fill up with flag debt. flag-janitor is a starter template that runs Flagsmith self-hosted with one command, plus a Claude Code agent that takes a flag through its whole life: a plain-English feature request becomes a multivariate flag, the code ships behind it at 0%, the rollout goes 10 → 50 → 100% with a human approving every gate (and every step verified against what the SDK actually serves to 2000 users), Flagsmith's own lifecycle state detects when the flag is stale, and the agent opens a PR that deletes the flag check and the losing code. The flag is deleted from Flagsmith only after that PR merges. It's for teams who already use feature flags and want them removed as reliably as they're added. Clone, make up, make agent