Environment Choice Staging or Prod
Decide deliberately whether the proof runs against staging, a local build or production, and record why, so the choice is justified by evidence instead of grabbed by default
Use when: several environments could host the test and the choice changes risk or validity
Avoid when: only one environment holds the behavior under test and it is already authorized
Procedure
- List candidate environments: local build, staging, sandbox, shared test tenant and production.
- Check each for behavioral parity with production, since a stale staging build invalidates the proof.
- Weigh risk: production proves the real thing but carries real blast radius, staging may not reproduce.
- Confirm authorization covers the environment you choose, since permission rarely spans all of them.
- Record the choice with its reasoning and the parity evidence that justified it.
- Fall back deliberately if staging fails to reproduce, rather than drifting silently into production.
Signals
- Staging runs an older build than production, so a pass there may not reflect the real behavior.
- The bug appears only in production, which forces a higher-risk choice that needs explicit justification.
- Authorization covers staging but your plan quietly targets production because it is easier.
- Nobody can state which environment matches production behavior right now.
Patterns
1. Choice row
env=staging build=2.31.0 parity=checked-on=2026-10-27 risk=low authorization=yes verdict=use-staging
2. Parity note
feature=new-checkout staging=absent production=present implication=staging-cannot-prove-this
3. Fallback
trigger=staging-no-repro next=request-production-approval reason=parity-gap-not-your-assumption
Pitfalls
- Testing on staging that no longer resembles production and reporting a behavior that does not exist.
- Choosing production for convenience while authorization only covers staging.
- Treating a staging failure as a negative result when the build simply lacks the feature.
- Switching environments without recording why, so the evidence chain loses its context.
Done when
- The environment choice is recorded with its parity evidence and authorization status.
- Staging-versus-production differences relevant to the claim are documented.
- Any fallback to another environment is a recorded decision, not a drift.