A shared contracts library between API and clients
The client had an enum with one value fewer than the API, and nobody noticed until deserialization failed. Why copying request and response types into a client project always drifts, how a small contracts package fixes it, what may and may not go into it, and how to stop breaking changes in CI.