Problem:
mxcli check --references reports missing references inside excluded microflows, even though Studio Pro allows excluded documents to keep stale references because they are not part of the runnable application.
Expected:
Reference validation should skip the body of excluded microflows while still validating included microflows.
Impact:
Large project audits can fail on intentionally excluded legacy scaffolding instead of actionable model errors.
Proposed fix:
Short-circuit microflow reference collection when a CreateMicroflowStmt is marked excluded.
Problem:
mxcli check --referencesreports missing references inside excluded microflows, even though Studio Pro allows excluded documents to keep stale references because they are not part of the runnable application.Expected:
Reference validation should skip the body of excluded microflows while still validating included microflows.
Impact:
Large project audits can fail on intentionally excluded legacy scaffolding instead of actionable model errors.
Proposed fix:
Short-circuit microflow reference collection when a
CreateMicroflowStmtis marked excluded.