What engineering environment promotion governance decisions actually govern
The engineering environment promotion governance decision record does not cover the technical choice of deployment automation — whether the team uses a continuous delivery pipeline that promotes on every merge to main, a manual promotion step that requires a developer to trigger a deployment from a release branch, or a GitOps workflow that applies changes through pull requests to a deployment repository. It does not cover the branching strategy, the number of automated tests required to pass before a pull request merges, or the specific deployment mechanism used to roll out a change to production instances. Those are technical workflow decisions made when the development environment is established, and they determine how quickly the team can deploy and how much automated validation is applied before a change reaches production, but they are not what the promotion governance record addresses.
The engineering environment promotion governance decision record covers the authority surface that sits above the CI pipeline: once a change has passed all automated tests and been approved for staging, who is accountable for confirming that the staging-to-production promotion is authorized — not in the sense that the code is correct, but in the sense that the operational conditions in the production environment are compatible with the change being promoted into them. This accountability is not automatically provided by the CI pipeline: a test suite that validates code correctness against the staging environment cannot know that the production database migration required by this change has not been applied yet; it cannot know that staging uses a mocked payment API that always returns success while production's live API returns rate-limit responses under real load; it cannot know that production's timeout configuration was updated three months ago and staging's value still reflects the original default from two years ago.
The engineering environment promotion governance decision record also does not cover the operational incident response decisions — the decisions about how production incidents are detected, escalated, and resolved after a promotion introduces a regression. Those decisions are made in the on-call rotation governance model, the disaster recovery governance model, and the rollback governance model. The environment promotion governance record is a parallel concern: incident response governance determines who responds to a production failure when it occurs; environment promotion governance determines whether the conditions for the production failure were created by an inadequately reviewed promotion.
What the environment promotion governance decision record covers is the authority surface for making three sequential determinations that the organization's production reliability commitments require a named authority to make before every promotion: first, that the operational readiness of the production environment has been assessed — that every migration required by the change has been verified as applied in the production database, not the staging database; second, that the staging validation is a faithful representation of production behavior — that the staging environment was tested against external dependencies behaving as production's external dependencies behave, including failure responses, rate limits, and behavioral edge cases that the mocked or sandboxed versions of those dependencies suppress; and third, that the production configuration is consistent with the documentation and staging values — that no configuration value governing the behavior of the change being promoted has drifted in production away from the documented baseline through direct changes that bypassed the promotion pipeline and are invisible to the reviewer making the promotion authorization decision.
Failure story 1: the organization with no structured promotion process
A 20-person B2B SaaS company provides project tracking and reporting for distributed engineering teams — the platform manages sprint boards, tracks velocity over time, and generates weekly summary reports delivered by email to each team lead and VP Engineering subscriber. The company's largest enterprise customer is a 400-person software company whose VP Engineering relies on the weekly summary reports for executive dashboard preparation; the reports are referenced in the VP Engineering's weekly all-hands presentation. The engineering team at this company has five people. There is no formal promotion process. Developers deploy directly to production when they believe code is ready. The deployment process is a single script that runs database migrations and deploys the application binary in one step. The script does not output the result of the migration step separately from the application deployment step — it prints one combined log stream and exits with zero if both steps complete.
In the platform's third year, a developer ships a performance improvement to the weekly report generation job. The improvement requires adding two new columns to the sprint_summary table — a cached_velocity_average column and a report_generated_at timestamp — and updating the background job to populate them. The developer runs the migration in staging, confirms the background job generates a correct report, deploys to production, and closes the sprint ticket. The deployment script runs and exits with zero. What the developer does not notice: the deployment script's migration runner skipped the production migration because the production database connection string in the production environment was pointing to a secondary read-replica endpoint that rejects write operations. The migration appeared to succeed — the migration runner's output was mixed into the combined log stream and the exit code from the read-replica rejection was swallowed by the error handler in the deploy script's migration step. The application binary deployed successfully. The binary includes the new code that queries the cached_velocity_average column.
The weekly report generation background job runs every Sunday at 6 AM. On the first Sunday after the deployment, every report generation job for every subscriber fails: the job queries the cached_velocity_average column, receives a column-does-not-exist error from the production database, and the job processor's error handler logs the error at the DEBUG level (the developer had reduced the log level during testing to avoid log noise, intending to restore it before shipping, and did not). The error is not surfaced in the platform's monitoring dashboard — the job processor reports a job completion status, not a job success status, and the two are logged differently. All 847 weekly report emails that should have been sent on Sunday are silently dropped. The platform's email delivery service receives no send requests because the jobs fail before the send step. The subscriber-side view: no email arrives on Sunday. The platform's subscriber notification page shows "Report delivered successfully" for every subscriber because the notification page reads from the job status table, not the job outcome log.
The enterprise customer's VP Engineering notices the missing report on Monday morning when preparing the all-hands. She checks the platform, sees "Report delivered successfully," assumes the email is in her spam folder, and continues with her preparation. The following Sunday the same failure occurs. By the third Sunday, she files a support ticket. The support team investigates the email delivery service logs, finds no send requests for three weeks, and escalates to engineering. The developer who made the deployment identifies the migration failure within 20 minutes. The read-replica connection string bug is corrected, the migration is applied to the production primary, and the missing three weeks of reports are manually regenerated and sent. Total silent failure window: 11 Sundays across three separate reporting cycles before the support ticket (the enterprise customer was patient enough not to escalate sooner).
The VP Engineering's root cause analysis: the deployment script's design — running migration and application deployment as a single step with a combined log stream and a single exit code — made it impossible to distinguish migration success from migration failure at the promotion review step. The developer had no mandatory pre-promotion step that required them to verify migration status against the production database (not the staging database) separately from the application deployment. The monitoring dashboard did not distinguish between job completion (the job processor finished) and job success (the job produced the expected output). Three separate gaps — the deployment script design, the absence of a migration verification step, and the monitoring model — combined to produce eleven weeks of silent failure with no alert to the engineering team. The enterprise customer required a formal promotion checklist as a contract addendum at their next renewal, specifically requiring a production database migration status verification before any application deployment that includes schema changes.
Failure story 2: the organization with a promotion gate but no environment parity model
A 38-person B2B SaaS company provides automated billing and payment processing for professional services firms — the platform manages client invoice generation, payment collection via Stripe, and reconciliation reporting for accounting teams. The company processes approximately $4.2 million in invoice value per month across 180 active client accounts, with 23 enterprise accounts on annual contracts. The company has a promotion gate: VP Engineering approval is required for any production promotion that involves changes to billing, payment, or reconciliation code. The promotion request must include CI results, a summary of the change's scope, and the staging test results. The VP Engineering's approval is documented in the deployment log. Engineering at this company is a twelve-person team.
The company's payment processing service uses Stripe for charge execution. In staging, the Stripe integration uses a mocked HTTP client that returns a predefined success response for every charge request. The mock was introduced early in the platform's development to avoid accidental live Stripe charges during development and testing, and it has never been replaced with Stripe's test-mode API because the test-mode API requires test card numbers that are not stored in the development dataset. The mock's behavior is documented as a known difference from production: "staging uses mocked Stripe responses; always returns success." No governance model requires that promotion reviews account for behavioral differences between the staging mock and the live API.
In Q3, the platform's payment service has accumulated a small but recurring issue: occasionally, two charge records are created for a single invoice when the Stripe charge call times out and the platform's retry logic fires before the timeout confirmation arrives. The duplicate charge records are caught by the monthly reconciliation job and manually voided, but the manual reconciliation step is consuming two hours of the billing team's time per month. A developer is assigned to fix the idempotency issue in the charge execution path. The fix introduces a Stripe idempotency key tied to the invoice ID, so that duplicate charge requests are automatically deduplicated by Stripe rather than requiring manual reconciliation. The fix also updates the retry logic to handle the case where a charge attempt returns no response before retrying — a safeguard the developer adds after reviewing Stripe's documentation on network timeouts.
In staging, the fix is tested thoroughly. The mocked Stripe client always returns an immediate success response. The idempotency key is correctly generated and included in the mock client's request headers. The retry logic is tested by temporarily setting the charge timeout to 1 millisecond and confirming that the retry fires and the idempotency key prevents a duplicate. The VP Engineering reviews the CI results, the change summary, and the staging test results, approves the promotion, and the fix is deployed to production.
In production, Stripe's live API occasionally returns HTTP 429 (Too Many Requests) responses during high-volume billing windows — typically the first and fifteenth of each month when multiple enterprise clients have concurrent invoice runs. The rate limit response is not an empty response; it is a 429 status code with a Retry-After header. The developer's retry logic handles the empty-response case (the original timeout scenario) correctly: it checks for an empty response, waits a fixed interval, and retries with the same idempotency key. The rate-limit response case was not tested because the mocked Stripe client never returns 429. The developer's empty-response check does not handle 429: the code path that receives a 429 response treats it as an unexpected error rather than a retriable response, creates a new charge record in the platform's database to track the retry attempt (the developer anticipated that some retries would need a fresh tracking record for the reconciliation log), then proceeds to retry with the same idempotency key. The idempotency key correctly deduplicates the charge at Stripe — only one charge is ever executed. But the platform's internal database now contains two charge records pointing to one Stripe charge: the original attempt's record (marked as failed due to the 429) and the retry attempt's record (marked as succeeded). The reconciliation job's deduplication logic looks for two successful charge records for the same invoice; it does not look for a failed record and a successful record for the same invoice. The duplicate records are not caught.
Seven weeks pass. During that period, 143 invoice charge cycles complete with the duplicate-record pattern — one per invoice that encountered a Stripe rate-limit response during a high-volume billing window. The monthly reconciliation report for October shows $47,000 more in collected revenue than the company's accounting records show was invoiced. The discrepancy is not visible to any client — both charge records point to a successful charge, so each client sees only one successful charge. The VP Engineering identifies the duplicate record pattern within four hours of the finance team's escalation, deploys a hotfix to correct the charge record creation logic, and runs a data correction job to remove the duplicate records. No client was double-charged; the financial discrepancy was entirely within the platform's internal accounting. The enterprise accounts' Q3 reconciliation reports sent to accounting teams were accurate. The staging parity gap — the mocked Stripe client that never returned a rate-limit response — is identified as the root cause.
The post-incident review's conclusion: the VP Engineering's promotion approval process evaluated correctness against the staging test results without accounting for the documented behavioral difference between staging's mocked Stripe client and production's live Stripe API. The staging test results showed correct behavior for every tested scenario; the untested scenario — a Stripe rate-limit response — was the scenario that caused the production failure. A staging environment that uses Stripe's test-mode API would have returned rate-limit responses under equivalent conditions, allowing the retry logic behavior to be tested in staging before the promotion was authorized. The VP Engineering adds a promotion requirement: for all payment-path changes, staging must use the live Stripe test-mode API, not the mocked client, and the promotion request must include test results from a staging environment with rate-limit conditions simulated using Stripe's test mode.
Failure story 3: the organization with mature promotion governance but no configuration drift detection
A 55-person B2B SaaS company provides SOC 2 audit management and compliance evidence collection for enterprise security teams — the platform manages audit artifact scheduling, automated evidence export from integrated systems, control mapping, and auditor access portals. The company's customer base is entirely enterprise, with 34 active accounts on annual contracts. The company has mature environment promotion governance: the VP Engineering approves all production promotions, staging uses production-equivalent infrastructure with live third-party API integrations in sandbox modes, the promotion checklist includes a migration status verification, and the organization maintains a configuration management document that lists every application environment variable with its documented staging and production values. The configuration document is reviewed as part of each promotion review: the VP Engineering confirms the change being promoted does not depend on any configuration value that differs between staging and production in a way that would affect the change's behavior.
Over the previous 18 months, the operations team has made 31 direct configuration changes to the production environment through the AWS Secrets Manager console and the application's feature flag system. Each change was made for a valid operational reason — a third-party API's rate limits changed, an enterprise customer's large evidence collection job was timing out and needed a higher timeout threshold, a background job's batch size was reduced to avoid exceeding an external API's concurrent request limits. Each change was approved by the VP Engineering via Slack message. None of these 31 changes were reflected back in the staging environment or in the configuration management document. The configuration management document was last updated 18 months ago at the company's last formal configuration audit. The promotion checklist's configuration review step asks the VP Engineering to confirm that the promoted change does not depend on any configuration value that differs between staging and production; because the document has not been updated, the VP Engineering has been confirming consistency against a document that does not reflect the actual production configuration.
Among the 31 undocumented configuration changes is a change to EVIDENCE_COLLECTION_TIMEOUT_SECONDS. The original value, documented in the configuration management document and present in both staging and production at the time of the last config audit, is 30 seconds. Eight months ago, an enterprise customer's large evidence collection job for a 200-control audit framework was timing out during the data export step — the external compliance system's API was responding slowly during the customer's high-load period. The operations team increased EVIDENCE_COLLECTION_TIMEOUT_SECONDS to 300 in production after VP Engineering approved the change via Slack. The staging value was not updated. The configuration document was not updated.
Three months later, a developer joins the team and is assigned to implement retry logic for the evidence collection background job. Currently, when an evidence collection job fails partway through (after successfully collecting 60% of the evidence items before hitting a third-party API rate limit), the entire job is marked as failed and must be re-run from the beginning by the customer or by a support engineer. The developer's task is to add checkpoint-based retry logic: the job saves its progress after each evidence item is collected, and if the job fails and is retried, it resumes from the last checkpoint rather than starting over.
The developer implements and tests the retry logic against the staging environment, where EVIDENCE_COLLECTION_TIMEOUT_SECONDS is 30. The test scenario: an evidence collection job is started, a third-party API rate limit is simulated by returning HTTP 429 after the 15th evidence item (of 30 total), the job hits the 30-second timeout waiting for the rate limit to clear, the job processor marks the job as failed, the retry mechanism resumes from checkpoint item 15, the job collects items 16 through 30, and the job completes. The retry logic works correctly. The VP Engineering reviews the staging test results, confirms the change is a job processing improvement with no schema changes and no dependency on external configuration values (the developer's implementation uses EVIDENCE_COLLECTION_TIMEOUT_SECONDS but the VP Engineering's configuration review compares the developer's documented configuration dependencies against the outdated configuration document, which shows 30 seconds in both staging and production — consistent, no discrepancy), and approves the promotion.
In production, EVIDENCE_COLLECTION_TIMEOUT_SECONDS is 300 seconds. When an evidence collection job encounters a third-party API rate limit — the same scenario the retry logic was designed to handle — the job does not time out after 30 seconds. The rate limit response includes a Retry-After header of 45 seconds, so the job waits 45 seconds and retries the rate-limited request. The request succeeds. The job continues. The retry logic's checkpoint mechanism is never triggered in a typical evidence collection run because the 300-second timeout is long enough for the job to wait through any rate-limit window and continue. The retry logic works correctly when the timeout does trigger — but in production, the timeout only triggers in a narrow class of failures that do not include the most common failure mode: a third-party API returning errors that are not rate limits, where the error is not retriable and the job processor marks the job as failed without triggering a timeout. For this failure class, the retry logic was designed to trigger immediately when the job is marked as failed, resume from the checkpoint, and retry the failed evidence item. But the retry logic's implementation uses EVIDENCE_COLLECTION_TIMEOUT_SECONDS as the resume interval — it waits for a duration equal to the timeout value before resuming from checkpoint, on the assumption that the timeout value represents a reasonable retry window. In production, that interval is 300 seconds. When a non-retriable error marks the job as failed partway through, the job processor waits 300 seconds before triggering the checkpoint resume — five minutes of idle time during which no evidence items are collected. For jobs that encounter multiple non-retriable errors across different evidence item types, the total idle time can exceed the job's maximum allowed duration, causing the entire job to be marked as permanently failed rather than resuming from checkpoint.
Three of the company's enterprise customers have ongoing audit engagements that use evidence collection schedules running multiple times per week. Over the two weeks following the promotion, 23 evidence collection jobs fail in the permanent-failure state. Nineteen of the 23 failures are for smaller audits where the jobs complete successfully on manual re-run by the customer. Four are for a single large enterprise customer — a financial services company in the final preparation phase for a SOC 2 Type II audit — whose audit framework includes a third-party compliance system that has been returning intermittent non-retriable errors. The customer's compliance lead attempts to re-run the failed jobs three times over six days; each re-run fails at a different checkpoint with the same 300-second idle-then-permanent-failure pattern. The compliance lead files a critical support ticket on the sixth day. The engineering team identifies the EVIDENCE_COLLECTION_TIMEOUT_SECONDS discrepancy between staging (30 seconds) and production (300 seconds) as the root cause within two hours of the escalation.
The VP Engineering's post-incident review conclusion: the configuration management document had not been updated in 18 months. The 31 direct production configuration changes made over that period were each individually authorized but were never reflected back in staging or in the documentation. The promotion review process's configuration parity check was comparing the developer's implementation against an 18-month-old document that did not represent the actual production configuration. The company implements a mandatory configuration drift scan — a weekly comparison of all documented configuration values against the actual production values, with a report delivered to the VP Engineering — and adds a pre-promotion configuration parity check that compares the actual staging configuration against the actual production configuration (not against the documentation) for every configuration value the promoted change interacts with.
The two structural properties these stories share
Each of these three stories exposes one of the same two structural properties: a production deployment accountability ceiling that the organization cannot see past, and an enterprise customer configuration consistency coverage surface with a gap the organization did not know existed until an incident made it visible.
The production deployment accountability ceiling is bounded by three decisions: the promotion authorization model (whether a named authority reviews the full operational readiness state before authorizing a production promotion — not just CI results but migration verification against the production database, staging parity confirmation for the external dependencies relevant to the change, and configuration drift status), the environment parity model (whether the staging environment used to validate the change accurately represents production's behavior under the external API responses and configuration values that govern failure modes, including the failure responses that mocked API implementations suppress), and the migration-deployment coordination model (whether the promotion sequence enforces that database migrations are verified as applied in the production database before the application code that depends on them is handling production traffic, as a mandatory promotion checklist step rather than a developer self-attestation).
The enterprise customer configuration consistency coverage surface is bounded by two decisions: the configuration drift detection model (whether the organization has a process for detecting when production configuration has diverged from the documented baseline and from the staging environment through direct changes that bypass the promotion pipeline — a continuous comparison that runs independent of the promotion cadence, because the promotion checklist cannot detect drift that accumulates between promotions) and the environment promotion governance review model (whether the promotion process and configuration parity model are reviewed for gaps between the documented promotion path and the actual paths through which changes reach production, including the direct secrets-manager and feature-flag changes that every operations team accumulates over time and that are individually authorized but collectively unmaintained as a configuration state).
These two structural properties address different governance gaps: the production deployment accountability ceiling governs whether the conditions for a production failure were reviewed by a named authority before the change was promoted — whether the reviewer had the information needed to identify the operational mismatch that caused the failure; the enterprise customer configuration consistency coverage surface governs whether the reviewer's information was current — whether the documentation and staging environment used as reference points in the review reflected the actual production state or a historical snapshot that configuration drift had made inaccurate.
The five ADR sections in the engineering environment promotion governance decision record
An engineering environment promotion governance decision record covers five decisions. Each has a named owner and a review cadence.
ADR section 1: promotion authorization model
The promotion authorization model names the designated authority responsible for authorizing staging-to-production promotions and the operational readiness conditions that must be verified before authorization is granted. The model's scope includes: the authorization authority designation (VP Engineering is the standard promotion authority for changes to billing, payment, data persistence, enterprise customer-facing features, and infrastructure; the team lead is the promotion authority for changes limited to internal tooling, monitoring configuration, and developer-facing features with no customer-visible impact; the authority designation is reviewed annually and updated within thirty days of team changes that affect the designated authority); the mandatory pre-promotion checklist (CI pass status with commit hash and timestamp; migration status verification against the production database — a screenshot or log output from the production migration status query run within 2 hours of the promotion request showing every migration required by the promoted change as applied; staging parity confirmation specifying which external dependencies in staging use mocked, sandboxed, or live implementations and confirming the dependencies relevant to the change being promoted are using an implementation that faithfully represents production's behavior under failure conditions; and configuration drift status — the output of the weekly configuration drift scan showing no undocumented discrepancies between production and the documented baseline for the configuration values the promoted change interacts with, or a documented explanation of any discrepancy and its relevance to the change being promoted); the promotion authorization record (the VP Engineering's approval documented in the deployment log with a timestamp, a reference to the promotion request document, and an explicit statement that the pre-promotion checklist was reviewed — not just that CI passed); and the blocked promotion criteria (a promotion request missing any checklist item is blocked until the item is provided; the designated authority may not waive a checklist item without filing a documented exception with an explicit risk acknowledgment that includes the specific checklist item being waived and the rationale).
ADR section 2: environment parity model
The environment parity model specifies the requirements for staging environment behavior fidelity to production, the categories of external dependency that must use production-equivalent implementations in staging rather than mocked implementations, and the process for updating the parity requirements when the production system's external dependency set changes. The model's scope includes: the parity requirement categories (payment processing integrations must use the payment provider's test-mode API rather than a mocked client, so that failure responses including rate limits, card declines, and network errors are returned by a production-equivalent implementation; identity provider integrations must use the identity provider's sandbox environment; email delivery integrations must use the delivery provider's sandbox mode that processes send requests against a sandboxed queue rather than a mocked client that acknowledges every request without processing it; compliance and regulatory data source integrations must use the data source's sandbox or test instance); the mocked implementation inventory (a documented list of external integrations in staging that use mocked implementations rather than provider-equivalent test instances, with the documented behavioral difference from the production implementation and the promotion review requirement for each — promotions affecting a code path that interacts with a mocked integration must include the specific test coverage for failure scenarios that the mock suppresses); the parity update process (when a new external integration is added to the production system, the VP Engineering designates the staging implementation requirement for that integration — test-mode API, sandbox instance, or documented mock with behavioral difference notation — within 30 days of the production integration going live; the designation is documented in the parity model and in the promotion checklist's staging parity confirmation template); and the parity deviation review (annually, the VP Engineering reviews the mocked integration inventory and the documented behavioral differences to confirm each mock's coverage is sufficient relative to the failure modes the production integration exhibits — the second story's Stripe mock is the canonical example of a mock that was introduced for a valid reason but was never evaluated against the production API's rate-limit behavior).
ADR section 3: migration-deployment coordination model
The migration-deployment coordination model defines the sequencing requirement between database migrations and the application code deployments that depend on them, the verification requirement before the dependent code is promoted, and the rollback procedure for migrations that cannot be safely reversed. The model's scope includes: the migration dependency declaration requirement (every pull request that includes a database migration must include a migration impact statement declaring the following: whether the migration adds, modifies, or removes schema elements; whether the new application code is forwards-compatible with the pre-migration schema — meaning the new code can run against the pre-migration schema without errors; whether the pre-migration code is backwards-compatible with the post-migration schema — meaning the rollback deployment will function correctly against the migrated schema; and what the required promotion sequence is for migrations where the new code is not forwards-compatible with the pre-migration schema: the migration must be applied to production first and verified before the application code promotion proceeds); the pre-promotion migration verification step (for every promotion that includes a schema-dependent code change, the promotion checklist requires a production database migration status output showing the required migrations as applied, obtained within 2 hours of the promotion request, run against the production primary endpoint — not the read replica — and produced by the same migration runner tool used in the CI pipeline rather than a manual query against the schema version table); the migration-first promotion sequence enforcement (when a migration and dependent application code are promoted in the same release, the deployment automation must enforce the migration-first sequence — the application code deployment step is blocked until the migration step completes and the migration status output confirms success; the first story's root cause — the deployment script that ran migration and code deployment as a single step with a combined log stream — is explicitly prohibited); the down migration verification requirement (every migration's down migration must be tested in a production-equivalent staging environment before the up migration is applied to production — the down migration must restore the previous schema state without data loss, and the test must be run against the production-equivalent dataset size, not just the staging fixture data); and the migration rollback authorization (rollback of a production migration requires VP Engineering authorization per the rollback governance model, with the specific consideration that some migrations — column drops, table drops, data transformations — cannot be safely reversed once applied, and the migration impact statement must flag these cases before the migration is promoted).
ADR section 4: configuration drift detection model
The configuration drift detection model defines the process for detecting and remediating divergence between the production configuration and the documented baseline, and between the production configuration and the staging configuration. The model's scope includes: the configuration baseline (the configuration management document lists every application environment variable and infrastructure configuration parameter with its documented staging value, production value, and the VP Engineering approval reference for the most recent update; the baseline is a living document that must be updated within 24 hours of any approved configuration change, regardless of whether the change was made through the promotion pipeline or directly through the secrets manager, feature flag system, or infrastructure console); the continuous drift scan (a weekly automated comparison between the actual production configuration values — read from the production secrets manager and feature flag system — and the documented production values in the configuration baseline, with a drift report delivered to the VP Engineering listing every discrepancy found; the scan runs independently of the promotion cadence so that configuration drift accumulated between promotions is detected before the next promotion review uses the documented baseline as a parity reference); the pre-promotion actual parity check (as part of the promotion checklist, the designated promotion authority runs the actual staging-to-production configuration comparison — not the documented baseline comparison — for every configuration value the promoted change interacts with, and confirms that any discrepancy between staging and production is documented and evaluated for relevance to the change being promoted; the third story's root cause — the VP Engineering confirming consistency against an 18-month-old document rather than against the actual production configuration values — is specifically what this actual parity check is designed to prevent); the configuration change propagation requirement (every approved configuration change made directly in production — through the secrets manager, feature flag system, or infrastructure console — must be followed within 24 hours by a corresponding update to the staging configuration and to the configuration management document; the VP Engineering approval that authorized the direct production change also authorizes the staging update and documentation update as required steps, not optional follow-ups; the approver is responsible for confirming both are complete); and the configuration drift remediation process (a drift report finding an undocumented discrepancy triggers one of two remediation paths: if the production value is correct and was updated for a valid operational reason without documentation follow-through, the documentation and staging are updated to match production within 24 hours; if the production value is unexpected and no approved change record exists, the production value is treated as an unauthorized configuration change and the rollback process from the rollback governance model applies).
ADR section 5: environment promotion governance review model
The environment promotion governance review model defines the quarterly and annual review structure that keeps the promotion governance model current as the production system's external dependency set, infrastructure architecture, and configuration surface evolve. The quarterly review covers: the promotion history review (every production promotion in the past quarter has a promotion authorization record with the authority name, checklist completion confirmation, and reference to the promotion request; gaps require VP Engineering documentation); the configuration drift scan history (the weekly drift scan reports for the past quarter are reviewed for patterns suggesting configuration changes are systematically bypassing the documentation and staging-sync requirements — a high frequency of same-variable drift in the same system component may indicate that component's operational team has not internalized the propagation requirement); the mocked integration inventory review (the parity model's mocked integration list is reviewed against the external dependency set's current state — integrations that have been added since the last quarterly review are confirmed to have a staging parity designation; mocked integrations where the production API's behavior has changed since the mock was last evaluated are flagged for a parity adequacy review); and the migration rollback coverage audit (the down migrations for every migration applied to production in the past quarter are confirmed to have been tested in staging before the up migration was promoted). The annual review covers: the cross-program integration review with the secret management governance model (confirming that secrets updated through the secret rotation process are propagated to staging and documented in the configuration baseline, and that the promotion checklist's configuration drift check includes secrets rotation events in its scope); the configuration surface completeness review (the configuration baseline is confirmed to include every environment variable and infrastructure parameter that determines application behavior — a full enumeration of the production secrets manager and feature flag system is compared against the baseline to identify any configuration value that has been added to production without being added to the baseline documentation); and the promotion checklist update (the standard pre-promotion checklist is reviewed and updated to reflect any new categories of operational readiness that have emerged from promotion-related incidents in the past year — the annual review is the mechanism by which the first story's missing migration verification step, the second story's staging parity confirmation for payment integrations, and the third story's actual configuration parity check would have been added to the standard checklist in the cycles following those incidents).
Where engineering environment promotion governance decisions end up
The first failure story's outcome — eleven weeks of silently failed weekly reports for an enterprise customer who relied on them for executive dashboard preparation, resolved only after the customer filed a support ticket — is not the consequence of a team that was careless about deployments or indifferent to customer impact. The developer had tested the deployment in staging, confirmed the migration ran correctly in the staging database, and deployed to production using the standard deployment script. The governance gap was structural: the deployment script's design made migration failure indistinguishable from migration success in the combined log output; the promotion process had no mandatory step requiring the developer to verify migration status against the production database separately from the application deployment; and the monitoring model tracked job completion rather than job outcome. The organization had a deployment process but not a promotion checklist — it could deploy code and produce a log that showed the deployment succeeded, but it had no process for confirming that the production environment's operational state — specifically, whether the production database's migration status matched the new code's schema expectations — had been verified before the new code began handling production traffic.
The founding engineering environment promotion governance decisions — which authority has the mandate to authorize a production promotion and what operational readiness conditions they must verify before authorizing, how the staging environment is maintained as an accurate behavioral proxy for production's failure modes rather than a simplified success-only approximation, how the migration-deployment sequence is enforced so that the production database's schema state is verified before the application code that depends on it handles production traffic, and how configuration changes that reach production through direct operational updates are detected and reflected back to staging and documentation before they silently invalidate the parity assumptions the next promotion review will rely on — are made once and determine the organization's production deployment accountability and enterprise customer configuration consistency capacity for every promotion that follows. Those decisions are most often made by omission: through the assumption that CI passing is equivalent to production readiness, that any developer can confirm migration status as part of their own deployment checklist without a mandatory verification step, that staging's mocked external APIs are a sufficient proxy for the failure responses that cause production-specific bugs, or that configuration changes applied directly to production for operational reasons are individually authorized and therefore collectively maintained. WhyChose surfaces those decisions from the conversations where they were made — the architecture session where the deployment script was designed to run migration and code deployment as a single step with a combined log stream and the question of how to distinguish migration failure from migration success in the production environment was noted as a future improvement; the sprint retrospective where the mocked Stripe client was acknowledged as a known staging parity gap and the action item to replace it with the Stripe test-mode API was deferred to avoid disrupting the development dataset; and the operations review session where the EVIDENCE_COLLECTION_TIMEOUT_SECONDS production update was approved via Slack and the staging propagation and documentation steps were assumed to happen but never confirmed.
The engineering SaaS release freeze governance decision record intersects with the environment promotion governance record at the deployment authorization boundary: a production promotion that passes all promotion checklist requirements is not automatically authorized if it is submitted during a declared release freeze; the freeze exception authorization process applies to all production promotions, including those that have completed the standard pre-promotion checklist. The promotion governance model ensures that every promoted change was operationally ready; the release freeze governance model ensures that the promotion window was safe relative to the enterprise customers' operational calendar. Both governance records must be satisfied before a production promotion is authorized — a change that is operationally ready but deployed during a freeze without exception authorization, and a change that is authorized during a non-freeze window but deployed without migration verification, represent failures of different governance surfaces that produce different categories of production incident.