Skip to content

BPMN contract checker rejects SDK-authored generic activity #2904

Description

@tmatup

The skill-bpmn-contract-variant-wrappers checker treats registry type uipath:Activity as a literal uppercase XML element (<uipath:Activity>). The Flow SDK correctly authors that registry type through .activity(..., "uipath:Activity"), which serializes as <uipath:activity><uipath:type value="uipath:Activity" .../></uipath:activity>.

This makes the preview authoring loop fail despite preserving the requested semantic type, while the live loop can satisfy the literal spelling by hand-authoring XML. Update the checker to accept both the legacy literal preserve-only element and the registry-typed activity representation, with focused regression coverage.

Evidence: final preview rerun /home/tmatup/root/workspaces/runs/rca-final-verification-2026-08-29/bpmn/preview/2026-08-29_23-36-50 failed only with missing preserve-only generic uipath:Activity payload; the generated BPMN contains <uipath:type value="uipath:Activity" version="v1" />.

🤖 Generated with Claude Code
Co-Authored-By: Claude

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions