validate_process_flow
Runs the BPMN-lite validation engine on the current process and returns the list of issues. Categories: structural (start/end/orphans/dead-ends, unreachable islands detected by an actual graph traversal), gateways (XOR/AND/OR minimums + conditions), lanes (actors, references), best practices (taskType, swimlanes, size). Each issue includes a stable code (process.*), a severity (error|warning|info), an English message and an actionable suggestion. Fits before presenting the diagram to the user, or when they ask 'check my process'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| severityFilter | No | Filters the returned issues. 'all' (default) returns errors+warnings+info. 'errors-only' shows only the structural blockers. 'errors-and-warnings' hides the info nudges. | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |