"""Hosted-agent process entry (Fase 4d): the ONE file that starts the service. Thin by design — the runtime contract lives in ``portfolio_optimiser.hosting`` (packaged and tested); this file is the scaffold-conventional ``main.py`` that ``python main.py`` starts, which is the single start command DEPLOY.md prints (14.08: the delivery is runnable Python, and no image ``CMD`` exists to be a second copy of it). It is part of the git archive, 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()