Enum type that documents whether a command handler mutates shared state. It defines ReadOnly for observers and Mutation for handlers that perform serialized mutations and need runtime authorization.
namespace SboxSuperuser;
/// <summary>Declares whether a handler mutates shared state; it grants no permission.</summary>
public enum CommandExecutionPolicy
{
/// <summary>Observes state without mutations.</summary>
ReadOnly = 0,
/// <summary>Requires serialized mutations and execution-time authorization.</summary>
Mutation = 1,
}