# Server Reference Decision

This source bundle is arranged around the messaging trust model.

The client package is build-ready and shows where credentials, device keys, prekeys, ratchet state, sender keys, and feature logic live on the device.

The server reference sits beside that client package and shows the server-side files that are most useful for understanding what reaches the relay:

- device public keys
- signed prekeys and one-time prekeys
- direct-message ciphertext and per-device encrypted message keys
- encrypted group-message payloads and sender-key metadata

Reading the client and server reference together makes it possible to trace the path from on-device key generation to encrypted payload storage in the relay.
