2026-11-28 · ~20 min read · Decision records

The engineering SaaS feature flag lifecycle governance decision record: why the flag lifecycle authorization model you chose determines your controlled rollout accountability ceiling and your experiment-induced production incident attribution coverage surface

Engineering feature flag decisions are not decisions about which flag management platform the company uses — whether the team deploys LaunchDarkly, Unleash, Flagsmith, or a homegrown boolean table in the application database — or which targeting capabilities are configured for the rollout interface. Those decisions are made when the flag system is provisioned and are encoded in the SDK configuration and the targeting rules. The feature flag lifecycle governance decision record covers the adjacent authority surface: who is authorized to decide that a feature flag should be enabled in a production customer-facing rollout; what the registry requirements are for every flag created in the flag management system — the minimum documented scope, owner, enabled customer segment, and retirement trigger that the organization requires before a flag is enabled beyond internal testing; and how the organization confirms that every enabled flag in production has an accountable owner, a documented rollout authorization, and a retirement plan that the quarterly governance review can audit. These decisions cover who has the mandate to approve a flag's production enablement for customer-facing segments — not any engineer with access to the flag management console and the judgment that the new code path seems ready, but a designated authority whose approval initiates the organization's official record of which customers were included in the rollout and on what authorization basis; what the minimum documentation the organization requires for a flag to be enabled beyond the internal testing segment is, expressed as specific registry fields that the flag owner must complete before the rollout proceeds rather than an informal understanding that flags need to be "ready" before they ship; and how the organization confirms that enterprise customers with performance, isolation, or feature parity contractual obligations are not included in experimental rollouts without the VP Engineering's explicit review of the rollout plan against those obligations. They are most often made by default: through the assumption that any engineer with access to the flag management console can enable a flag for any customer segment when the feature seems ready, that a flag registry with a name and a boolean state is sufficient documentation for a production incident post-mortem, and that the customer segment targeting in the flag management system is equivalent to a rollout authorization plan for enterprise customers who have negotiated contractual protections on the specific behavior the flag controls. They become visible when a production incident's post-mortem traces the root cause to a feature flag enablement and the organization cannot identify which engineer enabled the flag, what the flag was intended to do, which customers were in the enabled segment, or whether the flag had caused a previous incident before it was re-enabled — because none of that information was required to enable the flag and none of it was recorded in the flag management system's audit log in a form the incident post-mortem can query; when an enterprise customer's customer success manager receives an escalation that the customer's webhook delivery SLA was breached during the week the platform was running an A/B experiment on a new delivery mechanism, and the VP Engineering investigating the escalation discovers that the enterprise customer was included in the experiment's 50% rollout segment without any review of the customer's contractual delivery obligations — because the developer who set up the experiment's targeting rule had no process for checking the enterprise customer obligation registry before enabling the flag; and when a quarterly flag registry audit discovers that the flag management system contains 847 flags of which 312 are enabled in production, and for 189 of those enabled flags the documented owner is an engineer who left the company 14 months ago, with no retirement trigger, no incident history, and no customer segment documentation that would allow a new engineer to safely evaluate the flag's relevance to a production incident or a customer migration. This is distinct from the release freeze governance decisions, which cover the authority surface for protecting the production environment from changes during high-risk windows — the release freeze governance model determines whether a flag state change is a production change subject to the freeze's exception committee or exempt as a targeted rollout; the feature flag lifecycle governance model determines whether the flag's creation, rollout, and retirement were authorized and documented before the freeze question becomes relevant, and whether the rollout's customer segment was validated against enterprise customer obligations before any freeze exemption was claimed.

What engineering feature flag lifecycle governance decisions actually govern

The engineering feature flag lifecycle governance decision record does not cover the technical design of the company's flag evaluation architecture — whether the flag management system evaluates flags client-side with a local SDK cache, server-side with a flag evaluation service, or through a database query in the application's request path. Those are infrastructure design decisions made when the flag system is built, and they determine the flag evaluation latency and the consistency model for flag state changes across application instances. The feature flag lifecycle governance record does not address these properties.

The engineering feature flag lifecycle governance decision record covers the authority surface that sits above the flag evaluation architecture: once the flag system exists and engineers can create and modify flags through the flag management console, who is accountable for deciding that a specific flag should be enabled for a specific customer segment, what documentation is required to make that decision auditable, and what the lifecycle management requirements are that ensure flags do not accumulate in the enabled state indefinitely without a documented owner, scope, or retirement plan. The flag management console does not know whether a customer in the rollout segment has a contractual performance obligation that the flag's new code path may violate; a flag state change event in the management system's activity log does not know whether the engineer who made the change had the authority to do so for the customer segment they targeted; a flag registry with 847 entries does not know which of those entries represent flags with active, validated rollout plans and which represent abandoned experiments left enabled after the engineer who created them changed teams two years ago. The flag management system manages the flag evaluation mechanics; the lifecycle governance record manages the authorization and accountability for the flag state decisions that the flag management system cannot make on its own.

The engineering feature flag lifecycle governance decision record also does not cover the product experimentation strategy decisions about what the company's approach to A/B testing is — whether the company runs randomized controlled trials, sequential rollouts, or ring-based deployments; what the statistical significance thresholds are for experiment conclusions; or how the product team interprets experiment results when deciding whether to ship a feature permanently. Those are product and data science decisions made when the experimentation program is designed. The feature flag lifecycle governance record is a parallel concern: the experimentation strategy defines which hypotheses get tested and how results are interpreted; the governance record defines the authority structure that ensures the customer segments used for those experiments are authorized under a process that checks enterprise customer obligations, that the experiments are documented in the flag registry with a scope and owner that allows the organization to attribute a production incident to a specific experiment without requiring the experimenter to still be on the team, and that experiments that conclude — in either direction — result in flags being either permanently enabled with a rollout completion event or retired with a source code cleanup, rather than accumulating as permanently enabled or dormant-but-not-disabled entries in a registry that grows too large to audit quarterly.

