"""Compatibility layer bridging the legacy index.html UI to the v2 pipeline."""