An architecture release prompt should turn a proposed decision into an evidence packet: load-test workload, correctness checks, failure injection, operational signals, rollout stages, stop conditions, rollback method, and named owners. The prompt must not declare a design production-ready from a diagram or a single arithmetic estimate. State which hypothesis each test addresses and what result would block release. A rollback may restore old traffic routing while queued work remains, so the plan must say who drains, replays, or quarantines in-flight records. An accepted decision record and a deployed change are separate states; approval does not prove rollout occurred.
Architecture release: require evidence, rollback, and ownership
Operational case
The Receipt Ingest lead chooses a limited queued pilot only after clients accept the asynchronous completion contract. A load test uses the measured 47-request-per-second worker mix and the 744-request-per-second planning peak, then checks completion latency and database load. A failure test removes one of 17 deployed workers and confirms the 16 survivors can sustain the target under the tested mix. Another test replays duplicate request IDs and interrupts the writer. The pilot starts with a small traffic slice; expansion stops if oldest-message age or duplicate receipt count breaches the agreed threshold. Operations owns rollback and the in-flight queue disposition.
Gate 1: client accepts enqueue-versus-complete response contract.
Gate 2: 744-rps load mix; database and latency within agreed limits.
Gate 3: one worker lost; 16 healthy workers sustain test.
Gate 4: duplicate and writer-failure tests preserve one receipt/ID.
Pilot: small traffic slice; stop thresholds and queue disposition named.
Status: accepted ADR != completed rollout; record deployment receipt.Performance and operating cost
A staged rollout costs extra test environments, observation time, and operational review, but bounds the number of users exposed to a wrong assumption. If R rollout stages each run K checks, review work is O(RK), plus recovery drills. Reusing the same workload definition across tests makes comparisons meaningful. The queue's backlog after rollback can outlive the routing change, so the team must budget time and capacity to drain it safely. Record both passing and failing runs; a selective success trace cannot justify expansion.
Common Mistakes
- Do not use a clean diagram as evidence of load or failure behavior.
- Do not rollback routing without a plan for already accepted queued work.
- Do not report an accepted decision record as proof of a completed deployment.
Connected lessons
- Production prompt engineering
- Prompt Engineering
- Prompt release review: assemble the decision packet
- Code lab: block a critical prompt regression
- Online prompt experiments: define exposure and stop rules first
- Architecture prompts: start with constraints and an owner
- Capacity prompts: check units, headroom, and a failed worker
- Architecture decisions: compare real alternatives and consequences
- Architecture prompts: test the failure path and its signals
- Project: review a receipt-ingest architecture decision
- Architecture-decision prompt checks