What the feature flag lifecycle governance decision record covers is the authority surface for making three sequential determinations that the organization's production rollout accountability and enterprise customer contractual compliance require a named authority to make: first, that any flag enabled in a customer-facing production segment was authorized by the designated authority for that rollout tier — that the organization can identify, from the flag registry's audit log, which engineer's approval initiated the production rollout, what customer segment was included, and what the rollout plan specified as the monitoring threshold, rollback trigger, and retirement condition before the flag was enabled; second, that the customer segment targeted in the rollout was reviewed against the enterprise customer obligation registry before the flag was enabled, confirming that no enterprise customer whose contractual obligations are relevant to the flag's behavior was included in the rollout without the VP Engineering's explicit approval of a rollout plan that addresses those obligations; and third, that every flag in the enabled state in the flag management system has a current, verified registry entry with a named owner, a documented enabled customer segment, and either a retirement trigger or an explicit permanent designation — so that the organization's quarterly governance review can produce a complete accounting of every flag's authorization history and the basis for its continued enablement, and can identify flags that were enabled without documented authorization, that have been in the enabled state past their intended rollout window, or that have been orphaned by owner transitions without being re-assigned.

Failure story 1: the organization with no flag lifecycle governance

A 20-person B2B SaaS company provides a developer tools platform for mid-market engineering teams — the platform provides repository analytics, code quality monitoring, and dependency graph visualization. The company uses a lightweight feature flag system: a boolean flags table in the application's PostgreSQL database, with a simple admin panel that any engineer with admin access can use to toggle flags on or off for all customers simultaneously or for a named customer account. When a developer finishes implementing a new feature or optimization, they enable the corresponding flag in production and announce it in the engineering Slack channel. There is no flag registry beyond the flags table itself — no documented owner, intended scope, or retirement plan per flag. There is no audit log beyond the flags table's updated_at timestamp, which records when the flag was last modified but not by whom.

In the company's third year, a developer implements a database query optimization for the dependency graph visualization feature. The optimization rewrites the graph traversal query to use a recursive CTE rather than the existing iterative approach, which reduces median query time from 340ms to 95ms in the development environment against a test repository graph with 2,400 nodes. The developer enables the flag in production on a Tuesday morning before the weekly team standup to demonstrate the performance improvement. The flag is enabled for all customers simultaneously — there is no process for enabling the flag for a subset of customers first.

The dependency graph traversal query runs in a shared database connection pool. Under the development environment's test graph of 2,400 nodes, the recursive CTE completes in 95ms. Under production, the platform's largest customer accounts have repository graphs with 180,000 to 420,000 nodes — an order of magnitude larger than the test graph the optimization was developed against. The recursive CTE's stack-based traversal acquires and holds row-level locks on the nodes it visits during traversal, releasing them only after the entire traversal completes. For a 420,000-node graph, the traversal holds locks on tens of thousands of rows for 4 to 12 seconds per query. Five customers trigger dependency graph requests in the 10 minutes after the flag is enabled. Each request acquires a long-lived lock set on the graph nodes table. The lock contention cascades: subsequent graph requests queue waiting for locks that are held by the in-progress traversals. Within 23 minutes of the flag being enabled, the dependency graph endpoint is timing out for all customers — the connection pool is fully consumed by queries waiting for locks that are held by earlier queries that have not yet completed their recursive traversal of the largest graph.

The on-call engineer is paged at 9:41 AM. The on-call engineer investigates the connection pool exhaustion and identifies the lock contention in the PostgreSQL slow query log. The on-call engineer cannot immediately identify which code path is causing the recursive lock behavior — the slow query log shows the query structure but not which feature flag enabled it. The on-call engineer disables all feature flags in the admin panel to rule out a recent change. The connection pool clears within 4 minutes of all flags being disabled. The dependency graph endpoint recovers. Total degradation window: 31 minutes for all customers.

The post-incident review's first finding: the flags table's updated_at timestamp shows that two flags were modified in the 30 minutes before the incident began, but the timestamp does not record which engineer made the change or through which interface. The engineering Slack channel shows that the developer mentioned enabling "the graph optimization flag" at 9:17 AM, 24 minutes before the incident began — the team can correlate the incident to the flag from the Slack message, but the correlation requires a manual search of the Slack history rather than a flag state audit log that the incident post-mortem process can query directly. The post-incident review identifies the recursive CTE's lock behavior as the root cause, notes that the flag should not have been enabled for all customers simultaneously before being tested against production-scale graphs, and closes with the action item: "test the optimization against a production-scale graph before re-enabling."

Two months later, a different developer is working on the dependency graph visualization feature. The flags table shows a flag named graph_optimization_v1 in the disabled state. The developer's understanding of the flag is that it was disabled during development work and was not yet ready. The developer's context does not include the incident post-mortem — the post-mortem was written in a Notion document that the developer's onboarding documentation did not link. The developer enables the flag on a Thursday afternoon. The incident recurs: connection pool exhaustion, lock contention, 29-minute degradation window for all customers. The post-incident review is functionally identical to the first. The root cause is the same flag, the same code path, the same production-scale lock behavior. The only difference is that the second incident is now in the incident log alongside the first, and the VP Engineering, reviewing the two incidents, recognizes that the flag registry's absence of an incident history field is the structural gap that allowed the second incident to occur: there was no mechanism for the developer who re-enabled the flag to discover that the same action had caused a production incident two months earlier.

Failure story 2: the organization with a flag system but no rollout authorization model

