@uipath/skills 1.200.0 → 1.201.0-preview.433

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.cursor-plugin/plugin.json +32 -0
  4. package/CODEOWNERS +25 -4
  5. package/README.md +1 -0
  6. package/assets/skill-status.json +8 -0
  7. package/assets/uip-catalog-snapshot.json +113 -41
  8. package/assets/uipath-icon.png +0 -0
  9. package/commands/install-permissions.md +1 -0
  10. package/package.json +3 -2
  11. package/skills/uipath-admin/SKILL.md +1 -1
  12. package/skills/uipath-admin/references/authorization/permission-catalog.md +61 -1
  13. package/skills/uipath-admin/references/authorization/role-management.md +3 -1
  14. package/skills/uipath-admin/references/diagnose/references/failure-modes.md +29 -4
  15. package/skills/uipath-admin/references/diagnose/references/troubleshooting-guide.md +13 -0
  16. package/skills/uipath-agents/SKILL.md +1 -0
  17. package/skills/uipath-agents/references/coded/capabilities/context-grounding.md +3 -3
  18. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails-recommend.md +6 -1
  19. package/skills/uipath-agents/references/coded/capabilities/guardrails/guardrails.md +89 -1
  20. package/skills/uipath-agents/references/coded/embedding-in-flows.md +17 -1
  21. package/skills/uipath-agents/references/coded/frameworks/llamaindex-integration.md +64 -2
  22. package/skills/uipath-agents/references/coded/lifecycle/deployment.md +3 -0
  23. package/skills/uipath-agents/references/coded/lifecycle/environment-variables.md +90 -0
  24. package/skills/uipath-agents/references/coded/lifecycle/file-sync.md +3 -1
  25. package/skills/uipath-agents/references/coded/quickstart.md +10 -6
  26. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails-recommend.md +20 -5
  27. package/skills/uipath-agents/references/lowcode/capabilities/guardrails/guardrails.md +13 -0
  28. package/skills/uipath-agents/references/lowcode/capabilities/inline-in-flow/inline-in-flow.md +1 -3
  29. package/skills/uipath-api-workflow/references/operating-published-workflows.md +17 -6
  30. package/skills/uipath-automationhub/SKILL.md +58 -0
  31. package/skills/uipath-automationhub/references/api-endpoints.md +140 -0
  32. package/skills/uipath-automationhub/references/get-process.md +69 -0
  33. package/skills/uipath-automationhub/references/publish-process.md +171 -0
  34. package/skills/uipath-coded-apps/SKILL.md +24 -11
  35. package/skills/uipath-coded-apps/references/commands-reference.md +29 -29
  36. package/skills/uipath-coded-apps/references/create-action-app.md +4 -0
  37. package/skills/uipath-coded-apps/references/create-web-app.md +10 -0
  38. package/skills/uipath-coded-apps/references/debug.md +16 -0
  39. package/skills/uipath-coded-apps/references/oauth-client-setup.md +3 -1
  40. package/skills/uipath-coded-apps/references/oauth-scopes.md +39 -4
  41. package/skills/uipath-coded-apps/references/pack-publish-deploy.md +37 -21
  42. package/skills/uipath-coded-apps/references/sdk/conversational-agent.md +2 -0
  43. package/skills/uipath-coded-apps/references/sdk/data-fabric.md +2 -0
  44. package/skills/uipath-coded-apps/references/sdk/orchestrator.md +2 -0
  45. package/skills/uipath-coded-apps/references/widgets/conversational-agent-chat.md +90 -0
  46. package/skills/uipath-coded-apps/references/widgets/datatable.md +97 -0
  47. package/skills/uipath-coded-apps/references/widgets/external-auth.md +97 -0
  48. package/skills/uipath-coded-apps/references/widgets/multi-file-upload.md +98 -0
  49. package/skills/uipath-coded-apps/references/widgets/pdf-viewer.md +122 -0
  50. package/skills/uipath-coded-apps/references/widgets/validation-station.md +1 -1
  51. package/skills/uipath-functions/SKILL.md +11 -0
  52. package/skills/uipath-insights/SKILL.md +52 -247
  53. package/skills/uipath-insights/references/filter-discovery-guide.md +106 -0
  54. package/skills/uipath-insights/references/investigation-playbook-guide.md +24 -16
  55. package/skills/uipath-insights/references/jobs-commands-guide.md +196 -53
  56. package/skills/uipath-ixp/SKILL.md +10 -4
  57. package/skills/uipath-ixp/references/cli-reference.md +59 -5
  58. package/skills/uipath-ixp/references/label-documents-guide.md +12 -5
  59. package/skills/uipath-maestro-bpmn/SKILL.md +27 -9
  60. package/skills/uipath-maestro-bpmn/references/diagnose/references/failure-modes.md +6 -3
  61. package/skills/uipath-maestro-bpmn/references/operate/CAPABILITY.md +1 -1
  62. package/skills/uipath-maestro-bpmn/references/operate/references/ship.md +9 -3
  63. package/skills/uipath-maestro-bpmn/references/registry-workflow.md +1 -1
  64. package/skills/uipath-maestro-bpmn/references/shared/local-metadata-regeneration-guide.md +18 -11
  65. package/skills/uipath-maestro-bpmn/references/structural-bpmn.md +13 -7
  66. package/skills/uipath-maestro-case/SKILL.md +138 -170
  67. package/skills/uipath-maestro-case/references/bindings-and-expressions.md +14 -1
  68. package/skills/uipath-maestro-case/references/bindings-v2-sync.md +25 -1
  69. package/skills/uipath-maestro-case/references/brownfield.md +7 -3
  70. package/skills/uipath-maestro-case/references/case-commands.md +63 -8
  71. package/skills/uipath-maestro-case/references/case-editing-operations.md +11 -8
  72. package/skills/uipath-maestro-case/references/case-schema.md +5 -3
  73. package/skills/uipath-maestro-case/references/case-spec-input-details.md +4 -0
  74. package/skills/uipath-maestro-case/references/connector-integration.md +3 -1
  75. package/skills/uipath-maestro-case/references/connector-trigger-impl.md +236 -0
  76. package/skills/uipath-maestro-case/references/connector-trigger-planning.md +300 -0
  77. package/skills/uipath-maestro-case/references/entry-points-sync.md +2 -0
  78. package/skills/uipath-maestro-case/references/evals/evals.json +33 -40
  79. package/skills/uipath-maestro-case/references/implementation.md +58 -13
  80. package/skills/uipath-maestro-case/references/phased-execution.md +87 -20
  81. package/skills/uipath-maestro-case/references/placeholder-tasks.md +3 -1
  82. package/skills/uipath-maestro-case/references/planning.md +26 -16
  83. package/skills/uipath-maestro-case/references/plugins/case/impl-json.md +2 -5
  84. package/skills/uipath-maestro-case/references/plugins/case/planning.md +3 -1
  85. package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/impl-json.md +3 -1
  86. package/skills/uipath-maestro-case/references/plugins/conditions/case-exit-conditions/planning.md +5 -3
  87. package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/impl-json.md +4 -2
  88. package/skills/uipath-maestro-case/references/plugins/conditions/stage-entry-conditions/planning.md +6 -4
  89. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/impl-json.md +6 -4
  90. package/skills/uipath-maestro-case/references/plugins/conditions/stage-exit-conditions/planning.md +6 -4
  91. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/impl-json.md +42 -3
  92. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +6 -4
  93. package/skills/uipath-maestro-case/references/plugins/logging/impl-json.md +50 -32
  94. package/skills/uipath-maestro-case/references/plugins/sla/impl-json.md +2 -4
  95. package/skills/uipath-maestro-case/references/plugins/sla/planning.md +3 -1
  96. package/skills/uipath-maestro-case/references/plugins/stages/impl-json.md +1 -4
  97. package/skills/uipath-maestro-case/references/plugins/stages/planning.md +2 -0
  98. package/skills/uipath-maestro-case/references/plugins/tasks/action/impl-json.md +2 -0
  99. package/skills/uipath-maestro-case/references/plugins/tasks/action/planning.md +2 -0
  100. package/skills/uipath-maestro-case/references/plugins/tasks/agent/impl-json.md +2 -0
  101. package/skills/uipath-maestro-case/references/plugins/tasks/agent/planning.md +2 -0
  102. package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/impl-json.md +2 -0
  103. package/skills/uipath-maestro-case/references/plugins/tasks/api-workflow/planning.md +5 -3
  104. package/skills/uipath-maestro-case/references/plugins/tasks/case-management/impl-json.md +2 -0
  105. package/skills/uipath-maestro-case/references/plugins/tasks/case-management/planning.md +2 -0
  106. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/impl-json.md +43 -13
  107. package/skills/uipath-maestro-case/references/plugins/tasks/connector-activity/planning.md +4 -2
  108. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/impl-json.md +10 -7
  109. package/skills/uipath-maestro-case/references/plugins/tasks/connector-trigger/planning.md +5 -3
  110. package/skills/uipath-maestro-case/references/plugins/tasks/create-inline-common.md +3 -1
  111. package/skills/uipath-maestro-case/references/plugins/tasks/process/impl-json.md +2 -0
  112. package/skills/uipath-maestro-case/references/plugins/tasks/process/planning.md +2 -0
  113. package/skills/uipath-maestro-case/references/plugins/tasks/rpa/impl-json.md +2 -0
  114. package/skills/uipath-maestro-case/references/plugins/tasks/rpa/planning.md +2 -0
  115. package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/impl-json.md +2 -0
  116. package/skills/uipath-maestro-case/references/plugins/tasks/wait-for-timer/planning.md +2 -0
  117. package/skills/uipath-maestro-case/references/plugins/triggers/event/impl-json.md +9 -6
  118. package/skills/uipath-maestro-case/references/plugins/triggers/event/planning.md +5 -3
  119. package/skills/uipath-maestro-case/references/plugins/triggers/manual/impl-json.md +1 -4
  120. package/skills/uipath-maestro-case/references/plugins/triggers/manual/planning.md +2 -0
  121. package/skills/uipath-maestro-case/references/plugins/triggers/timer/impl-json.md +1 -4
  122. package/skills/uipath-maestro-case/references/plugins/triggers/timer/planning.md +2 -0
  123. package/skills/uipath-maestro-case/references/plugins/variables/bindings/impl-json.md +3 -1
  124. package/skills/uipath-maestro-case/references/plugins/variables/global-vars/impl-json.md +40 -2
  125. package/skills/uipath-maestro-case/references/plugins/variables/global-vars/planning.md +12 -2
  126. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/impl-json.md +8 -6
  127. package/skills/uipath-maestro-case/references/plugins/variables/io-binding/planning.md +17 -3
  128. package/skills/uipath-maestro-case/references/registry-discovery.md +9 -5
  129. package/skills/uipath-maestro-case/references/sla-response-shapes.md +3 -1
  130. package/skills/uipath-maestro-case/references/troubleshooting-guide.md +2 -0
  131. package/skills/uipath-maestro-case/scripts/audit_plan.py +231 -0
  132. package/skills/uipath-maestro-flow/references/author/CAPABILITY.md +8 -4
  133. package/skills/uipath-maestro-flow/references/author/references/editing-operations-cli.md +5 -3
  134. package/skills/uipath-maestro-flow/references/author/references/editing-operations-json.md +14 -4
  135. package/skills/uipath-maestro-flow/references/author/references/editing-operations.md +3 -3
  136. package/skills/uipath-maestro-flow/references/author/references/greenfield.md +12 -3
  137. package/skills/uipath-maestro-flow/references/author/references/planning-arch.md +17 -13
  138. package/skills/uipath-maestro-flow/references/author/references/planning-impl.md +1 -1
  139. package/skills/uipath-maestro-flow/references/author/references/plugins/agent/impl.md +49 -4
  140. package/skills/uipath-maestro-flow/references/author/references/plugins/connector/impl.md +59 -17
  141. package/skills/uipath-maestro-flow/references/author/references/plugins/connector-trigger/impl.md +3 -3
  142. package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl-connector.md +3 -1
  143. package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl-manual.md +3 -1
  144. package/skills/uipath-maestro-flow/references/author/references/plugins/http/impl.md +5 -2
  145. package/skills/uipath-maestro-flow/references/author/references/plugins/inline-agent/impl.md +31 -16
  146. package/skills/uipath-maestro-flow/references/author/references/plugins/ixp/impl.md +13 -4
  147. package/skills/uipath-maestro-flow/references/author/references/plugins/loop/impl.md +185 -25
  148. package/skills/uipath-maestro-flow/references/author/references/plugins/loop/planning.md +18 -10
  149. package/skills/uipath-maestro-flow/references/author/references/plugins/rpa/impl.md +9 -3
  150. package/skills/uipath-maestro-flow/references/author/references/plugins/terminate/impl.md +6 -3
  151. package/skills/uipath-maestro-flow/references/diagnose/references/failure-modes.md +68 -0
  152. package/skills/uipath-maestro-flow/references/shared/cli-commands.md +2 -1
  153. package/skills/uipath-maestro-flow/references/shared/file-format.md +36 -9
  154. package/skills/uipath-maestro-flow/references/shared/node-output-wiring.md +1 -1
  155. package/skills/uipath-maestro-flow/references/shared/ux-narration-and-todos.md +1 -1
  156. package/skills/uipath-maestro-flow/references/shared/variables-and-expressions.md +77 -20
  157. package/skills/uipath-planner/SKILL.md +30 -12
  158. package/skills/{uipath-maestro-case/assets/templates/sdd-template-examples.md → uipath-planner/assets/templates/case-sdd-examples.md} +18 -32
  159. package/skills/uipath-planner/assets/templates/case-sdd-template.md +289 -309
  160. package/skills/uipath-planner/references/case-design-lane-guide.md +288 -0
  161. package/skills/uipath-planner/references/multi-skill-patterns-guide.md +1 -1
  162. package/skills/uipath-planner/references/package-selection-guide.md +2 -2
  163. package/skills/uipath-planner/references/pdd-driven-lane-guide.md +5 -1
  164. package/skills/uipath-planner/references/product-selection-guide.md +2 -2
  165. package/skills/uipath-planner/references/sdd-generation-guide.md +16 -15
  166. package/skills/uipath-planner/scripts/audit_sdd.py +437 -0
  167. package/skills/uipath-platform/SKILL.md +7 -2
  168. package/skills/uipath-platform/references/data-fabric/choice-sets.md +1 -1
  169. package/skills/uipath-platform/references/data-fabric/data-fabric.md +1 -1
  170. package/skills/uipath-platform/references/data-fabric/entity-schema.md +37 -21
  171. package/skills/uipath-platform/references/data-fabric/file-attachments.md +1 -1
  172. package/skills/uipath-platform/references/guardrails/byo-configurations.md +205 -0
  173. package/skills/uipath-platform/references/traces/feedback.md +4 -2
  174. package/skills/uipath-platform/references/uip-commands.md +2 -2
  175. package/skills/uipath-review/SKILL.md +55 -52
  176. package/skills/uipath-review/references/agents/agent-grading-rubric.md +62 -40
  177. package/skills/uipath-review/references/agents/agents-coded-rules.md +7 -1
  178. package/skills/uipath-review/references/agents/agents-lowcode-rules.md +21 -2
  179. package/skills/uipath-review/references/agents/guardrails/coded-guardrails-review.md +78 -13
  180. package/skills/uipath-review/references/agents/guardrails/guardrails-review.md +11 -4
  181. package/skills/uipath-review/references/architecture-assessment-guide.md +1 -1
  182. package/skills/uipath-review/references/review-workflow-guide.md +19 -10
  183. package/skills/uipath-review/references/rule-catalog-workflow.md +6 -6
  184. package/skills/uipath-review/references/rule-format.md +1 -1
  185. package/skills/uipath-rpa/SKILL.md +1 -1
  186. package/skills/uipath-solution/SKILL.md +4 -4
  187. package/skills/uipath-solution/references/solution-overview.md +7 -2
  188. package/skills/uipath-tasks/SKILL.md +27 -1
  189. package/skills/uipath-tasks/references/task-catalogs.md +79 -0
  190. package/skills/uipath-tasks/references/task-data.md +45 -0
  191. package/skills/uipath-tasks/references/task-metadata.md +69 -0
  192. package/skills/uipath-test/SKILL.md +3 -3
  193. package/skills/uipath-test/references/test-result-report-guide.md +16 -1
  194. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/ambiguous-selector.md +1 -1
  195. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/scope-container-wrong-page.md +1 -1
  196. package/skills/uipath-troubleshoot/references/activity-packages/ui-automation/playbooks/verify-execution-failure.md +2 -2
  197. package/skills/uipath-troubleshoot/references/products/agents/playbooks/guardrail-violation.md +12 -0
  198. package/version-manifest.json +2 -2
  199. package/skills/uipath-maestro-case/assets/templates/sdd-template.md +0 -667
  200. package/skills/uipath-maestro-case/references/connector-trigger-common.md +0 -511
  201. package/skills/uipath-maestro-case/references/phase-0-interview.md +0 -279
  202. package/skills/uipath-maestro-case/references/sdd-generation-rules.md +0 -1026
  203. package/skills/uipath-review/references/agents/agent-common-issues.md +0 -401
  204. package/skills/uipath-review/references/agents/agent-review-checklist.md +0 -379
  205. /package/skills/{uipath-maestro-case → uipath-planner}/assets/templates/sdd-viewer.html +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Judgment rules for **low-code** agents (`agent.json`). Each rule requires the agent to read source and reason — what a regex/count/schema-walk cannot decide reliably. Same row schema as elsewhere — see [`../rule-format.md`](../rule-format.md).
