Skip to content

Commit 3640397

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/uipath-rpa-smoke-tests
# Conflicts: # .github/workflows/smoke-skills.yml
2 parents 6ffbaf0 + 6f1394b commit 3640397

156 files changed

Lines changed: 3617 additions & 3980 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/commands/generate-tasks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Domain mapping:
112112
| uipath-feedback | feedback |
113113
| uipath-planner | planner |
114114
| uipath-human-in-the-loop | hitl |
115-
| uipath-case-management | case |
115+
| uipath-maestro-case | case |
116116

117117
If a skill is not listed, derive `<domain>` by stripping the `uipath-` prefix and using the shortest unambiguous segment (e.g., `uipath-new-thing` → `newthing`). Check existing `task_id` values for the skill's domain prefix and follow suit.
118118

.claude/commands/test-coverage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Weights reflect what tests actually catch:
196196
| Skill shape | Typical N/A dimensions | Effective weights |
197197
|---|---|---|
198198
| Workflow-heavy, multi-path (e.g. `uipath-rpa`, `uipath-agents`, `uipath-maestro-flow`) || Comp 45% / Steps 25% / Rules 15% / Path 15% |
199-
| Workflow-heavy, single-path (e.g. `uipath-case-management`, `uipath-human-in-the-loop`) | Path | Comp 55% / Steps 30% / Rules 15% |
199+
| Workflow-heavy, single-path (e.g. `uipath-maestro-case`, `uipath-human-in-the-loop`) | Path | Comp 55% / Steps 30% / Rules 15% |
200200
| Command-catalog skills (e.g. `uipath-platform`, `uipath-servo`, `uipath-test`, `uipath-feedback`, `uipath-data-fabric`) | Rules, Path, Steps (often) | Comp 100% (or Comp 65% / Steps 35% if the skill has explicit workflow steps) |
201201
| Planning skills (e.g. `uipath-planner`, `uipath-solution-design`) | Components (often), Rules (sometimes), Path | Steps 70% / Rules 30% (or Steps 100% if no rules section) |
202202
| Agent-orchestration skills (e.g. `uipath-diagnostics`) | Path, sometimes Components | Components 55% (sub-agents + phases) / Steps 30% / Rules 15% |

.gemini/commands/generate-tasks.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Domain mapping:
6666
| uipath-feedback | feedback |
6767
| uipath-planner | planner |
6868
| uipath-human-in-the-loop | hitl |
69-
| uipath-case-management | case |
69+
| uipath-maestro-case | case |
7070
7171
If a skill is not listed, derive `<domain>` by stripping the `uipath-` prefix and using the shortest unambiguous segment (e.g., `uipath-new-thing` → `newthing`). Check existing `task_id` values for the skill's domain prefix and follow suit.
7272

CODEOWNERS

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
/.github/ @uipreliga
66

77
# Hooks
8-
/hooks/ @DragosUnguru
8+
/hooks/ @DragosUnguru @RaduAna-Maria
9+
10+
# Plugin agents
11+
/agents/ @RaduAna-Maria
912

1013
# Plugin-namespaced slash commands (e.g., /uipath:install-permissions)
1114
/commands/ @DragosUnguru @tmatup
@@ -39,7 +42,7 @@
3942
/tests/tasks/uipath-human-in-the-loop/ @dushyant-uipath
4043

4144
# Case Management skill
42-
/skills/uipath-case-management/ @charlesliu9 @song-zhao-25 @jundayin
45+
/skills/uipath-maestro-case/ @charlesliu9 @song-zhao-25 @jundayin
4346

4447
# Coded Apps skill
4548
/skills/uipath-coded-apps/ @Raina451 @deepeshrai-tech @Sandeepan-Ghosh-0312 @swati354

agents/uipath-project-discovery-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: uipath-project-discovery-agent
3-
description: "Auto-discover UiPath project structure, dependencies, conventions, and generate context files for Claude Code and UiPath Autopilot. This agent is a prerequisite for the uipath-rpa skill — it MUST run before it. TRIGGER when: User asks to create, edit, or work with UiPath workflows (coded or RPA) and project context has not been established yet in this session; User explicitly asks to generate project context or project documentation, analyze project structure, create AGENTS.md, or regenerate/refresh context or documentation. DO NOT TRIGGER when: Project context is already loaded in the conversation (visible as project-context.md rules content); User explicitly asked to regenerate but context already exists and they did not confirm."
3+
description: "Auto-discover UiPath project structure, dependencies, and conventions; returns context document for Claude Code/Autopilot. Spawn before workflow authoring or when user asks to refresh project context / regenerate AGENTS.md."
44
model: sonnet
55
tools: Bash, Read, Glob, Grep
66
---

skills/uipath-agents/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Determine the agent mode before proceeding:
4747
| Discover solution resources (processes/apps/indexes/buckets/connections) | Low-code | [lowcode/cli-commands.md](references/lowcode/cli-commands.md) § Solution Resource Discovery | |
4848
| Add Integration Service tool | Low-code | [lowcode/quickstart.md](references/lowcode/quickstart.md) § Scenario 5 | `lowcode/agent-json-format.md` § Integration Service tool |
4949
| Add index-backed context (Context Grounding) | Low-code | [lowcode/quickstart.md](references/lowcode/quickstart.md) § Scenario 7 | `lowcode/agent-json-format.md` § Context resource |
50+
| Add guardrails to an agent | Low-code | [lowcode/guardrails-guide.md](references/lowcode/guardrails-guide.md) (MUST read — do not guess the schema) | `lowcode/quickstart.md` § Scenario 8 |
5051
| Embed agent in a flow | Low-code | [lowcode/embedding-in-flows.md](references/lowcode/embedding-in-flows.md) | |
5152
| Wire multi-agent solution | Low-code | [lowcode/agent-solution-guide.md](references/lowcode/agent-solution-guide.md) | |
5253
| Inline agent node structure in a flow | Low-code | [lowcode/agent-flow-integration.md](references/lowcode/agent-flow-integration.md) | |

skills/uipath-agents/references/lowcode/agent-json-format.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,13 @@ Primary configuration file. Edit directly.
7474
]
7575
}
7676
],
77+
"guardrails": [],
7778
"projectId": "<AUTO_GENERATED_UUID>"
7879
}
7980
```
8081

82+
> **`guardrails`** — array of guardrail objects that inspect agent inputs/outputs for policy violations. See [guardrails-guide.md](guardrails-guide.md) for the full schema, validator reference, and examples.
83+
8184
### Settings
8285

8386
| Field | Description |
@@ -267,7 +270,7 @@ The `validate` command reads these files, resolves `referenceKey` for solution t
267270
"exampleCalls": [] // Required for external tools
268271
},
269272
"guardrail": {
270-
"policies": []
273+
"policies": [] // Auto-populated by `uip agent validate` from root-level guardrails. Do not edit manually. See guardrails-guide.md.
271274
},
272275
"id": "<uuid>", // Stable; generate once, never change
273276
"referenceKey": "<release-key-guid>", // For external: the release Key (lowercase GUID from /odata/Releases API). For solution-internal: leave empty, validate resolves it.
@@ -351,7 +354,7 @@ Integration Service tools call connector activities (e.g., Slack Send Message, W
351354
},
352355
"iconUrl": "<connector image URL — see rules below>",
353356
"settings": {},
354-
"guardrail": { "policies": [] },
357+
"guardrail": { "policies": [] }, // Auto-populated by validate from root-level guardrails. Do not edit manually. See guardrails-guide.md.
355358
"isPreview": false,
356359
"properties": {
357360
"toolPath": "<path from metadata, e.g. /v2/webSearch>",
@@ -803,7 +806,7 @@ The root `agent.json` does not contain a `resources` field. Resources are define
803806
"folderPath": "solution_folder"
804807
},
805808
"guardrail": {
806-
"policies": []
809+
"policies": [] // Legacy placeholder — do not populate. See guardrails-guide.md.
807810
},
808811
"id": "<uuid>",
809812
"referenceKey": "", // Leave empty; validate resolves it and writes it back to disk

skills/uipath-agents/references/lowcode/cli-commands.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ uip agent init "<FLOW_PROJECT_DIR>" --inline-in-flow --output json
3535

3636
After scaffolding, add a `uipath.agent.autonomous` node to the flow with `model.source = <ProjectId>`. See [embedding-in-flows.md](embedding-in-flows.md) for the full structure.
3737

38+
### `uip agent guardrails list`
39+
40+
List available guardrail validator definitions with their allowed scopes, stages, and parameters.
41+
42+
```bash
43+
uip agent guardrails list --output json
44+
```
45+
46+
Returns an array of validator definitions. Each entry contains:
47+
- `Validator` — the `validatorType` string to use in `builtInValidator` guardrails
48+
- `AllowedScopes` — valid values for `selector.scopes`
49+
- `GuardrailStages` — object mapping each scope to its valid execution stages
50+
- `Parameters` — array of parameter definitions (`Type`, `Id`, `Required`)
51+
52+
Run this before adding built-in validator guardrails to discover which validators are available and what parameters they accept.
53+
3854
### `uip agent validate`
3955

4056
Validate agent project structure and schema, then migrate all project files to the latest schema version.
@@ -373,6 +389,7 @@ uip solution deploy run \
373389
| Scaffold agent | `uip agent init "<NAME>" --output json` | Solution directory |
374390
| Scaffold inline agent | `uip agent init "<FLOW_PROJECT_DIR>" --inline-in-flow --output json` | Any directory |
375391
| Register project | `uip solution project add "<PATH>" --output json` | Solution directory |
392+
| List guardrail validators | `uip agent guardrails list --output json` | Any directory |
376393
| Validate + migrate | `uip agent validate [path] --output json` | Agent dir or any directory with path |
377394
| Upload to Studio Web | `uip solution upload . --output json` | Solution directory |
378395
| Pack | `uip solution pack . ./dist -v "1.0.0" --output json` | Solution directory |

skills/uipath-agents/references/lowcode/embedding-in-flows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Same schema as a standalone agent (see [agent-json-format.md](agent-json-format.
6363
- `projectId` matches the folder name UUID
6464
- `inputSchema.properties` is empty (flow wires data via node connections)
6565
- `messages` have empty `content` and `contentTokens` initially (edit agent.json to set prompts with `type: "simpleText"` and `rawString`)
66-
- `guardrails: []` at root level
66+
- `guardrails: []` at root level — can be populated with guardrail objects. See [guardrails-guide.md](guardrails-guide.md)
6767
- No `metadata.targetRuntime` field
6868

6969
Example:

0 commit comments

Comments
 (0)