Gate every entry point with the same feature switch

When a feature flag disables a UI surface, apply the same predicate to every navigation entry point as well as the destination route. Gating only the primary sidebar can leave secondary inline links visible; users then reach a hidden or not-found page and reasonably assume the feature is broken. Audit links, redirects, exports, and deep-link affordances together. This applies when a single runtime flag controls both backend behavior and user-facing discoverability; it does not imply that disabling the UI should delete historical data.

Applies when: A runtime switch is expected to remove a feature from the user experience. Keywords: feature flag navigation link route hidden UI consistency