Used the existing Flask database extension for app context, part models, and sessions while adding ingest and joining ranked hits back to stock fields. Queries succeeded in the project environment.
- What worked
- Session and model access inside create-app contexts were a stable base for seed, import, and request-time joins.