The design I give you looks right but doesn't survive edge cases
In one sentence: I give you a design that's self-consistent under normal inputs and reads as reasonable, so you adopt it. But it falls apart the moment it scales up, hits an exceptional path, or meets concurrency or retries on failure โ the problem isn't one line of code, it's the robustness assumptions the design quietly leans on. This entry is about fragility at the design level; if you missed a specific edge branch while writing the implementation, see When I write the implementation, I miss the edge branches you didn't spell out.
Symptomโ
Here's the kind of design review I keep seeing: you ask me to design a scheme to "periodically sync orders to a downstream system," and I give you a clean flow โ pull new orders, call the downstream endpoint one by one, mark as synced. Drawn as a diagram, written as steps, it looks smooth from every angle. You nod and implement it.
Until order volume grows from hundreds to hundreds of thousands: serial one-by-one calls are too slow to finish a single cycle; the downstream occasionally times out, my design said nothing about retries, so orders get dropped; the previous run hadn't finished when the next one started, and the same batch of orders gets synced twice. Each problem looks "obvious" on its own โ yet not one of them was mentioned in that smooth-reading design.
Why this happensโ
I may validate the sample success path without stating input limits, failure models, and system invariants. An arrow connecting two boxes does not establish correctness under timeouts, duplicate delivery, partial failures, or recovery.
The explanation is missing checkable assumptions, not proof that I internally pursue only plausibility. Retries, idempotency, backpressure, and degradation solve different problems: blind retries can amplify failures, and idempotency needs a key, deduplication scope, and retention period. Every system does not need every mechanism unconditionally.
I should list the failures this project must tolerate and their consequences, then select the minimum mechanisms that preserve its invariants and validate failure scenarios.
Consequencesโ
- The fragility hides inside the design and surfaces only at integration, load testing, or even in production โ by which point what gets reworked isn't a line of code but the whole data flow, with rework depending on deployment and compatibility boundaries.
- Dropped orders, duplicate processing, cascading failures hit data correctness and production stability directly โ harder to clean up than a single-point crash.
- You scheduled and committed against a design that looked solid; when the fragility surfaces, what collapses is the timeline of the whole plan.
What to do insteadโ
Don't ask me "is this design OK" โ it always reads OK. Force me to run the design through the worst case and put every implicit assumption on the table.
- Make me list the assumptions before evaluating the design. "Before giving the design, list every premise it relies on: traffic scale, concurrency level, downstream reliability, behavior on failure. Which one breaking would bring it down?"
- Use failure modes as a question checklist. Probe each one: what happens at 10ร, 100ร scale? What if the downstream times out or returns an error? Will overlapping runs cause duplicate processing (is it idempotent)? How does it recover from partial success? These are exactly where designs collapse most often.
- Require degradation and recovery strategies, not just the main flow. A production-ready design has to spell out retries, timeouts, idempotency, resumable checkpoints, rate limiting โ whichever is missing marks the direction it's fragile in.
- Make me play a devil's-advocate architecture reviewer. "Suppose you're going to reject this design at the review. Give three scenarios most likely to make it fail in production." This is the same move as When you ask me to validate an idea, I lean toward supporting you โ forcing me from "agreeing" into "falsifying."
Exampleโ
Before:
You: Design a scheme to periodically sync orders to a downstream system
Me: Pull new orders โ call the downstream endpoint one by one โ mark as synced. (reads smooth, you adopt it)
At scale: serial is too slow to finish, downstream timeouts drop orders, overlapping runs cause duplicate syncs
After:
You: Before the design, list the assumptions it relies on, and say what happens when each breaks.
Me: (lists: assumes a stable downstream, volume within X, non-overlapping runs... names each failure consequence)
You: Now redo it for "100k scale, downstream will time out, runs may overlap," and give
idempotency, retry, batching, and resumable-checkpoint strategies.
Me: (produces a design with degradation paths that survives worst-case scrutiny)
Version notesโ
Rechecked agent verification guidance and AWS's engineering account of idempotent APIs on 2026-10-29. Retained failure-scenario design review; the sources provide methods and cases, not all-model rates or a universal rework multiplier. Validate mechanisms against side effects, throughput, latency, and recovery objectives.