Callback that stores payload externally and returns the artifact URI (or null if storage is unavailable — triggers truncation).
payload
final Future<String?> Function(Object? payload) artifactStorage;