Canonical storage layout for session recordings:
recordings/user-{userId}/patient-{patientId}/session-{yyyyMMdd_HHmmss}.{ext}
The server owns this layout (the chron-bucket-cleanup function that prunes it must stay in sync) — clients receive a fully-built key from storage.createSessionUploadTarget and never construct paths themselves.
chron-bucket-cleanup
storage.createSessionUploadTarget
Canonical storage layout for session recordings:
recordings/user-{userId}/patient-{patientId}/session-{yyyyMMdd_HHmmss}.{ext}
The server owns this layout (the
chron-bucket-cleanupfunction that prunes it must stay in sync) — clients receive a fully-built key fromstorage.createSessionUploadTargetand never construct paths themselves.