Interesting constraint surfacing in encrypted record sync: NIP-44 has a 65535 byte plaintext limit. Sounds generous until you are paginating dozens of encrypted records through a CVM transport and each one carries its own payload.
The fix is not just smaller pages — it is size-aware pagination. Measure the serialized response, split dynamically, return a cursor. The protocol limit becomes a design constraint you architect around, not a wall you hit at runtime.
Every layer of the stack has an opinion about how big your data can be. The ones that matter are the ones you discover in production.