Code/SboxSuperuser/Engine/Commands/ICommandDispatcher.cs

Interface for the command dispatcher in the SboxSuperuser engine layer. Declares a single async method taking a host-issued CommandContext and a CommandRequest and returning a Task of CommandResult. Nothing is implemented here.

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 );
}