Repository navigation
🍒 [v1.207] fix(uipath-maestro-bpmn): edit a target outside /solution in /tmp, never init a project for it (Studio Web) - #4878
Merged
rockymadden merged 1 commit intoNov 18, 2026
Conversation
…ver init a project for it (Studio Web) (#4809) * fix(uipath-maestro-bpmn): edit a target outside /solution in /tmp, never init a project for it (Studio Web) The in-page SDK verbs and node reach only /solution and /tmp. A loose target elsewhere made agents scaffold a project to satisfy refresh, leaving a stray template that fails validate and stamping an entryPointId the user did not author. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(studioweb): guard the outside-/solution edit rule for BPMN Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(uipath-maestro-bpmn): quote the SDK's refusal, make the loose-target steps runnable, scope the entryPointId rule in draft mode Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(uipath-maestro-bpmn): a loose target skips the connector step, since only refresh writes bindings_v2.json Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(uipath-maestro-bpmn): name the connector bullet a loose target skips; drop the unbacked reply instruction Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(uipath-maestro-bpmn): scope the outside-/solution rule to an existing file, override the Workflow's refresh, add cd and undo Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(uipath-maestro-bpmn): name Critical Rule 5 in the no-refresh override; narrow the /solution copy refusal to its evidence Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(uipath-maestro-bpmn): the Studio Web merge baseline is a compile of the unedited source, never a copy of the target A copy of the target holds pools and lanes the SDK does not model, so merge reads them as deleted (preserve-lanes-conditions, run 43959425762: Removed 9, plane re-targeted after format). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(uipath-maestro-bpmn): one baseline rule for both wrong baselines (target copy, edited file); mkdir and re-merge in the recovery Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
github-actions
Bot
requested review from
a team,
AlvinStanescu,
RaduAna-Maria,
astridstaicu,
dmetzgar,
gabrielavaduva,
gozhang2,
marius-bughiu,
rockymadden,
smflorentino and
uipreliga
as code owners
November 17, 2026 21:15
roberts-cliff
approved these changes
Nov 17, 2026
roberts-cliff
left a comment
Contributor
There was a problem hiding this comment.
Cherry-pick reviewed — diff matches source. LGTM.
dmetzgar
approved these changes
Nov 17, 2026
rockymadden
deleted the
fix-bpmn-sw-target-outside-solution-CP-to-release-v1-207
branch
November 18, 2026 14:50
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
Studio Web eval run
2026-11-16_09-25-49failedskill-bpmn-edit-add-nodeandskill-bpmn-edit-preserve-lanes-conditions. Both passed on 11-13 (Studio Web was still on V1 then) and on the codex/claude nightlies.The eval harness mounts the fixture at
/sandbox. The in-page SDK verbs andnodereach only/solutionand/tmp:decompile: ENOENT /sandbox/OrderIntake.bpmnError: Node sandbox path is outside /solution and /tmp: /sandboxThe SDK's hint ("Pass the project's copy under /solution instead") points agents back at
/solution.cp,validateand the agent's file tools do read/sandbox. All 8 Studio Web edit tasks hit thisENOENT. Of the 6 that passed, 4 ran the loop on a/tmpcopy and copied it back. add-output hand-edited the XML in/sandbox. move-node ran the/tmploop and deletedentryPointId: falseas the seed rule says; the merge then stamped an id onStart_1, so the agent fell back to hand-editing. 3 of the 8 ranuip maestro bpmn initunder/solution. move-node then hitStudioWebFileSystem: binary writes are not supportedoncpinto/solution, fell back to/tmpand passed; this refusal is more support for ignoring the hint to copy into/solution. The other 2 failed:entryPointId: false, orrefreshfails" made the SDK stamp auipath:entryPointIdonStart_1→check_add_node.py:Start_1 config/payload changed. move-node hit the same stamp in/tmpwith no project.refreshfailed in/tmp(noproject.uiproj), so the agent raninit ExpenseClaimProject. The template's_Implicit_EndEventhas no DI →validate_bpmn.pyfails on the strayProcess.bpmn. (The other failure,.flow-sdk/original/, is the grader fix in #4754.)Canvas check: PO.Frontend
origin/developmints an id on every root start event that lacks one as soon as the file opens (src/services/uipath/UiPathEntryPointIdUtil.ts:117-119, dispatched byuseUiPathEntryPointListener.ts, mounted atsrc/components/bpmn/BpmnDesigner.tsx:181). So the id itself is canvas-consistent inside a project. The defect is the project the user never asked for. The grader stays as it is.What
Studio Web flavor only (
skill-flavors/studioweb/uipath-maestro-bpmn/SKILL.md):host-setup: an existing.bpmnoutside a/solutionproject is edited as a copy in/tmp/bpmn-work/<Name>/. The loop runs there withoutrefresh(and so without its connector bullet, which readsbindings_v2.json) and keepsentryPointId: false; the result iscp'd back and validated. The paragraph quotes the refusals, says to ignore the hint to copy into/solution, overrides the "refresh every time" in the Critical Rules, the Workflow and the loop for this case, and gives the undo. Neverinita project for such a file. (A.bpmnor project that does not exist yet is fix(uipath-maestro-bpmn): Studio Web builds into the project's main file; grader accepts the canvas CaseRulesEvaluator element #4808's rule.)validation-loop: themergebaseline is step 1's compile of the unedited source, never a copy of the target (a copy holds the pools and lanes the SDK does not model, somergedeletes them) or the edited file (mergesees no change), with the recovery when the baseline is missing.workflow-seedandreferences/draft-skeleton.md: deleteentryPointId: falseonly when the target is in a project.tests/scripts/studioweb-flavor-contract.test.mjs.No canonical change. In real Studio Web every open file is under
/solution, so in-project behaviour is unchanged.Not in this PR
skill-bpmn-feet-inches(greenfield) failed for a different reason. The agent renamed the init template's process and start ids, somergeremoved the whole diagram ("No diagrams found"). The agent then ended its turn before runningformat, which the loop already prescribes. That is n=1 and is tracked separately until a rerun shows it recurs.Verification
npm run skills:validate,skills:build,skills:check-linksandstudioweb-flavor-contract.test.mjspass.multi_node/feet_inches, head b805d0a): https://github.com/UiPath/skills/actions/runs/43942546711 — 9/9 pass (evalboard2026-11-16_20-05-25-gha-43942546711-1). 7/8 edit agents ran the loop in/tmp/bpmn-work; 0 raninitorrefresh(09-25-49 baseline: 8/8 hit ENOENT, 3 raninit, 2 failed)preserve-lanes-conditionsfailed: the agent skipped step 1's baseline compile, copied the target in as the baseline, andmergedeleted the pool and lanes (Removed: 9);mergealso dropped the diagram (validate:No diagrams found), andformatdrew a new one on the bare process. feet-inches made the same substitution on 09-25. Fixed by the baseline bullet above.preserve-lanes-conditionsagain https://github.com/UiPath/skills/actions/runs/43962430795 — 1/1 passpreserve-lanes-conditionshttps://github.com/UiPath/skills/actions/runs/43965253668 — 1/1 pass (2026-11-16_22-07-21-gha-43965253668-1)🤖 Generated with Claude Code
Automatically cherry-picked from #4809 to
release/v1.207by @rockymadden.