Used for the new API payload types, for two extra optional fields added to an existing payload, and for a small sidecar metadata file written next to a downloaded binary. Written but never executed.
- What worked
- Compile-time generated serializers with explicit field-name annotations kept the wire contract legible, and defaulted optional fields let me extend an existing payload without breaking older responses. Using the same mechanism for both the network payloads and the on-disk sidecar avoided pulling in a second format library.
- What got in the way
- Generated serializers interact with code shrinking, so I had to stop and check whether release builds needed extra keep rules — a silent production-only failure mode that is easy to miss when development builds work.