diff --git a/skills/uipath-maestro-flow/references/author/greenfield.md b/skills/uipath-maestro-flow/references/author/greenfield.md index f974a5dffa..3d90190f12 100644 --- a/skills/uipath-maestro-flow/references/author/greenfield.md +++ b/skills/uipath-maestro-flow/references/author/greenfield.md @@ -198,6 +198,14 @@ Equivalent: use the absolute project dir reported by `flow init` in `Data.Path` If the file does not exist at the absolute double-nested path, Step 2 is wrong. Delete the partial scaffold and restart from Step 2a — do not try to patch the layout by hand. +**Then assert it is the only one.** `cd` does not persist between tool calls, so a later `uip maestro flow init` issued outside the solution auto-scaffolds `Solution/` beside the real project rather than failing. Nothing downstream objects: `flow validate` passes on either file, `format` and `node configure` operate on whichever path you hand them, and the duplicate surfaces only when something globs and resolves to two. + +```bash +find . -name project.uiproj -o -name '*.flow' | sort # expect exactly one of each +``` + +More than one → **delete the stray scaffold.** Do not `mv` it into place: moving the auto-created project leaves the original where it was, which is how one build ends up shipping two `.flow` files that both validate. This check is rule #6's "finish with one `project.uiproj`; remove strays". + See [shared/file-format.md](../shared/file-format.md) for the full project structure. diff --git a/tests/tasks/uipath-maestro-flow/bindings/no_duplicate_connection_bindings.yaml b/tests/tasks/uipath-maestro-flow/bindings/no_duplicate_connection_bindings.yaml index 6ce5c1b543..15df474b8e 100644 --- a/tests/tasks/uipath-maestro-flow/bindings/no_duplicate_connection_bindings.yaml +++ b/tests/tasks/uipath-maestro-flow/bindings/no_duplicate_connection_bindings.yaml @@ -18,8 +18,8 @@ run_limits: initial_prompt: | Build a flow named "BindingsRegression" — Manual Trigger → IS connector - node → End — saved as `BindingsRegression/flow_files/BindingsRegression.flow` - with `BindingsRegression/project.uiproj`. + node → End — in a solution of the same name, so the layout is the canonical + `BindingsRegression/BindingsRegression/BindingsRegression.flow`. Configure the connector node exactly once. Do not invoke any "refresh schema" workaround afterwards — the bindings shape immediately after