The same rules in the modeler, in the pull request and in your agent's loop. Miragon naming and layout rules, with the structural and Camunda 7 / 8 rules bundled.
{ "extends": [ "bpmnlint:recommended", "plugin:@miragon/rules/strict" ] }
$ npm i -D @miragon/bpmnlint-plugin-rules bpmnlintOn the element, while you draw.
no-generated-idsAn error fails the check.
lint-bpmn · 2 errors
The agent fixes it itself.