ADR 0010: Environment Profiles and Config Governance

Ratification

Adopted before ADR 0018. There was no separate ratification process. Git history for this file on main is the record.

Context

Why this matters: Twelve-factor style apps read config from the environment so the same build can run in dev, staging, and prod. If profiles are fuzzy, teams accidentally ship debug logging, mock auth, or open CORS to production—often discovered by incident, not review.

We need explicit profiles (dev, qa, prod), one documented template, and validation that rejects unsafe combinations in non-dev environments.

Decision

Validation Rules

Implementation

Consequences

Positive

Trade-offs

Page history

Date Change Author
Added Page history section (repository baseline). Ivan Boyarkin