feat(rmi-backend,audit): add app/main.py entrypoint delegating to factory

Phase 1 of AUDIT-2026-Q3.md item P1.1.

app/main.py was referenced by Makefile, AGENTS.md, CONTRIBUTING.md,
and external `uvicorn app.main:app` invocations, but the file did not
exist (refactored to app/factory.py in a prior session — the docs were
never updated). This restores the canonical entrypoint.
This commit is contained in:
opencode 2026-07-06 17:49:25 +02:00
parent 1c815c07e4
commit e404e90c1a
2 changed files with 11 additions and 8399 deletions

11
app/main.py Normal file
View file

@ -0,0 +1,11 @@
"""RMI backend entrypoint.
Delegates to app.factory.create_app. Keeps `uvicorn app.main:app` working
as the canonical launch path referenced by Makefile, AGENTS.md, and
CONTRIBUTING.md.
Phase 1 of AUDIT-2026-Q3.md, item P1.1.
"""
from app.factory import create_app
app = create_app()