A 38-person B2B SaaS company provides a workflow automation platform for operations and customer success teams — the platform manages workflow triggers, task routing, SLA tracking, and integration webhooks that deliver workflow events to customers' internal systems. The company uses LaunchDarkly for feature flag management. All engineers have editor access in LaunchDarkly, allowing them to create flags, modify targeting rules, and enable or disable flags for any customer segment without a review or approval process. The company has a flag registry convention: flags are named with a prefix indicating their category (feat/ for features, exp/ for experiments, ops/ for operational toggles), and each flag's description field should include the owner's name and the flag's intended scope. In practice, the description field is populated inconsistently — some flags have detailed descriptions, most have one-line descriptions written at creation that do not reflect changes made to the flag's scope or rollout plan after the initial creation.

The company's VP of Engineering decides to run an A/B experiment on a redesigned webhook delivery mechanism. The existing mechanism delivers webhooks synchronously in the application's request path, with a single retry on failure. The new mechanism delivers webhooks asynchronously from a dedicated delivery worker pool, with exponential backoff retry logic and a dead letter queue for failed deliveries. The VP Engineering's hypothesis is that the asynchronous mechanism will improve the platform's throughput under high webhook volume by decoupling webhook delivery from the request path's response time. A developer implements the new mechanism behind a LaunchDarkly flag, exp/async-webhook-delivery-v2.

The developer sets up the experiment's targeting rule in LaunchDarkly to enable the flag for 50% of the platform's active customer accounts, selected by a hash of the customer account ID. The developer enables the flag in the LaunchDarkly UI on a Monday morning and sets a flag description: "exp/async-webhook-delivery-v2: test async delivery worker. Owner: [developer name]. Enable for 50% rollout, review Friday." The developer monitors the experiment through LaunchDarkly's event stream and the platform's webhook delivery latency dashboard. The median delivery latency for the control group (synchronous delivery) is 2.1 seconds. The median delivery latency for the experiment group (async delivery) is 3.7 seconds in the first 24 hours — higher than expected, but the developer attributes the increase to the async worker pool's warm-up behavior and continues the experiment.

The company has 12 enterprise customers on premium contracts. Three of those enterprise customers — a 95-person financial operations firm, a 110-person logistics company, and a 78-person healthcare technology firm — have contracts that specify a webhook delivery SLA: "platform will deliver webhook events to the customer's designated endpoint within 10 seconds of the triggering event, measured from the event's creation timestamp to the first successful HTTP 200 acknowledgment from the customer's endpoint, for 99% of events in each rolling 30-day window." The developer who set up the experiment's targeting rule did not consult an enterprise customer obligation registry before configuring the 50% rollout — no such registry exists in the form the developer could query. The developer's awareness of enterprise customer terms was limited to the accounts they personally worked with during onboarding; the three affected enterprise customers were managed by a different customer success manager. By the hash-of-account-ID targeting rule's probability distribution, all three enterprise customers fell in the 50% experiment group.

By Wednesday, the VP Engineering receives an escalation from the customer success manager for the financial operations firm. The customer's VP of Operations has flagged that their webhook delivery latency for the past two days has been consistently above 10 seconds: their internal integration polls the platform's webhook events and triggers a workflow step in their internal operations tool, and the workflow step has been timing out at the customer's configured 10-second callback limit. The customer's VP of Operations is asking whether the platform has changed something in the webhook delivery path in the past 72 hours.

The VP Engineering investigates and identifies that exp/async-webhook-delivery-v2 is running. The VP Engineering queries the LaunchDarkly customer segment for the experiment and discovers that the financial operations firm, the logistics company, and the healthcare technology firm are all in the experiment's enabled segment. The VP Engineering disables the flag immediately and checks the per-customer delivery latency data: for the three enterprise accounts in the experiment group, the median webhook delivery latency for the past 48 hours was 14.3 seconds — well above the 10-second SLA. The experiment's worker pool, in production, processes webhooks from all 50% of the experiment group's accounts through a shared worker queue; during peak usage windows, the queue depth grew to 180 seconds of backlog, and delivery latency reflected the queue depth rather than just the network round-trip time. The 3.7-second median the developer observed in the first 24 hours was measured during off-peak hours; the peak-hour latency had been climbing above 10 seconds since Tuesday evening without triggering an alert because the monitoring dashboard displayed the fleet-wide median delivery latency, not the per-customer percentile latency that the enterprise SLA required.

The VP Engineering's investigation cannot determine when the three enterprise customers were added to the experiment's customer segment. LaunchDarkly's audit log shows that the flag was enabled on Monday morning with a 50% rollout rule by hash-of-account-ID, but it does not show which specific accounts were evaluated as being in the experiment group at the time the rule was created — the account membership in the 50% segment is determined dynamically by the hash function, not by a named list of accounts in the LaunchDarkly configuration. The VP Engineering cannot answer the customer's question of "when did this change take effect for our account?" with a specific timestamp from the flag system's audit data.

The company's post-incident review produces a findings document with two structural findings. The first finding is the absence of a rollout authorization process for experiments that affect enterprise customer accounts: the developer who set up the experiment had no mechanism for identifying whether any customer in the targeting segment had a contractual delivery SLA that the experiment's new delivery mechanism needed to be validated against before the flag was enabled for that segment. The second finding is the absence of per-customer monitoring for the enterprise SLA threshold: the platform's webhook delivery latency dashboard displayed the fleet-wide median, which masked the per-customer latency distribution that the enterprise contracts required the company to monitor and maintain. The company cannot demonstrate to the financial operations firm, the logistics company, or the healthcare technology firm how long their delivery SLAs were being breached before the experiment was identified and the flag was disabled.

Failure story 3: the organization with a registry but no lifecycle model

A 55-person B2B SaaS company provides an enterprise compliance platform for security and compliance teams — the platform manages SOC 2, ISO 27001, and HIPAA compliance programs, automates evidence collection from integrated tools, and generates audit packages for external auditors. The company uses a mature feature flag system: a dedicated flag management service with a web UI, a registry stored in the company's internal wiki, and naming conventions enforced at flag creation time. The registry has been maintained for three years and contains 847 flag entries. Each entry includes the flag name, the flag category, the owner at the time of creation, a description of the flag's intended scope, and the flag's creation date. The registry does not include a retirement trigger field — it was not part of the original registry template — and the owner field has not been systematically updated when engineers changed teams or left the company. Of the 847 flags, 312 are in the enabled state in the flag management system. A registry audit performed 14 months ago found that 189 of the 312 enabled flags had owners who were no longer on the engineering team, but the audit's remediation was not completed: the VP Engineering's action item was "assign a new owner to each orphaned flag," but the assignment process required each orphaned flag to be manually reviewed and assigned, and the review was deprioritized across five quarterly planning cycles.

The company's flag registry contains, among its 847 entries, a flag named exp/trial-evidence-parser-xml-v2. The flag was created 22 months ago by a backend engineer who was prototyping a new evidence parser for XML-formatted evidence artifacts from a specific category of compliance integration tools. The prototype was written to handle the JSON schema used by the platform's primary integration connectors; support for the XML format used by an older category of on-premise integration connectors was listed as a TODO in the prototype's source file but was never implemented — the engineer who created the prototype was reassigned to a different project before completing the XML parser path. The flag was left in the disabled state in the flag management system. The registry entry for exp/trial-evidence-parser-xml-v2 reads: "Owner: [departed engineer]. Test new evidence parser. Created 22 months ago." There is no field indicating that the XML code path is incomplete.

In the company's current quarter, a backend engineer working on the evidence ingestion service is reviewing the codebase and notices exp/trial-evidence-parser-xml-v2 in the disabled state in the flag registry. The engineer is working on a performance improvement for evidence ingestion and hypothesizes that the trial parser might be a faster path for JSON evidence artifacts — the registry description says "new evidence parser" without specifying that the prototype was abandoned or that the XML path was incomplete. The engineer enables the flag in the flag management system to test the new parser's behavior. The flag is enabled for all customers simultaneously — there is no production testing segment for the flag management system's staging environment, and the engineer's assumption is that the disabled flag represents a completed but undeployed feature.

The trial parser handles the JSON evidence format correctly. The platform's primary integration connectors, which emit JSON artifacts, continue to process evidence without errors. However, 23 of the platform's customer accounts use on-premise integration connectors that emit evidence artifacts in an XML format — a schema defined by a category of enterprise security tooling with an installed base at large regulated enterprises. The trial parser's XML code path throws an unhandled exception when it encounters an XML artifact. The exception is caught by the evidence ingestion service's global exception handler, which writes a zero-byte JSON response to the evidence storage layer and exits with a success status code — the exception handler was written to prevent the ingestion service from returning an HTTP 5xx status that would trigger a retry storm, but the design decision to return a success status code for parse failures means that the evidence ingestion service's monitoring metrics show no error rate increase when XML parse failures occur. Evidence artifacts from the 23 customers' XML connectors are silently discarded — stored as zero-byte JSON records in the evidence storage layer — for the next 8 hours.

The engineer who enabled the flag does not observe an error rate increase in the evidence ingestion service's monitoring dashboard and does not receive a paging alert. The monitoring is configured to alert on HTTP 5xx error rates; the exception handler's success-code response means that the XML parse failures do not register as errors in the monitoring system. After 8 hours, an on-call engineer investigating an unrelated database query regression notices, while reviewing the evidence storage service's logs, an unusually high count of zero-byte evidence records for the current day. The on-call engineer correlates the zero-byte records to the XML-formatted evidence artifacts from the on-premise connector integration category and flags the issue to the VP Engineering. The flag is disabled. The evidence storage layer's zero-byte records are identified and queued for re-ingestion from the source connectors. Total silent failure window: 8 hours and 23 minutes.

The post-incident review's first finding: the evidence ingestion service's exception handler was designed to prevent retry storms but its design decision to return a success status code for parse failures was made without considering the downstream consequence that parse failures would be invisible to monitoring. This is an architectural finding that the post-incident review flags for the platform's error handling model. The second finding is more directly attributable to the flag lifecycle model's absence: the engineer who enabled exp/trial-evidence-parser-xml-v2 had no mechanism for determining that the flag's implementation was incomplete. The registry entry did not indicate that the XML path was a TODO, did not indicate that the original owner was no longer on the team, and did not include a retirement date. The flag had been dormant for 22 months with no indicator that it was abandoned rather than completed and pending deployment. Without a lifecycle model that required flags in the disabled state for more than 90 days to be reviewed for retirement or status update, the flag remained in the registry as an apparently valid feature waiting to be enabled.

The post-incident review's third finding emerges over the following four weeks: the platform's enterprise customers include 11 accounts that are actively preparing for SOC 2 Type II audits in the current quarter. These 11 accounts depend on the platform's automated evidence collection to assemble audit packages by the auditor's specified evidence cutoff date. Five of the 11 audit-preparation accounts use on-premise XML connectors. The 8-hour failure window caused evidence collection jobs for 14 customers to fail — not all of them are in the audit-preparation cohort, but 7 of the 14 are. The evidence collection jobs' failure mode is a silent failure: the job's success status code means that the evidence job's monitoring record shows the job completed successfully, with no indication that the evidence records it wrote are zero-byte placeholders rather than valid evidence artifacts. The compliance leads at the 7 audit-preparation customers discover the missing evidence records not from a notification from the platform but from their own review of the audit package's evidence inventory in the weeks before their auditor's cutoff date — in some cases, 11 to 19 days after the failure occurred. Three customers miss their scheduled auditor evidence submission window because the gap in their evidence history cannot be reconstructed from their source systems on the timeline the auditor's review schedule requires.

