requireValidTaskBridgeTaskId

Ensures taskId is safe for URL path segments and matches expected server identifiers.

Throws

when blank, too long, or contains forbidden characters.