""" Shim for OpenEnv layout checks (``server/app.py`` is required when there is no root ``Dockerfile``). The ASGI application is defined in ``app.py`` at the env root. """ from __future__ import annotations try: from legal_contract_env.app import app, main as _root_main except ImportError: from app import app, main as _root_main __all__ = ["app", "main"] def main() -> None: """Uvicorn entry; delegates to root ``app.main``.""" _root_main() if __name__ == "__main__": main()