The two structural properties these stories share

Each of these three stories exposes one of the same two structural properties: a controlled rollout accountability ceiling that the organization cannot see past, and an experiment-induced production incident attribution coverage surface with a gap the organization did not know existed until a production incident or an enterprise customer contract review made it visible.

The controlled rollout accountability ceiling is bounded by three decisions: the flag creation authorization model (whether the organization requires a minimum set of documented fields before a flag can be enabled in a customer-facing segment — not an optional description field that engineers populate inconsistently, but a mandatory registry entry with a named owner, a documented implementation scope that specifies which production data formats and code paths the flag activates, an enabled customer segment that is validated against the enterprise customer obligation registry before the flag is enabled, and a rollout plan that specifies the monitoring threshold and rollback trigger before the flag leaves the internal testing segment), the flag rollout authorization model (whether a designated authority with the mandate to approve rollouts for each customer tier has been identified and the tier boundaries have been defined in advance — specifically whether the second tier's rollout plan requirement includes a systematic check of the enterprise customer obligation registry before the rollout proceeds, so that the organization cannot enable a flag for 50% of customers by hash without confirming that the 50% segment does not include enterprise customers whose contractual obligations the flag's behavior must be validated against), and the flag state audit log model (whether every flag state change — enabled, disabled, targeting rule modified, rolled back — is recorded in a tamper-evident audit log that the incident post-mortem process can query in a structured way to identify all flag changes in a specified time window, with the engineer who made each change, the customer segment affected, and the authorization reference for the change, so that the first failure story's pattern of a flag being re-enabled by a different engineer two months after causing an incident — without knowledge of the incident history — is structurally prevented by an audit log that the registry requires to be reviewed before re-enablement).

The experiment-induced production incident attribution coverage surface is bounded by two decisions: the flag lifecycle and retirement model (whether the organization has a systematic process for ensuring that every flag in the disabled state past a defined dormancy threshold is reviewed for retirement or status update — that flags do not accumulate as apparently valid features waiting to be enabled, as in the third failure story's registry of dormant flags including one with an incomplete implementation whose incomplete status was not documented anywhere in the registry — and whether flags that are retired are archived with their implementation scope, incident history, and retirement rationale so that if the same feature is re-implemented in a future flag, the new flag's owner can reference the previous flag's history) and the feature flag governance review model (whether the quarterly and annual governance review includes a registry accuracy audit confirming that every enabled flag's owner field names a current employee, a flag age review that escalates flags enabled past their retirement trigger to the VP Engineering for a retirement decision, an incident attribution audit confirming that every incident whose root cause involved a flag state change has the incident reference recorded in the registry, and an enterprise customer rollout compliance audit confirming that every flag currently enabled for enterprise customers was authorized under the third-tier approval process with a documented rollout plan and customer success manager acknowledgment).

These two structural properties address different governance gaps: the controlled rollout accountability ceiling governs whether the organization can produce an authoritative record of its flag rollout decisions — that every customer-facing rollout was authorized by the designated authority for that rollout tier, that the customer segment was validated against enterprise customer obligations before the flag was enabled, and that the flag's incident history is recorded in the registry in a form that prevents a different engineer from re-enabling the same flag without knowledge of its previous production impact; the experiment-induced production incident attribution coverage surface governs whether the organization's flag registry remains auditable as the team and the flag inventory grow — whether every enabled flag in the flag management system has a current, verified registry entry that allows the organization to attribute a production incident to a specific flag without requiring the flag's original owner to still be on the team, and whether the quarterly governance review can produce a complete accounting of every flag's authorization status and retirement plan.

The five ADR sections in the engineering feature flag lifecycle governance decision record

An engineering feature flag lifecycle governance decision record covers five decisions. Each has a named owner and a review cadence.

ADR section 1: flag creation and naming authorization model

The flag creation and naming authorization model defines the minimum registry entry requirements that must be completed before a flag is enabled in any customer-facing segment, the naming convention that makes flags' category, owner, and lifecycle state identifiable from the flag name alone, and the access control model that prevents flags from being enabled in customer-facing segments without a completed registry entry. The model's scope includes: the minimum registry entry fields (at the time of flag creation, the following fields must be completed before the flag is enabled beyond the internal testing segment: flag name in the format category/feature-description-vN where category is feat for permanent feature rollouts, exp for time-limited experiments, or ops for operational toggles; the flag's designated owner, identified by name and team; the flag's implementation scope — a written description of what production behavior the flag controls in its enabled state, specifically identifying the data formats the flag's code path handles, the API endpoints whose behavior the flag modifies, and any customer integration types whose compatibility with the flag's enabled behavior should be validated before the flag is enabled in a customer-facing segment; the flag's enabled customer segment — initially set to the internal-testing-only designation, with the production customer segment updated when the rollout is authorized under the rollout authorization model; the flag's retirement trigger — either a specific date, a specific product milestone such as "all customers migrated to the new evidence parser format," or the explicit permanent designation with a written rationale; and the incident history field — initially empty, updated by the post-incident review process when any incident's root cause or contributing factors include this flag's state); the naming convention enforcement (the flag management system enforces the naming convention at creation time — flags that do not conform to the naming convention cannot be created; the category prefix makes the flag age review's identification of dormant experiments straightforward: all flags with the exp/ prefix that have been in the enabled or disabled state for more than 90 days are eligible for the retirement review regardless of whether their registry entry includes a retirement date; the ops/ prefix identifies operational toggles that require a separate review for safe retirement, since these flags typically control behavior that may have dependencies in the production infrastructure configuration rather than just in the application code path); and the registry entry completion enforcement (a flag without a completed registry entry — specifically, without an owner, an implementation scope, and a retirement trigger — cannot be enabled in a production customer-facing segment; the flag management system's permission model enforces this by restricting customer-segment targeting rule modifications to flags with completed registry entries; this enforcement is what prevents the third failure story's pattern where exp/trial-evidence-parser-xml-v2 remained in the registry for 22 months with a one-line description written at creation without any mechanism requiring the incomplete implementation to be documented before the flag could be enabled in production).

ADR section 2: flag rollout and customer inclusion authorization model

The flag rollout authorization model defines the tiered approval authority for enabling a flag in each type of customer-facing segment, the enterprise customer obligation check that is required before any rollout proceeds to a segment that may include enterprise customers, and the rollout plan documentation requirements for each tier. The model's scope includes: the first-tier rollout authority (the flag's designated owner may enable a flag for a named set of internal test accounts or for a named list of customers who have opted into early access; first-tier rollouts require a rollout plan in the registry entry specifying the accounts in scope, the monitoring alert threshold that will trigger a rollback review, and the rollback procedure; first-tier rollouts may not include any customer account that is in the enterprise customer obligation registry, even if the customer is classified as a standard contract customer, because the second failure story's pattern required checking the obligation registry for all accounts in the rollout segment, not only accounts designated as enterprise); the second-tier rollout authority (the flag's designated owner may enable a flag for a percentage of standard contract customers or for a named customer cohort that has been confirmed to include no enterprise customers in the obligation registry; second-tier rollouts require a written rollout plan approved by the VP Engineering, specifying the targeting rule and percentage, the enterprise obligation check confirmation, the monitoring alert threshold, the rollback trigger, and the retirement condition; the enterprise obligation check confirmation is a mandatory field in the second-tier rollout plan — the flag owner must document that they have queried the enterprise customer obligation registry for the flag's implementation scope and confirmed that no enterprise customers in the registry have contractual obligations relevant to the flag's behavior; the obligation check field is not satisfied by the flag owner's subjective assessment that the flag "probably doesn't affect enterprise customers" but requires the customer success lead to confirm that no enterprise accounts in the registry have obligations in the flag's scope); the third-tier rollout authority (enabling a flag for any customer segment that includes an enterprise customer account from the obligation registry requires the VP Engineering's written approval of the rollout plan; the VP Engineering's approval is conditional on three confirmations: first, that the flag's implementation has been validated against the production data volumes and formats used by the enterprise customer — specifically against the data formats and integration types listed in the flag's implementation scope field; second, that the flag's behavior in its enabled state satisfies the enterprise customer's contractual obligations for the workloads, API endpoints, and data formats the flag modifies; and third, that the enterprise customer's customer success manager has acknowledged the rollout and confirmed that the customer's integration configuration is compatible with the flag's enabled behavior; the VP Engineering's approval of a third-tier rollout plan is recorded in the flag registry as the authorization reference for the enterprise customer segment's inclusion, allowing the organization to identify, at any subsequent audit or incident post-mortem, who authorized the enterprise customer's inclusion in the rollout and what the validation basis was for that authorization); and the rollout expansion model (a flag that has been enabled for a first-tier or second-tier segment and is proposed for expansion to a larger segment or to an enterprise customer segment is treated as a new rollout authorization for the expanded tier — the expansion requires a new rollout plan submission at the authorization tier appropriate for the expanded segment, with the monitoring data from the existing rollout as an input to the VP Engineering's review; the expansion plan must address how the monitoring data from the existing segment demonstrates that the flag's behavior is safe for the expanded segment's customer profiles, data volumes, and integration types).

ADR section 3: flag state audit log and attribution model

The flag state audit log model defines the structured audit trail that every flag state change must produce, the retention requirements for that audit data, and the incident attribution query capability that the audit log must support. The model's scope includes: the flag state change event structure (every flag state change — creation, enabled for first-tier segment, rollout plan approved, enabled for customer segment, targeting rule modified, targeting rule expanded, rolled back by on-call, disabled for investigation, disabled permanently, retired — must produce an audit event in an append-only log that records: the flag identifier, the event type, the timestamp at UTC resolution, the engineer's identity from the flag management system's authentication session, the customer segment affected by the change expressed as the targeting rule criteria rather than just the percentage, the authorization reference — the rollout plan identifier or the incident reference that authorized the change — and the flag registry entry's version at the time of the change; the event structure is designed so that an incident post-mortem can query the audit log for all flag state changes in a specified time window and identify every flag whose targeting rule changed, without requiring any manual search of the Slack history, Git history, or the flag management system's last-modified timestamps); the audit log retention requirement (flag state change events are retained for a minimum of 24 months; the retention period is set to cover the enterprise customer contract review period, because an enterprise customer's annual or biannual contract renewal may reference incidents from the previous 18 months, and the organization must be able to produce the flag state audit log for the period in question to attribute incident root causes to specific flag changes and demonstrate the rollout authorization for any flag that was enabled for the enterprise customer's account during the review period); the incident attribution query specification (the flag management system exposes a query interface that accepts a time window and returns all flag state changes in that window; the incident post-mortem process requires this query to be run as the first step of any production incident investigation, so that the incident post-mortem's root cause analysis begins with a complete list of flag changes in the incident window rather than a manual reconstruction from Slack and Git history; the query result includes the authorization reference for each change, so that the post-mortem can confirm whether the change was authorized under the correct rollout tier or identify an unauthorized change as a governance model violation); and the rollback and re-enablement audit requirements (when the on-call lead rolls back a flag during an incident, the audit event records the on-call lead's identity, the incident reference, and the monitoring data that triggered the rollback; when a flag that was disabled during an incident is subsequently re-enabled, the audit event records the VP Engineering's re-enablement approval, the incident post-mortem reference confirming the incident's root cause has been analyzed, and the updated rollout plan that addresses the root cause; the re-enablement audit requirement is the structural control that prevents the first failure story's pattern where the same flag caused two identical incidents in two months, because the re-enablement event cannot be recorded without a VP Engineering approval reference that in turn requires an incident post-mortem reference demonstrating the root cause has been analyzed and the rollout plan updated).

ADR section 4: flag lifecycle and retirement model

The flag lifecycle and retirement model defines the dormancy thresholds that trigger a mandatory retirement review, the retirement procedure that archives the flag's history in a form that future engineers can reference, and the orphaned flag remediation process for flags whose registry entries have out-of-date owners. The model's scope includes: the dormancy thresholds for mandatory retirement review (a flag in the disabled state for more than 90 consecutive days is flagged in the quarterly governance review as a dormancy-review candidate; the flag's designated owner must confirm one of three dispositions within 30 days of the quarterly review: the flag is pending a planned re-enablement with a specific rollout date in the next quarter's planning horizon, the flag is being retired as an abandoned experiment or a superseded feature rollout, or the flag is a permanent operational toggle that will never be enabled in production but is maintained in the registry for reference; a flag that reaches 180 days in the disabled state without a confirmed disposition is automatically retired at the next quarterly review; the third failure story's exp/trial-evidence-parser-xml-v2 flag had been dormant for 22 months without triggering a retirement review because no dormancy threshold existed, and the absence of a retirement review meant the flag remained in the registry as an apparently valid feature with no indicator of its incomplete implementation status); the retirement procedure (retiring a flag requires the following steps: the flag owner archives the registry entry with the retirement date, a retirement rationale classifying the retirement as completed-rollout, abandoned-experiment, superseded, or operationally-removed, any incident references where the flag was identified as a root cause or contributing factor, and the source code cleanup status confirming whether the flag's conditional branch has been removed from the codebase or remains pending a cleanup sprint; the flag's archived registry entry is retained for 24 months in the retired-flags archive rather than being deleted, so that engineers working on future implementations in the same feature area can query the retired-flags archive for previous implementations; the archive requirement is the structural control that addresses the second half of the first failure story's pattern — if exp/trial-evidence-parser-xml-v2 had been retired with an archived entry that included its incomplete-implementation status, a future engineer searching the archive for previous evidence parser implementations would have found the incident history and the implementation gap documentation before deciding to re-enable the flag); the orphaned flag remediation process (a flag whose owner field names an engineer who is no longer on the engineering team is an orphaned flag; orphaned flags are identified by the quarterly governance review's registry accuracy audit; for each orphaned flag in the enabled state, the VP Engineering assigns a new owner within 7 days of the quarterly review's completion; the new owner reviews the flag's audit log and registry entry, confirms the flag's current rollout authorization is still valid under the rollout authorization model, and updates the registry entry with their name and a confirmation that the flag's rollout plan has been reviewed; orphaned flags in the disabled or dormant state are assigned to the team lead for the feature area the flag belongs to, who reviews the flag for retirement eligibility; the orphaned flag remediation process's 7-day deadline is the enforcement mechanism that prevents the third failure story's quarterly audit from identifying 189 orphaned enabled flags and failing to complete the remediation across five quarterly planning cycles — the deadline converts a low-priority action item into a governance requirement with a completion date that the VP Engineering must confirm at the next quarterly review); and the flag source code cleanup model (flags retired as completed-rollout — meaning the new code path is permanent and the flag conditional has been removed from the source — must have their source code cleanup completed within two quarterly planning cycles after the retirement event; the flag's source code cleanup status is tracked in the retired-flags archive; the VP Engineering's quarterly review includes a source code cleanup status check for all flags retired in the previous two quarters, and cleanup tasks that have not been completed by the second quarterly review deadline are added to the next quarter's engineering sprint as mandatory debt items rather than optional cleanup).

ADR section 5: feature flag governance review model

The feature flag governance review model defines the quarterly and annual review structure that keeps the flag registry, the rollout authorization records, and the enterprise customer inclusion audit current as the team and the flag inventory grow. The quarterly review covers: the registry accuracy audit (for every flag in the flag management system, confirming that the flag's current state in the flag management system matches the registry entry's current state field; that the flag's owner field names a current employee; that the enabled customer segment field reflects the current production rollout rather than the initial rollout plan at the time of creation; and that every flag in the enabled state in the flag management system has a completed registry entry with an owner, an implementation scope, an enabled customer segment, a retirement trigger, and an authorization reference; flags that exist in the flag management system without a registry entry are a governance gap that must be remediated within 24 hours by either creating a completed registry entry or retiring the flag; the registry accuracy audit's output is a list of discrepancies between the flag management system's state and the registry, with a remediation deadline for each discrepancy); the flag age review (for each flag in the enabled state that has been enabled in production for more than 90 days beyond its documented retirement trigger date, and for each flag in the disabled state that has been dormant for more than 90 days, the quarterly review produces a retirement review list requiring each flag owner's disposition within 30 days; the VP Engineering reviews the disposition confirmations at the end of the 30-day window and approves retirements or escalates unconfirmed dispositions as governance model violations requiring immediate owner assignment); the enterprise customer rollout compliance audit (for each flag currently enabled in a customer segment that includes enterprise customers from the obligation registry, the quarterly review confirms that the third-tier rollout authorization is documented in the registry — VP Engineering rollout plan approval, customer success manager acknowledgment, and enterprise obligation check confirmation; flags currently enabled for enterprise customers without a documented third-tier authorization are flagged as authorization model violations, the flag is disabled immediately, and the VP Engineering initiates a third-tier rollout review to determine whether the flag should be re-enabled with proper authorization); the incident attribution review (for each production incident in the past quarter where a feature flag state change was identified as a contributing factor or root cause in the post-mortem, confirming that the flag's incident history field has been updated with the incident reference, that the rollout plan has been updated with the post-mortem's findings, that any re-enablement review has been completed with VP Engineering approval, and that the enterprise customer obligation check for the flag's scope was reviewed as part of the post-mortem's rollout authorization assessment); the stale flag retirement execution (the VP Engineering approves the retirement list for flags that have passed their dormancy threshold without a confirmed disposition, the flag owner archives the registry entry with the retirement rationale, and the retired flags' source code cleanup tasks are added to the next quarter's engineering sprint with a completion deadline); and the obligation registry accuracy check (the customer success lead confirms that the enterprise customer obligation registry is current — that every active enterprise customer's contractual performance, feature parity, and delivery obligations that are relevant to flag rollout authorization are reflected in the registry, and that any contract amendment executed in the past quarter has been reflected in the registry entries for the affected accounts; the annual review adds an extended accuracy check in which the VP Engineering reviews a sample of active enterprise contracts directly against the obligation registry entries, to identify any contractual terms that were signed without being registered as rollout authorization constraints — the category of gap the second failure story demonstrated when no process required checking the enterprise obligation registry before setting the experiment's targeting rule).

Where engineering feature flag lifecycle governance decisions end up

The first failure story's outcome — the same flag causing two identical production incidents two months apart because no mechanism required the second engineer to discover the first incident's history before re-enabling the flag — is not the consequence of a team that was careless about production changes or that skipped post-incident reviews. The post-incident review after the first incident correctly identified the root cause and produced an action item. The governance gap was structural: without a flag state audit log that required an incident history field in the registry, without a re-enablement authorization requirement that forced a VP Engineering review before a flag could be enabled after causing an incident, and without a flag naming or registry convention that made the flag's incident history discoverable to an engineer who was not on the team at the time of the first incident, the second incident was an architecturally inevitable consequence of the governance model's absence.

The founding engineering feature flag lifecycle governance decisions — which authority has the mandate to approve a flag's customer-facing rollout and what documentation is required before that approval, how the enterprise customer obligation registry is checked against the rollout segment before any flag is enabled for a customer-facing percentage, what the audit log event structure is that makes every flag state change attributable to a named engineer and a named authorization reference at incident post-mortem time, and how the lifecycle model ensures that flags do not accumulate as dormant or orphaned entries in a registry that grows too large to audit quarterly — are made once and determine the organization's controlled rollout accountability and experiment-induced incident attribution coverage for every flag rollout and every production incident that follows. Those decisions are most often made by omission: through the assumption that engineers with flag management console access are individually authorized to make rollout decisions within their own assessment of which customers are ready for the new code path, that a flag description field is a sufficient registry for incident attribution when the description is populated inconsistently and the flag's incident history is not a required field, and that an experiment targeting rule defined as 50% by account ID hash is equivalent to a rollout plan that has been reviewed for enterprise customer obligations. WhyChose surfaces those decisions from the conversations where they were made — the product planning session where "we'll just use LaunchDarkly and any dev can flip flags for their feature" was the architecture decision for the flag authorization model, made without considering that the flag rollout model was also the enterprise customer obligation enforcement model for every experiment that would run against customers with delivery SLA contracts; the post-incident review where the flag registry was identified as the root cause but the action item was "add owner field to the flag" rather than a lifecycle model with retirement authorization, a dormancy threshold that triggers mandatory retirement review, and a re-enablement authorization requirement that makes the first failure story's pattern structurally impossible; and the quarterly planning session where the orphaned-flag remediation was deprioritized for the fifth time because "we know which flags matter, we just need a sprint to clean up" — the judgment that proved incorrect when an engineer enabled a dormant experiment flag that was not on anyone's mental map of flags-that-matter because it was in the disabled state and had been there for 22 months.

The engineering SaaS release freeze governance decision record intersects with the feature flag lifecycle governance record at the flag rollout authorization boundary: a release freeze protects the production environment from changes during high-risk windows, and the rollout authorization model must specify whether flag state changes are subject to the freeze governance model's exception committee or whether the flag system's rollout authority has standing exemption for gradual rollouts — if flag state changes are not explicitly addressed by the freeze governance model, the rollout authorization model and the freeze governance model will produce conflicting answers when the on-call lead needs to disable a flag during an incident under an active freeze. The on-call rotation governance decision record intersects with the feature flag lifecycle governance record at the flag rollback authority boundary: the on-call rotation governance model defines who is available and accountable for incident response during each coverage window; the feature flag lifecycle governance model must specify whether the on-call lead has standing authority to disable any active feature flag in response to a production incident, or whether flag state changes during incidents require the flag owner's authorization — the two governance records must define the same boundary for emergency flag disablement, because an on-call lead who is authorized to respond to incidents but whose flag rollback authority is conditional on the flag owner's availability will delay the rollback under the incident pressure that makes the flag owner's response time unpredictable. The multi-tenant data isolation governance decision record intersects with the feature flag lifecycle governance record at the experiment-induced isolation gap boundary: a feature flag that enables a code path handling multi-tenant data differently than the validated code path is a category of isolation change that must be reviewed under both the multi-tenant isolation governance model and the flag rollout authorization model before it is enabled for any customer segment, because the isolation review's scope — confirming that the new code path preserves the tenant data boundaries that the validated code path enforces — is a required input to the VP Engineering's third-tier rollout approval for any flag whose scope includes data access, storage, or retrieval paths that touch multi-tenant records.