SboxSuperuser/Engine/Commands/ICommandDispatcher.cs

Defines an internal interface, ICommandDispatcher, with a single DispatchAsync method taking a CommandContext and CommandRequest and returning a Task<CommandResult>. A comment states the implementation reauthenticates before admission and execution and that public transports must go through a facade rather than deserialize contexts.

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