Skip to content

FOUR-34373 Review the MCP and Skills project using a real use case - #9195

Merged
pmPaulis merged 17 commits into
feature/FOUR-34328from
FOUR-34373
Nov 30, 2026
Merged

pmPaulis merged 17 commits into
feature/FOUR-34328from
FOUR-34373

Conversation

@devmiguelangel

@devmiguelangel devmiguelangel commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Deploy process, Alternative B : deploy-process accepts alternative and publish; DeployProcessAlternativeB service.
  • Deploy script executor: deploy-script accepts script_executor_id or script_executor_title (php only, 422 otherwise); an update without it keeps the executor. ScriptExecutorResolver added.
  • Process settings via MCP: update-process sets case_title, manager_id and notifications without publishing a version; ProcessNotificationSettings.
  • Process inventory and groups: get-process-inventory tool (ProcessInventory), create-group tool, list-groups with exact name filter, members_count and same_name_count.
  • Screen validation: validate-screen returns info for small native FORM screens (5 controls or fewer) and for edits to stored native screens; warns to prefer the Vue Component Editor.
  • Screen YAML export: screen-yaml export adds inspector: [] to every item.

Tests

  • tests/Feature/Mcp: 52 tests pass (includes the process inventory, group and validation cases)
  • DeployScreenControllerTest: 8 tests pass
  • Script executor tests: 16 PHPUnit tests pass (includes executor 13 and executor 99999 → 422)
  • DeployProcessControllerTest for Alternative B: not re-run in this summary; check before merge

Related Tickets

https://processmaker.atlassian.net/browse/FOUR-34373
https://github.com/ProcessMaker/skills/pull/78
ProcessMaker/package-skeleton#34

...

@cursor

cursor Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

PR Summary

Medium Risk
Touches deploy APIs, authorization on script executors, and MCP process settings/notifications; behavior is well covered by new feature tests but deploy Alternative B paths should be verified before merge.

Overview
Expands deploy and MCP workflows for real-world automation: process deploy can target Alternative B (alternative, publish) via DeployProcessAlternativeB without touching live A or asset version history; script deploy accepts PHP executor by id or title with validation and 403 rules for non-admins; screen YAML export adds inspector: [] so round-trips match the contract.

MCP Process server gains get-process-inventory (ProcessInventory), create-group, richer list-groups (exact name, members_count, same_name_count), and update-process support for case_title, manager_id, and notifications (ProcessNotificationSettings) without publishing versions. Screen MCP validation returns info for small or existing native FORM screens instead of always warning on Vue.

Plugin install detects empty remotes and throws PluginInstallException::emptyRepository() with a clearer message; the Create Plugin UI keeps git credentials visible. Tenant plugin asset resolution in ScreenBuilderManager aligns with PluginVendorAssets::tenantPackageRoot.

Reviewed by Cursor Bugbot for commit 45434a8. Bugbot is set up for automated code reviews on this repo. Configure here.

@devmiguelangel devmiguelangel self-assigned this Nov 24, 2026
@devmiguelangel devmiguelangel changed the title feat(mcp): add process inventory, groups and deploy options for FOUR-34373 FOUR-34373 Review the MCP and Skills project using a real use case Nov 24, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 11a0d15. Configure here.

@cursor
cursor Bot requested review from agustinbusso and gproly November 24, 2026 19:01
@ProcessMaker ProcessMaker deleted a comment from cursor Bot Nov 24, 2026
@devmiguelangel
devmiguelangel requested review from pmPaulis and removed request for agustinbusso and gproly November 24, 2026 19:01
@cursor
cursor Bot requested review from agustinbusso and gproly November 26, 2026 18:57
cursor[bot]

This comment was marked as outdated.

@cursor
cursor Bot requested a review from agustinbusso November 26, 2026 19:27
@devmiguelangel
devmiguelangel removed the request for review from agustinbusso November 26, 2026 19:31
@decisions-sonarqube

Copy link
Copy Markdown

@pmPaulis
pmPaulis merged commit 0557af4 into feature/FOUR-34328 Nov 30, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants