Skip to content

Reference validation reports stale references inside excluded microflows #312

@hjotha

Description

@hjotha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions