validate_arch
Runs the validation engine on the current architecture diagram and returns the list of issues. Categories: structure (isolated nodes, queues wired on one side only — no producer or no consumer), security (publicAccess node carrying pii/secret data, sensitive data flows to an external service → DPA reminder). Each issue includes a stable code (arch.*), a severity (error|warning|info), an English message and an actionable suggestion. Fits before presenting the architecture to the user, or when they ask 'check my architecture'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| severityFilter | No | Filters the returned issues. 'all' (default) returns EVERYTHING (error+warning+info). 'errors-only' keeps only the most serious severity — currently a single class: public exposure of PII/secret data (arch.public-sensitive-data). 'errors-and-warnings' hides the info nudges (e.g. DPA reminder). | |
| 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. |