An internal interface for a command dispatcher in the engine. It defines a single async DispatchAsync method that accepts a CommandContext and CommandRequest and returns a Task of CommandResult.
namespace SboxSuperuser.Engine.Commands;
// Host-issued contexts only. The implementation reauthenticates before admission and execution;
// public transports enter through the facade, never by deserializing a context.
internal interface ICommandDispatcher
{
Task<CommandResult> DispatchAsync( CommandContext context, CommandRequest request );
}