Tests TransformEngine: constant folding (3+4->7), dead code elimination after return, OptimizationLock produces warning but doesn't block, and no-op when nothing to transform. Defines TransformEngine interface. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>