The engineering SaaS feature flag governance decision record: why the flag creation authority model you chose determines your flag debt ceiling and your rollout conflict resolution path
Feature flag governance decisions are not decisions about which flag evaluation system to use or how to implement targeting rules. They are decisions about authority: who can create a new flag, what lifecycle metadata is required before the flag is active, who can change flag state after the flag is live, and who is the named decision authority when a rollout decision conflicts with a contractual commitment. These decisions are made informally or not at all — encoded in the assumption that any engineer can create a flag for any purpose, in the sales team's commitment to a customer that a feature will be enabled by contract start without understanding who controls the flag, or in the written cleanup policy that no one is specifically responsible for enforcing. The consequences accumulate: a team that cannot tell which flags are safe to change state on because the inventory has grown beyond any single engineer's understanding; a contract start date missed by six days because no named decision authority existed for the conflict between a P1 incident rollback and the customer's feature commitment; a cleanup sprint that removes a repurposed flag and silently drops a beta customer's feature access for two days. Feature flag implementation is about which system and how to implement targeting. Governance is about who gets to change flag state after the flag is live — and who makes the call when the incident response timeline and the sales commitment are pointing in opposite directions.
Three ways feature flag governance gaps produce costs that the technical implementation did not predict
The flag nobody knew was live
A 27-person developer tools startup had been using feature flags since its first year. The initial use was disciplined: a staff engineer had introduced LaunchDarkly, written a brief internal guide on when to use flags, and the first flags were temporary rollout gates for major features. By month eight, the team had forty flags. By month fourteen, they had 180. By month twenty, they had 340, and the staff engineer who wrote the original guide had joined a different company. The team's LaunchDarkly account showed 340 active flags. No documentation existed outside of LaunchDarkly itself — no ownership registry, no changelog of which flags had controlled which features, no record of which flags were still actively gating production traffic as opposed to flags that had reached 100% rollout and whose code paths had not yet been cleaned up.
The event that made the inventory's governance gap visible was a checkout flow redesign. A mid-level engineer implemented the new checkout UI behind a feature flag — a standard, correct use of the flag system. The flag was named checkout-v2-enabled. She created it in LaunchDarkly, set it to 0% rollout, implemented the feature behind the flag, opened a pull request, and merged after review. Two days before the planned rollout, she was reviewing the flag list in LaunchDarkly and noticed another flag in the checkout domain: checkout-legacy-payment-path. It was set to 0% rollout. She could not find any pull request, design document, or Slack thread that explained what checkout-legacy-payment-path controlled. She asked in the engineering Slack channel. No one knew. She checked the git history for where checkout-legacy-payment-path was referenced in the codebase. It was referenced in four places in the payment processing service. The references were old — the most recent commit touching them was nine months ago. She concluded the flag was a dead flag controlling a deprecated code path that was no longer exercised in production.
She was wrong. The flag had been created seventeen months ago to gate a new payment path during a PCI compliance migration. The migration had completed and the new payment path had reached 100% rollout — but the engineer who completed the rollout had turned the new-path flag to 100% rather than the old-path flag to 0%. The checkout-legacy-payment-path flag at 0% meant the legacy path was inactive, and the new path was active without a flag gate. The payment processing service's flag evaluation logic was: if checkout-legacy-payment-path is true, use the legacy path; otherwise use the new path. At 0% rollout, checkout-legacy-payment-path was false for all users, which correctly routed all users to the new payment path.
When she ran the new checkout-v2-enabled flag rollout and enabled it for 10% of users, she was not testing the checkout flag. She was also, in a cleanup step she ran the same afternoon, setting checkout-legacy-payment-path from 0% to "archived" in LaunchDarkly to clear out what she believed was a dead flag — which changed its evaluation from false to null, which the payment service's flag evaluation code treated as the absence of a valid flag value and defaulted to true. The legacy payment path was now active for all users. The legacy path double-charged customers on the first payment attempt due to an idempotency issue that the PCI migration had specifically been designed to fix. The error was identified by the on-call engineer through payment processor error logs forty-seven minutes after the flag archive. The team notified affected customers within ninety minutes. The refund processing took three weeks. Three enterprise customers escalated to their account managers. One opened a formal support ticket questioning the team's production change management process.
The root cause was not the engineer's decision to archive the flag. The decision was reasonable given the information available to her — a flag at 0% rollout, nine months since the last code change touching it, no documentation, no one on the team who knew its purpose. The root cause was the absence of a flag creation authority model that required a named owner, a description of what the flag controls in production terms, and a cleanup date at the time the flag was created. If checkout-legacy-payment-path had been created with a documentation requirement — flag description: "controls routing between legacy and new payment path; true sends to legacy path, false sends to new path; must be false in normal operation" — the archive decision would not have been made without investigation. The flag inventory gap cost the team three weeks of refund processing, three enterprise customer escalations, and an internal retrospective on payment change management that resulted in a new change freeze protocol covering payment-adjacent flags that the team correctly recognized was treating a symptom rather than the underlying governance gap.
The contract date nobody could move
A 38-person B2B SaaS had an enterprise sales process that consistently involved feature commitments. The sales team, led by a VP of Sales who had come from a larger company where features were delivered on contracts schedules, treated feature flag states as equivalent to feature availability: if engineering could turn a flag on, the feature was available, and if the feature was available, it could be committed to in a contract. The engineering team, for its part, had never formalized a process for communicating to sales which flags were safe to commit against and which were not, or who had the authority to make a commitment that a flag would be in a specific state on a specific date.
The specific contract was with a 400-seat financial services company. The contract included a clause specifying that three features — advanced audit logging, custom role creation, and SSO via SAML — would be enabled in the customer's tenant by the contract start date. The VP of Sales had verified with the engineering manager that all three features were implemented and behind feature flags, and that the flags could be turned on for the customer's tenant at contract start. The engineering manager had confirmed this accurately: all three features existed and were accessible via per-tenant flags. What neither the VP of Sales nor the engineering manager had formalized was whether the confirmation constituted an engineering commitment to maintain those flags in an on-able state through the contract start date, what would happen if one of those features needed to be rolled back due to a production incident before the contract start, and who had authority to make the final call if engineering's incident response judgment and the sales team's contractual commitment pointed in different directions.
Nine days before the contract start date, the advanced audit logging feature triggered a P2 incident in a different tenant. The audit logging service had a memory leak under high write volume that produced degraded performance for the entire shared logging infrastructure after approximately 72 hours of sustained high-volume operation. The flag for advanced audit logging was turned off for the affected tenant, which resolved the incident. The on-call engineer who performed the rollback then assessed the blast radius: the memory leak was in the audit logging service itself, not in the per-tenant flag gate. Any tenant with the flag on was accumulating the memory leak risk. There were fourteen other tenants with the advanced audit logging flag on. The on-call engineer turned off the flag for all fourteen tenants — including the financial services company whose contract specified the feature would be on at contract start.
The on-call engineer notified the engineering manager. The engineering manager notified the VP of Engineering. The VP of Engineering assessed the memory leak and determined that the fix required a service redeployment that could not be completed and validated before the contract start date nine days out. The VP of Engineering's view was that the flag should stay off until the fix was deployed and validated, which the team estimated at twelve to sixteen days. The VP of Sales's view was that the contract specified the feature would be on, the customer had signed on the basis of that commitment, and turning off the feature nine days before contract start would breach the contract and damage the customer relationship in a way that might be unrecoverable.
What followed was a five-day negotiation between the VP of Engineering and the VP of Sales that neither had a clear mandate to close. The VP of Sales escalated to the CEO. The CEO was traveling. The CEO's view, delivered over text message, was that engineering should fix the memory leak as fast as possible and that sales should tell the customer there would be a brief delay. Neither the VP of Engineering nor the VP of Sales understood "brief delay" to mean the same thing: the VP of Engineering interpreted it as authorization to keep the flag off until the fix was validated; the VP of Sales interpreted it as authorization to tell the customer the feature would be on within one or two days. The customer was told the feature would be on within two days. The fix took eleven days to deploy and validate. The contract start was missed by six days. The customer's legal team sent a formal breach notice. The company resolved it with a service credit. The VP of Sales and the VP of Engineering spent an additional three hours in a retrospective trying to establish whose authority had been overridden by the CEO's text message and what the right process should have been.
The root cause was the absence of a rollout conflict resolution model specifying a named decision authority for conflicts between flag state decisions and external commitments, a resolution timeline, and a default rule when the named authority was unreachable. The specific gap was not that engineering and sales had different views — that is predictable and not preventable by governance. The gap was that no written authority model specified who made the final determination when their views conflicted, within what timeline, and what default applied when that authority was not reachable. Without a named authority, the conflict defaulted to whoever had the last word with the CEO, which was an accident of travel schedules rather than a governance decision.
The cleanup that removed the wrong flag
A 52-person enterprise SaaS had introduced a flag lifecycle policy in its second year. The policy specified that temporary rollout flags must be cleaned up within 90 days of reaching 100% rollout completion. The engineering team lead had read about flag debt and had persuaded the VP Engineering to adopt the 90-day rule. The policy was written into the engineering handbook. It was included in the onboarding documentation for new engineers. It was not enforced by any governance mechanism: no one had been assigned responsibility for auditing whether the policy was being followed, no tooling ran a report on flags past their cleanup date, and no escalation process existed for flags approaching or past the 90-day threshold.
Two years after the policy was adopted, the VP Engineering ran a manual audit in preparation for a platform migration. The audit revealed 183 flags past their 90-day cleanup date. The range was wide: some flags had been past their cleanup date for three months, others for eighteen months. The VP Engineering approved a two-week cleanup sprint. The sprint team was given the list of 183 flags and instructed to remove the flags and their associated code paths. The sprint was under time pressure — the platform migration was scheduled to begin at the end of the two weeks, and uncleaned flags would add complexity to the migration's flag system reconfiguration.
One of the flags on the cleanup list was advanced-search-v2. It had been created 26 months ago to gate the rollout of a redesigned search interface. It had reached 100% rollout nineteen months ago — 19 months past the 90-day cleanup deadline. It had not had a state change in nineteen months. The flag cleanup sprint engineer verified that the flag was at 100% rollout in the flag system, found no open issues or pull requests referencing the flag in a way that suggested active development, and removed the flag and its evaluation code from the codebase. The pull request passed review and was deployed.
What the sprint engineer did not know — and had no way to know from the flag system state — was that eight months after the original advanced-search-v2 flag had reached 100% rollout, a customer success manager had repurposed the flag. A large enterprise customer had asked to participate in an early access program for a new search ranking algorithm. The customer success manager had worked with the engineering team to create a per-customer configuration for the new algorithm using the existing advanced-search-v2 flag infrastructure: the flag's targeting rules had been modified to send customers in the enterprise beta segment to a code path that enabled the new ranking algorithm alongside the advanced search interface. The flag was therefore simultaneously at 100% global rollout for the base feature and at 100% targeting for the enterprise beta segment for the new algorithm. It had not been cleaned up not because of negligence but because it was still governing active production behavior — just for a different purpose than its original rollout.
The enterprise beta customer lost access to the advanced search interface and the new ranking algorithm when the flag and its code paths were removed. The loss was silent — the application did not throw an error, it simply served the base search interface. The customer's analytics team noticed a performance regression in their search relevance metrics two days after the deployment. They opened a support ticket. The support team escalated to engineering when they could not identify a UI change that corresponded to the regression. The engineering investigation identified the removed flag code path within two hours. The feature was restored via a hotfix. The incident post-mortem identified that the flag had been repurposed without updating the flag description or creating a cleanup exemption, and that the cleanup sprint had no mechanism for identifying repurposed flags other than reading the LaunchDarkly targeting configuration in detail — which the sprint had not done for 183 flags under a two-week deadline.
The root cause was not the sprint engineer's oversight. The sprint had been given a list of 183 flags and a two-week deadline. Reading the LaunchDarkly targeting configuration in detail for each flag was not feasible under those constraints. The root cause was the absence of a flag inventory governance model that required the repurposing of a flag for a new purpose to be treated as a new flag lifecycle event — with updated documentation, a new cleanup date, and a notification to the flag inventory owner — rather than a silent modification to the flag's targeting rules. If the repurposing had been treated as a governance event, the flag's status in any audit would have reflected its current production role, the cleanup sprint would have identified it as an actively governed flag rather than a 19-month-overdue dead flag, and the sprint engineer would have known not to remove it.
Two structural properties of feature flag governance decisions
The three failures above share two structural properties. The first is the flag debt ceiling — the inventory size beyond which the flag inventory starts producing operational incidents, not because individual flags are poorly implemented but because the inventory has grown beyond the team's ability to understand which flags are safe to change state on. The flag debt ceiling is determined by the flag creation authority model (whether a named owner, a description of production behavior, and a cleanup date are required at creation time), the flag lifecycle authority model (whether flag state changes — including repurposing — require documentation and whether moving a flag to cleanup requires a formal review), and the flag inventory governance model (whether a named role is responsible for auditing the flag inventory on a cadence, what constitutes a governance violation, and how past-due flags are escalated and resolved). The flag debt ceiling is not a fixed number — it depends on the team's size, the complexity of its flag targeting, and the rate at which flags are created relative to the rate at which they are cleaned up. A team with strong flag creation metadata and a quarterly inventory audit can maintain a larger flag inventory safely than a team with neither; the ceiling is set by governance quality, not by flag count.
The second is the rollout conflict resolution path — the named authority chain for resolving conflicts between flag state decisions and external commitments such as contract dates, customer SLAs, partner dependencies, and release announcements. The rollout conflict resolution path is determined by the rollout conflict resolution model (who has the authority to override a rollback decision to honor a contractual commitment, who has the authority to override a sales commitment when engineering determines the flag must be off for production safety, what the documentation requirement is for the conflict and its resolution, and what the default rule is when the named authority is unreachable within the incident response timeline). The rollout conflict resolution path is a cross-functional governance problem rather than a purely engineering one, because the conflict involves engineering's authority over production system safety and the go-to-market team's authority over customer commitments, and both are legitimate within their own domain. The absence of a named authority does not resolve the conflict; it converts it into an ad hoc negotiation under incident pressure, which reliably produces the worst outcome for both sides.
These two properties are linked but address different governance gaps. A team can have an excellent flag creation model — every flag created with an owner, a description, and a cleanup date — and still have no rollout conflict resolution model, because the creation model governs the inventory and the conflict resolution model governs the cross-functional authority structure for a specific class of operational event. A team can have a detailed rollout conflict resolution model and still accumulate flag debt, because the conflict resolution model addresses the acute governance problem while the inventory governance model addresses the chronic one. The feature flag decision record covers the technical decisions that determine the flag system's structure — the inventory ownership model, the targeting attribute selection, and the dead-flag density management approach. The governance decision record covers who has authority to create flags, change flag state, and clean up flags, and who resolves the cross-functional conflict when a flag state decision has implications outside engineering's domain. Both decisions are necessary; each addresses a different layer of the same compound problem.
The governance layer is also distinct from the engineering feature flag lifecycle decision record, which covers the technical lifecycle decisions that determine the rollout process — how rollout completion is defined, how graduation dates are set, and how the cleanup backlog is managed as a technical debt item. The lifecycle decision record determines the process by which individual flags move through their lifecycle from creation to cleanup. The governance decision record determines who has authority at each stage of that lifecycle, what documentation is required at each stage, and who resolves disputes when the lifecycle process produces outcomes that conflict with external commitments. The lifecycle record answers how; the governance record answers who and by what authority.
Five sections of a feature flag governance decision record
1. Flag creation authority model
The flag creation authority model defines who is authorized to create a new feature flag, what metadata is required at creation time, and how different flag types are distinguished from each other with different authority thresholds.
Three flag types require different authority levels. Temporary rollout flags — flags created to control the progressive rollout of a feature to production traffic, with a defined rollout completion event and a cleanup date after which the flag code paths will be removed — are within any engineer's authority to create. The authority threshold for temporary rollout flags is permissive because flag-gated rollout is a standard engineering practice and preventing individual engineers from creating rollout flags would slow the deployment process without meaningfully reducing governance risk. The governance contribution at this tier is not authority restriction but metadata requirements: the engineer creating the flag must supply a flag description specifying what the flag controls in terms of user-visible behavior (not implementation detail), a named flag owner responsible for the flag's lifecycle, an expected rollout completion date, and a maximum cleanup date. These four fields are the minimum viable governance record for a flag; without them, the flag enters the inventory as an unknown that future engineers will not be able to safely classify.
Permanent configuration flags — flags created to serve as a long-lived configuration surface rather than a temporary rollout mechanism — require engineering manager authority. A permanent configuration flag is one whose description specifies that it will remain in the codebase indefinitely, controlling a feature that some customers will have on and others will have off as a subscription or configuration distinction rather than as a rollout sequence. Permanent configuration flags extend the team's configuration surface area; they add a flag that must be managed, evaluated for all users on every relevant request, and kept current as the product evolves. Engineering manager authority for permanent flags prevents the pattern where a temporary rollout flag is implicitly converted to a permanent configuration flag by never being cleaned up — the creation authority model requires the engineer to declare the flag's intended permanence at creation time and obtain approval, rather than allowing permanence to emerge from cleanup neglect.
Experiment flags — flags created to gate an A/B test or a staged experiment where the rollout and cleanup decisions involve product data and customer segment ownership — require joint authority from the engineer's manager and a product manager. The product manager co-authority requirement reflects the fact that experiment flags are not purely engineering decisions: the rollout percentage, the targeting criteria, the success metric that determines rollout completion, and the customer segment implications are product decisions with go-to-market consequences. Joint authority at creation time establishes both the engineering owner and the product owner for the experiment, which is the information required for the rollout conflict resolution model to identify who is accountable on each side when the experiment flag's state conflicts with an external commitment.
All three flag types require a repurposing protocol: if a flag created for one purpose is subsequently used for a different purpose — controlling a different feature, serving a different customer segment, gating a different code path than its original description specified — the repurposing must be treated as a new creation event. The flag description must be updated to reflect the new purpose, a new cleanup date must be set, the flag owner must be reconfirmed or reassigned, and the repurposing must be documented in the flag's change log. The repurposing protocol addresses the third failure pattern directly: treating a repurposed flag as a new creation event requires the team to surface the repurposing as a governance event that updates the flag's status in any subsequent inventory audit.
2. Flag lifecycle authority model
The flag lifecycle authority model defines who has authority at each stage of a flag's lifecycle after creation: expanding rollout, reducing rollout, disabling a flag for a specific tenant or segment, performing an emergency rollback, and moving a flag to the cleanup stage.
Expanding rollout — increasing a flag's rollout percentage or adding new targeting segments — is within the flag owner's authority for temporary rollout flags proceeding according to their rollout plan. The flag owner does not require approval from their manager or from other stakeholders to increase rollout percentage within the planned rollout sequence. The flag owner is accountable for monitoring the rollout's production impact and for initiating a rollback if the expansion produces an incident — the authority to expand and the accountability for the expansion's consequences belong to the same role.
Reducing rollout or disabling a flag for one or more segments — taking a flag backward in its rollout sequence without a production incident triggering an emergency rollback — requires the flag owner's documentation of the reason for the reduction. A deliberate rollback that is not incident-triggered is a flag lifecycle decision with potential customer impact; the flag owner's documentation creates the record that the rollout conflict resolution model requires when evaluating whether the reduction was justified against an external commitment. The documentation must specify what triggered the reduction, what the flag's new state is, and the flag owner's assessment of whether any external commitment is affected by the reduction.
Emergency rollback — disabling or reducing rollout for a flag in response to an active P1 or P2 incident — is within any engineer on the incident response rotation's authority for the duration of the incident. The emergency rollback authority is explicitly not restricted to the flag owner, because the flag owner may not be available during an incident and restricting rollback authority to the flag owner would delay incident resolution in precisely the cases where delay is most costly. The engineer performing the emergency rollback must create a rollback record within one hour of the rollback specifying which flag was changed, the previous and new state, the incident that triggered the rollback, and the timestamp. Emergency rollback records not completed within one hour are logged in the monthly flag audit as overdue documentation items. The rollback record is the input to the rollout conflict resolution process if the rollback creates a conflict with an external commitment — the conflict resolution model requires a rollback record to have been created before it can assign the resolution timeline.
Moving a flag to cleanup — marking the flag as past its rollout completion event and initiating the code path removal process — requires the flag owner's confirmation that the flag is safe to remove, documented in the flag system. The cleanup confirmation must include the flag owner's attestation that the flag is not currently controlling any production behavior other than the feature it was created to gate, that the feature has been confirmed at the rollout percentage or targeting state intended by the rollout plan, and that no known external commitment depends on the flag's current state. The repurposing protocol makes the cleanup confirmation meaningful: a flag that has been repurposed since its creation has an updated description that the cleanup confirmation must address, ensuring that the cleanup sprint engineer reading the confirmation record understands the flag's current production role rather than only its original one.
3. Rollout conflict resolution model
The rollout conflict resolution model defines the named decision authority for conflicts between flag state decisions and external commitments, the resolution timeline, the documentation requirement for the conflict and its resolution, and the default rule when the named authority is not reachable within the resolution timeline.
A rollout conflict is any situation in which a flag state decision — rollout, rollback, deferral, or disablement — creates a conflict with a documented external commitment involving the flag. External commitments include contract clauses specifying that features will be enabled by a specific date, customer SLAs for specific feature availability, partner integrations depending on a flag being in a specific state, and public release announcements that a feature will be generally available by a specific date. The rollout conflict resolution model applies when the flag state decision and the external commitment cannot both be honored simultaneously — when the incident response judgment says the flag must be off and the contractual commitment says the flag must be on, or when the rollout plan says the feature is ready and the external announcement date is sooner than the engineering team's risk assessment supports.
The named decision authority for rollout conflicts is the VP Engineering for decisions within the engineering domain: whether production safety overrides a contractual commitment, whether a feature is ready for the rollout percentage its external commitment requires, and whether an engineering-side mitigation can be deployed in time to honor an external commitment without compromising the production incident's resolution. The VP Engineering's authority covers the engineering side of the conflict; the authority to tell the customer that a feature will or will not be available on a specific date belongs jointly to the VP Engineering and the account owner, with the go-to-market team responsible for the customer communication after the VP Engineering's determination on the production safety question.
The resolution timeline is four hours from the moment a flag state decision creates a documented conflict with an external commitment. The four-hour window is the period in which the VP Engineering must make a determination on the production safety question. The four-hour clock starts when the flag owner documents the conflict — the rollback record or rollout deferral documentation that identifies a specific external commitment affected by the flag state change. Within four hours: the VP Engineering either confirms that production safety requires the flag state to remain as changed, or confirms that the production risk can be managed with the flag in its commitment-required state under an explicit monitoring protocol. The VP Engineering's determination is documented in the flag's conflict record. The account owner is notified of the determination within thirty minutes of its documentation.
When the VP Engineering cannot be reached within four hours, the safety-first default applies: the flag remains in its incident-driven state and the go-to-market team notifies the customer of a delay, with the VP Engineering's determination expected within the next business day. The safety-first default is not a determination that production safety always overrides customer commitments — it is a default rule for the specific scenario where the named authority is unreachable within the resolution window. The default reduces the incident's blast radius by ensuring that the production safety concern is not overridden by a go-to-market commitment without a named engineering authority explicitly accepting the production risk.
The rollout conflict resolution model also covers proactive conflict identification: before a flag is committed against in an external document, the flag owner must be consulted and must confirm that the flag will be in the committed state at the commitment date under the team's current rollout plan. This confirmation is documented in the flag system as a commitment record. The commitment record is the mechanism by which the sales team and the engineering team establish a shared understanding of the flag's status before the commitment is made rather than after a conflict arises. The absence of a commitment record for a flag cited in a customer contract is a governance gap that the quarterly flag audit will identify — not in time to prevent the specific contract, but in time to prevent the pattern from repeating.
4. Flag inventory governance model
The flag inventory governance model defines who is responsible for auditing the flag inventory, what the review cadence is, what constitutes a governance violation in the inventory, and how aging flags and governance violations are escalated and resolved.
A named flag inventory owner — typically the platform team lead or, in the absence of a platform team, the VP Engineering — is responsible for publishing a flag aging report on a quarterly cadence. The aging report lists three categories: flags past their cleanup date with no extension on record, flags with no ownership documentation (no named owner or no description), and flags with no state transition in the last 90 days that are not documented as permanent configuration flags. The aging report is a governance artifact, not a cleanup list: its purpose is to surface governance violations so that flag owners can address them, not to authorize immediate removal of the flags on the list.
When the aging report is published, flag owners have two weeks to take one of three actions for each flag on the list: clean up the flag (remove it from the flag system and open a pull request to remove its code paths), submit a flag extension request (file a request specifying a new cleanup date and a one-sentence justification for why the flag is not yet safe to clean up), or submit a repurposing notification (document that the flag has been repurposed since its original creation, update its description and cleanup date, and treat the repurposing as a new creation event under the flag creation authority model). Flags on the aging report with no action taken within two weeks go to the flag owner's engineering manager for disposition. The engineering manager has one additional week to either close the flag, approve an extension, or accept the flag as a permanent configuration flag under the permanent flag authority threshold.
Flags past the escalation window — past the cleanup date with no action taken by the flag owner and no disposition by the engineering manager within three weeks of the aging report's publication — are added to the quarterly cleanup sprint list. The quarterly cleanup sprint is not a free-removal authorization: it is a managed process with a one-week advance notice period. The advance notice is published in the engineering team's primary communication channel specifying which flags will be removed in the cleanup sprint, which code paths are affected, and the contact for raising an objection before removal. The one-week notice period is specifically what prevents the cleanup sprint failure pattern: a team that has repurposed a flag can raise the exception before the cleanup sprint removes it rather than discovering the removal retrospectively when their production behavior changes without explanation.
The repurposing protocol intersects with the inventory governance model at the advance notice step: when a cleanup sprint advance notice is published, every team with code that references a flag on the removal list is responsible for verifying that the flag is not in active production use for a purpose other than its documented original use. This responsibility is on the teams, not on the cleanup sprint team — the cleanup sprint team is not resourced to audit the production role of every flag on its list, but the teams whose code references the flag are. The advance notice period converts the cleanup sprint from an action that can produce silent production changes into a collaborative process where both the platform team and the product teams have visibility into what is being removed and an opportunity to raise exceptions.
5. Flag governance review model
The flag governance review examines the flag governance model itself, not individual flags. It runs quarterly alongside the flag aging report publication, and annually as a comprehensive review aligned with any platform migration or significant change to the flag evaluation infrastructure.
The quarterly governance review examines four questions. First, are the emergency rollback records complete: flags with emergency rollbacks in the past quarter are audited for rollback record completion within the one-hour SLA. Consistently incomplete rollback records indicate either that the documentation requirement is not visible to engineers performing rollbacks (a tooling issue) or that the one-hour window is too short for the team's incident cadence. Second, are there rollout conflicts in the past quarter for which the conflict resolution model's timeline was met: conflicts documented and resolved within four hours are governance model successes; conflicts that exceeded four hours or were resolved without a VP Engineering determination are governance gaps that the quarterly review must address. Third, are there flag creation patterns suggesting that the authority thresholds need adjustment: a high rate of permanent configuration flag requests being submitted as temporary rollout flags, or a pattern of experiment flags being created without product manager co-authority, indicates that the creation authority model is being worked around rather than followed. Fourth, are there flags on the aging report that have been on the aging report for more than two consecutive quarters: flags that repeatedly appear on the aging report without action are either indicators of a cleanup SLA that the team cannot meet (thresholds too aggressive), flags with unclear ownership that the governance model has not resolved, or flags with unresolved external commitments that prevent cleanup.
The annual governance review examines three questions. First, is the flag creation authority model's threshold structure still appropriate for the team's current size and product complexity: a team that has grown from 20 to 60 engineers may need to shift the permanent configuration flag authority from engineering manager to a platform team review, because the engineering manager's authority at 60 engineers is less concentrated than at 20. Second, are the rollout conflict resolution model's timelines producing the right outcomes: a four-hour VP Engineering resolution SLA that is consistently exceeded indicates either that the VP Engineering's load is too high or that the conflict identification mechanism — the rollback record triggering the conflict clock — needs to be surfaced earlier in the incident process. Third, is the flag inventory governance model's cadence producing a sustainable cleanup rate: an aging report that grows quarter over quarter despite cleanup sprint execution indicates that the creation rate exceeds the cleanup rate and that the authority model for temporary rollout flags may need a stricter cleanup date requirement or a flag volume limit per team.
The engineering release train governance decision record covers the go/no-go authority model for coordinated releases — the authority structure that determines whether a release train proceeds or holds when a cross-team dependency is not ready. The flag governance review intersects with the release train governance at the rollout conflict resolution step: when a release train's go/no-go decision involves a feature flag state commitment, the rollout conflict resolution model's VP Engineering authority applies within the release train's hold window. The release process decision record covers the deployment cadence and rollback confidence window — the technical decisions that determine how quickly a rollback can be executed after a deployment and how much confidence the team has in a rollback's safety. The flag governance review's emergency rollback record audit intersects with the release process's rollback trigger model: flags used as deployment rollback mechanisms (turning off a feature rather than reverting a deployment) are subject to the flag lifecycle authority model's emergency rollback protocol, which the flag governance review monitors for compliance.
The founding sessions that established the flag creation model, the rollout conflict resolution model, and the inventory governance model almost certainly included reasoning about these governance questions — why the creation model required a cleanup date at creation time rather than leaving cleanup as a backlog item, what specific incident established the emergency rollback protocol's one-hour documentation SLA, what sales escalation established the VP Engineering rollout conflict authority, and what cleanup sprint experience established the advance notice period. That reasoning is in the AI chat sessions where the founding decisions were made. The open-source extractor produces the feature flag governance decision record from those sessions — including the specific P1 incident that established the rollback record requirement, the enterprise contract miss that established the VP Engineering rollout conflict authority and the safety-first default, and the cleanup sprint failure that established the repurposing notification requirement — rather than leaving the governance layer as an implicit assumption encoded in however the first flag conflict was handled.
Frequently asked questions
Who should have authority to create a new feature flag in a SaaS engineering team?
The flag creation authority model works best when it distinguishes between flag types rather than applying a single authority threshold to all flags. Temporary rollout flags — flags created to control the progressive rollout of a feature to production traffic — are within any engineer's authority to create, provided they supply a named owner, an expected rollout completion date, a maximum cleanup date, and a one-sentence description of what the flag controls in terms of user-visible behavior. Permanent configuration flags — flags that will remain in the codebase indefinitely as a configuration surface rather than a temporary rollout mechanism — require engineering manager authority because they extend the team's configuration surface area rather than temporarily gating a feature under rollout. Experiment flags tied to A/B tests or revenue metrics require product management co-authority because the rollout and cleanup decisions involve product data and customer segment ownership. The authority model addresses the most common flag creation governance failure: flags created without a cleanup date or a named owner because no one specified these as requirements at creation time, leaving the team with an inventory of flags that may or may not be safe to touch depending on what their current production role is.
Who has authority to roll back a feature flag when it is causing a production incident?
The flag lifecycle authority model assigns rollback authority to the flag owner for rollbacks within the standard on-call response protocol. Any engineer on the incident response rotation has emergency rollback authority for flags causing active P1 or P2 incidents, subject to documentation within one hour of the rollback. The rollback documentation must specify which flag was changed, what state it was changed to, who made the change, the incident that triggered the rollback, and the timestamp. Emergency rollbacks without documentation within one hour are treated as unauthorized production changes in the monthly flag audit. The rollback authority is unilateral for P1 and P2 incidents — it does not require a second approver or a cross-functional review before the rollback executes, because the incident response timeline cannot accommodate a governance process whose completion time exceeds the incident's impact window. The governance contribution is in the documentation requirement: the rollback creates a record of what was changed and why, which is the input to the rollout conflict resolution process if the rollback creates a conflict with an external commitment.
How should a rollout conflict with an enterprise contract date be resolved?
The rollout conflict resolution model names the VP Engineering as the decision authority for conflicts between flag state decisions and external commitments. When a flag rollback or rollout deferral creates a conflict with a documented external commitment, the flag owner notifies the VP Engineering and the account owner within two hours of the rollback. The VP Engineering makes the rollout conflict determination within four hours: either the flag stays off and the go-to-market team notifies the customer, or the flag is maintained on under an incident watch protocol with an explicit VP Engineering authorization record. If the VP Engineering cannot be reached within four hours, the safety-first default applies — the flag stays in its incident-driven state and the go-to-market team notifies the customer. The authority model does not prevent either outcome; it names who makes the call, within what timeline, and what happens when the named authority is unreachable. The absence of this model is what converts a solvable governance problem into a six-day contract delay resolved by an ad hoc CEO text message whose meaning engineering and sales interpreted differently.
How should teams prevent feature flag debt from accumulating past the operational safety ceiling?
The flag inventory governance model assigns a named flag inventory owner responsibility for publishing a quarterly flag aging report listing all flags past their cleanup date, all flags with no ownership documentation, and all flags with no state transition in the last 90 days. Flag owners have two weeks from the report's publication to clean up, extend, or document a repurposing for each of their flags on the list. Flags without action escalate to the engineering manager, then to a quarterly cleanup sprint with a one-week advance notice period. The advance notice period is specifically what prevents the cleanup sprint failure pattern: a team that has repurposed an old flag can raise the exception before the cleanup sprint removes it, rather than discovering the removal retrospectively when their beta customer loses feature access. The governance model's contribution is not the cleanup sprint itself but the advance notice step, which converts an operation that can produce silent production changes into a collaborative process where the product teams have visibility into what is being removed before it is removed.
How do feature flag governance decisions connect to AI chat sessions and what gets lost without a decision record?
Feature flag governance decisions are made in AI chat sessions when the founding team works through the specific conflict that made the authority question visible for the first time: the incident retrospective where the team realized that an archived flag had controlled a live payment path, the sales escalation where the VP of Sales asked engineering why the enterprise customer's feature was off and no one could answer who had authority to turn it back on, the cleanup sprint kickoff where the team realized that 183 past-due flags could not be safely cleaned up without understanding their current production role. The reasoning in those sessions covers why the creation model required a cleanup date at creation time, what incident established the emergency rollback protocol's one-hour documentation SLA, what sales escalation established the VP Engineering rollout conflict authority and the safety-first default, and what cleanup sprint failure established the repurposing notification requirement. Running those AI chat sessions through the open-source extractor produces the feature flag governance decision record — including the specific P1 incident that established the rollback record requirement, the enterprise contract miss that established the VP Engineering rollout conflict authority, and the cleanup sprint failure that established the advance notice period — rather than leaving the governance layer as an implicit assumption encoded in however the first flag conflict was handled.