feature flag
A switch controls whether a behavior is enabled.
Use this when A new behavior needs a staged rollout or a quick way to disable it.
without the term
“I want to ship the new checkout but only turn it on for some users first, and be able to switch it off instantly if something goes wrong, without redeploying.”
with the term · How do you ask a model for feature flag?
Put this behavior behind a feature flag. Verify enabled and disabled paths, including side effects, and document when the flag can be removed.
What is feature flag?
The new code ships turned off and is enabled per user, percentage, or environment from configuration. Turning it off doesn't need a deploy.
Why does feature flag matter when vibe coding?
A flag can hide the UI while leaving unintended side effects active.
How do you do feature flag?
Define the flag’s scope, default, owner, and removal condition; exercise both branches.
What goes wrong with feature flag?
Treating a rollout switch as an authorization check.