latest run 54 pass 0 fail 0 skipevidence →
HKB Operations: pages
HKB OperationsKnowledge space

Starred pages

Pages

Page directory · Labels · [ hides this

ADR-0016 accepted

Changes go Sandbox, then Dev, then Prod, and only Sandbox is changed by hand

  • Status: Accepted
  • Date: 2026-09-30

Context

A test environment only predicts what production will do if it's an exact copy of production. If people also try things out by hand in Dev, it slowly stops matching Prod, and a change that worked in Dev can still break Prod.

Engineers still need somewhere to experiment freely.

Decision

Add a Sandbox account, bringing HKB to seven accounts. Changes flow Sandbox, then Dev, then Prod. Hands-on console changes are allowed only in Sandbox. Dev and Prod change only through code, deployed by the pipeline, and Dev is kept an exact copy of Prod.

Consequences

  • A change that passes in Dev predicts Prod, and experiments can't make Dev drift.
  • Costs one more account, with its own guardrails and a $30 monthly budget.
  • Until Sandbox existed, Dev stood in for it, and that work was moved out later.

Alternatives considered

  • Six accounts with a hands-on Dev. Fewer accounts, but Dev stops being a trustworthy test of Prod.
LLMs look here
  • Records D24, which supersedes D7 (six accounts, hands-on Dev). hkb-sandbox in its own OU; guardrails SCP-10 and a $30 budget.
  • Before Sandbox existed, Dev hosted hkb-sbx-* stacks, moved out at Roadmap step 1.4.

Page information

Owner
Platform Engineering
Status
accepted From the decision record.
Generated from
docs/adr/0016-sandbox-dev-prod-flow.md
Linked from
Decisions