Coding & developmentCode cleanupcode
Remove a stale feature flag without changing behaviour
Traces call sites, data variants and rollout assumptions first.

Ready to use
Prompt
For [FEATURE FLAG] in [REPOSITORY], gather the current value in each environment, all reads, tests and related data migrations. Build a behaviour table for on and off states, then propose a removal patch, test updates and rollback. Do not assume the flag is always on from the default value alone. Identify users or records that may still depend on the off path. Return an evidence-backed change list and verification commands. Check that dead-code removal does not remove monitoring or emergency recovery needed by operations.