Chapter 03
Remove the feature flags you already rolled out
Every fully rolled out flag is a decision you've already made. Once the flag is fully rolled out, the flag chooses the same code branch every time, and the losing branch becomes dead code. If you don't clean it up, every evaluation is still billed, and the dead code clutters your codebase.
This scout finds the flags you forgot to remove and opens the pull request that takes them out.
What the scout looks at
A rollout hit 100% four months ago, and the evaluations never stopped. A decision you already made and moved on with is still being asked ~52,000 times a day. Which is it?
- If the rollout is still moving, that's a live experiment, not debt. The scout stays quiet.
- If the rollout finished and the evaluations kept going, it signals flag debt. The scout reports.
That second pattern is what the scout looks for – Fig. 1 shows every flag it caught.
| Flag | Rollout | Age | In code | Verdict |
|---|---|---|---|---|
| new-checkout-flow | 100% | 4 mo | 3 files | Remove |
| beta-nav | 0% | 5 mo | 1 file | Remove |
| legacy-export | 100% | 7 mo | not found | Ask first |
The report in your inbox
When your product emits signals that indicate flags have gone stale, a scout opens a report – and Fig. 2 breaks the card down part by part. Click Review and the report opens into Fig. 3: the full evidence, the raw signals, and the button that turns it into a pull request.





