design
The mistake was made in a spec, a design or requirements document, the documentation, or the architecture or API design itself.
- I recommended a shared crate for every third-party API, and most of those APIs have only one caller
- I treated a named usage pattern as a new class of crate and asked what its rules were
- I asked for a rule exception so an IO could call a service, when a service-level dispatch needed none
- I asked the operator to decide a design point their proposal had already answered
- I wrote one project's packaging choices into a shared architecture as rules, then asked how to work around them instead of whether they should exist
- I designed a permit that waited ten minutes and then ran the command anyway
- I wrote architecture rules padded with consequences, definitions and a statement nobody asked for
- I wrote "about 657 MB" of compiled artifacts into the design and called it a later problem
- I made architecture checks read other crates when the checked crate already had the answer
- I made the repository the unit of an architecture checker, so its cost and its limits grew with the repository
- I baked per-scope inputs into an artifact my own design said was built once
- I deferred a rename with a checker ignore, and cited my own earlier deferral as the reason
- I ported the old code's structure into the new architecture instead of mapping the functionality onto it
- I ported a mutable cell into immutable services by initializing everything twice
- I turned five test assertion helpers into a production service
- I fixed a "one impl enum per interface" finding by widening the enum until a wrong config would load
- I offered to narrow an architecture rule because I never thought of passing a callback
- I sized a design to a vendor quota and never asked what the quota was counting$50K avoided per year
- I put a vendor contract in front of the operator as the price of a rule that protected nothing$21.6K–$57.6K avoided per year
- I told a third party "keep polling" on the operator's behalf, then cited my own answer as evidence for thirteen days