What problem does it solve? Codebases accumulate feature flags, environment switches, and boolean guards that have held one value everywhere for a long time, leaving dead branches and obsolete plumbing that clutter the code and slow maintenance. ## Core Features & Use Cases - Gate Discovery: Greps the target package for gate shapes such as config.features constants, process.env boolean switches, and is*Enabled guards. - Deliberate vs Forgotten Triage: Proves a flag is forgotten by checking every setter and reader, .env.example, deploy configs, DO_NOT_DO.md files, ADRs, and git history before touching it. - Safe Removal and Shipping: Inlines the winning path, deletes the dead branch, flag definition, and obsolete tests, then ships each removal individually via /ship. - Use Case: A feature rolled out months ago still sits behind a flag set to true in every environment; invoke this routine to remove the flag, inline the enabled path, and ship the cleanup as one verified change. ## Quick Start Ask the agent to run /routine-shipped-feature-inliner on a specific package to find a fully shipped feature flag and remove it.