4
4
 
5
- > **This catalog is judgment-only.** Run `uip agent review "<PROJECT_DIR>" --output json` **first** (SKILL.md Step 2.5) — it returns the deterministic low-code findings (structural gates, schema-property presence, placeholder cross-refs, eval counts/diversity, version/runtime/location checks) in the same rule format. Then apply the rules below, which the CLI cannot do.
5
+ > **This catalog is judgment-only.** Run `uip agent review "<PROJECT_DIR>" --output json` **first** (SKILL.md Step 2.5) — it returns the deterministic low-code findings (structural gates, schema-property presence, placeholder cross-refs, eval-set structure and schema cross-refs, guardrail configuration validity) in the same rule format. Then apply the rules below, which the CLI cannot do.
6
6
 
7
7
  Read [`../rule-format.md`](../rule-format.md) and [`../rule-catalog-workflow.md`](../rule-catalog-workflow.md) first.
8
8
 
@@ -27,8 +27,13 @@ One H2 section per checker class (`EvalsChecker`, `SchemaChecker`, `ToolsChecker
27
27
 
28
28
  | rule_id | severity | category | trigger | detection_method | suggested_fix |
29
29
  |---|---|---|---|---|---|
30
+ | `LC_EVAL_INPUT_DIVERSITY` | warning | evals | Eval datapoints do not span the scenario classes the agent will meet in production | Read `evals/eval-sets/*.json` datapoints plus the agent's purpose, `inputSchema`, tools, and escalations. Assess semantically — not by count — whether the set spans distinct classes: happy path, edge/boundary values, malformed or missing input, ambiguous or unresolvable requests, and every declared side effect (each tool and escalation path). Emit when whole classes are absent or when the datapoints are paraphrases of one scenario. Name the missing classes in the description; do not assert a target datapoint count. file = eval set JSON. | Author datapoints for the missing scenario classes, covering each declared tool and escalation path. |
30
31
  | `LC_EVAL_GROUND_TRUTH_SWAPPED` | warning | evals | ≥2 eval datapoints share substantially overlapping input shape but disagree on `expectedOutput` (suggests label swap) | Read `evals/eval-sets/*.json`. For each pair of datapoints, compare `inputs` content overlap (e.g., `email_subject` + `email_body` substring overlap > 80%). Assess: when inputs are near-identical but expected outputs differ, this is a likely label swap (the *opposite* failure pattern from the deterministic duplicate-output check). Emit one finding per swapped pair, element = `<id_1>,<id_2>`. file = eval set JSON. | Inspect both datapoints; correct the swapped label, or split them into clearly distinct scenarios. |
31
32
  | `LC_EVAL_JUDGE_FOR_CLOSED_CLASS` | warning | evals | LLM-judge evaluator applied to a closed-class output field | Read eval set's `evaluatorRefs`. Read agent's `outputSchema.properties`. Assess: if any output property has `.enum` (closed set) AND an evaluator referenced by the eval set is an LLM-judge (`evaluatorTypeId: "uipath-llm-judge-output-semantic-similarity"` or similar), the LLM judge is the wrong tool — `uipath-multiclass-classification` / `uipath-exact-match` gives 100% of the signal at zero variance. Emit one finding per (eval-set, judge-evaluator) pair. file = eval set JSON. | Replace the LLM-judge with `uipath-multiclass-classification` or `uipath-exact-match` for closed-class outputs. |
33
+ | `LC_EVAL_ARCHETYPE_FIT` | warning | evals | Evaluator mix does not measure the agent behavior or failure risk that matters | Read the agent purpose, tools, output schema, eval scenarios, and referenced evaluator configurations. Assess whether the evaluators measure the primary contract: exact or multiclass comparison for closed outputs, structural comparison for structured integration results, trajectory or tool behavior when path and side effects matter, and rubric-based judgment for genuinely subjective generation. Emit the most specific mismatch and skip a closed-class mismatch already covered by `LC_EVAL_JUDGE_FOR_CLOSED_CLASS`. file = eval set JSON. | Replace or supplement the evaluator mix so it measures the agent's primary output contract, decision path, and highest-risk failure modes. |
34
+ | `LC_EVAL_JUDGE_RUBRIC_FIT` | warning | evals | LLM-judge instructions are too vague to produce a stable, auditable assessment | Read each LLM-judge evaluator's prompt, criteria, score or label contract, and target output. Emit when a subjective judgment has no explicit criteria, evidence expectations, or distinction between score levels, or when the rubric does not match the behavior under evaluation. Do not require hidden chain-of-thought or a particular model. file = evaluator JSON, element = evaluator name. | Define observable criteria and score or label boundaries, and require a concise evidence-based justification appropriate for audit. |
35
+ | `LC_EVAL_MOCK_CONTRACT_DRIFT` | warning | evals | Eval-set mock response contradicts the mocked tool's declared output contract | Read the mock definitions in `evals/eval-sets/*.json` and each mocked tool's `outputSchema` (normalized: `.tools[]`; agent-builder: `resources/<Name>/resource.json`). Assess per mock: do the payload's property names, types, required fields, and enum members match what the tool declares it returns? Emit when the mock returns a shape the tool cannot produce — evaluations then pass against a contract production never emits. Tools with no declared output schema have nothing to compare; skip those mocks. file = eval set JSON, element = `<tool_name>`. | Update the mock payload to the tool's declared output shape, or correct the tool's `outputSchema` when the mock reflects what the tool really returns. |
36
+ | `LC_EVAL_AGENT_DEFINITION_DRIFT` | warning | evals | Eval datapoint expects a resource, tool, or behavior the agent definition does not provide | Read what the datapoints expect — expected behavior, expected output, simulation instructions — against the agent definition, tools, and resources. Assess per datapoint: does the agent, as configured, have every index, resource, tool, and escalation the expectation names — and does the expectation stay inside what the definition instructs? Emit when the expectation is unsatisfiable by the agent as configured, so the datapoint scores against a definition that does not exist. A paraphrase of a bound resource is not drift; a name the agent binds nowhere is. file = eval set JSON, element = datapoint id. | Point the expectation at the resource, tool, or behavior the agent declares, or bind the missing element to the agent. |
32
37
 
33
38
  ---
34
39
 
@@ -41,6 +46,8 @@ One H2 section per checker class (`EvalsChecker`, `SchemaChecker`, `ToolsChecker
41
46
  | `LC_INPUT_SCHEMA_OVERLAP` | warning | schema | Input schema has ≥2 fields with semantically overlapping names or descriptions | Read `inputSchema.properties`. Assess: are there fields with semantically overlapping names (`query` vs `question` vs `text` vs `prompt` vs `input`) or descriptions? Emit when ≥2 fields could reasonably hold the same content and the LLM would have to disambiguate at runtime. file = schema source, element = `<field_a>,<field_b>`. | Merge overlapping fields, or differentiate them with clear names + descriptions that scope each one. |
42
47
  | `LC_OUTPUT_ENUM_VS_PROMPT_DRIFT` | warning | schema | Output enum disagrees with the prompt's category list (either side has extras) | Read `outputSchema.properties.<X>.enum` and the system prompt's classification list (`"Classify into: A, B, C"`). Assess: do the two sets agree? Emit when either has extras: prompt names a class the schema doesn't accept (runtime validation rejects), OR schema accepts a class the prompt never mentions (LLM never produces it). file = schema or prompt source. | Reconcile the prompt's class list with `outputSchema.enum`. |
43
48
  | `LC_OUTPUT_CLASSIFIER_NO_ENUM` | warning | schema | Classifier-shaped agent has no `enum` constraint on the primary output field | Read `outputSchema`. Assess: is this a classifier? Heuristic — `outputSchema` has a single primary string field whose name matches `class` / `classification` / `label` / `category` / `intent` / `decision`, OR the system prompt enumerates fewer than 10 categories. Emit when that field has no `enum`. file = schema source, element = field name. | Add `"enum": [...]` to the field — without it, the LLM produces free-form strings the runtime can't disambiguate. |
49
+ | `LC_OUTPUT_DECISION_NO_RATIONALE` | info | schema | Output schema carries a consequential decision with no field recording why | Read `outputSchema` and the agent's purpose. Assess: does every property hold a terminal value a consumer acts on (enum label, boolean, identifier, score), with none carrying rationale, evidence, or citation? Emit only when the decision is consequential — classification, approval, routing, eligibility; a passthrough or formatting agent does not qualify. Without a rationale field a wrong decision leaves no trace of what the model weighed. file = schema source. | Add a `reasoning` / `justification` / `citations` property and instruct the prompt to populate it. |
50
+ | `LC_OUTPUT_CONSUMER_DRIFT` | warning | schema | A project in review scope consumes the agent's result but reads fields, types, or states `outputSchema` does not declare | Applies only when the Step 1 project table lists a consumer of this agent (sibling flow, RPA project, API workflow, or agent invoking it). Read how the consumer uses the agent result and read `outputSchema`. Assess: does the consumer read a property the schema omits, assume a different type, or branch on a status or failure value the schema cannot produce? Emit per concrete mismatch. When no consumer is in review scope the subject set is empty — an out-of-scope caller is not evidence, and an empty subject set is not a skipped rule. file = consumer source, element = `<property>`. | Reconcile the two — add the property to `outputSchema`, or read the property the agent actually declares. |
44
51
 
45
52
  ---
46
53
 
@@ -54,7 +61,12 @@ One H2 section per checker class (`EvalsChecker`, `SchemaChecker`, `ToolsChecker
54
61
  | `LC_TOOL_DANGEROUS_COMBINATION` | warning | tools | Tool combination creates risk no individual tool creates alone (e.g., read tool + write tool with no guardrail) | Read full tool list. Assess pairwise / N-wise: do any combinations create capabilities none of the individual tools has alone? Classic example: a read tool (search, retrieve, query) + a write tool (send email, create record, call API) with no output guardrail = data-exfiltration path. Emit per dangerous combination. file = tool source, element = `<tool_a>,<tool_b>`. | Add a guardrail (e.g., output `pii_detection`, scope-restriction policy) that breaks the dangerous flow, or remove one tool. |
55
62
  | `LC_TOOL_DELEGATION_DEPTH` | warning | tools | Tool with `type: "agent"` has no prompt guidance on when to delegate vs handle directly | Read tool resources. Identify any with `.type == "agent"`. Read system prompt. Assess: does the prompt include delegation criteria? Emit when missing. file = tool source, element = tool name. | Add delegation criteria to the system prompt: when to call the sub-agent vs handle the query directly. |
56
63
  | `LC_TOOL_DESCRIPTION_MISLEADING` | info | tools | Tool description contradicts its declared `inputSchema` or `outputSchema` | For each tool, read `.description`, `.inputSchema`, `.outputSchema`. Assess: does the description claim behavior that contradicts the schemas (e.g., "returns the customer's full name" but `outputSchema` is `{type: "boolean"}`, or "takes a customer ID and email" but `inputSchema.properties` lists only `id`)? Emit per clear semantic mismatch (return type, field set, or arg count). file = tool source, element = tool name. | Reconcile the description with the actual schemas — pick the source of truth and update the other. |
64
+ | `LC_TOOL_PURPOSE_AUTHORITY_FIT` | warning | tools | A configured tool grants materially more authority than the agent's business purpose requires | Read the system prompt, business context, and complete tool set. Compare each tool's side effects and effective authority with the decisions the agent is intended to make. Emit when a read-only or advisory use case receives unnecessary create, update, delete, send, admin, or cross-system capability, even if the prompt mentions the tool. file = tool source, element = tool name. | Remove the tool, replace it with a narrower read-only operation, or constrain the capability to the minimum action and scope the business purpose requires. |
65
+ | `LC_PROMPT_REFERENCES_NONEXISTENT_RESOURCE` | warning | tools | Prompt appears to direct the agent to a tool, context source, or escalation resource that is not configured | Read the prompt and configured resource names and descriptions. Use semantic matching rather than exact token comparison: distinguish ordinary business nouns from instructions that clearly refer to an executable or grounded resource. Emit only when the prompt relies on a resource with no plausible configured match; name the unsupported instruction. file = system prompt source. | Configure the referenced resource, rewrite the instruction to name the actual resource, or remove the unsupported instruction. |
57
66
  | `LC_MULTI_TOOL_NO_SEQUENCING` | warning | tools | Tools with implicit ordering exist together but the prompt establishes no order | Read tool list. Identify canonical ordered pairs: `search*` + `summarize*`; `get*` + `create*`; `validate` + `submit`. Read system prompt. Assess: does the prompt establish ordering with words like `first`, `then`, `after`, or numbered steps? Emit when tools-with-implicit-order exist together but no ordering language appears. file = system prompt source. | Add numbered steps or sequencing language to the system prompt. |
67
+ | `LC_UNGROUNDED_DOMAIN_KNOWLEDGE` | warning | tools | Prompt relies on organization-specific knowledge the agent has no way to retrieve | Read the system prompt for assertions or procedures that depend on organization-specific facts (internal policy, product catalog, approval thresholds, team ownership) rather than general knowledge. Read the configured context resources and tools. Emit when nothing can supply that knowledge — the model then answers from parametric memory and hallucinates plausibly. `LC_TOOL_RESPONSE_NOT_GROUNDED` covers retrieval that exists without a grounding instruction; this covers retrieval that is absent entirely. Do not flag prompts that state their domain facts inline. file = system prompt source. | Configure a context source or retrieval tool for the referenced knowledge, or state the required facts inline in the prompt. |
68
+ | `LC_CONTEXT_SOURCE_OVERLAP` | warning | tools | Two or more context sources are described in terms that give retrieval no cue for choosing between them | Read every context resource (`$resourceType: "context"`) `description` and `query.description`, plus the index each points at. Assess pairwise: does each description name the corpus it covers and the question types it answers, so one source is selectable over the other? Emit per overlapping pair when both descriptions apply equally to the same request. Single-source agents have an empty subject set. The review CLI's `LOWCODE_CONTEXT_NO_DESCRIPTION` owns presence; this rule judges distinctness. file = context resource, element = `<source_a>,<source_b>`. | Rewrite each description to name its corpus and the question types it answers, so multi-source retrieval has an unambiguous selection cue. |
69
+ | `LC_CONTEXT_RETRIEVAL_SETTINGS_FIT` | judgment | tools | Retrieval `threshold` / `resultCount` unfit for the corpus and answer contract | Read `settings.threshold` / `resultCount`, the corpus, and the prompt's answer contract. `threshold: 0` is the default, accepting every match regardless of score; raising it improves precision but risks dropping relevant passages — neither extreme is a defect alone. Assess against representative positive, ambiguous, and no-answer queries: can a query with nothing relevant still return a full `resultCount` of chunks, and does the prompt have a path to say so? Weigh recall against latency and token cost. Name the failing query class; assert no target number. file = context resource, element = resource name. | Tune `threshold` / `resultCount` against representative positive, ambiguous, and no-answer queries; cover the no-answer case with an eval datapoint. |
58
70
  | `LC_TOOL_RESPONSE_NOT_GROUNDED` | warning | tools | Agent has RAG-shaped retrieval but no grounding instruction in prompt or context resource | First confirm RAG shape: a tool whose output is unstructured prose intended to be cited, OR a Context Grounding index resource (`$resourceType: "context"` with `contextType: "index"`). Structured-record tools (`searchOrders`, `lookupCustomer`) do NOT trigger. When RAG-shaped, read system prompt AND every context resource's `description` / `query.description`. Assess: does grounding instruction (`"answer based only on retrieved content"` / `"cite the source"` / `"if no result, say I don't know"`) appear in either location? Emit when missing. file = system prompt or context resource. | Add a grounding instruction either to the system prompt or to the context resource's description. |
59
71
 
60
72
  ---
@@ -109,12 +121,19 @@ Covers system-prompt quality, settings fit, no-flow failure modes, and prompt-vs
109
121
  | `LC_PROMPT_OUTPUT_FORMAT` | warning | general | `outputSchema` is structured but prompt has no output-format instruction | Read `outputSchema`. Read system prompt. Assess: if the schema has specific named fields (not just a string), does the prompt instruct the agent how to populate them? Emit when missing. file = system prompt source. | Add an "Output Format" section showing the expected structure (or a sample). |
110
122
  | `LC_PROMPT_INSTRUCTION_CONFLICTS` | warning | general | Prompt contains internally contradictory instructions | Read system prompt. Assess: are there contradictions (`"Always respond in JSON"` alongside `"Write your response as a friendly paragraph"`)? Emit per contradiction. file = system prompt source. | Pick one instruction; remove or reconcile the other. |
111
123
  | `LC_PROMPT_OVERSPECIFICATION` | info | general | Prompt is so specific about exact phrases that it will break on reasonable paraphrase | Read system prompt. Assess: does it handle dozens of exact phrases that paraphrase trivially? A 3-page prompt with 47 explicit phrases is brittle. file = system prompt source. | Generalize the prompt — describe categories of input rather than enumerating phrases. |
124
+ | `LC_PROMPT_STRUCTURE` | info | general | Prompt complexity makes responsibilities, tool guidance, boundaries, or output instructions hard to locate | Read the full prompt in light of its tools, schemas, and decision paths. Emit when multiple distinct concerns are buried in undifferentiated prose or when instruction precedence is unclear; do not use a fixed character or line threshold. A short single-purpose prompt does not need headings. file = system prompt source. | Organize the prompt around the concerns it actually contains, using concise sections, bullets, or ordered steps where they improve instruction precedence and maintenance. |
125
+ | `LC_PROMPT_EXAMPLE_MAINTAINABILITY` | info | general | Inline examples encode deployment cases better retained as evaluations or configuration | Compare prompt examples with the agent's reusable behavior, evaluation scenarios, and deployment-specific data. Emit when examples duplicate test cases, hard-code volatile facts, or require prompt edits whenever a customer case changes. Do not flag examples that clarify a stable output contract or balance ambiguous categories. file = prompt source. | Move volatile cases to evaluation sets or configuration and retain only examples that teach stable, reusable behavior. |
126
+ | `LC_PROMPT_DEPLOYMENT_SPECIFIC_LOGIC` | warning | general | Prompt hard-codes customer, tenant, environment, or policy values expected to vary by deployment | Read the prompt alongside resources, context, schemas, and known deployment model. Emit when names, identifiers, thresholds, recipients, or business rules are presented as universal instructions but should vary across deployments. Do not flag values intentionally fixed by the agent's declared scope. file = prompt source. | Move variable values to configuration or grounded context and keep the prompt focused on stable behavior. |
112
127
  | `LC_PROMPT_STOPPING_CRITERIA` | warning | general | Prompt has no explicit stopping criteria for unresolvable cases | Read system prompt. Assess: is there a soft stop (`"If you cannot determine the answer after 3 attempts, respond with what you have"`)? Without one the agent relies entirely on `maxIterations`. Emit when missing. file = system prompt source. | Add an explicit stopping instruction for the "I cannot resolve this" case. |
128
+ | `LC_PROMPT_ESCALATION_CRITERIA` | warning | general | Agent can encounter uncertain or high-risk decisions but the prompt does not say when to escalate | Read the prompt, schemas, tools, escalation resources, and business decision. Identify uncertainty, approval, policy-exception, safety, financial, or destructive-action conditions that should leave the agent's authority. Emit when an escalation path exists without usable trigger criteria, or when the use case clearly needs escalation but defines none. This is distinct from stopping after failed attempts. file = system prompt source. | State concrete escalation conditions and the information the agent must pass to the escalation target; add an escalation resource when the platform flow requires one. |
113
129
  | `LC_SETTINGS_MAXITERATIONS_FIT` | judgment | general | `maxIterations` value inconsistent with the agent's stated purpose | Read `.settings.maxIterations` + system prompt. Assess: a simple classifier rarely needs >3-5; a complex multi-tool research agent may need 20-30. Extreme values inconsistent with the agent's purpose are flagged. Emit with reasoning. file = `agent.json` or normalized source. | Adjust `maxIterations` to match the agent's actual loop complexity. |
114
130
  | `LC_SETTINGS_TEMPERATURE_FIT` | judgment | general | `temperature` value inappropriate for task | Read `.settings.temperature` + system prompt. Assess: temperature 0 fits deterministic tasks (classification, extraction); non-zero on a classifier produces inconsistent labels. Emit with reasoning. file = `agent.json` or normalized source. | Set temperature to 0 for deterministic tasks; raise to 0.3-0.7 for conversational generation. |
131
+ | `LC_SETTINGS_MAXTOKENS_FIT` | judgment | general | `maxTokens` far exceeds the contracted response, nothing else bounds length | Read `.settings.maxTokens`, `outputSchema`, the prompt's output-format instruction, and eval `expectedOutput` sizes. Assess: does the ceiling match the contracted answer, and does anything else bound generation? Compare using orders of magnitude, and still allow generous overhead. Cite the observed expected-answer size. Do not flag a platform default alone. file = `agent.json` or normalized source. | Lower `maxTokens` to the actual answer size, or bound length in the prompt. |
132
+ | `LC_SETTINGS_MODEL_FIT` | judgment | general | Model unfit for the workload | Read `.settings.model` with purpose, tools, cost and latency. Assess: does capability, cost, or latency match the workload (oversized reasoning model for a lookup; undersized for multi-step orchestration)? Emit with reasoning. Requires a model identifiable from the value itself — a recognizable vendor or platform identifier. Not applicable when the value is a custom or aliased deployment name whose underlying model cannot be determined from the string. file = `agent.json` or normalized source. | Pick a model matching the workload. |
133
+ | `LC_PLACEHOLDER_VALUE` | warning | general | Authored value is a leftover scaffold default or developer placeholder | Read authored values: agent / project `name`, context resource `description` / `query.description`, index and alias names, eval `expectedOutput` and mocks, evaluator prompts. Assess per value: real project content, or unchanged template default (`"Test"`, `"A demo … index"`, `"TODO"`, stock scaffold text, `MyAgent`-style stand-in, typo'd name)? Note that model aliases (BYOM) are not free to change, so don't raise this for model names. file = value's file, element = field path. | Replace placeholder values with real project content. |
115
134
  | `LC_FAILURE_HALLUCINATE_ARGS` | warning | general | Tool `inputSchema` has required fields with no descriptions, and the LLM must guess values | Walk tools. For each, read required fields. Assess: are required fields self-explanatory, or do they need descriptions to be filled correctly? Emit when the LLM would have to guess valid values. file = tool source, element = `<tool_name>:<param>`. | Add `description` to each required parameter explaining valid values and format. |
116
135
  | `LC_FAILURE_WRONG_TOOL` | warning | general | ≥2 tools have descriptions the LLM could reasonably apply to the same user request | Read all tool descriptions. Assess from a user's perspective: could any two be selected for the same request? Emit per ambiguous pair. file = tool source, element = `<tool_a>,<tool_b>`. | Sharpen descriptions to make tool selection unambiguous. |
117
- | `LC_FAILURE_PROMPT_INJECTION` | warning | general | Tool-output injection risk OR system-prompt-as-injection (jailbreak fragments) | Two shapes, fire on either: (a) **Tool-output injection** — a tool returns user-controlled content re-inserted into context without sanitisation, and no `prompt_injection` guardrail is active. (b) **System-prompt-as-injection** — the system prompt itself attempts to override platform safety, contains DAN-style markers (`"ignore previous"`, `"no restrictions"`, `"do anything now"`), or instructs the model to behave as another assistant (`"As ChatGPT, …"`). file = source of risk. | (a) Add `prompt_injection` guardrail and/or sanitize tool output. (b) Rewrite the system prompt to remove adversarial markers. |
136
+ | `LC_FAILURE_PROMPT_INJECTION` | warning | general | Untrusted-content instruction boundary is ineffective OR the system prompt contains jailbreak fragments | Two shapes, fire on either: (a) user, retrieved, or tool-returned content can be reinterpreted as instructions because it is inserted without an effective data boundary or sanitization, and no suitable prompt-injection guardrail is active; literal delimiters are not required when another control is effective. (b) the system prompt attempts to override platform safety, contains DAN-style markers (`"ignore previous"`, `"no restrictions"`, `"do anything now"`), or instructs the model to behave as another assistant (`"As ChatGPT, …"`). file = source of risk. | (a) Treat untrusted content explicitly as data and add sanitization or an appropriate prompt-injection guardrail. (b) Rewrite the system prompt to remove adversarial markers. |
118
137
  | `LC_FAILURE_IRREVERSIBLE_ACTION` | warning | general | Tools that create / delete / modify records exist alongside no escalation resource and no prompt confirmation requirement | Walk tools. Identify create/delete/modify capabilities. Read escalation resources + system prompt. Assess: is there an escalation path or prompt instruction to confirm before destructive actions? Emit when absent. file = tool source. | Add an escalation resource gating destructive actions, or add a confirmation requirement to the system prompt. |
119
138
  | `LC_FAILURE_AUTHORITY_ESCALATION` | warning | general | Agent has admin-level tools but no prompt restriction on context of use | Walk tools. Identify admin-level capabilities (process invocation, queue manipulation, entity modification). Read system prompt. Assess: does the prompt restrict the context in which these are used? Emit when unrestricted. file = system prompt source. | Restrict admin-level tools in the system prompt to specific user roles / scenarios, or add a guardrail. |
120
139
  | `LC_ESCALATION_OVERBROAD` | warning | general | Escalation description uses universal quantifiers without a narrowing condition | Read escalation resource `description`s (and channel `description`s). Assess: does it use universal quantifiers (`"always escalate"`, `"every classification"`, `"all responses"`, `"any output"`, `"regardless of intent"`) near the start AND lack a narrowing condition (`"if confidence < X"`, `"when classification is Uncertain"`, `"only for"`)? Emit when both hold. file = escalation source, element = escalation name. | Add a narrowing condition to the escalation description; if the intent really is to escalate everything, document why. |
@@ -50,13 +50,67 @@ Continue beyond the deterministic report only when the user's initial request ex
50
50
  review or names additional non-guardrail checks. Preserve the deterministic fields verbatim if a later request
51
51
  extends the report.
52
52
 
53
- If the CLI does not emit `Data.Issues[]`, do not invent a substitute `CODED_GUARDRAIL_*` rule ID. Report a
54
- source-observed problem as rule-ID-less prose and list the deterministic CLI rule as skipped.
53
+ If the CLI does not emit `Data.Issues[]`, do not invent a substitute **deterministic** rule ID
54
+ (`CODED_GUARDRAIL_WRONG_IMPORT` / `CODED_GUARDRAIL_TOOL_SCOPE_NO_TOOLS` / `CODED_GUARDRAIL_INVALID_CONTRACT` are
55
+ CLI-only) and list the deterministic CLI rule as skipped. The judgment rule IDs — `CODED_GUARDRAIL_ACTION_INEFFECTIVE`,
56
+ `CODED_GUARDRAIL_MISAPPLIED`, `CODED_GUARDRAIL_RECOMMENDED` — come from `agents-coded-rules.md` and stay valid via the
57
+ judgment paths below. A source-observed problem covered by neither source is reported as rule-ID-less prose.
55
58
 
56
59
  Like the recommend capability, this is **live-catalog driven** — the catalog's authored fields (`when_to_use`,
57
60
  `use_cases`, `security_risk_addressed`, `when_not_to_use`, `security_category`, `examples[].config`) drive every
58
- decision. The coded vocabulary (Python class names, scopes, entity enums) comes from the SDK docs. Do not hardcode
59
- which guardrail fits which agent, or which Python class implements which validator.
61
+ decision. When a finding names Python classes/enums, that vocabulary comes from the SDK docs (Step 0), never memory.
62
+ Do not hardcode which guardrail fits which agent, or which Python class implements which validator.
63
+
64
+ ## Conclusive audit fast path — completed report checkpoint
65
+
66
+ When an existing, CLI-clean guardrail conclusively contradicts a catalog clause — its action is in the scope's
67
+ invalid set (→ `CODED_GUARDRAIL_ACTION_INEFFECTIVE`) or the agent's own context matches a disqualifying
68
+ `when_not_to_use` / `NOT_recommended_for` condition (→ `CODED_GUARDRAIL_MISAPPLIED`, Relevance) — use this bounded
69
+ sequence **before** general manual review:
70
+
71
+ 1. run `uip codedagent review`; retain its deterministic findings and `Data.Grade`;
72
+ 2. read the entry `.py` per [Read the agent first](#read-the-agent-first) — the wired guardrail's class, scope,
73
+ stage, action, and target are all visible in that source; no SDK-doc mapping is needed;
74
+ 3. fetch the catalog and tenant validator list once, as specified in Step 0;
75
+ 4. compare the wired guardrail and the agent's context (system prompt, schemas, tool docstrings) against the
76
+ catalog entry's `when_not_to_use` / `NOT_recommended_for` and `examples[].config`; and
77
+ 5. on a direct match, establish the finding and immediately save the requested report.
78
+
79
+ The saved report is a completed checkpoint, not working notes: retained CLI findings, grade derivation, and the
80
+ finding with the guardrail's source location and identifiers, matched catalog clause, configured scope/action, and
81
+ catalog-supported fix. Then **end the current review turn** unless the user's initial request explicitly asks for
82
+ an exhaustive review or names additional non-guardrail checks. Do not delay the checkpoint to fetch SDK
83
+ documentation sites, read installed package sources (`site-packages/…`), probe framework APIs (`inspect.getsource`
84
+ / signature checks), import or execute the project or scratch agents, re-run the review CLI or catalog, or do
85
+ general architecture analysis — none of that adds admissible evidence to a catalog-clause verdict.
86
+
87
+ This fast path requires a direct source-to-catalog contradiction, not a plausible concern. Canonical example: a
88
+ synthetic-data generator whose system prompt states it never receives real customer data carries a `pii_detection`
89
+ guardrail on its LLM factory — the catalog's `when_not_to_use` disqualifies PII detection where generated PII is
90
+ the intended product. If the clause does not directly match, continue normal Audit Mode.
91
+
92
+ ## Missing-guardrail fast path — completed deliverable
93
+
94
+ When the entry source clearly matches a catalog use case and no matching guardrail is wired (no middleware, no
95
+ `@guardrail`), use this bounded sequence:
96
+
97
+ 1. run `uip codedagent review`; retain its deterministic findings and `Data.Grade`;
98
+ 2. read the entry `.py` per [Read the agent first](#read-the-agent-first);
99
+ 3. fetch the catalog and tenant validator list once, as specified in Step 0;
100
+ 4. establish `CODED_GUARDRAIL_RECOMMENDED` per Recommend Mode steps 2–5, phrasing scope and action in catalog
101
+ vocabulary (Agent / Llm / Tool · PRE / POST · block / escalate / log). SDK docs are NOT required — fetch them
102
+ only if the report names concrete Python classes not already visible in the source; and
103
+ 5. immediately save the requested report with the rule ID exactly `CODED_GUARDRAIL_RECOMMENDED`, the exact
104
+ source-evidence clause (schema property names, prompt line, tool docstring), and the recommended scope/action,
105
+ then return it.
106
+
107
+ The saved report is the completed deliverable for this guardrail path. After saving it, **end the current review
108
+ turn**. Same detour denylist as the conclusive audit fast path. Continue beyond it only when the user's initial
109
+ request explicitly asks for an exhaustive review or names additional non-guardrail checks.
110
+
111
+ If the catalog fetch itself fails, `CODED_GUARDRAIL_RECOMMENDED` stays the correct, valid rule ID (a
112
+ judgment-catalog ID from `agents-coded-rules.md`, not a CLI ID) — use generic scope/action wording and note
113
+ "catalog-limited" in the message.
60
114
 
61
115
  ---
62
116
 
@@ -94,13 +148,21 @@ uip agent guardrails list --output json
94
148
 
95
149
  Build a `{ validatorId: status }` lookup from the `Data` array (use only `Status == "Available"`).
96
150
 
97
- ### SDK Docs (required when Step 0 needs Python class names)
151
+ > **`Validator` is not unique — key on `(Validator, IsByo)`, not `Validator` alone.** A tenant with a bring-your-own (BYOG) configuration for a validator has two entries sharing the same `Validator` name — one built-in, one BYO (`IsByo: true`). If the code wires a BYO validator construct, match it against the `IsByo: true` entry (by its `ByoValidatorName` — tenant-unique; the code passes no connection id), not the built-in one, before reading `Parameters`/scopes. See [uipath-agents coded guardrails.md § BYO (bring-your-own) validators](/uipath:uipath-agents).
98
152
 
99
- Coded agents reference guardrails by **Python class name** (`UiPathPIIDetectionMiddleware`, `PIIValidator`), not by
100
- `validator_id`. Fetch the SDK doc pages via `WebFetch` to map the two:
153
+ ### SDK Docs (only when a finding must name Python classes)
101
154
 
102
- - `https://uipath.github.io/uipath-python/core/guardrails/` — always (validators, entity enums, `GuardrailScope` /
103
- `GuardrailExecutionStage`, action classes).
155
+ Fetch SDK docs **only when** a finding's message must map `validator_id` ↔ Python class and the class is not
156
+ already visible in the agent source. The catalog and validator list speak `validator_id` only and carry no Python
157
+ class names — the SDK docs are the sole translation table between the two vocabularies, not a second verdict
158
+ authority. A source-visible class name may be cited as the **observed wiring** (its structural validity — real
159
+ class, correct module, valid contract — is the deterministic CLI's job: `CODED_GUARDRAIL_WRONG_IMPORT` /
160
+ `CODED_GUARDRAIL_INVALID_CONTRACT`); any class the report **prescribes** comes from the SDK docs, never memory.
161
+ Relevance verdicts and generically-phrased recommendations need no mapping — skip this subsection for them. When
162
+ the mapping IS needed, fetch via `WebFetch`:
163
+
164
+ - `https://uipath.github.io/uipath-python/core/guardrails/` — validators, entity enums, `GuardrailScope` /
165
+ `GuardrailExecutionStage`, action classes.
104
166
  - `https://uipath.github.io/uipath-python/langchain/guardrails/` — when the agent is LangChain/LangGraph
105
167
  (`uipath-langchain` in `pyproject.toml` or `from langchain…` / `from langgraph…` imports): middleware classes,
106
168
  their supported scopes/stages, and the `uipath_langchain.guardrails` import paths.
@@ -155,6 +217,8 @@ Resolve the entry `.py` (the `langgraph.json` `graphs` value's file, else `main.
155
217
 
156
218
  For each wired guardrail the review CLI did **not** flag, run the checks below.
157
219
 
220
+ > **A BYO-backed guardrail's tenant entry showing `Status: "Disabled"` is a configuration switch, not a wiring bug.** It means the tenant admin turned that specific BYOG configuration off (Admin → AI Trust Layer → Guardrails Configurations) — don't re-diagnose the code as a wiring/import defect. If the wired guardrail targets that disabled configuration, it can't protect; treat it like targeting an `Unauthorised` validator and note it in the report.
221
+
158
222
  ### Actionability Check → `CODED_GUARDRAIL_ACTION_INEFFECTIVE`
159
223
 
160
224
  Compare the guardrail's action class against the catalog entry's `when_not_to_use` and its representative
@@ -238,10 +302,10 @@ recommended action with the protection-vs-audit signal. Examples:
238
302
 
239
303
  ## Report
240
304
 
241
- Merge findings into the Step 5 "Rule Findings" subsection (SKILL.md Step 2.5b), canonical line format:
305
+ Merge findings into the Step 5 Critical / Warning / Info findings tables (SKILL.md Step 2.5b), one row per finding:
242
306
 
243
307
  ```
244
- [<prefix><n>] `<rule_id>` — <file> — <message>. Fix: <suggested_fix>.
308
+ | <id> | `<rule_id>` | `<file>`: <message>. <suggested_fix>. |
245
309
  ```
246
310
 
247
311
  - Recommendations (`CODED_GUARDRAIL_RECOMMENDED`) → **`I-D-` (Info)** — improvements, not failures. The action
@@ -263,8 +327,9 @@ Merge findings into the Step 5 "Rule Findings" subsection (SKILL.md Step 2.5b),
263
327
  double-flag a `CODED_GUARDRAIL_WRONG_IMPORT` / `CODED_GUARDRAIL_TOOL_SCOPE_NO_TOOLS` /
264
328
  `CODED_GUARDRAIL_INVALID_CONTRACT` deterministic finding.
265
329
  3. **Catalog-driven, not hardcoded** — every audit verdict and recommendation cites a catalog field
266
- (`when_not_to_use`, `when_to_use` / `use_cases`, `examples[].config.action_type`). Class/enum/import names come
267
- from the SDK docs, never memory.
330
+ (`when_not_to_use`, `when_to_use` / `use_cases`, `examples[].config.action_type`). Verdicts need only the
331
+ catalog and the agent source; when the report names Python classes/enums/imports not already visible in the
332
+ source, they come from the SDK docs, never memory.
268
333
  4. **Catalog unavailable → defer Audit Mode** (Rules Skipped), keep Recommend Mode's source-only detection with
269
334
  generic wording and the code-only wiring half of `CODED_GUARDRAIL_MISAPPLIED`. Never guess
270
335
  effectiveness/relevance without the catalog.
@@ -69,8 +69,11 @@ turn**. Do not delay delivery for solution packing, eval inspection, repeated ca
69
69
  architecture analysis, or unrelated project introspection. Continue beyond it only when the user's initial request
70
70
  explicitly asks for an exhaustive review or names additional non-guardrail checks.
71
71
 
72
- `LC_GUARDRAIL_PII_MISSING`, `LC_GUARDRAIL_MISSING`, and other descriptive variants are not valid rule IDs. When
73
- catalog evidence is unavailable, use rule-ID-less prose rather than inventing an identifier.
72
+ `LC_GUARDRAIL_PII_MISSING`, `LC_GUARDRAIL_MISSING`, and other descriptive variants are not valid rule IDs — never
73
+ invent a new one. This is about invented IDs only: if the catalog fetch itself fails, do **not** fall back to
74
+ rule-ID-less prose for a missing-guardrail finding — `LC_GUARDRAIL_RECOMMENDED` stays the correct, valid rule ID
75
+ per [Step 0 — If the catalog is unavailable](#if-the-catalog-is-unavailable): use generic scope/action wording and
76
+ note "catalog-limited" in the message, but still cite `LC_GUARDRAIL_RECOMMENDED`.
74
77
 
75
78
  ---
76
79
 
@@ -107,6 +110,8 @@ uip agent guardrails list --output json
107
110
 
108
111
  Build a `{ validatorId: status }` lookup from the `Data` array (use only `Status == "Available"`).
109
112
 
113
+ > **`Validator` is not unique — key on `(Validator, IsByo)`, not `Validator` alone.** A tenant with a bring-your-own (BYOG) configuration for a validator has two entries sharing the same `Validator` name — one built-in, one BYO (`IsByo: true`). Collapsing them can point Audit Mode's Correctness/Actionability comparison at the wrong entry's `Parameters`/`AllowedScopes`. When the reviewed guardrail JSON carries `byoValidatorName`, match it against that entry's `ByoValidatorName`, not `Validator` alone. See [uipath-agents guardrails.md § BYO (bring-your-own) guardrails](/uipath:uipath-agents).
114
+
110
115
  ### If the catalog is unavailable
111
116
 
112
117
  If the catalog output contains `"Code": "GuardrailCatalogUnavailable"` (or the CLI is unavailable), **do not
@@ -126,6 +131,8 @@ guess**:
126
131
  For each guardrail in `agent.json`'s `guardrails[]` that the review CLI did **not** flag format-invalid, read
127
132
  its `validator`, `selector.scopes`, and action `$actionType`, then run two checks.
128
133
 
134
+ > **A BYO-backed guardrail's tenant entry showing `Status: "Disabled"` is a configuration switch, not a format problem.** It means the tenant admin turned that specific BYOG configuration off (Admin → AI Trust Layer → Guardrails Configurations) — don't re-diagnose it as a schema/discriminator issue. If the agent's guardrail targets that disabled configuration (via `byoValidatorName`), it functions the same as targeting an `Unauthorised` validator — treat it as unable to protect and note it in the report.
135
+
129
136
  ### Actionability Check → `LC_GUARDRAIL_ACTION_INEFFECTIVE`
130
137
 
131
138
  A format-valid guardrail's **action** can be ineffective or counterproductive for its **scope**. Compare the
@@ -220,10 +227,10 @@ layout"). `pii_detection` and `prompt_injection` are SDK-confirmed and may be na
220
227
 
221
228
  ## Report
222
229
 
223
- Merge findings into the Step 5 "Rule Findings" subsection (SKILL.md Step 2.5b), canonical line format:
230
+ Merge findings into the Step 5 Critical / Warning / Info findings tables (SKILL.md Step 2.5b), one row per finding:
224
231
 
225
232
  ```
226
- [<prefix><n>] `<rule_id>` — <file> — <message>. Fix: <suggested_fix>.
233
+ | <id> | `<rule_id>` | `<file>`: <message>. <suggested_fix>. |
227
234
  ```
228
235
 
229
236
  - Recommendations (`LC_GUARDRAIL_RECOMMENDED`) → **`I-D-` (Info)** — the lowest grade; they are improvements, not
@@ -105,7 +105,7 @@ Verify that the solution has proper environment isolation for safe deployment.
105
105
 
106
106
  Score each principle on a 1-5 scale. Report scores in the review.
107
107
 
108
- > Score these six principles for any project type to inform the optimization review (Step 4). For **agent projects**, their average is also the primary input to **G_jud**, the non-deterministic half of the Step 4.5 agent letter grade — the average maps to a base letter (`4.5–5.0`→A … `1.0–1.49`→F); see [agent-grading-rubric.md](agents/agent-grading-rubric.md). Exclude a principle only when it genuinely does not apply (e.g. queue-style Scalability for a single agent) and state the exclusion. Score honestly — for agents, a generous score here inflates the grade.
108
+ > Score these six principles for any project type to inform the optimization review (Step 4). They do **not** feed the agent letter grade — that is computed from finding counts in [agent-grading-rubric.md](agents/agent-grading-rubric.md). Exclude a principle only when it genuinely does not apply (e.g. queue-style Scalability for a single agent) and state the exclusion.
109
109
 
110
110
  ### Modularity (1-5)
111
111
 
@@ -114,7 +114,7 @@ Rarely, a directory may contain nested `.uipx` files:
114
114
 
115
115
  ## Validation Command Reference
116
116
 
117
- > **You MUST run these commands yourself via Bash.** Do not just list them — execute them, parse the output, and include every Error, Warning, and Info result in the review report.
117
+ > **You MUST run these commands yourself via Bash.** Do not just list them — execute them, parse the output, and account for every result in the review report: Error / Warning / Info counts in the validation table, plus a detail line per Error and Warning.
118
118
 
119
119
  ### RPA Validation and Workflow Analyzer
120
120
 
@@ -320,28 +320,33 @@ The review report follows a fixed markdown structure. Produce it in chat — do
320
320
 
321
321
  ### Automated Validation & Workflow Analyzer Results
322
322
 
323
- > This section is MANDATORY. Every review must include the output of `uip rpa validate` (for RPA), `uip agent validate` (for agents), `uip maestro flow validate` (for flows), etc. Report ALL Errors, Warnings, and Info.
323
+ > This section is MANDATORY. Every review must include the output of `uip rpa validate` (for RPA), `uip agent validate` (for agents), `uip maestro flow validate` (for flows), etc. Every result is reported as a count in the table below; Errors and Warnings additionally get a detail line.
324
324
 
325
325
  | Project | File | Command | Errors | Warnings | Info |
326
326
  |---|---|---|---|---|---|
327
327
  | ... | ... | ... | ... | ... | ... |
328
328
 
329
- **Validation Details:**
329
+ **Validation Details:** *(Errors and Warnings only — omit the heading entirely when there are none)*
330
330
  - [V-E-001] Project/File: **ST-RULE-ID** — Description
331
331
  - [V-W-001] Project/File: **ST-RULE-ID** — Description
332
- - [V-I-001] Project/File: **ST-RULE-ID** — Description
333
332
 
334
333
  ### Critical Findings (blocks deployment)
335
- 1. [C-001] <finding title> — `<project/file path>` — <recommendation>
336
- 2. [C-002] ...
334
+
335
+ | ID | Rule | Recommendation |
336
+ |---|---|---|
337
+ | C-001 | `<rule_id>` or `—` | `<project/file path>`: <issue>. <fix>. |
337
338
 
338
339
  ### Warnings (should fix before production)
339
- 1. [W-001] <finding title> — `<project/file path>` — <recommendation>
340
- 2. [W-002] ...
340
+
341
+ | ID | Rule | Recommendation |
342
+ |---|---|---|
343
+ | W-001 | `<rule_id>` or `—` | `<project/file path>`: <issue>. <fix>. |
341
344
 
342
345
  ### Improvement Opportunities
343
- 1. [I-001] <finding title> — `<project/file path>` — <recommendation>
344
- 2. [I-002] ...
346
+
347
+ | ID | Rule | Recommendation |
348
+ |---|---|---|
349
+ | I-001 | `<rule_id>` or `—` | `<project/file path>`: <issue>. <fix>. |
345
350
 
346
351
  ### Per-Project Summary
347
352
  | Project | Type | Validation | Quality | Grade | Key Findings |
@@ -359,8 +364,12 @@ The review report follows a fixed markdown structure. Produce it in chat — do
359
364
  - Queue usage: <observation and recommendation>
360
365
  - Bulk operations: <observation and recommendation>
361
366
  - Transaction handling: <observation and recommendation>
367
+
368
+ **Final grade: <A–F>**
362
369
  ```
363
370
 
371
+ > **`Final grade:` is the report's last line — nothing follows it.** No notes, caveats, or commentary, inside the report or after it. It restates the Summary's `Agent Grade` letter (the two must match) so the grade stays visible at the tail. Letter only — no label, no derivation. Agent projects only; omit when the review has no agent projects. See SKILL.md Step 4.5 + [agent-grading-rubric.md](agents/agent-grading-rubric.md).
372
+
364
373
  **Overall Quality determination** (all project types):
365
374
  - **Good** — 0 Critical findings, 0-3 Warnings
366
375
  - **Needs Improvement** — 0 Critical findings, 4+ Warnings OR 1 Critical with clear fix
@@ -31,7 +31,7 @@ Parse the JSON. Findings live under `Data.Issues[]`; each issue is:
31
31
  }
32
32
  ```
33
33
 
34
- The response also carries `Data.Verdict` (PASS/FAIL), `Data.Score`, `Data.Grade`, and `Data.Stats` — report the verdict/score if useful, but the `Issues[]` are the findings. `Data.Grade` is also consumed as **G_det**, the deterministic half of the Step 4.5 agent letter grade (read it from here, never recompute) — see [agents/agent-grading-rubric.md](agents/agent-grading-rubric.md). Carry each issue into the report **verbatim**; do not re-derive, rename, or re-rank. These `RuleId`s are authoritative as the CLI emits them and are **not** duplicated in the skill catalog.
34
+ The response also carries `Data.Verdict` (PASS/FAIL), `Data.Score`, `Data.Grade`, and `Data.Stats` — report the verdict/score if useful, but the `Issues[]` are the findings. `Data.Grade` is also consumed as **G_det**, the deterministic half of the Step 4.5 agent letter grade (read it from here, never recompute) — see [agents/agent-grading-rubric.md](agents/agent-grading-rubric.md). Carry each issue into the report **verbatim** as `<File>: <Description>. <SuggestedFix>.`; do not re-derive, rename, or re-rank. These `RuleId`s are authoritative as the CLI emits them and are **not** duplicated in the skill catalog.
35
35
 
36
36
  If the review command is unavailable (CLI not installed, or a version without `agent review` / `codedagent review`), record one line in the report's "Rules Skipped" subsection with `reason: "uip agent review / codedagent review CLI not available"`, then continue with 2.5b.
37
37
 
@@ -40,11 +40,11 @@ If the review command is unavailable (CLI not installed, or a version without `a
40
40
  1. **Identify which catalog files apply.** Use the detection table below.
41
41
  2. **Read each catalog file in full.**
42
42
  3. **Apply each rule's `detection_method`** (always the judgment form): read the named source material, reason about it, emit a finding when the criteria hold. Log the reasoning in the finding's `description`.
43
- 4. **Track skipped rules.** If a rule cannot apply (`status: deferred`, missing optional file, no eval set to assess against), record `rule_id` + reason for the report's "Rules Skipped" subsection. **Never silently skip.**
44
- 5. **Merge findings into the Step 5 report** under the "Rule Findings" subsection. Use the canonical line format:
43
+ 4. **Track skipped rules.** If a rule was intended but could not be applied (`status: deferred`, review CLI unavailable, guardrail catalog unavailable, required source unreadable), record `rule_id` + reason for the report's "Rules Skipped" subsection. **Never silently skip.** A rule with an empty subject set is not skipped — see SKILL.md Critical Rule 11.
44
+ 5. **Merge findings into the Step 5 report** — into the Critical / Warning / Info findings tables, one row per finding:
45
45
 
46
46
  ```
47
- [<prefix><n>] `<rule_id>` — <file> — <description>. Fix: <suggested_fix>.
47
+ | <id> | `<rule_id>` | `<file>`: <issue>. <fix>. |
48
48
  ```
49
49
 
50
50
  where prefix is `C-D-` (Critical), `W-D-` (Warning), or `I-D-` (Info) per the severity mapping in [`rule-format.md`](rule-format.md).
@@ -71,7 +71,7 @@ Deterministic checks (file presence, schema walks, counts, set-membership, regex
71
71
 
72
72
  - The CLI + judgment catalog cover what can be checked mechanically or with focused judgment. The checklists in `references/<type>/<type>-review-checklist.md` cover broader semantic / contextual checks (PDD alignment, business-logic correctness, architectural fit).
73
73
  - Checklist rows that overlap with a rule are tagged like `*(rule: \`RULE_ID\`)*` — when reviewing, that rule (CLI or judgment) already covered it; do not re-flag.
74
- - Findings from the CLI + judgment catalog appear in the "Rule Findings" subsection; findings from manual review use the Critical / Warning / Info sections.
74
+ - Findings from the CLI, the judgment catalog, and manual review all go in the same Critical / Warning / Info findings tables, keeping their own ID prefixes (`-D-` for rule-driven, no infix for manual — see [`rule-format.md`](rule-format.md)). A finding appears in exactly one table, once.
75
75
 
76
76
  ## Determinism contract
77
77
 
@@ -83,7 +83,7 @@ Two consecutive runs over the same project produce identical findings *for the r
83
83
 
84
84
  ## Anti-patterns
85
85
 
86
- 1. **Do not invent rule IDs.** If you observe a real issue covered by neither the review CLI nor the judgment catalog, surface it under the Critical / Warning / Info sections as a normal finding — do not promote it to a `rule_id`.
86
+ 1. **Do not invent rule IDs.** If you observe a real, critical issue covered by neither the review CLI nor the judgment catalog, surface it under Critical Findings as a normal finding — do not promote it to a `rule_id`. Only critical issues qualify (SKILL.md Critical Rule 12).
87
87
  2. **Do not re-rank severities.** The CLI's `Severity` and the catalog's `severity` are authoritative for `error` / `warning` / `info`. For `judgment` rows, log the reasoning when picking the report band.
88
88
  3. **Do not silently skip rules.** Every skip belongs in the report's "Rules Skipped" subsection with a reason.
89
89
  4. **Do not run the catalog before the CLI.** Run `uip agent review` / `uip codedagent review` first (2.5a); for low-code agents, `uip agent refresh` and `uip agent validate` are assumed already completed in that order (Step 2) — so the judgment catalog focuses only on reasoning the CLI cannot do.
@@ -30,7 +30,7 @@ Each catalog file uses one H2 section per logical checker (e.g., `## SchemaCheck
30
30
  | `info` | Info | `I-D-` |
31
31
  | `judgment` | Warning (default; agent picks Critical / Warning / Info based on contextual severity) | `W-D-` (or `C-D-` / `I-D-` when the agent escalates / de-escalates with reasoning logged in the finding's `description`) |
32
32
 
33
- The `-D-` infix marks the finding as rule-driven (vs `-V-` for Step 2 validation output, or no infix for manual checklist findings). Review-CLI findings carry the `RuleId` the CLI emits and are reported in the same "Rule Findings" subsection.
33
+ The `-D-` infix marks the finding as rule-driven (vs `-V-` for Step 2 validation output, or no infix for manual checklist findings). Review-CLI findings carry the `RuleId` the CLI emits and are reported in the same severity table.
34
34
 
35
35
  ## Detection method — the judgment form
36
36
 
@@ -34,7 +34,7 @@ One UIA activity set covers every UI target:
34
34
 
35
35
  ## UIA Prerequisites
36
36
 
37
- **Required package:** `UiPath.UIAutomation.Activities` — minimum version (`<MIN_VERSION>`): **`26.10.2-alpha.12792334`**, from the internal UiPath NuGet feed (prerelease flag needed). The `uip rpa uia` CLI, the package docs, and the UIA skills require `<MIN_VERSION>` or newer — before any UIA work, check the installed version in `project.json` under `dependencies`. Do not hardcode the version from memory; this section is the only source of truth.
37
+ **Required package:** `UiPath.UIAutomation.Activities` — minimum version (`<MIN_VERSION>`): **`26.10.2`**, from the official UiPath NuGet feed (no prerelease flag needed). The `uip rpa uia` CLI, the package docs, and the UIA skills require `<MIN_VERSION>` or newer — before any UIA work, check the installed version in `project.json` under `dependencies`. Do not hardcode the version from memory; this section is the only source of truth.
38
38
 
39
39
  **Upgrades require explicit user consent.** Never install or upgrade UIA silently. Consent comes from one of:
40
40
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: uipath-solution
3
- description: "Always invoke for `.uipx` files. UiPath Solution lifecycle via the `uip solution` CLI: init/restore/pack/publish/deploy/activate/upload, project add|import|remove, resource refresh|add|remove|edit. Also DIAGNOSE solution-lifecycle failures: pack/publish/deploy/activate errors, stale or missing bindings, unimported/unset/unresolved resources, deploy error codes (e.g. `[1009] Invalid argument 'Value'`), publish name+version/processKey collisions, and `uip solution` 'unknown command' after the new→init rename. Bundles multiple automation projects (RPA/Flow/Case/Agents/API Workflows) into one deployable `.uipx`. For PDD→SDD design (sdd.md/pdd.md) & multi-skill task derivation→uipath-planner. For non-solution Orchestrator/IS/resources/auth/traces→uipath-platform. For .xaml/.cs→uipath-rpa. For .flow→uipath-maestro-flow. For .bpmn→uipath-maestro-bpmn. For agent.json and .py agents→uipath-agents. For coded-app deploy→uipath-coded-apps."
3
+ description: "Always invoke for `.uipx` files. UiPath Solution lifecycle via the `uip solution` CLI: init/restore/pack/publish/deploy/activate/upload, projects add|import|remove, resources refresh|add|remove|edit. Also DIAGNOSE solution-lifecycle failures: pack/publish/deploy/activate errors, stale or missing bindings, unimported/unset/unresolved resources, deploy error codes (e.g. `[1009] Invalid argument 'Value'`), publish name+version/processKey collisions, and `uip solution` 'unknown command' after the new→init rename. Bundles multiple automation projects (RPA/Flow/Case/Agents/API Workflows/AppV2 Coded and Coded Action apps) into one deployable `.uipx`. For PDD→SDD design (sdd.md/pdd.md) & multi-skill task derivation→uipath-planner. For non-solution Orchestrator/IS/resources/auth/traces→uipath-platform. For .xaml/.cs→uipath-rpa. For .flow→uipath-maestro-flow. For .bpmn→uipath-maestro-bpmn. For agent.json and .py agents→uipath-agents. For standalone coded-app deploy (no parent .uipx)→uipath-coded-apps."
4
4
  when_to_use: "User mentions .uipx / 'uip solution' / 'pack the solution' / 'publish the solution' / 'deploy the solution' / 'activate' / multi-project / Solution scope / Solution Folder. Fires for 'create a new solution', 'add project/resource to solution', 'add a queue/asset/bucket/connection to the solution', 'import a cloud queue/asset', 'edit/remove a resource', 'change a queue/asset field', 'set an asset value in the solution'. Also fires to DIAGNOSE solution problems: 'why did my solution pack/publish/deploy fail', 'pack ships stale/old bindings', 'my resource edit didn't take effect', 'refresh imported 0 bindings', deploy fails '[1009] Invalid argument Value', publish 'name+version / processKey collision', 'uip solution new: unknown command', 'coded app missing from the .uipx / not packed'. (Solution build-time/CLI faults belong here; faulted Orchestrator JOBS at runtime → uipath-troubleshoot.) Load BEFORE editing .uipx or running uip solution commands. For PDD→SDD design→uipath-planner; for an 'architect then deploy' two-phase request, run uipath-planner first, then return here to pack/deploy."
5
5
  ---
6
6
 
@@ -53,7 +53,7 @@ All other `solution` subcommands (`pack`, `publish`, `deploy activate/status/uni
53
53
  4. **Never hand-edit `resources/solution_folder/`.** It's auto-generated by `uip solution projects add` / `import` and auto-cleaned by `project remove`. Manual edits desync from `.uipx` and produce silent failure modes. See [scenarios/manual-edits.md](references/scenarios/manual-edits.md).
54
54
  5. **`.uipx` and `resources/solution_folder/` must always agree on the project set.** Diffing them is the fastest way to detect corrupted state. If they disagree, fix via `uip solution projects add/remove` — never by editing either side directly.
55
55
  6. **Run `uip solution resources refresh` before `pack` or `upload`.** Bundled artefact files and `userProfile/<userId>/debug_overwrites.json` must reflect current cloud state. Skipping refresh ships stale bindings.
56
- 7. **Coded apps are NOT registered in `.uipx`.** `uip solution projects add` does not apply to coded-app directories; they deploy independently via `uip codedapp publish / deploy`. A coded app folder can sit alongside a solution but is not part of its manifest.
56
+ 7. **AppV2 coded apps register in `.uipx` when authored inside a solution.** `uip codedapp init` is the solution-side scaffolding entry point — run it from **inside a `.uipx` solution**. It writes `project.uiproj` (`ProjectType: "AppV2"`) + `webAppManifest.json`, nests source under `source/dist/`, and auto-registers as `Type: "AppV2"` — emitting `resources/solution_folder/app/{Coded,CodedAction}/`. `uip solution projects add` / `uip solution projects import` cover existing AppV2 folders too — both read `webAppManifest.config.isActionApp` to pick `Coded` / `CodedAction` subType (defaults `Coded` for legacy folders with no manifest). `uip solution pack` bundles them; `uip solution deploy run` provisions them. Standalone coded apps are a **different** lifecycle — scaffold them with `npx create-vite@latest` (not `uip codedapp init`), keep a flat `dist/` at the project root, and deploy via `uip codedapp pack` → `uip codedapp publish` → `uip codedapp deploy`. See [/uipath:uipath-coded-apps](/uipath:uipath-coded-apps).
57
57
  8. **Verify the artifact after every CLI mutation.** Read `project.json`, `.uipx`, or `uip solution deploy status` output — exit codes lie. Verification is additional; it does not replace requested read-only list commands. If the user asks to show or list registered projects, solution resources, packages, deployments, or statuses, run the matching `uip solution ... list/status --output json` command and then inspect files only as a secondary sanity check.
58
58
  9. **For multi-environment promotion, switch tenants with `uip login tenant set <tenant>` and pass a per-environment deploy config via `--config-file <path>`.** The same packed `.uipx` deploys to dev/staging/prod — the environment differs by the target tenant and the config file (generated with `deploy config get`, edited with `config set` / `config link`), not by a different package. There is no `-c <CONFIG_KEY>` flag.
59
59
 
@@ -74,7 +74,7 @@ The typical lifecycle for a UiPath Solution:
74
74
 
75
75
  > **`restore` is an optimization, not a requirement.** `pack` restores dependencies internally, so a separate `restore` step is only useful when you want deps resolved up front — most often in CI (`login → restore → pack`) to fail fast on a missing feed before the heavier pack runs. `restore` takes a `<solutionPath>` only (solution dir with a `.uipx`, or a `.uis` file), resolves deps in place, and does **not** produce a package. It needs an authenticated session to reach private Orchestrator feeds, so run `uip login` before it.
76
76
 
77
- > **Coded apps in the project list deploy in parallel, not through `uip solution`.** Coded-app projects (Coded Web Apps and Coded Action Apps) have no `project.uiproj` / `project.json` and are NOT registered via `uip solution projects add`. For each coded-app project in the unified list, run `uip codedapp publish` / `uip codedapp deploy` independently — the rest of the solution still goes through steps 1-7 above. See `uipath-coded-apps` for the coded-app lifecycle.
77
+ > **AppV2 coded apps in the solution flow through `uip solution`, not `uip codedapp` directly.** When a coded-app project has `Type: "AppV2"` in `.uipx`, `uip solution pack` bundles its `.nupkg` and `uip solution deploy run` provisions it in the deployment folder — no separate `uip codedapp pack` / `publish` / `deploy` step. Standalone coded apps (scaffolded outside any solution via `npx create-vite`, flat `dist/` at the project root, no `project.uiproj` / `webAppManifest.json`) use the direct `codedapp` path instead. See `uipath-coded-apps` for the standalone lifecycle and for authoring an AppV2 project inside a solution via `uip codedapp init`.
78
78
 
79
79
  Two distinct distribution paths from the same source:
80
80
  - **`pack` → `publish` → `deploy run`** — promotes a versioned package to Orchestrator.
@@ -99,7 +99,7 @@ This skill is the terminal step of an SDD-driven build: after `uipath-planner` p
99
99
  1. **Hand-rolling REST calls for `pack`, `publish`, `deploy run`, or `activate`.** The `uip solution` CLI handles auth, folder headers, pipeline semantics, and pagination correctly. Reach for REST only after confirming no command covers the task.
100
100
  2. **Editing `resources/solution_folder/` directly.** It is auto-generated and auto-cleaned. Manual edits desync from `.uipx`. Use `uip solution projects add/remove` instead.
101
101
  3. **Skipping `uip solution resources refresh` before `pack` or `upload`.** Ships stale bindings and debug-overwrite state.
102
- 4. **Adding a coded-app directory via `uip solution projects add`.** Coded apps have no `project.uiproj` / `project.json` and are not packed by `uip solution pack`. Deploy them independently via `uip codedapp publish / deploy`.
102
+ 4. **Running `uip codedapp pack` / `publish` / `deploy` on an AppV2 project that's already registered in `.uipx`.** Once registered as `Type: "AppV2"`, the coded app is part of the solution — `uip solution pack` / `uip solution publish` / `uip solution deploy run` handle it. Direct `uip codedapp publish` bypasses the solution's deploy config (external client ID, routing name, action schema) and creates a duplicate registration. Use `uip codedapp` directly only for standalone coded apps scaffolded with `npx create-vite` (no `.uipx` in the tree, no `project.uiproj` / `webAppManifest.json`).
103
103
  5. **Creating a new `.uipx` per environment instead of using deploy configs.** One packed solution promotes to dev/staging/prod via a per-environment `--config-file` (and `uip login tenant set` to target the tenant). Different `.uipx` files per environment defeats version tracking.
104
104
  6. **Using `uip solution upload` (Studio Web) as a deployment path.** Upload is for browser-based debugging only — it does not produce a published package and cannot be promoted via `deploy run`. Use `pack` → `publish` → `deploy run` for real deploys. `upload` also lands the solution in Studio Web's **Cloud workspace** tab — not the Local tab; SW's Local tab is a separate registration not addressable by `uip solution`.
105
105
  7. **Trusting exit codes alone after a mutation.** Always read the artefact (`project.json`, `.uipx`, deploy status) — a non-zero exit may indicate partial state and a zero exit can mask warnings.
@@ -56,10 +56,15 @@ MySolution/
56
56
  │ ├── project.uiproj OR project.json
57
57
  │ ├── bindings_v2.json
58
58
  │ └── ...
59
+ ├── <AppV2ProjectName>/ <- AppV2 coded app (Coded or CodedAction).
60
+ │ ├── project.uiproj <- ProjectType: "AppV2".
61
+ │ ├── webAppManifest.json <- Coded / CodedAction discriminator + bundlePath.
62
+ │ └── source/dist/ <- Build output (bundlePath: "source/dist").
59
63
  ├── resources/ <- Auto-generated on add/import. NEVER hand-edit.
60
64
  │ └── solution_folder/
61
65
  │ ├── package/<name>.json <- Auto-created on add. NOT cleaned by `project remove`.
62
- │ └── process/{process,flow}/<name>.json <- Auto-created on add. Auto-cleaned on remove.
66
+ │ ├── process/{process,flow}/<name>.json <- Auto-created on add. Auto-cleaned on remove.
67
+ │ └── app/{Coded,CodedAction}/<name>.json <- AppV2 apps only. `kind: "app"`, `apiVersion: apps.uipath.com/v1`.
63
68
  └── userProfile/<user-uuid>/ <- Appears after first `project remove`.
64
69
  ```
65
70
 
@@ -67,7 +72,7 @@ MySolution/
67
72
  >
68
73
  > The `.uipx` also carries a `StudioMinVersion` field (e.g. `2025.10.0`). If users hit a version-mismatch when opening the solution, that's the constraint to check.
69
74
 
70
- > **Coded apps are not registered in `.uipx`.** UiPath Coded Web Apps and Coded Action Apps have no `project.uiproj` / `project.json` — `uip solution projects add` does not apply, and they are not packed by `uip solution pack`. They deploy independently via `uip codedapp publish` / `deploy`. A coded app directory can sit alongside a solution but is not part of its manifest. See [/uipath:uipath-coded-apps](/uipath:uipath-coded-apps).
75
+ > **AppV2 coded apps are first-class solution members when authored inside a `.uipx`.** They emit under `resources/solution_folder/app/{Coded,CodedAction}/`, pack / publish / deploy via `uip solution`, and are registered by `uip codedapp init` (run from inside the solution — auto-registers), `uip solution projects add`, or `uip solution projects import`. `uip codedapp init` is the solution-side entry point; standalone coded apps are scaffolded with `npx create-vite` instead and deploy through `uip codedapp pack` / `publish` / `deploy`. See [SKILL.md Rule 7](../SKILL.md#critical-rules) and [/uipath:uipath-coded-apps](/uipath:uipath-coded-apps).
71
76
 
72
77
  > **`.uis` bundles and the `pack` `.zip` are plain zip archives — unzip to inspect bundled contents.**
73
78
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: uipath-tasks
3
- description: "UiPath Action Center human-in-the-loop tasks via `uip tasks` — list, assign, complete approval/validation tasks. For authoring HITL nodes in flows/agents→uipath-human-in-the-loop. For Orchestrator→uipath-platform, codedapp→uipath-coded-apps. Skip Document Understanding."
3
+ description: "UiPath Action Center human-in-the-loop tasks via `uip tasks`: list, assign, complete, plus task catalogs, comments, labels, metadata, and task data (get/save). For authoring HITL nodes in flows/agents→uipath-human-in-the-loop. For Orchestrator→uipath-platform, codedapp→uipath-coded-apps. Skip Document Understanding."
4
4
  when_to_use: "User says 'approve task', 'pending approval', 'pending action item', 'review action', 'list my tasks', 'reassign task' in an Orchestrator/Action Center context. NOT for TaskCreate/TaskUpdate (general session-task tracking) or Document Understanding validation."
5
5
  user-invocable: true
6
6
  ---
@@ -54,6 +54,11 @@ uip login tenant set MyTenant
54
54
  - Assigning, reassigning, or unassigning tasks to users
55
55
  - Completing tasks with action outcomes and data payloads
56
56
  - Querying which users have task permissions in a folder
57
+ - Managing task catalogs (list, get, create, update) and their retention policy
58
+ - Reading and adding task comments
59
+ - Setting task labels
60
+ - Editing task metadata (title, priority, catalog association)
61
+ - Getting and saving task data
57
62
 
58
63
  > **Not in scope:** Orchestrator queues or queue items (use `uip or`), Document Understanding model training, or Action Center app development (use `uip codedapp`).
59
64
 
@@ -131,6 +136,14 @@ uip tasks complete <task-id> --type ExternalTask --folder-id <folder-id> --outpu
131
136
 
132
137
  8. **Do not complete already-completed tasks.** Check the task `status` field — if it is `Completed`, inform the user.
133
138
 
139
+ 9. **Folder ID for catalogs/comments/labels/metadata/data.** These commands are folder-scoped. Pass `--folder-id`, or omit it on an interactive terminal to pick from a list. It is required in non-interactive runs (agents, CI) — always pass it explicitly there.
140
+
141
+ 10. **Retention actions are `Delete` or `Archive`.** `Archive` also needs `--retention-bucket-id`. `--encrypted` is create-only and cannot be changed on update.
142
+
143
+ 11. **Labels replace the full set.** `tasks labels --labels` overwrites all labels on the task — include every label to keep, and pass `[]` to clear them all.
144
+
145
+ 12. **`data save` takes no type flag.** The command resolves the task type itself; pass the task ID, `--folder-id`, and `--data` (a JSON object).
146
+
134
147
  ---
135
148
 
136
149
  ## Task Navigation
@@ -149,6 +162,16 @@ uip tasks complete <task-id> --type ExternalTask --folder-id <folder-id> --outpu
149
162
  | Complete a task | `tasks complete <task-id> --type <type> --folder-id <id>` |
150
163
  | Complete with action | `tasks complete <task-id> --type FormTask --folder-id <id> --action "Approve" --data '{...}'` |
151
164
  | List assignable users | `tasks users <folder-id>` |
165
+ | List task catalogs | `tasks catalogs list --folder-id <id>` |
166
+ | Get a catalog | `tasks catalogs get <catalog-id> --folder-id <id>` |
167
+ | Create a catalog | `tasks catalogs create --name <name> --folder-id <id>` |
168
+ | Update a catalog | `tasks catalogs update <catalog-id> --folder-id <id>` |
169
+ | List task comments | `tasks comments list <task-id> --folder-id <id>` |
170
+ | Add a comment | `tasks comments add <task-id> --text <text> --folder-id <id>` |
171
+ | Set task labels | `tasks labels <task-id> --labels '[{"name":"urgent"}]' --folder-id <id>` |
172
+ | Edit task metadata | `tasks metadata <task-id> --folder-id <id> [--title --priority --catalog-id]` |
173
+ | Get task data | `tasks data get <task-id> --folder-id <id>` |
174
+ | Save task data | `tasks data save <task-id> --data '{...}' --folder-id <id>` |
152
175
 
153
176
  ---
154
177
 
@@ -203,4 +226,7 @@ For deeper guidance, read these files only when needed:
203
226
  - `references/task-lifecycle.md` — Listing and getting tasks, type-hint endpoint routing, and the full discover→assign→complete workflow
204
227
  - `references/task-completion.md` — Completion endpoint routing, required fields per task type
205
228
  - `references/task-assignment.md` — Assign, reassign, unassign patterns and user discovery
229
+ - `references/task-catalogs.md` — Task catalog list/get/create/update and retention policy
230
+ - `references/task-metadata.md` — Editing task metadata, plus task comments and labels
231
+ - `references/task-data.md` — Getting and saving task data, and save type routing
206
232
  - `references/action-center-urls.md` — Canonical Action Center URL patterns; **read this before constructing or sharing any task deep-link** (the portal-UI misclassifies tenant-less URLs as "Orchestrator not enabled")