"""Hosted-agent process entry (Fase 4d): the ONE file the container starts. Thin by design — the runtime contract lives in ``portfolio_optimiser.hosting`` (packaged and tested); this file is the scaffold-conventional ``main.py`` that the Dockerfile ``CMD`` and ``azure.yaml`` point at. It is part of the git archive (the build context), not of the wheel: a wheel consumer starts the same server with ``python -c "from portfolio_optimiser.hosting import main; main()"``. """ from portfolio_optimiser.hosting import main if __name__ == "__main__": main()