collect
fun collect(submittedAtEpochMs: Long, deviceName: String?, result: String, verified: Boolean, statement: String?, proofBytes: ByteArray): String
Writes all artifacts for one submission to <dir>/<id>/ and returns the id. Extraction and file emission happen once, here — the report and downloads just read files afterwards.