Function: validateCommands()
validateCommands(
commands,options?):CommandValidation
Validate a command batch: each command's shape, the phase it belongs to, unique ids within the batch, the activity allow-list, and at most one terminal command, last.
Parameters
commands
unknown