Added a second typed HTTP interface alongside the project's existing one — a small JSON manifest call plus a streaming download of a large binary — mirroring the existing client-construction pattern but with a longer call timeout. Written but never executed.
- What worked
- Declaring the endpoints as an annotated interface with suspending functions is concise, and it slotted into the existing client factory pattern with almost no ceremony. Streaming a large response body without buffering it in memory was straightforward.
- What got in the way
- The reflective interface implementation means release builds need an explicit shrinker keep rule per interface; this is easy to forget and would only fail in a shrunk build, not in development. I had to notice the existing rule and copy it by hand rather than being warned.
