SboxSuperuser/Engine/Commands/ICommandDispatcher.cs

Internal interface for command dispatching in the engine. Declares a single async DispatchAsync method that takes a CommandContext and CommandRequest and returns a Task of CommandResult. Notes say implementations reauthenticate host-issued contexts before executing.

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