Skip to main content

CLI

module doctor

yarn mercato module doctor [--strict] [--json]

Doctor reads the app configuration and installed module source. It works before generation and needs no database. It reports missing kernel modules and hard dependencies, inactive optional capabilities, undeclared or upstream references, required extension contributions, and API or backend links without a known owner.

Missing kernel modules and hard dependencies fail the command. With --strict, static reference and contribution problems also fail it. Inactive optional capabilities are informational. The report marks source that could not be analyzed.

--json emits a versioned report containing the enabled module IDs and findings, including source locations when available. Static checks follow explicit declarations and source references. Run the packed kernel smoke or the relevant preset integration tests for runtime evidence.