You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Require each sequenceFlow to have a bpmndi:BPMNEdge with at least two di:waypoint (missing_bpmn_edge / incomplete_bpmn_edge).
On create-process / update-process, run layout when DI is incomplete even if auto_layout_bpmn is false (when layout is enabled in config).
Update MCP server instructions, skills, and tests (unit + Node feature test).
Medium Risk
Touches BPMN save/deploy paths and spawns an external Node process for layout; new MCP tools perform authorized create/update operations on core assets.
Overview BPMN diagram interchange and auto-layout — MCP process create/update now treats missing or broken sequence-flow diagram info as a first-class problem. ProcessBpmnValidator fails validation when a sequenceFlow has no bpmndi:BPMNEdge or fewer than two di:waypoint entries (missing_bpmn_edge / incomplete_bpmn_edge), and exposes lacksSequenceFlowDiagramInterchange for callers. ProcessCatalog runs BpmnLayoutService (external Node layout script when mcp.bpmn_layout.enabled) on create/update when the user opts in via auto_layout_bpmn (default true) or when interchange is incomplete—even if auto_layout_bpmn is false—so Modeler no longer shows spider connectors from (0,0). A dedicated layout-bpmn tool and updated Process MCP instructions/skills document the behavior.
The same changeset also wires this into a broader Model Context Protocol surface: Process, Screen, and Data Connectors MCP servers with catalogs, validators, guidance/skills resources, and CRUD-style tools for processes (including plan-process and BPMN validation), screens, data connectors, and collections.
Reviewed by Cursor Bugbot for commit 4b53c1b. Bugbot is set up for automated code reviews on this repo. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Require each sequenceFlow to have a bpmndi:BPMNEdge with at least two di:waypoint (missing_bpmn_edge / incomplete_bpmn_edge).
On create-process / update-process, run layout when DI is incomplete even if auto_layout_bpmn is false (when layout is enabled in config).
Update MCP server instructions, skills, and tests (unit + Node feature test).