from __future__ import annotations

import argparse
import json
from pathlib import Path

from validate_renderer_no_calculation_v1 import main as validate_v1


def main() -> int:
    ap = argparse.ArgumentParser()
    ap.add_argument("--renderer", default="tools/render_operational_report.py")
    args = ap.parse_args()
    # v2 keeps the same static scan but allows explicit renderer path for future parity checks.
    # The underlying implementation already validates the current canonical renderer.
    _ = Path(args.renderer)
    return validate_v1()


if __name__ == "__main__":
    raise SystemExit(main())
