@uipath/skills 1.206.0 → 1.206.1

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 (115) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.cursor-plugin/plugin.json +1 -1
  4. package/CODEOWNERS +34 -7
  5. package/README.md +2 -2
  6. package/package.json +2 -2
  7. package/skills/uipath-genome/SKILL.md +35 -88
  8. package/skills/uipath-genome/references/build-guide.md +61 -0
  9. package/skills/uipath-genome/references/completion-report-guide.md +93 -0
  10. package/skills/uipath-genome/references/composite-interactions-guide.md +39 -0
  11. package/skills/uipath-genome/references/configuration-questions-guide.md +68 -0
  12. package/skills/uipath-genome/references/execution-guide.md +45 -166
  13. package/skills/uipath-genome/references/execution-parts-guide.md +84 -17
  14. package/skills/uipath-genome/references/genome-reading-guide.md +153 -0
  15. package/skills/uipath-genome/references/live-application-guide.md +23 -9
  16. package/skills/uipath-genome/references/offline-definition-workarounds-guide.md +4 -4
  17. package/skills/uipath-genome/references/open-items-guide.md +3 -3
  18. package/skills/uipath-genome/references/package-doc-errata-guide.md +8 -0
  19. package/skills/uipath-genome/references/refactor-guide.md +38 -39
  20. package/skills/uipath-genome/references/selector-matching-guide.md +59 -0
  21. package/skills/uipath-genome/references/selector-translation-guide.md +13 -66
  22. package/skills/uipath-genome/references/selector-translation-sap-guide.md +7 -5
  23. package/skills/uipath-genome/references/selector-translation-web-guide.md +2 -2
  24. package/skills/uipath-genome/references/source-frameworks-guide.md +21 -0
  25. package/skills/uipath-genome/references/source-migration-guide.md +48 -19
  26. package/skills/uipath-genome/references/test-execution-guide.md +8 -7
  27. package/skills/uipath-genome/references/transactional-execution-guide.md +41 -13
  28. package/skills/uipath-genome/references/ui-target-migration-guide.md +12 -49
  29. package/skills/uipath-genome/references/ui-verification-guide.md +9 -1
  30. package/skills/uipath-maestro-case/SKILL.md +7 -7
  31. package/skills/uipath-maestro-case/references/evals/evals.json +5 -5
  32. package/skills/uipath-maestro-case/references/planning.md +5 -5
  33. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +2 -2
  34. package/skills/uipath-maestro-case/references/plugins/sla/planning.md +1 -1
  35. package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
  36. package/skills/uipath-planner/SKILL.md +80 -199
  37. package/skills/uipath-planner/assets/templates/agent-sdd-template.md +17 -17
  38. package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +15 -13
  39. package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +19 -19
  40. package/skills/uipath-planner/assets/templates/case-sdd-task-details-template.md +173 -0
  41. package/skills/uipath-planner/assets/templates/{case/case-sdd-template.md → case-sdd-template.md} +51 -229
  42. package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +16 -14
  43. package/skills/{uipath-genome → uipath-planner}/assets/templates/component-genome-template.md +9 -5
  44. package/skills/uipath-planner/assets/templates/flow-sdd-template.md +17 -15
  45. package/skills/{uipath-genome → uipath-planner}/assets/templates/process-genome-template.md +11 -7
  46. package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +50 -73
  47. package/skills/uipath-planner/references/author/author-guide.md +119 -0
  48. package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +36 -0
  49. package/skills/uipath-planner/references/author/scenario-proposal-guide.md +30 -0
  50. package/skills/uipath-planner/references/decompose/decompose-guide.md +223 -0
  51. package/skills/uipath-planner/references/{asdd-crosswalk-guide.md → design/asdd-crosswalk-guide.md} +6 -4
  52. package/skills/uipath-planner/references/{business-rules-guide.md → design/business-rules-guide.md} +3 -3
  53. package/skills/uipath-planner/references/design/caller-request-guide.md +92 -0
  54. package/skills/uipath-planner/references/design/case-data-and-time-guide.md +292 -0
  55. package/skills/uipath-planner/references/design/case-product-guide.md +243 -0
  56. package/skills/uipath-planner/references/design/case-review-and-conformance-guide.md +166 -0
  57. package/skills/uipath-planner/references/design/design-guide.md +296 -0
  58. package/skills/uipath-planner/references/{package-selection-guide.md → design/package-selection-guide.md} +16 -13
  59. package/skills/uipath-planner/references/{rpa-product-guide.md → design/rpa-product-guide.md} +23 -53
  60. package/skills/uipath-planner/references/design/scope-recommendation-guide.md +134 -0
  61. package/skills/uipath-planner/references/design/sdd-writing-guide.md +235 -0
  62. package/skills/uipath-planner/references/design/solution-composition-guide.md +153 -0
  63. package/skills/uipath-planner/references/edit/edit-guide.md +66 -0
  64. package/skills/uipath-planner/references/extract/extract-guide.md +230 -0
  65. package/skills/uipath-planner/references/extract/source-frameworks-guide.md +22 -0
  66. package/skills/uipath-planner/references/extract/uipath-non-rpa-signals-guide.md +121 -0
  67. package/skills/uipath-planner/references/extract/uipath-rpa-signals-guide.md +88 -0
  68. package/skills/uipath-planner/references/extract/uipath-source-guide.md +193 -0
  69. package/skills/uipath-planner/references/shared/component-placement-guide.md +99 -0
  70. package/skills/{uipath-genome/references → uipath-planner/references/shared}/defect-verification-guide.md +4 -4
  71. package/skills/{uipath-genome/references → uipath-planner/references/shared}/extracted-genome-guide.md +15 -14
  72. package/skills/uipath-planner/references/shared/extraction-parts-guide.md +66 -0
  73. package/skills/{uipath-genome/references → uipath-planner/references/shared}/genome-format-guide.md +63 -34
  74. package/skills/uipath-planner/references/{multi-skill-patterns-guide.md → shared/multi-skill-patterns-guide.md} +28 -27
  75. package/skills/uipath-planner/references/{pdd-analysis-guide.md → shared/pdd-analysis-guide.md} +27 -72
  76. package/skills/uipath-planner/references/{plan-and-tasks-format.md → shared/plan-and-tasks-format.md} +43 -67
  77. package/skills/uipath-planner/references/{platform-availability-guide.md → shared/platform-availability-guide.md} +56 -1
  78. package/skills/uipath-planner/references/shared/product-selection-guide.md +202 -0
  79. package/skills/{uipath-genome/references → uipath-planner/references/shared}/skill-mapping-guide.md +24 -4
  80. package/skills/uipath-planner/references/{tenant-library-search-guide.md → shared/tenant-library-search-guide.md} +10 -8
  81. package/skills/{uipath-genome/references → uipath-planner/references/shared}/transactional-shape-guide.md +39 -8
  82. package/skills/uipath-planner/scripts/check-genome.mjs +801 -0
  83. package/skills/uipath-planner/scripts/sdd-fingerprint.mjs +71 -0
  84. package/skills/uipath-planner/scripts/sdd-to-docx.mjs +87 -0
  85. package/skills/uipath-test/SKILL.md +3 -3
  86. package/version-manifest.json +1 -1
  87. package/skills/uipath-genome/CLAUDE.md +0 -85
  88. package/skills/uipath-genome/assets/examples/artemis-2-mission-monitor-genome.md +0 -126
  89. package/skills/uipath-genome/assets/examples/classify-document-and-create-validation-genome.md +0 -117
  90. package/skills/uipath-genome/assets/examples/invoice-processing-genome/exception-triage-agent-genome.md +0 -96
  91. package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-extraction-genome.md +0 -128
  92. package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-orchestration-genome.md +0 -115
  93. package/skills/uipath-genome/assets/examples/invoice-processing-genome.md +0 -136
  94. package/skills/uipath-genome/assets/examples/purchase-requisition-entry-genome.md +0 -224
  95. package/skills/uipath-genome/assets/examples/salesforce-accounts-and-contacts-genome.md +0 -151
  96. package/skills/uipath-genome/references/authoring-guide.md +0 -98
  97. package/skills/uipath-genome/references/editing-guide.md +0 -57
  98. package/skills/uipath-genome/references/extraction-guide.md +0 -166
  99. package/skills/uipath-genome/references/extraction-parts-guide.md +0 -45
  100. package/skills/uipath-genome/references/parts-guide.md +0 -22
  101. package/skills/uipath-genome/references/uipath-source-guide.md +0 -404
  102. package/skills/uipath-genome/scripts/check-genome.py +0 -670
  103. package/skills/uipath-planner/assets/templates/case/sdd-viewer.html +0 -1530
  104. package/skills/uipath-planner/references/case/case-design-lane-guide.md +0 -327
  105. package/skills/uipath-planner/references/case/case-design-layers-guide.md +0 -503
  106. package/skills/uipath-planner/references/case/case-sdd-conformance-checklist.md +0 -123
  107. package/skills/uipath-planner/references/non-pdd-lane-guide.md +0 -196
  108. package/skills/uipath-planner/references/pdd-driven-lane-guide.md +0 -210
  109. package/skills/uipath-planner/references/product-selection-guide.md +0 -673
  110. package/skills/uipath-planner/references/sdd-generation-guide.md +0 -613
  111. package/skills/uipath-planner/scripts/docx-extract.ps1 +0 -59
  112. package/skills/uipath-planner/scripts/docx-extract.sh +0 -54
  113. package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +0 -74
  114. package/skills/uipath-planner/scripts/sdd-to-docx.sh +0 -76
  115. /package/skills/uipath-planner/references/{attended-reauth-pattern-guide.md → design/attended-reauth-pattern-guide.md} +0 -0
@@ -0,0 +1,166 @@
1
+ # Case Management Review and Conformance Guide
2
+
3
+ The case review, draft finalization and SDD conformance gate. The case model they check is [case-product-guide.md](case-product-guide.md) (Layers 1–2) and [case-data-and-time-guide.md](case-data-and-time-guide.md) (Layers 3–4, § Layer closure). Read § Presenting the Case Design at the Phase 2 Step 5 review, § Finalizing a Case Draft when finalizing a draft, and § SDD Conformance Checklist at the template-superset check.
4
+
5
+ ## Presenting the Case Design
6
+
7
+ The Phase 2 Step 5 architecture review of a case ([design-guide.md](design-guide.md)) is the **Case Review**: a decision-first business approval surface, complete enough to approve the case behaviour without opening the SDD — never a build plan and never a compressed SDD copy. Coverage: SDD Section 1 → review sections 1/4/5; Section 2 → 2/3/4/5; Section 3 → 1/6; Section 4 → 6. Each business decision appears ONCE. The review omits the data contract, variables, task inputs and outputs, a second stages list and per-stage detail cards — that detail stays in the SDD. Anything carrying a high review item also appears in Review Flags. An autonomous run writes no review; its decisions go to the SDD's Decisions Made and Design Rationale cells.
8
+
9
+ Start with `## Case Review: <Case name>`, then exactly this order:
10
+
11
+ 1. **Case Snapshot** — `Item | Proposed design`. Rows: `Objective`, `Starts when`, `Primary personas`, `Successful completion`, `Other terminal outcomes`, `SLA coverage`. Assumed values marked `(assumed)`. No case ID prefix unless it affects a decision.
12
+ 2. **Primary Journey** — `# | Stage | Purpose | Tasks | Starts when | Completes or exits when | Required? | SLA`. Every primary stage once, flow order. `Tasks` cell: every task in execution order with type, required/optional, activation/grouping — e.g. `Sequential: Capture request (Human action, required) → Validate request (RPA workflow, required)`; `After both: Make decision (Human action, required)`. Event-triggered and manually triggered shown explicitly.
13
+ 3. **Other Paths Considered** — `Scenario | Trigger or condition | Modeled as | Tasks | Interrupts active work? | Return or case outcome | Rationale`. Every modeled exception, secondary stage, optional path, alternate terminal — AND standard paths intentionally unmodeled when that omission is a decision. Path tasks carry type/required/activation.
14
+ 4. **SLA and Escalations** — `Scope | SLA | Time target or condition | Status or threshold | Response | Response target | Interrupts active work? | Rationale`. One row per meaningful `(scope, SLA, status)`; separate at-risk and breached rows when both exist; responses from the closed set ([§ Choosing the response](case-data-and-time-guide.md#choosing-the-response)). Interrupting cell: per the Response column's row in [§ Choosing the response](case-data-and-time-guide.md#choosing-the-response) — that table is the only home for which values are legal. `None` when no SLA. Never assume every breach creates an escalation stage.
15
+ 5. **Rules and Outcomes** — `Scope | Element | Rule | When | If | Then`. Business-significant routing/completion/terminal rules only; omit generated sequencing visible in `Tasks`; no SLA repeats unless needed for routing; business conditions in `If`, no data column.
16
+ 6. **Resources and Integrations** — `Task | Intended resource or system | Resolution`. Action apps, agents, RPA/processes, API workflows, business rules, child cases, connectors, named external systems. `Resolution` = design-time outcome: `resolved (<folder>)`, `create during build`, `resolve at build`, or a candidate pick. A missing row is not acceptable.
17
+ 7. **Decisions I Made** — `Decision | Why | Provenance`. Every assumption, override, resource/task-type/activation decision, and intentionally omitted path, plain language (`you said "then"`, `compliance wording`, `no SLA mentioned`). Group only decisions sharing rationale AND provenance. Flagged items carry ⚠.
18
+ 8. **Review Flags** — `Item to review | Why it matters | Default if accepted`. `None` when empty. Unfixable findings, missing connections, unresolved high-impact choices.
19
+
20
+ After Review Flags, when any §1.5 row is `Category: In` + `Type: file`, show this fixed block (omit otherwise — a conditional build obligation, not a ninth section):
21
+
22
+ ```
23
+ Caller obligation (file In-arg detected):
24
+ File In-args: <comma-separated names>
25
+ Programmatic callers must pre-create each JobAttachment via POST /odata/Attachments,
26
+ PUT bytes to the returned blob URI, then pass {ID,FullName,MimeType,Metadata} as the
27
+ In-arg value AND include the attachment ID in StartProcessDto.Attachments[].
28
+ Maestro Studio Web's "Start case" dialog does this automatically.
29
+ ```
30
+
31
+ **Product vocabulary.** User-visible activation labels: `Sequential`, `Parallel`, `Parallel after predecessor`, `Event-triggered`, `Manually triggered`, `Fan-in`, `Conditional gate` (`adhoc` → `Manually triggered`). Use product task labels — `Human action`, `Agent`, `RPA workflow`, `API workflow`, `Child case` — over schema enum names.
32
+
33
+ **Completeness gate.** Incomplete unless: all eight sections shown, every stage and task named, every modeled and intentionally omitted path covered, every meaningful SLA response/status row present, Caller obligation when relevant. No approval question before every section has been shown — even sections reading `None`. Never substitute a list of build steps, artifacts, folders, or validation commands, or a summary that points at the SDD for a missing business decision.
34
+
35
+ When a design was handed over by `uipath-maestro-case` ([sdd-writing-guide.md](sdd-writing-guide.md) § Design Handed Over by a Build Skill), the review's one question carries its build options: `Build it — straight through` / `Build it — pause at the build preview` / `Change something`; with open high review items the first option reads `Build despite N flagged items — straight through`. The answer is the build consent and the build-review preference, never re-asked mid-build.
36
+
37
+ ## Finalizing a Case Draft
38
+
39
+ A case draft resumed by [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 6 keeps every business element; these repairs are the only changes it makes on the way to the final SDD, beside the template's § Validation footer:
40
+
41
+ 1. `user-selected-stage` repair per [case-product-guide.md](case-product-guide.md) § Repairing a `user-selected-stage` lane; wording such as "any active case" means every primary stage.
42
+ 2. Every `=js:` expression in the draft appears verbatim in the output, inside the same owning task or stage block, with its field names, variable references, and output mapping intact — an equivalent-looking shorthand that drops an input, predicate, or intermediate field is a failure, not a simplification.
43
+ 3. Threshold-policy conversion — MANDATORY scan, not optional polish. Scan the draft (descriptions, personas table, rationale) for comparator + amount phrases: `>`, `<`, `≥`, `≤`, `over`, `above`, `under`, `below`, `at least`, `more/less than` next to an amount (`$5M`, `100000`, `L4`). EVERY such policy must also appear in an executable cell of the owning task or stage in the final — prose-only is a render failure:
44
+ - A personas row whose draft scope reads `StageX (amount > $N only)` renders in the final as Stages `StageX` and Notes `amount > $N only` — the Stages cell holds exact stage names only, since convert turns it into the role's stage ids — and REQUIRES a matching guarded expression inside a StageX task block, phrased on the HIGH side and assigning the exception role: an owner/recipient cell or entry-condition IF cell containing `=js:vars.amount > N000000 ? "Role:SomeRole" : "Role:DefaultRole"` — the numeral written out (`5000000`, not `$5M`), the role and attribute on the same line. The expression lives in a table cell (Inputs/owner/recipient/WHEN/IF); an `=js:` fragment inside `**Design Rationale:**` or `**Description:**` prose is NOT an encoding and fails the gate.
45
+ - Reuse an existing variable that carries the attribute; the conversion never adds or renames a task or variable.
46
+ - Persona prose and Design Rationale alone are not final.
47
+ 4. Secondary-stage task headings normalize to `##### Task S{secondaryStageIndex}.{taskIndex}: {Task Name}`; never keep draft letter prefixes (`R.1`, `W.1`, `CC.1`, `ESC.1`).
48
+ 5. A draft's per-stage SLA table may carry `At-Risk Action` / `Breach Action` columns; the final SDD does not. Move each response into the § SLA Response Map row for that `(scope, SLA, status)` — never drop it, never keep the column.
49
+
50
+ ## SDD Conformance Checklist
51
+
52
+ The gate for the case template's § Validation footer, walked against the written file before the `Status: ready` flip — by a read-only subagent when the host has one (it returns the PASS/FAIL table; the parent edits), otherwise inline. Not part of authoring: the template's cell rules are the render contract.
53
+
54
+ Answer every item PASS or FAIL with one verbatim quote from the file — the line that violates (FAIL) or
55
+ the line that satisfies (PASS). Judge structure by the ROLE and POSITION of a block (which heading level,
56
+ which table, which column), not by prose wording. The enforcement detail behind each item is the
57
+ template's cell rules, which are COMPLETE for the render contract; design semantics stay
58
+ the case product guides'.
59
+
60
+ CONFORMANCE CHECKLIST — 37 items in 10 families. Items 30–33 apply only when finalizing a draft. Each item
61
+ names only what to LOOK AT.
62
+
63
+ Skeleton
64
+ 1. The first non-empty line is `# SDD — <Case Name>`.
65
+ 2. Present, in this order: `## Document History`; `## Planner Handoff` with the `<!-- planner-handoff:v1 -->`
66
+ marker; `## Table of Contents`; `## Section 1: Case Definition` holding `### Case Metadata`,
67
+ `### Case Triggers`, `### Case Exit Conditions`, `### Case Variables`; `## Section 2: Stages & Tasks`;
68
+ `## Section 3: Personas & App Views` holding `### Personas` and `### Process App Views`;
69
+ `## Section 4: Integrations`.
70
+ 3. No summary-only top-level heading: `## Source`, `## Case Objective`, `## Actors And Systems`,
71
+ `## Case Trigger`, `## Stages`, `## Business Rules`, `## Task Plan`, `## Resource Resolution`,
72
+ `## Acceptance Scenarios`.
73
+ 4. The Case Variables header is literally
74
+ `| Name | Category | Type | sourceTriggers | sourceFields | Default | Description |`, and that
75
+ table is the section's only table: every variable, task-output targets included, is a row of it —
76
+ no second table, no `####` sub-heading split, no sibling `###` section (e.g.
77
+ `### Task-output variables`). Only the first table declares variables; later rows drop silently.
78
+ 5. Every `### Stage <N>:` / `### Secondary Stage:` block carries `**Type:** Stage`, `**Design Rationale:**`,
79
+ `#### Stage Entry Conditions`, `#### Stage Exit Conditions`, `#### Tasks`; a secondary stage carries an
80
+ explicit `**Interrupting:** Yes` or `No`, and `Yes` whenever one of its exit rows is `return-to-origin`.
81
+ 6. Every row of a stage's Tasks table has its own `##### Task <N>.<M>:` block (`S<K>.<M>` in a secondary
82
+ stage; never the letter prefixes `R.1` / `W.1` / `CC.1` / `ESC.1`) carrying `**Type:**`,
83
+ `**Activation Mode:**`, `**Design Rationale:**`, an `**Entry Condition:**` table, `**Task envelope**`,
84
+ and the detail block its type requires — action: `**HITL Implementation:**`; wait-for-connector:
85
+ `**Connector:**` / `**Trigger / Event:**`; execute-connector-activity / external-agent / external-workflow:
86
+ `**Connector:**` / `**Operation:**`; wait-for-timer: `**Timer:**` / `**Duration:**`; case-management:
87
+ `**Child Case:**`; http-request: `**Method:**` / `**URL:**`; document-extraction: `**IXP Deployment:**` / `**Model Name:**`; process / agent / rpa / api-workflow / function / business-rule / flow-process: `**Resolved Resource:**`.
88
+ 7. No literal `\n` escape inside block content; `<UNRESOLVED>` is never backtick-wrapped; none of the
89
+ skill-internal terms (groupOperator, savedFilterTrees, io-binding, auto-mint, originalVar,
90
+ inputOutputs[]) appears anywhere in the body.
91
+ Closed enums + gate-slot pairing
92
+ 8. Every task `**Type:**` is one of the sixteen literals in [case-product-guide.md](case-product-guide.md) § Task types. If a `Type:` appears in that section's never-author block, fix it as the block directs for its group: write the plan type it gives, or leave the task to Studio Web.
93
+ 9. In every table with a `Marks Stage Complete` / `Marks Case Complete` column, the WHEN rule is legal for
94
+ that row's Yes/No per case-product-guide.md § Lifecycle gates; Stage Entry Conditions rows use only Stage-entry rules and task
95
+ Entry Condition rows only Task-entry rules.
96
+ 10. Exit Type pairs with Marks Stage Complete — Yes: exit-only / return-to-origin / wait-for-user;
97
+ No: exit-only / wait-for-user. `return-to-origin` never appears in Case Exit Conditions.
98
+ Names
99
+ 11. No stage label and no task display name contains `:`.
100
+ 12. Stage labels are unique case-wide; task display names are unique case-wide, across every stage.
101
+ SLA references + selectors
102
+ 13. Every `sla-status-change(...)` has 2 or 3 quoted args; arg 1 is the literal `root` or a declared stage
103
+ display name; arg 2 is an SLA Title that target declares (the `SLA Title` row of Case Metadata for
104
+ root; `**SLA Title:**` under the stage's `#### Stage SLA`); every SLA Response Map row whose response is not
105
+ `notify-only` has its `sla-status-change` row, and every `sla-status-change` row has its Map row.
106
+ 14. Every `selected-stage-completed("X")` / `selected-stage-exited("X")` names a declared stage; every
107
+ `selected-tasks-completed("T")` names a declared, non-`adhoc` task in the SAME stage.
108
+ 15. No stage's entry row references its own stage.
109
+ Data closure
110
+ 16. Every `=vars.X` is a row in Case Variables.
111
+ 17. Every consumed variable whose Category is not `In` is produced somewhere: an Outputs row `-> X`, an
112
+ assignment `X = ...`, a Default, or a sourceTriggers entry.
113
+ 18. Every `Out` variable has a Default or a producing Outputs row.
114
+ 19. Every Buttons `Maps To` target is a declared variable, `taskOutcome`, or an identifier read somewhere
115
+ outside the Buttons tables.
116
+ Recipients, entry tables
117
+ 20. Every `**Recipient:**` is `—`, `<UNRESOLVED>`, an `=` expression, or carries a typed prefix
118
+ (`Role:` / `User:` / `UserGroup:` / `Email:` / `Expression:`).
119
+ 21. Every task `**Entry Condition:**` table, every `#### Stage Entry Conditions` table and every
120
+ `#### Stage Exit Conditions` table has at least one body row.
121
+ Structure
122
+ 22. Some stage's entry table carries a `case-entered` row.
123
+ 23. Case Triggers has at least one row.
124
+ 24. Case Exit Conditions has at least one row with Marks Case Complete `Yes`, and no two rows identical in
125
+ (WHEN, IF, THEN, Marks).
126
+ 25. A `wait-for-user` exit exists if and only if a `user-selected-stage` entry exists.
127
+ 26. `required-stages-completed` used → some stage declares `**Required for Case Completion:** Yes`;
128
+ `required-tasks-completed` on a stage → some task envelope in that stage has Required `Yes`.
129
+ Precedence & liveness
130
+ 27. No stage entry row equals a Case Exit row in (rule, selector, IF) — case exit evaluates first, so the
131
+ stage would be unreachable.
132
+ 28. Within a stage, no unguarded exit row (Marks `No`, empty IF) shares its WHEN with a guarded completion
133
+ row (Marks `Yes`, IF set) — the exit always wins and the stage never completes.
134
+ 29. The Case-Level SLA and every stage SLA expressed in minutes lie within 15–1000, and no stage SLA
135
+ exceeds the case-level SLA.
136
+ Draft parity (finalizing a draft only)
137
+ 30. The ordered stage and task inventory equals the draft's — names verbatim, only letter prefixes renumbered.
138
+ 31. Every `=js:` expression in the draft appears verbatim in the final, inside the same owning block.
139
+ 32. Every comparator + amount policy in the draft (`>`, `<`, `≥`, `≤`, or the draft language's words for
140
+ over / under / at least / more than / less than, next to an amount) is encoded in an executable cell
141
+ (owner / recipient / WHEN / IF / Inputs) of the owning task or stage, on the same side of the
142
+ comparison — prose in Design Rationale or Description does not count.
143
+ 33. The draft file still exists beside the final, unrenamed.
144
+ Modelling completeness
145
+ 34. Every task's `Persona` cell names exactly ONE role — never an either/or (`Underwriter or Credit
146
+ Analyst`, `Recruiter / Hiring Manager`). An either/or persona is a routing rule the source stated and
147
+ the design never modelled: no guard picks between the roles at run time. Repair by naming the owning
148
+ role, and where the split was genuinely conditional, author the condition as a guarded row on the
149
+ deciding variable rather than as prose in the persona cell. `system` and `—` are single roles.
150
+ 35. No `user-selected-stage` entry sits on a lane that a decision, event, or SLA routes to.
151
+ `user-selected-stage` is picker exposure — a person choosing the next stage by hand — never
152
+ deterministic routing, so when the source says entry is automatic the picker row IS the defect:
153
+ repair it per § Section 2 Authoring rules, stage-picker bullet, decision-routed branch (all four
154
+ edits). Source silent on who launches the lane ⟹ keep what is authored.
155
+ 36. The Personas table header is literally `| Persona | Scope | Stages | Permissions | Description | Notes |`,
156
+ and every row is machine-readable: Scope is `Case` or `Stages`; Stages names exact Section 2 stage
157
+ display names (`—` for `Case`); Permissions holds only the permission keys the template lists, and a
158
+ `Stages` row only View, Assign, ManageSLA, RunAdhocTasks; every task's `Persona` cell (rule 34) names a
159
+ row of this table or `system`. `View, Act, Reassign` is prose, not permissions — `uip maestro case sdd
160
+ convert` reports each such cell as a `case-role` Unresolved item and `validate --sdd` fails it. A
161
+ condition on the persona goes in Notes and in a guarded cell (rule 32), never in Permissions or Stages.
162
+ 37. Every `api-event("<Name>")` WHEN cell quotes a Name declared verbatim in `### Business Events`
163
+ (a Section 1 `###` sibling of Case Variables, header `| Name | Description | Payload |`), and every
164
+ declared event is quoted by ≥1 cell. `api-event` stands only in Stage Entry, Stage Exit, Task Entry
165
+ and Case Exit tables — never in Case Triggers, and never in a task's Entry Conditions that also hold
166
+ `runs-sequentially`. A Payload cell is a JSON Schema object in one code span, or `—`.
@@ -0,0 +1,296 @@
1
+ # Design Guide — the `design` verb
2
+
3
+ `design` turns a PDD, or any process-knowledge source, into an implementation-ready SDD in three phases: **Phase 1** analyses the source and selects the scope, **Phase 2** reviews the architecture, **Phase 3** writes the full SDD incrementally and flips it to `ready` ([sdd-writing-guide.md](sdd-writing-guide.md)). The next turn writes the genome from the `ready` SDD (Verb Rule 8). The source may be a document or the request itself; every product, Case Management included, runs this guide. All user questions use numbered-choice format.
4
+
5
+ ## Verb Rules
6
+
7
+ These add to the Critical Rules in [SKILL.md](../../SKILL.md).
8
+
9
+ 1. **Select scope before designing architecture — and gate every product by platform constraints.** Single product (RPA Process/Library/Test Auto, Maestro Flow, Maestro BPMN, Case, Agents, Coded Apps, API Workflows) vs multi-project Solution determines the template(s) and project structure. Use the [Product Selection Guide](../shared/product-selection-guide.md): Constraint Gate → Level 1 → 1.5 (RPA sub-type) → 1.75 (Solution composition) → 2.5 (project decomposition) — 1.75 and 2.5 in [solution-composition-guide.md](solution-composition-guide.md). The delivery model (Cloud / Automation Suite / standalone — asked at `design` entry) blocks unavailable products via [platform-availability-guide.md](../shared/platform-availability-guide.md); user-excluded products are never re-offered.
10
+ 2. **The SDD is architecture only — no task lists.** `design` produces the SDD (Project Structure, Data Definitions, Testing Strategy, …). The implementation input is the genome `author` writes from it.
11
+ Never put Task 1 / Task N templates or *implementation* tasks created with the task-list tool in the SDD. End the SDD with a `## Next Steps` section. (Progress-tracking tasks created with the task-list tool are a separate, allowed use.)
12
+ 3. **Write the `## Planner Handoff` header AND the `<!-- planner-handoff:v1 -->` marker into every SDD.** They are the load-bearing detection contract — § Choosing the Verb detects either signal, so keep both. The fields and their rules: [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 2.
13
+ 4. **Honour the template section structure as a hard superset contract.** Write single-product scope to `<PROCESS_NAME_KEBAB>-sdd.md`; write Solution scope to a `<SOLUTION_NAME_KEBAB>-solution-sdd.md` overview plus one `<PROJECT_NAME_KEBAB>-sdd.md` per project. If the user specifies an output path for the SDD, use it instead of these defaults. Read the selected template end to end before generating — never a head slice or a heading list; column contracts sit deep in the file. Copy every template table's column headers verbatim. After writing, diff the generated H2/H3 headings against the template TOC — the generated set MUST be a superset. A missing template-required H2/H3 is an SDD defect, not an `[SME REVIEW]` item — regenerate it.
14
+ 5. **Testing is mandatory and thorough — never offer "happy path only".** `design` writes a full Testing Strategy section (happy path, edge cases, error scenarios, e2e for Master Projects). Implementation specialists may scope down at execution time; the SDD does not.
15
+ 6. **The terminal artefact of a Solution build is a packed `.uipx`.** The SDD's `## Next Steps` section points the user at the `uipath-solution` skill, which packs it. A bare project folder is not the deliverable.
16
+ Exception: when the Constraint Gate blocks Solutions for the delivery model — standalone, Automation Suite older than 2.2510, or a user exclusion — rewrite Next Steps to per-package Orchestrator publish routed via `uipath-platform`.
17
+ 7. **Design resolves identities only.** A resource the design names is looked up (the Level 0 estate sweep, the tenant library search) and adopted when one match is confident; anything ambiguous or missing is written as the intended name with an `[SME REVIEW]` item. Schema discovery, project scaffolding and create-on-missing are build concerns, recorded as decisions for the build — `design` never runs them.
18
+ 8. **Every `ready` SDD gets its genome on the next turn, a design-only request included** — except a design a build skill handed over, which goes back to that skill. The sequence and every condition on it: [sdd-writing-guide.md](sdd-writing-guide.md) § Step 3. A revise of an SDD whose genome is already on disk updates and checks that genome in the same run: [sdd-writing-guide.md](sdd-writing-guide.md) § Keeping the Genome Current.
19
+ 9. **Write the SDD skeleton first and flip `ready` last; the SDD write is a turn boundary.** The skeleton goes to disk before any other Phase 3 section, so a turn that ends early still leaves the SDD on disk; `[SME REVIEW]` items gate the `ready` flip, never the skeleton write. Procedure: [sdd-writing-guide.md](sdd-writing-guide.md) Step 0; what the next turns run: its § Step 3. Scope and UI answers resolved in `design` flow forward to the genome through the SDD.
20
+ 10. **Keep the source's words.** Roles, domain nouns, stage and step labels, decision outcomes and system names are written exactly as the source writes them (`CFO`, `Vendor`, `Needs Info`, `Workday`) — never homogenised to a synonym (`Approver`, `Supplier`, `the HR system`). Only mechanical derivations change a name: PascalCase project and case names, kebab-case file names, camelCase variables.
21
+ 11. **When sources conflict, the higher one wins:** platform constraints (the delivery model, a product's schema) → a regulatory or compliance constraint the source states or implies → tenant evidence (a deployed resource matching the described work) → what the user said → the source documents → the template's and product guide's defaults. A lower source overridden is a Decisions Made row (autonomous) or a line of the Step 5 review.
22
+ 12. **A product the user names is the primary**, unless the Constraint Gate blocks it or Level 0 finds the work should not be automated: Level 1 confirms it instead of selecting, and Levels 1.5–3 still run inside it.
23
+ 13. **Every key the automation builds is stable across retries.** A file name, sequence number, message ID or queue reference written for an output is built from the item's own identity (its reference, GUID or source ID), never the clock or a counter at write time — so a retry finds what the first attempt wrote instead of writing it twice.
24
+ 14. **A caller's design request changes only the steps its guide names.** A `planner-design-request: v1` block carries the execution mode (`execution`), holds an interactive run to one checkpoint (the Phase 2 Step 5 review), lets an autonomous one stop only for a hard blocker, and ends the run with a `planner-design-result: v1` block: [caller-request-guide.md](caller-request-guide.md).
25
+
26
+ ## Read Plan
27
+
28
+ | Phase | Condition | Read |
29
+ |---|---|---|
30
+ | start | — | this guide whole |
31
+ | start | the request carries a `planner-design-request: v1` block | [caller-request-guide.md](caller-request-guide.md) whole |
32
+ | Phase 1 Step 0 | — | [platform-availability-guide.md](../shared/platform-availability-guide.md) § Resolving the Delivery Model |
33
+ | Phase 1 Step 1 | — | [pdd-analysis-guide.md](../shared/pdd-analysis-guide.md) whole |
34
+ | Phase 1 Step 2.5 | the source describes RPA-bearing work (UI, Excel or Office, files, desktop or on-prem systems) and the prompt allows `uip` commands | [tenant-library-search-guide.md](../shared/tenant-library-search-guide.md) |
35
+ | Phase 1 Steps 3.5–6 | — | [product-selection-guide.md](../shared/product-selection-guide.md) whole; [solution-composition-guide.md](solution-composition-guide.md) § Level 2.5 — Project Decomposition; [component-placement-guide.md](../shared/component-placement-guide.md) § Per-task component placement (the to-be, per step) |
36
+ | Phase 1 Steps 4–6 | Level 1 = Solution, or the user picks "Solution (customize)" | solution-composition-guide.md § Level 1.75 — Solution Composition |
37
+ | Phase 1 Step 5 | the primary is Agents or Coded Apps and product-specific information is missing | [scope-recommendation-guide.md](scope-recommendation-guide.md) § Gap Handling for Agent / Coded App |
38
+ | Phase 1 Step 6 | — | scope-recommendation-guide.md § Presenting the Recommendation (its Summary block holds the Recommended Scope, Project List and Queue Architecture formats) |
39
+ | Phase 1 Step 3.5 or Phase 2 Step 4 | an external system needs its Integration Service check, or a Level 3 add-on is in play (HITL, Integration Service, API Workflow as integrated component, reusable or shared assets) | component-placement-guide.md § Level 3 — Capability Add-ons |
40
+ | Phase 2 Step 1 | — | scope-recommendation-guide.md § Template Mapping |
41
+ | Phase 1 Step 4 | whenever the Constraint Gate runs — every delivery model: Cloud is not uniform, and its variants (Public Sector, Dedicated, Test Cloud) and per-tenant entitlements can block products inside the Cloud column | [platform-availability-guide.md](../shared/platform-availability-guide.md) |
42
+ | Phase 1 Step 4 | Level 1 = RPA, or a Solution includes RPA | [rpa-product-guide.md](rpa-product-guide.md) (Level 1.5, Level 2, Level 2.5 Part A, R-07 naming, REFramework) |
43
+ | Phase 1 Step 4 | Level 1 = Case Management, or a Solution includes a case | [case-product-guide.md](case-product-guide.md) and [case-data-and-time-guide.md](case-data-and-time-guide.md), both whole |
44
+ | Phase 2 Step 5 | the design includes a case | [case-review-and-conformance-guide.md](case-review-and-conformance-guide.md) § Presenting the Case Design |
45
+ | Phase 1 Step 2 | the source signals a non-scriptable interactive sign-in (hardware 2FA token, smart card, biometric) | [attended-reauth-pattern-guide.md](attended-reauth-pattern-guide.md) |
46
+ | Phase 2 Step 1 | — | the SDD template(s) the Template Mapping names, in `../assets/templates/` |
47
+ | Phase 2 Step 2 | filling §14 Packages or its equivalent | [package-selection-guide.md](package-selection-guide.md) |
48
+ | Phase 2 Step 2 or Phase 3 | filling RPA §4 Business Rules or BPMN §5 Gateways | [business-rules-guide.md](business-rules-guide.md) |
49
+ | Phase 3 | Phase 2 Step 5 is approved (or skipped in autonomous mode) | [sdd-writing-guide.md](sdd-writing-guide.md) whole; its § Read Plan names Phase 3's reads |
50
+
51
+ ## Anti-patterns
52
+
53
+ 1. **Copying the PDD structure into the SDD.** The SDD reorganizes content for implementation — it does not mirror the PDD's document flow.
54
+ 2. **Defaulting to RPA Process when the need profile points elsewhere.** Use the Product Selection Guide decision tree on the synthesized need, not keywords: genuine judgment/reasoning → Agents; stages/SLA/approval lifecycle → Case Management ("AI" over a rule-expressible decision is still RPA). Forcing single-product scope when the PDD describes multiple coordinated projects is the same mistake — offer Solution.
55
+ 3. **Renaming the `## Planner Handoff` heading or stripping the `<!-- planner-handoff:v1 -->` marker.** Either signal alone is sufficient for detection; keep both — removing both breaks SDD detection silently.
56
+
57
+ ## Phase 1 — PDD Analysis & Scope Selection
58
+
59
+ ### Step 0: Determine Execution Mode & Delivery Model
60
+
61
+ Before reading the PDD in full, search it for platform signals ("Automation Suite", "on-prem", "self-hosted", "Orchestrator", "cloud", a tenant URL) — the skip rule below depends on them — then ask **one structured prompt containing two questions** — execution mode and delivery model (three when the custom-host follow-up below applies; keep a prompt to at most four questions). Batching keeps the prompt budget flat: the delivery model gates every product decision (see [Product Selection Guide → Constraint Gate](../shared/product-selection-guide.md#constraint-gate)) and asking it later costs a second interruption.
62
+
63
+ **Delivery model** — run [platform-availability-guide.md § Resolving the Delivery Model](../shared/platform-availability-guide.md#resolving-the-delivery-model) first: its preflight, Question 2 (with the custom-host follow-up) and skip rule.
64
+
65
+ *Question 1 — Execution mode:*
66
+
67
+ > How should I handle this SDD generation? (The SDD is written this turn; its genome — the build blueprint — is written from the finished SDD on the next turn.)
68
+ >
69
+ > 1. **Autonomous** *(recommended)* — I will read the PDD, make all decisions, generate the full SDD, then write its genome on the next turn. I will only interrupt for hard blockers (PDD unreadable, Agent/Coded App missing critical info, unresolved `[SME REVIEW]` items before finalizing).
70
+ > 2. **Interactive** — I will pause at each phase checkpoint (summary, architecture, final SDD) for your review before proceeding.
71
+
72
+ **Skip Question 1 symmetrically** when the request already states the execution mode ("autonomous", "don't pause for checkpoints", "interactive review"). When both questions are resolved from context, skip the structured prompt entirely and record both values. A caller's `execution` key answers Question 1; ask it only when the key is missing (Verb Rule 14).
73
+
74
+ Record both choices — they go into the SDD's `## Planner Handoff` header ([sdd-writing-guide.md](sdd-writing-guide.md) Step 2) and propagate to the genome (`author` from the SDD): execution mode decides whether the genome gets follow-up rounds; the delivery model holds for every component the genome names.
75
+
76
+ In **Autonomous** mode:
77
+ - Skip Phase 1 summary presentation (generate internally, do not wait for confirmation) — the `## Recommended Scope` block still persists into the SDD ([sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3)
78
+ - Skip Phase 2 architecture review (generate, do not wait)
79
+ - Ask only what blocks the design: the unresolved Step 0 questions, the Agent/Coded App gap question (Step 5), and one SME prompt holding the items with no defensible default ([sdd-writing-guide.md](sdd-writing-guide.md) Step 1.5). Every other confirmation a reference describes — the RPA sub-type, the scope, a tenant library pick, a revision round — is an interactive checkpoint: take its recommended option and record the pick in Decisions Made
80
+ - **Insert a "Decisions Made" block** at the top of the SDD (immediately after the Planner Handoff header and before any other section) listing the five highest-leverage architectural picks with one-sentence reasons. See [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3 for the exact block format. Do **NOT** ask a structured question — the picks are decided autonomously; the block makes them scannable in the SDD's first screenful so a reviewer can spot a wrong call without reading the whole document.
81
+
82
+ In **Interactive** mode:
83
+ - Present and wait at every checkpoint as described in the steps below
84
+
85
+ ### Step 0.5: Create Progress Tasks
86
+
87
+ Create progress-tracking tasks with the task-list tool so the user can see where the SDD generation stands; a host with no task-list tool skips this step.
88
+
89
+ ```
90
+ title="Read PDD and extract data" in-progress label="Reading PDD…"
91
+ title="Select product" in-progress label="Selecting product…"
92
+ title="Generate architecture (Phase 2)" in-progress label="Generating architecture…"
93
+ title="Write SDD skeleton to disk" in-progress label="Writing SDD skeleton…"
94
+ title="Generate full SDD (Phase 3)" in-progress label="Generating SDD sections…"
95
+ title="Resolve SME review items" in-progress label="Resolving SME review items…"
96
+ title="Finalize SDD (Status: ready)" in-progress label="Finalizing SDD…"
97
+ title="Write genome (next turn)" in-progress label="Writing genome…"
98
+ ```
99
+
100
+ The genome task stays `pending` when the SDD write ends the turn; the genome turn marks it `in_progress`, then `completed`. Omit it for a design a build skill handed over (Verb Rule 8).
101
+
102
+ Mark each task `in_progress` when its step starts and `completed` when it ends. Creating and updating them is best-effort and never blocks the SDD: if a task-list call fails, warn the user once, continue without progress tasks and never retry. The skeleton write is task 4, never the last task ([sdd-writing-guide.md](sdd-writing-guide.md#step-0-write-the-sdd-skeleton-to-disk--hard-gate) Step 0).
103
+
104
+ These tasks track SDD generation.
105
+ The genome `author` writes after the SDD is the implementation input — do NOT create implementation tasks here.
106
+
107
+ ### Step 1: Read the PDD
108
+
109
+ 0. **No document** ("design X", a process described in the request): the request and whatever it attaches are the source; read every attached or named file, then continue at Step 2 — Step 3 finds the gaps and Step 6 asks what only the user can answer.
110
+ 1. Determine the input format and route it to the right tool — Markdown (`.md`) and plain text (`.txt`): read directly; PDF (`.pdf`): read by page range; Word (`.docx`, `.doc`): convert to Markdown first; pasted text: from conversation context. See [PDD Analysis Guide → Supported Input Formats](../shared/pdd-analysis-guide.md#supported-input-formats). The source need not be a formal PDD — a Confluence page, BPMN model (`.bpmn`), meeting/Zoom transcript, SOP, or requirements doc also works ([Accepted process-knowledge sources](../shared/pdd-analysis-guide.md#accepted-process-knowledge-sources)); run heavier Phase 1 elicitation when the source is less structured than a PDD. Extract **both AS-IS and TO-BE** ([As-Is and To-Be Process](../shared/pdd-analysis-guide.md#as-is-and-to-be-process)).
111
+ 2. **Size-based reading strategy** for PDFs:
112
+ - **Under 10 pages:** read the entire document in one pass. Skip ToC lookup.
113
+ - **10-50 pages:** read the ToC first, then read sections in priority order (overview → steps → exceptions → applications → credentials).
114
+ - **Over 50 pages:** read ToC, then read high-priority sections (overview, process steps, exceptions) first, extract as you go, then read remaining sections.
115
+ 3. For pasted text over 3000 words, ask the user to paste in sections.
116
+ 4. **Error cases:** if the document cannot be read (corrupt PDF, password-protected, unsupported format), tell the user and ask them to provide it in a different format. If the document describes no process at all (no steps, no applications, no exceptions), tell the user and stop; a less structured process source continues, with heavier Phase 1 elicitation.
117
+ 5. **Language handling:** a caller's `language` answers this — skip the question. Otherwise, if the PDD is not in English, ask a structured question with the numbered-choice format:
118
+
119
+ > The PDD appears to be in <LANGUAGE>. Which language should the SDD use?
120
+ >
121
+ > 1. **English** *(recommended)* — SDD in English for broadest tool compatibility
122
+ > 2. **<LANGUAGE>** — SDD in the same language as the PDD
123
+
124
+ Regardless of choice, keep section headings and structural identifiers (BR-01, B1, E1) in English for tool compatibility.
125
+
126
+ ### Step 2: Extract Structured Information
127
+
128
+ Follow the [PDD Analysis Guide](../shared/pdd-analysis-guide.md) to extract data from the PDD. Build an internal model with these components:
129
+
130
+ | Component | PDD Topic to Look For | Required |
131
+ |---|---|---|
132
+ | Process name and objective | Introduction | Yes |
133
+ | Key contacts | Process key contacts | No |
134
+ | Process overview (schedule, volumes, FTEs) | Process overview | Yes |
135
+ | In-scope activities | In scope | Yes |
136
+ | Out-of-scope activities | Out of scope | Yes |
137
+ | Process steps | Detailed process map / steps | Yes |
138
+ | Business exceptions | Exceptions handling | Yes |
139
+ | System errors | Error mapping and handling | Yes |
140
+ | Application inventory | In-scope application details | Yes |
141
+ | Development prerequisites | Prerequisites for development | No |
142
+ | Credentials and assets | Credentials and asset management | Yes |
143
+ | Test data | Appendix | No |
144
+
145
+ **Key Contacts go into §1 Delivery Team.** The PDD's Key Contacts section (SA, BA, developers, PM, SME / Process Owner) populates the Delivery Team table in §1 of the RPA template. Include only roles the PDD explicitly names — do not invent or leave rows as `[SME REVIEW]`; omit silent rows instead.
146
+
147
+ ### Step 2.5: Tenant Library Discovery
148
+
149
+ The org's deployed libraries cannot be inferred from any PDD. Query the tenant feed to discover candidates the new project should reference. Run in BOTH Autonomous and Interactive modes — this drives §14 Packages and §16 "Shared libraries referenced".
150
+
151
+ Skip this step for non-RPA primaries (Agents, Coded Apps, Flow, BPMN, Case, API Workflows) — shared RPA libraries do not apply to those products' package models. Only the *library* discovery is RPA-scoped: the [Level 0 estate sweep](../shared/product-selection-guide.md#estate-sweep) (deployed processes, agents, Maestro processes, IXP projects, solutions, connections) runs for every scope when evaluating the suitability gate.
152
+
153
+ Run the procedure in [tenant-library-search-guide.md](../shared/tenant-library-search-guide.md). Keyword source for step 2: PDD Application Inventory + org-prefix terms (`Common`, `Shared`, `<Company>` if mentioned in the PDD). Output mapping: every selected library → one row in every sub-project's §14 Packages table, and its package ID into §16 Deployment Environment → "Shared libraries referenced". If the auth preflight fails, use the guide's manual fallback and propagate the user's named libraries to §14 / §16 the same way.
154
+
155
+ **This step is best-effort — it never blocks SDD output.** If the auth preflight errors or auth is unavailable, **Autonomous mode skips library discovery and proceeds with public NuGet only** — do not retry or troubleshoot auth mid-generation, and do not pause. Skip the step entirely if the user's prompt forbids running `uip` commands.
156
+
157
+ ### Step 3: Detect Gaps
158
+
159
+ Scan for missing or vague information. Use the Gap Detection Checklist in the [PDD Analysis Guide](../shared/pdd-analysis-guide.md) to classify each gap as `[DEFAULT]` or `[SME REVIEW]`.
160
+
161
+ ### Step 3.5: Synthesize the Need
162
+
163
+ Before selecting a product, distil the extracted model into a **need profile** — the recommendation reasons from this multi-factor picture, NOT from surface keywords. No single factor decides the tool; capture all and weigh the overall fit:
164
+
165
+ - **Core need & target outcome** — one sentence: what outcome the automation must produce, and which KPI it moves (cycle time, manual effort, quality/accuracy, cost, throughput, or compliance). Design the "to-be" against that outcome, not a copy of the as-is.
166
+ - **Decision nature (determinism)** — are decisions rule-expressible (**deterministic**: same input → same output) or do they need judgment / reasoning over ambiguity (**non-deterministic**)? Assess per process AND per step. Deterministic → RPA / API / rule-based; genuine judgment → Agents. (One factor among those below — not the sole gate.)
167
+ - **Input structure** — structured / predictable vs messy / unstructured (email, free text, varied documents → Agent or IXP to interpret).
168
+ - **Integration surface** — for each external system: does a stable API / **Integration Service connector** exist, and is it **reachable from the executor's runtime under the delivery model** (on-prem HTTP(S) APIs → Automation Relay option, placement rule 5)? Reuse an existing connector first. If none exists: API Workflows, RPA, and coded Agents call the API directly (Direct HTTP); IS-only surfaces (Maestro Flow / BPMN / Case connector nodes, low-code Agent tools) need a custom connector (→ `uipath-connector-builder`) or an API Workflow wrapper — see [Component Placement Guide → Integration Service](../shared/component-placement-guide.md#integration-service). Verify with `uip is connectors list` — never assume a connector exists. UI-only system → RPA.
169
+ - **Interaction model** — system-to-system (no UI, no human) · UI automation · human-in-the-loop (immediate attended action vs **asynchronous approval** — async inside one process → long-running RPA + Action Center) · user-facing app.
170
+ - **State** — atomic (one shot) · transactional (per-item, retryable) · long-running (suspends / waits). Long-running inside ONE process → RPA long-running workflow; long-running across products → Maestro.
171
+ - **Coordination shape** — single task · linear/branching pipeline · staged case lifecycle (stages + SLA) · structured control-flow (parallel / events / subprocess). Use the control-flow structure extracted in Step 2 ([PDD Analysis Guide → Detailed Process Map](../shared/pdd-analysis-guide.md#detailed-process-map)).
172
+ - **Volume, latency & cost** — high-volume / repeatable favours deterministic (agentic cost is higher-variance and less predictable — estimate per model/tenant, and justify agentic at volume); note any latency requirement.
173
+ - **Risk, reversibility & auditability** — high-risk / irreversible / low-confidence steps need a HITL gate; compliance-critical work needs a deterministic, auditable record.
174
+ - **Change / volatility** — how often inputs, forms, or rules change (an uncaptured volatility assumption is a top cause of solutions that break in production; use IXP for changeable documents).
175
+ - **Reuse** — local operation vs shared callable capability (→ RPA Library / API Workflow / custom connector, built before consumers).
176
+ - **Runtime & resource locality** — where must the work execute? Machine-local resources — desktop apps, Excel/Office files, file shares, on-prem databases, terminal/mainframe, Citrix — are reachable only from a robot inside the environment → RPA regardless of determinism or API existence (exceptions: on-prem HTTP(S) APIs via confirmed Automation Relay, and robot-hosted Coded Functions, which also run inside the environment — see the placement rules). Windows · cross-platform · serverless · user desktop drives compatibility, robot type, and licensing (§11 Project Mode Decision in the RPA template).
177
+ - **Existing estate** — what is already deployed: processes, API Workflows, connectors (`uip is connectors list`), tenant libraries (Step 2.5), IXP models, user-named resources. Reuse before build.
178
+ - **Trigger** — who or what starts it.
179
+ - **Confidence** — the evidence behind each factor and what remains unknown; unknowns become `[SME REVIEW]` rows, and a genuinely ambiguous product choice goes to the user (Step 6) — never a silent default.
180
+
181
+ **Close Step 3.5 by typing every extracted step** with the [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step) table — the resulting **step→executor map** is Level 1's input (layer 2 before layer 3; Level 1 never matches raw keywords against the whole process). Level 1 first folds absorbed capabilities into their hosts ([Decision table → Absorption fold](../shared/product-selection-guide.md#decision-table)) — capabilities a host invokes in-process are integrated components, not orchestration triggers — then reads the folded map.
182
+
183
+ Carry the need profile and the step→executor map into the Step 6 summary and the SDD `## Recommended Scope` reasoning so every product pick reads as `need → product`, auditable against the PDD. The dominant real-world pattern is **hybrid** (AI decides, deterministic RPA/API execute as governed tools, Maestro orchestrates when real orchestration is needed, HITL gates the risky steps) and **decomposed** into separate blocks — not one monolithic flow. Level 1 (Step 4) matches on the whole profile; PDD keywords are evidence, not the decision. When the need is genuinely ambiguous between products, ask the user (Step 6) — do not silently default.
184
+
185
+ ### Step 4: Run Levels in Order
186
+
187
+ Each level lives in its canonical reference; output of each level feeds the next.
188
+
189
+ > **Constraint Gate applies at every level.** The delivery model from Step 0 and any user-stated product exclusions filter the candidates before each level recommends — see [Product Selection Guide → Constraint Gate](../shared/product-selection-guide.md#constraint-gate) and [platform-availability-guide.md](../shared/platform-availability-guide.md).
190
+
191
+ Run the levels in the order and under the conditions of [Product Selection Guide § Levels of Decision](../shared/product-selection-guide.md#levels-of-decision): Level 0 first — Levels 1+ run only on `proceed` / `proceed-with-redesign` / `partial`; Level 1.5 for an RPA primary, or per RPA project through Level 1.75 Pass C; Level 1.75 when Level 1 = Solution or the user picks "Solution (customize)" in Step 6; Level 2.5 Part A per RPA Process project; Part B always.
192
+
193
+ This step's output goes into the Phase 1 summary at Step 6 and drives the Phase 2 architectural core.
194
+
195
+ > Level 2 (Authoring mode — XAML / Coded / Hybrid) is decided per RPA project at Phase 2 Step 2 from [RPA Product Guide → Level 2](rpa-product-guide.md#level-2--authoring-mode). Level 3 (Capability add-ons — HITL, Integration Service, etc.) is detected during PDD analysis and flagged in template sections during Phase 2 Step 4. Per-task component placement (which step lands on RPA / API / IXP / Agent / Function / HITL / Maestro / Data Fabric) runs twice: at Step 3.5 (the step→executor map that feeds Level 1) and at Phase 2 Steps 3–4 (recording placements in template inventories) — [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step).
196
+
197
+ ### Step 5: Check for Agent/Coded App Gaps
198
+
199
+ If the primary product is **Agents** or **Coded Apps** AND required product-specific information is missing from the PDD, run [scope-recommendation-guide.md](scope-recommendation-guide.md) § Gap Handling for Agent / Coded App. Never auto-fallback: the user chooses explicitly.
200
+
201
+ ### Step 6: Present Summary + Scope Recommendation
202
+
203
+ Emit the summary block described in [scope-recommendation-guide.md](scope-recommendation-guide.md) § Presenting the Recommendation. The **recommended scope appears first**; single-product alternatives and "Solution (customize)" follow as alternatives in the confirmation structured question.
204
+
205
+ ```markdown
206
+ ## PDD Analysis Summary
207
+
208
+ **Process:** <PROCESS_NAME>
209
+ **Objective:** <OBJECTIVE_SUMMARY>
210
+ **Applications:** <APP_COUNT> — <APP_NAME (ROLE)>, ...
211
+ **Process Steps:** <STEP_COUNT> steps identified across <APP_COUNT> applications
212
+ **Business Rules:** <RULE_COUNT> extracted
213
+ **Business Exceptions:** <EXCEPTION_COUNT> defined in PDD
214
+ **System Errors:** <ERROR_COUNT> defined in PDD
215
+ **Gaps Detected:** <DEFAULT_COUNT> [DEFAULT], <SME_REVIEW_COUNT> [SME REVIEW]
216
+
217
+ <RECOMMENDED_SCOPE_SUMMARY_BLOCK — emit the "Summary block" from
218
+ scope-recommendation-guide.md → Presenting the Recommendation:
219
+ Recommended Scope + Project List + Queue Architecture>
220
+
221
+ ### Clarifying Questions
222
+ <NUMBERED_QUESTIONS_IF_ANY>
223
+ ```
224
+
225
+ Then ask a structured question with the confirmation question from scope-recommendation-guide.md § Presenting the Recommendation (recommendation as option 1, single-product alternatives, then "Solution (customize)"). A caller's request skips this step unless the choice is genuinely ambiguous (Verb Rule 14).
226
+
227
+ **If the user picks "Solution (customize)":** re-run Level 1.75 per the customize branch in the guide, then re-emit this summary with the customized project list, then re-ask the confirmation question. Max 3 revisions — after that, proceed with the latest composition.
228
+
229
+ **If the user picks a single-product alternative:** re-run Step 4 with the user's choice as the forced primary (including Level 1.5 if it's RPA).
230
+
231
+ Ask at most 5 clarifying questions total, in a single round. If the user cannot answer some, tag those items as `[SME REVIEW]` and proceed.
232
+
233
+ ## Phase 2 — Architecture Review
234
+
235
+ ### Step 1: Load the Template(s)
236
+
237
+ Load from the [Template Mapping table](scope-recommendation-guide.md#template-mapping):
238
+
239
+ - **Single-product scope:** load the one template matching the Level 1 primary.
240
+ - **Solution scope:** load the solution overview structure PLUS one template per project in the Level 2.5 unified project list. RPA Master Projects share one RPA template file across their sub-projects; unrelated RPA projects each get their own file.
241
+
242
+ **The SDD is automation-type-agnostic — no type is privileged.** Section coverage follows the in-scope types: a single-product SDD uses that product's template; a Solution's per-project SDDs each use their product's template, tied together by the Solution overview's **component inventory** (every component listed with its type — RPA / API Workflow / Agent / Maestro Flow · BPMN · Case / Coded or Low-code App / DU-IXP / connector / HITL). Include per-type detail (Agent Configuration, Queue Architecture, API schemas, Gateways, Case stages, etc.) **only for the types actually in scope** — never emit "N/A" filler sections for absent types, and never assume an agentic (or RPA-only) shape. Delete rows that do not apply; replicate per-instance sections (e.g., one Agent Configuration per agent).
243
+
244
+ ### Step 2: Generate the Architectural Core
245
+
246
+ Generate the sections the template's `Phase 2 sections:` line names (the Case template: Sections 1–4). What they hinge on:
247
+
248
+ - **RPA:** §10 applies Level 2.5 Part A ([rpa-product-guide.md](rpa-product-guide.md#level-25-part-a--rpa-decomposition-signals)) — Single vs Master Project, sub-projects, queue schema; §11 Project Structure is the most load-bearing section — the genome's components come from it; §13 applies Level 2 ([rpa-product-guide.md](rpa-product-guide.md#level-2--authoring-mode)); §14 infers NuGet packages from §9 and the process steps.
249
+ - **Maestro BPMN:** §5 Gateways carries the decision tables and the reasoning list ([Business Rules Guide](business-rules-guide.md)).
250
+ - **Agents:** §9 Project Structure states Coded vs Low-code. **API Workflows:** §4 Execution Flow is high-level steps, no JavaScript.
251
+ - **Case Management:** Sections 1–4 per [case-product-guide.md](case-product-guide.md) and [case-data-and-time-guide.md](case-data-and-time-guide.md). Headings render in the template's long form (`## Section 1: Case Definition`, …): `uipath-maestro-case` parses the heading TEXT verbatim, and `§N` is notation in planner documents only.
252
+
253
+ ### Step 3: Decompose Steps Into Implementation Units
254
+
255
+ Each template has a primary inventory table. Map PDD steps to units:
256
+
257
+ | Product | Primary Inventory | Unit Type |
258
+ |---|---|---|
259
+ | RPA (Single Project) | Workflow Inventory | `.xaml` or `.cs` workflow files |
260
+ | RPA (Master Project) | Workflow Inventory **per sub-project** | `.xaml` or `.cs` workflow files, grouped by sub-project |
261
+ | Flow | Nodes Inventory | Flow nodes |
262
+ | BPMN | Activities Inventory | BPMN activities / tasks (service, script, user, call activity, subprocess) |
263
+ | Case | §2 Stages & Tasks | Stage blocks plus task summary/detail blocks |
264
+ | Agents | Tools | Python functions, RPA/API workflow bindings |
265
+ | Coded Apps | Pages + Components | Routes and React/Angular/Vue components |
266
+ | API Workflows | Execution Flow steps | Activities (HTTP, Connector, Script) |
267
+
268
+ Each unit must have: **a concrete responsibility, specific PDD step references, and defined inputs/outputs.**
269
+
270
+ Type each step's verb and place it on the best-fit component per [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step) — deterministic validate/transfer → RPA or API, document collect → IXP, judgment decide → Agent, atomic transform/compute → Function, review/sign-off → HITL, aggregate → Data Fabric. Record the placement in the inventory row; every non-primary placement becomes an integrated component in Step 4.
271
+
272
+ **For RPA Master Project:** decompose in two passes:
273
+ 1. First, assign each PDD step to a sub-project based on the §10 sub-projects table (each sub-project lists its PDD steps).
274
+ 2. Then, within each sub-project, decompose the assigned steps into workflow files.
275
+ 3. For REFramework sub-projects, the main workflows (Init, GetTransactionData, Process, SetTransactionStatus) come from the framework — only the Process-specific workflows go in the inventory.
276
+
277
+ ### Step 4: Flag Integrated Components
278
+
279
+ For each integrated component detected in Phase 1 (and each non-primary placement from Step 3), flag it in the appropriate section of the template:
280
+
281
+ - **HITL** — host-aware routing: Flow hosts → flag touchpoints; implementation task routes to `uipath-human-in-the-loop`. Coded Agents → escalation is part of the `uipath-agents` build task (the HITL skill defers coded-agent wiring to it). BPMN userTask → flagged in §9 HITL Touchpoints, authored inline by `uipath-maestro-bpmn` (no HITL-skill task). Case → `action` task detail block in §2 Stages & Tasks with Action App intent (never the HITL skill). RPA → Action Center / long-running workflow flagged in the RPA template.
282
+ - **Integration Service connectors** → list in Application Inventory (RPA) or Connectors section (others); check `uip is connectors list` — implementation task routes to `uipath-platform` to configure an existing connector, or `uipath-connector-builder` to build a custom one when none exists
283
+ - **IXP / Document Understanding models** (extraction from semi-structured documents) → list in the host template's "IXP / Document Understanding Models" table (Flow / BPMN / Case / Agent / RPA templates carry it); for an API Workflow or Coded App primary, record the model as its own row in §Solution / Project Breakdown instead. Implementation task routes to `uipath-ixp`, ordered before its consumers
284
+ - **Coded Functions** (TypeScript / JavaScript / Python — atomic deterministic transform / compute: parsing, scoring, custom-auth API calls, IS-connection queries) — only when extraction is justified per [placement rule 6](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step); host-native logic stays in the host's own inventory → list in the host template's "Coded Functions" table (Flow / BPMN / Case / Agent templates carry it). Implementation task routes to `uipath-functions`, ordered before its consumers; no per-project SDD file (see [Template Mapping](scope-recommendation-guide.md#template-mapping))
285
+ - **RPA processes called by Flow/BPMN/Agent/Case** → list in Integrated Components section; implementation task will create the RPA project
286
+ - **API Workflows called by Flow/BPMN/Agent/Case** — only when extraction is justified per [placement rule 6](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step) (host cannot call natively, 2+ consumers, or independent lifecycle); a host-capable direct call stays in the host inventory as `Access Method = Direct HTTP` → list in Integrated Components section; implementation task will create the API Workflow project. Extraction never changes `SDD scope` ([derived-component rule](../shared/product-selection-guide.md#solution-signals))
287
+
288
+ ### Step 5: Present Architecture for Review
289
+
290
+ Present the architectural core to the user — for Case Management in the shape of [case-review-and-conformance-guide.md](case-review-and-conformance-guide.md) § Presenting the Case Design. Wait for approval or adjustments. A design a build skill handed over presents the build options the caller passed ([sdd-writing-guide.md](sdd-writing-guide.md) § Design Handed Over by a Build Skill). A caller's `execution: interactive` request runs this review as its one checkpoint; `autonomous` skips it (Verb Rule 14).
291
+
292
+ **Approval criteria:** any response without specific change requests. Responses like "looks good", "ok", "proceed", "yes", or a topic change all count as approval. If the user requests specific changes, incorporate them and re-present the architecture (max 3 revisions — after that, proceed with the latest version and tag disagreements as `[SME REVIEW]`).
293
+
294
+ ## Phase 3 — Full SDD Generation
295
+
296
+ Read [sdd-writing-guide.md](sdd-writing-guide.md) whole now, before writing anything: it holds the skeleton write (a hard gate), the remaining sections, SME resolution, the template-superset check, the `ready` flip, the turn boundary and the genome that follows. Never write Phase 3 from memory of it.
@@ -24,10 +24,10 @@ Use this matrix to infer packages from §9 Application Inventory. Match on the *
24
24
  | Access Method in §9 | Package(s) | Required Assets | Common Pitfalls |
25
25
  |---|---|---|---|
26
26
  | IMAP | `UiPath.Mail.Activities` | Credential asset (username + app password); server host + port as text assets | Do not default to O365 — check PDD for protocol. IMAP needs app password, not user password, on 2FA accounts. |
27
- | POP3 | `UiPath.Mail.Activities` | Credential asset; host + port | Rarely used — prefer IMAP or Graph API if available. |
27
+ | POP3 | `UiPath.Mail.Activities` | Credential asset; host + port | Rarely used — use IMAP or Graph API when available. |
28
28
  | Exchange / EWS | `UiPath.Mail.Activities` | Credential asset; EWS URL | Being deprecated by Microsoft — confirm the tenant still allows EWS. |
29
29
  | O365 Graph API | `UiPath.MicrosoftOffice365.Activities` | App registration client ID + tenant ID (text assets); certificate or secret (credential asset) | Different activity set from `UiPath.Mail.Activities`. Requires admin consent for mail scopes. |
30
- | Gmail API | `UiPath.GSuite.Activities` | OAuth client JSON (credential asset) | Integration Service alternative exists — prefer the connector unless the PDD requires specific activity packages. |
30
+ | Gmail API | `UiPath.GSuite.Activities` | OAuth client JSON (credential asset) | Integration Service alternative exists — use the connector unless the PDD requires specific activity packages. |
31
31
 
32
32
  ### Microsoft Office files
33
33
 
@@ -53,7 +53,7 @@ Use this matrix to infer packages from §9 Application Inventory. Match on the *
53
53
  |---|---|---|
54
54
  | SAP GUI | `UiPath.SAP.BAPI.Activities` | BAPI function calls (RFC). |
55
55
  | SAP Fiori (web) | `UiPath.UIAutomation.Activities` | UI automation — no SAP package. |
56
- | Salesforce (native activities) | `UiPath.Salesforce.Activities` | Only when Integration Service is not available. Prefer the connector. |
56
+ | Salesforce (native activities) | `UiPath.Salesforce.Activities` | Only when Integration Service is not available; otherwise use the connector. |
57
57
  | ServiceNow | `UiPath.ServiceNow.Activities` | Only when Integration Service is not available. |
58
58
  | Workday | `UiPath.Workday.Activities` | Only when Integration Service is not available. |
59
59
 
@@ -97,9 +97,10 @@ These two mechanisms both provide access to third-party systems, but they are **
97
97
 
98
98
  ### Decision
99
99
 
100
- 1. If Orchestrator has a configured **Integration Service** connection for the target system AND the PDD does not require specific native-package activities → use the **Integration Service connector**.
101
- 2. Otherwise → use the matching **NuGet package**.
102
- 3. If both paths are listed in §9 for the same application, pick Integration Service for the primary path and note the NuGet package as a fallback in §14.
100
+ 1. The access method is chosen once, in [component-placement-guide.md](../shared/component-placement-guide.md) § Level 3 — Capability Add-ons (Integration Service): a connector in the catalog for the target system, and no PDD requirement for native-package activities → the **Integration Service connector**. A connector with no configured connection yet is still this path — the connection is a provisioning `[SME REVIEW]` item, never a reason to switch to NuGet.
101
+ 2. No connector and the target is a REST+JSON API → **build a custom connector** (`uipath-connector-builder`) and budget it as a plan task.
102
+ 3. Otherwise → the matching **NuGet package**, or a direct authenticated call (key in a `Credential` asset) with a written justification in the SDD.
103
+ 4. If both paths are listed in §9 for the same application, pick Integration Service for the primary path and note the NuGet package as a fallback in §14.
103
104
 
104
105
  ### Side-by-side
105
106
 
@@ -130,9 +131,9 @@ These two mechanisms both provide access to third-party systems, but they are **
130
131
 
131
132
  | Package | Version | Purpose |
132
133
  |---|---|---|
133
- | `UiPath.IntegrationService.Activities` | pin at build | Runtime host for Integration Service connector activities |
134
+ | `UiPath.IntegrationService.Activities` | Latest | Runtime host for Integration Service connector activities |
134
135
 
135
- > `pin at build` is the template's literal sentinel — version unknowable at design time; the build skill resolves and writes the exact version back. See [rpa-sdd-template.md §14 Packages](../assets/templates/rpa-sdd-template.md).
136
+ > Version rule: Pitfall 1 below.
136
137
 
137
138
  ### Example — Salesforce via NuGet native package
138
139
 
@@ -146,21 +147,23 @@ These two mechanisms both provide access to third-party systems, but they are **
146
147
 
147
148
  | Package | Version | Purpose |
148
149
  |---|---|---|
149
- | `UiPath.Salesforce.Activities` | pin at build | Native Salesforce activities — used because Integration Service connector not available in this tenant |
150
+ | `UiPath.Salesforce.Activities` | Latest | Native Salesforce activities — used because Integration Service connector not available in this tenant |
150
151
 
151
152
  ## Per-Product Dependency Manager
152
153
 
153
- SDD templates across the 6 products use different dependency mechanisms. List dependencies under the correct mechanism; do not cross them.
154
+ SDD templates use different dependency mechanisms per product. List dependencies under the correct mechanism; do not cross them.
154
155
 
155
156
  | Product | Dependency Manager | Where Declared in SDD | Notes |
156
157
  |---|---|---|---|
157
158
  | RPA (Process, Library, Test Automation) | NuGet | §14 Packages table | Covered by this guide. |
158
159
  | Case Management | Downstream Case project dependencies | Not declared as a planner-only Packages subsection; resource/package resolution belongs to `uipath-maestro-case` from the Case Blueprint | Keep package hints in the `uipath-maestro-case` task prompt only when the SDD's Section 2/4 resource choices require them. |
159
- | Maestro Flow | Connector references + RPA step packages | Integrated Components section | Flow itself has no packages. Each RPA step called from the flow uses the RPA template's §14. |
160
+ | Maestro Flow / Maestro BPMN | Connector references + RPA step packages | Integrated Components section | The flow or BPMN process itself has no packages. Each RPA step it calls uses the RPA template's §14. |
160
161
  | Agents | C# tool packages (subset of NuGet) | Tool Packages table in the Agent template | Declare only packages whose activities are wrapped as Agent tools. |
161
162
  | Coded Apps | **npm** (not NuGet) | Dependencies subsection in the Coded App template | Use `package.json` semantics. Do not list NuGet packages. |
162
163
  | API Workflows | Integration Service connector references | Connectors section in the API Workflow template | API Workflows are hosted in Orchestrator — no package file. |
163
164
 
165
+ **An application with no row here** (a message bus, a niche system): name the integration, never a guessed package — `<package resolved at build>` with an `[SME REVIEW]` item; the owning build skill's discovery finds it.
166
+
164
167
  ## Selection Checklist
165
168
 
166
169
  Before finalising a Packages table:
@@ -172,11 +175,11 @@ Before finalising a Packages table:
172
175
  5. Every PDD step with "approval", "action centre", "long-running" has `UiPath.Persistence.Activities`.
173
176
  6. No Integration Service connector slug is listed in §14 by mistake.
174
177
  7. For Master Project: a separate §14 table per sub-project. A Dispatcher that only downloads email does not need Excel packages.
175
- 8. For Coded App: the dependency list uses npm package names (e.g., `@uipath/apps-sdk`), not NuGet.
178
+ 8. For Coded App: the dependency list uses npm package names (e.g., `@uipath/uipath-typescript`), not NuGet.
176
179
 
177
180
  ## Pitfalls
178
181
 
179
- 1. **Guessing package versions.** Default to `Latest` in SDDs. Version resolution happens at build time (`uip` / Studio) — the SDD should not pin versions unless the PDD explicitly requires a specific feature gate.
182
+ 1. **Guessing package versions.** Write `Latest` for every package. Pin a version only when the PDD, the AS-IS or the TO-BE names it — then write that exact version. Never invent a version.
180
183
  2. **Listing `UiPath.Mail.Activities` and `UiPath.MicrosoftOffice365.Activities` together "just in case".** They provide overlapping activities and will confuse implementers. Pick one per email access method.
181
184
  3. **Mixing IntegrationService slug names with NuGet package names.** The slug `salesforce` is not a package; the package is `UiPath.Salesforce.Activities`.
182
185
  4. **Forgetting `UiPath.Persistence.Activities` for HITL.** Any workflow using `WaitForFormTaskAndResume`, `CreateFormTask`, or `CreateExternalTask` needs it. The Persistence package also requires `supportsPersistence: true` in `project.json` — call out in §14.