I recently opened a PR for an ADR to limit Modulestore access in the LMS to the courseware app. This would mean that other apps that need to access course settings and structure data would need to either move to more predictable, performant APIs (e.g. CourseOverviews, Learning Sequences), or start collecting data from the Modulestore themselves during course publishing.
Since this ADR may affect many folks, I’m going to hold it open for two weeks for comments. The merge target is June 2.