pub fn write_session_artifact_bytes(
session_id: &str,
artifact_id: &str,
extension: &str,
content: &[u8],
) -> Result<(PathBuf, PathBuf)>Expand description
Write arbitrary fetched bytes into a session artifact with a validated extension. Media fetches use this after magic-byte validation.