---
library: "bootstrap"
slug: "FeatureFlag"
name: "FeatureFlag"
ref: "FeatureFlag#dd17"
hash: "sema:FeatureFlag#mh:SHA-256:dd1786602a5f6a608ac5a4ee986715239a7ee218ef831eb350d9f1dcf563da3b"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/FeatureFlag"
---

# FeatureFlag

Runtime functionality toggle

Society · Protocols

## Mechanism

A toggle point in the code that allows functionality to be enabled or disabled at runtime based on a [Condition](https://semahash.org/vocabularies/bootstrap/patterns/Condition.md). It decouples deployment from release, enabling safer rollouts and A/B testing.

## Failure modes

- Flag outlives its purpose, accumulating unused conditional branches.
- Flag state inconsistent across distributed evaluators.

## Where this came from

—

## Builds on

- [Condition](https://semahash.org/vocabularies/bootstrap/patterns/Condition.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: FeatureFlag#dd17
- Hash: sema:FeatureFlag#mh:SHA-256:dd1786602a5f6a608ac5a4ee986715239a7ee218ef831eb350d9f1dcf563da3b

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/FeatureFlag
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/FeatureFlag.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
