Path Effects as Mask
When a shape has path effects applied, and another element sets it as a mask, we get its original bounds (not the path effect output) as its clipping mask shape.
For example: draw a rectangle, apply a Path Effect script that causes it to warp, then place another object on the stage and set its clip path to the (warped) rectangle. You’ll see it masked by the original rectangle’s shape, not the warped shape.
The post-path-effect shape should be applied as the clipping mask…