A test that snapshots everything the server persists for a message (rows + storage objects) and asserts none of it yields plaintext without client keys — the central guarantee of the E2EE architecture, encoded as an automated check.
Acceptance criteria:
- Persisted artifacts contain no recoverable plaintext
- Test fails loudly if a plaintext leak is introduced
- Runs in CI on every PR touching messaging
A test that snapshots everything the server persists for a message (rows + storage objects) and asserts none of it yields plaintext without client keys — the central guarantee of the E2EE architecture, encoded as an automated check.
Acceptance criteria: