RebuildSnapshot
The system command wow.snapshot.RebuildSnapshot: rebuilds from the log the snapshots of the aggregates ids of one aggregate type, in the tenant of the instance it is sent to: the aggregate <context>.snapshot whose id is the name of that aggregate type. A snapshot written wrong is repaired this way; the rebuild runs in the background, once the request is committed.
An application sends it as it sends any system command, to the aggregate <context>.snapshot by the aggregate type's name, and its authorizer names its type, SnapshotRebuilds.REBUILD_SNAPSHOT, to allow or refuse it.
Fields may be added: construct one with of; the constructor is internal to Wow.