@uipath/skills 1.207.0-preview.1985 → 1.207.0-preview.1992
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/skills",
|
|
3
|
-
"version": "1.207.0-preview.
|
|
3
|
+
"version": "1.207.0-preview.1992",
|
|
4
4
|
"description": "UiPath agent skills for Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, UiPath Autopilot, Kiro, Windsurf, Antigravity and Devin — RPA, UI automation, UI testing, coded agents/apps/workflows, and troubleshooting. Distributed as the UiPath Claude Code plugin.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "UiPath"
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
# Design Guide — the `design` verb
|
|
2
2
|
|
|
3
|
-
`design`
|
|
3
|
+
`design` converts a PDD or other process-knowledge source into an implementation-ready SDD in three phases: **Phase 1** analyzes the source and selects scope, **Phase 2** reviews architecture, and **Phase 3** incrementally writes the full SDD 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. Use numbered-choice format for all user questions.
|
|
4
4
|
|
|
5
5
|
## Verb Rules
|
|
6
6
|
|
|
7
|
-
These
|
|
8
|
-
|
|
9
|
-
1. **Select scope before
|
|
10
|
-
2. **The SDD is architecture only
|
|
11
|
-
Never put Task 1 / Task N templates or *implementation* tasks created with the task-list tool in the SDD. End
|
|
12
|
-
3. **Write
|
|
13
|
-
4. **
|
|
14
|
-
5. **Testing is mandatory and thorough — never offer "happy path only".**
|
|
15
|
-
6. **The terminal artefact of a Solution build is a packed `.uipx`.**
|
|
16
|
-
Exception: when the Constraint Gate blocks Solutions for
|
|
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
|
|
18
|
-
8. **Every `ready` SDD gets its genome on the next turn,
|
|
19
|
-
9. **Write the
|
|
20
|
-
10. **Keep
|
|
21
|
-
11. **When sources conflict, the higher one wins:** platform constraints (
|
|
7
|
+
These supplement the Critical Rules in [SKILL.md](../../SKILL.md).
|
|
8
|
+
|
|
9
|
+
1. **Select scope before architecture and gate every product by platform constraints.** Select one product (RPA Process/Library/Test Auto, Maestro Flow, Maestro BPMN, Case, Agents, Coded Apps, API Workflows) or a multi-project Solution. Run [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), with 1.75 and 2.5 in [solution-composition-guide.md](solution-composition-guide.md). Ask delivery model (Cloud / Automation Suite / standalone) at entry; [platform-availability-guide.md](../shared/platform-availability-guide.md) blocks unavailable products; user-excluded products are never re-offered.
|
|
10
|
+
2. **The SDD is architecture only, never task lists.** Include Project Structure, Data Definitions, Testing Strategy, etc. The implementation input is the genome `author` writes from the SDD.
|
|
11
|
+
Never put Task 1 / Task N templates or *implementation* tasks created with the task-list tool in the SDD. End it with `## Next Steps`. Progress-tracking tasks created with the task-list tool are allowed separately.
|
|
12
|
+
3. **Write both `## Planner Handoff` and `<!-- planner-handoff:v1 -->` into every SDD.** They are the load-bearing detection contract — § Choosing the Verb detects either signal, so keep both. Fields and rules are in [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 2.
|
|
13
|
+
4. **Treat template structure as a hard superset.** Single-product output is `<PROCESS_NAME_KEBAB>-sdd.md`; Solution output is `<SOLUTION_NAME_KEBAB>-solution-sdd.md` plus `<PROJECT_NAME_KEBAB>-sdd.md` per project; if the user specifies an output path for the SDD, use it instead of these defaults. Read every 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, and after writing, diff generated H2/H3 headings against the template TOC: the generated set MUST be a superset. Missing required H2/H3 is an SDD defect, not `[SME REVIEW]`; regenerate it.
|
|
14
|
+
5. **Testing is mandatory and thorough — never offer "happy path only".** Cover happy path, edge cases, errors, and e2e for Master Projects. Implementation specialists may scope down during execution; the SDD may not.
|
|
15
|
+
6. **The terminal artefact of a Solution build is a packed `.uipx`.** Point `## Next Steps` to `uipath-solution`, which packs it; a bare project folder is not the deliverable.
|
|
16
|
+
Exception: when the Constraint Gate blocks Solutions for standalone, Automation Suite older than 2.2510, or a user exclusion, rewrite Next Steps to per-package Orchestrator publish routed through `uipath-platform`.
|
|
17
|
+
7. **Design resolves identities only.** A resource the design names is looked up (the Level 0 estate sweep; for RPA, the tenant library search per Step 2.5) and adopted when one match is confident. For ambiguous or missing resources, use the intended name and an `[SME REVIEW]` item. Schema discovery, scaffolding, and create-on-missing are build concerns recorded as build decisions; `design` never runs them.
|
|
18
|
+
8. **Every `ready` SDD gets its genome on the next turn, including design-only requests**, except a build skill handoff, which returns to that skill. Follow [sdd-writing-guide.md](sdd-writing-guide.md) § Step 3; when revising an SDD whose genome is already on disk, update and check the genome in the same run per [sdd-writing-guide.md](sdd-writing-guide.md) § Keeping the Genome Current.
|
|
19
|
+
9. **Write the skeleton first and flip `ready` last; the SDD write is a turn boundary.** Write the skeleton before any other Phase 3 section so an early-ending turn leaves an SDD; `[SME REVIEW]` gates only the `ready` flip. Follow [sdd-writing-guide.md](sdd-writing-guide.md) Step 0 and its § Step 3. Scope and UI answers flow to the genome through the SDD.
|
|
20
|
+
10. **Keep source wording.** Preserve roles, domain nouns, stage/step labels, outcomes, and system names exactly (`CFO`, `Vendor`, `Needs Info`, `Workday`); do not homogenize them (`Approver`, `Supplier`, `the HR system`). Only mechanical derivations change names: PascalCase project/case names, kebab-case file names, camelCase variables.
|
|
21
|
+
11. **When sources conflict, the higher one wins:** platform constraints (delivery model/product schema) → stated or implied regulatory/compliance constraint → tenant evidence (deployed matching resource) → user statement → source documents → template/product-guide defaults. Record an overridden lower source as a Decisions Made row (autonomous) or Step 5 review line.
|
|
22
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. **
|
|
24
|
-
14. **A caller's design request changes only the steps its guide names.** A `planner-design-request: v1` block carries
|
|
23
|
+
13. **Make every automation-built key retry-stable.** Build file names, sequence numbers, message IDs, and queue references from the item's identity (reference, GUID, or source ID), never clock or write-time counters, 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 `execution`, limits interactive execution to the Phase 2 Step 5 checkpoint, permits autonomous stopping only for a hard blocker, and ends with `planner-design-result: v1`: [caller-request-guide.md](caller-request-guide.md).
|
|
25
25
|
|
|
26
26
|
## Read Plan
|
|
27
27
|
|
|
@@ -50,41 +50,34 @@ Exception: when the Constraint Gate blocks Solutions for the delivery model —
|
|
|
50
50
|
|
|
51
51
|
## Anti-patterns
|
|
52
52
|
|
|
53
|
-
1. **
|
|
53
|
+
1. **Do not copy PDD structure into the SDD.** Reorganize for implementation.
|
|
54
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. **
|
|
55
|
+
3. **Do not rename `## Planner Handoff` or strip `<!-- planner-handoff:v1 -->`.** Either signal alone detects the SDD; removing both breaks detection silently.
|
|
56
56
|
|
|
57
57
|
## Phase 1 — PDD Analysis & Scope Selection
|
|
58
58
|
|
|
59
59
|
### Step 0: Determine Execution Mode & Delivery Model
|
|
60
60
|
|
|
61
|
-
Before reading the PDD
|
|
61
|
+
Before fully reading the PDD, search for platform signals ("Automation Suite", "on-prem", "self-hosted", "Orchestrator", "cloud", tenant URL). 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. Then ask **one structured prompt containing two questions** that batches execution mode (Question 1) with the delivery model (that guide's Question 2), adding the custom-host follow-up when applicable (maximum 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
62
|
|
|
63
|
-
**
|
|
64
|
-
|
|
65
|
-
*Question 1 — Execution mode:*
|
|
63
|
+
**Question 1 — Execution mode:**
|
|
66
64
|
|
|
67
65
|
> 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
66
|
>
|
|
69
67
|
> 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
68
|
> 2. **Interactive** — I will pause at each phase checkpoint (summary, architecture, final SDD) for your review before proceeding.
|
|
71
69
|
|
|
72
|
-
|
|
70
|
+
Skip Question 1 symmetrically when the request states the mode ("autonomous", "don't pause for checkpoints", "interactive review"). A caller's `execution` answers it; ask only when missing (Verb Rule 14). When both execution and delivery model are known from context, skip the prompt and record both.
|
|
73
71
|
|
|
74
|
-
Record both
|
|
72
|
+
Record both in `## Planner Handoff` ([sdd-writing-guide.md](sdd-writing-guide.md) Step 2); they propagate to the genome: execution controls follow-up rounds and delivery model applies to every component.
|
|
75
73
|
|
|
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.
|
|
74
|
+
In **Autonomous** mode, skip presenting the Phase 1 summary and the Phase 2 review (generate both internally; do not wait for confirmation); persist `## Recommended Scope` in the SDD ([sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3). Ask only unresolved Step 0 questions, the Agent/Coded App gap question (Step 5), and one SME prompt for items without defensible defaults ([sdd-writing-guide.md](sdd-writing-guide.md) Step 1.5). Take recommended options for all other confirmations (RPA sub-type, scope, tenant library, revision), record them in Decisions Made. **Insert a `Decisions Made` block** immediately after the Planner Handoff header and before any other section. List the five highest-leverage architectural picks with one-sentence reasons, using the exact format in [sdd-writing-guide.md](sdd-writing-guide.md) Step 2 item 3; do **NOT** ask a structured question.
|
|
81
75
|
|
|
82
|
-
In **Interactive** mode
|
|
83
|
-
- Present and wait at every checkpoint as described in the steps below
|
|
76
|
+
In **Interactive** mode, present and await every checkpoint below.
|
|
84
77
|
|
|
85
78
|
### Step 0.5: Create Progress Tasks
|
|
86
79
|
|
|
87
|
-
Create progress-tracking tasks with the task-list tool
|
|
80
|
+
Create progress-tracking tasks with the task-list tool; a host without it skips this step:
|
|
88
81
|
|
|
89
82
|
```
|
|
90
83
|
title="Read PDD and extract data" in-progress label="Reading PDD…"
|
|
@@ -97,37 +90,30 @@ title="Finalize SDD (Status: ready)" in-progress label="Finalizing
|
|
|
97
90
|
title="Write genome (next turn)" in-progress label="Writing genome…"
|
|
98
91
|
```
|
|
99
92
|
|
|
100
|
-
The genome task
|
|
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.
|
|
93
|
+
The genome task remains `pending` when SDD writing ends the turn; the genome turn marks it `in_progress`, then `completed`. Omit it for a build-skill handoff (Verb Rule 8). Mark each task `in_progress` at start and `completed` at end. Creation/update are best-effort and never block the SDD: on task-list failure, warn once, continue without tasks, and never retry. Skeleton writing is task 4, never last ([sdd-writing-guide.md](sdd-writing-guide.md#step-0-write-the-sdd-skeleton-to-disk--hard-gate) Step 0). These tasks track SDD generation.
|
|
94
|
+
The genome `author` writes after the SDD is the implementation input; do NOT create implementation tasks here.
|
|
106
95
|
|
|
107
96
|
### Step 1: Read the PDD
|
|
108
97
|
|
|
109
|
-
0. **No document** ("design X", a process described in the request): the request and
|
|
110
|
-
1.
|
|
111
|
-
2.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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:
|
|
98
|
+
0. **No document** ("design X", a process described in the request): use the request and attachments as source, read every attached/named file, then continue at Step 2; Step 3 identifies gaps and Step 6 asks user-only questions.
|
|
99
|
+
1. Route input by format: Markdown (`.md`) and plain text (`.txt`) directly; PDF (`.pdf`) by page range; Word (`.docx`, `.doc`) converted to Markdown; pasted conversation text directly. Follow [PDD Analysis Guide → Supported Input Formats](../shared/pdd-analysis-guide.md#supported-input-formats). Confluence, BPMN (`.bpmn`), meeting/Zoom transcript, SOP, and requirements doc also work ([Accepted process-knowledge sources](../shared/pdd-analysis-guide.md#accepted-process-knowledge-sources)); use heavier Phase 1 elicitation for less-structured sources. Extract **AS-IS and TO-BE** ([As-Is and To-Be Process](../shared/pdd-analysis-guide.md#as-is-and-to-be-process)).
|
|
100
|
+
2. PDF: under 10 pages, read all in one pass and skip ToC; 10–50, read ToC then overview → steps → exceptions → applications → credentials; over 50, read ToC and high-priority sections (overview, process steps, exceptions), extract while reading, then read the remainder.
|
|
101
|
+
3. For pasted text over 3000 words, ask for sections.
|
|
102
|
+
4. If unreadable (corrupt PDF, password-protected, unsupported), tell the user and request another format. If it describes no process (no steps, applications, exceptions), tell the user and stop; less-structured process sources continue with heavier elicitation.
|
|
103
|
+
5. If caller supplies `language`, use it. Otherwise, for non-English PDDs ask a structured question with the numbered-choice format:
|
|
118
104
|
|
|
119
105
|
> The PDD appears to be in <LANGUAGE>. Which language should the SDD use?
|
|
120
106
|
>
|
|
121
107
|
> 1. **English** *(recommended)* — SDD in English for broadest tool compatibility
|
|
122
108
|
> 2. **<LANGUAGE>** — SDD in the same language as the PDD
|
|
123
109
|
|
|
124
|
-
|
|
110
|
+
Keep section headings and structural identifiers (BR-01, B1, E1) in English regardless.
|
|
125
111
|
|
|
126
112
|
### Step 2: Extract Structured Information
|
|
127
113
|
|
|
128
|
-
Follow the [PDD Analysis Guide](../shared/pdd-analysis-guide.md)
|
|
114
|
+
Follow the [PDD Analysis Guide](../shared/pdd-analysis-guide.md) and build this model:
|
|
129
115
|
|
|
130
|
-
| Component | PDD
|
|
116
|
+
| Component | PDD topic | Required |
|
|
131
117
|
|---|---|---|
|
|
132
118
|
| Process name and objective | Introduction | Yes |
|
|
133
119
|
| Key contacts | Process key contacts | No |
|
|
@@ -142,65 +128,52 @@ Follow the [PDD Analysis Guide](../shared/pdd-analysis-guide.md) to extract data
|
|
|
142
128
|
| Credentials and assets | Credentials and asset management | Yes |
|
|
143
129
|
| Test data | Appendix | No |
|
|
144
130
|
|
|
145
|
-
|
|
131
|
+
Put explicitly named Key Contacts (SA, BA, developers, PM, SME / Process Owner) in §1 Delivery Team of the RPA template. Include only named roles; omit silent rows and do not invent or leave them `[SME REVIEW]`.
|
|
146
132
|
|
|
147
133
|
### Step 2.5: Tenant Library Discovery
|
|
148
134
|
|
|
149
|
-
|
|
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.
|
|
135
|
+
Run [tenant-library-search-guide.md](../shared/tenant-library-search-guide.md) in BOTH Autonomous and Interactive modes for RPA primaries, using PDD Application Inventory plus org-prefix terms (`Common`, `Shared`, `<Company>` if mentioned) as the keyword source for its step 2. Map each selected library to one row in every sub-project's §14 Packages and its package ID to §16 Deployment Environment → "Shared libraries referenced". If auth preflight fails, use the guide's manual fallback and propagate named libraries identically.
|
|
154
136
|
|
|
155
|
-
**This step is best-effort — it never blocks SDD output.**
|
|
137
|
+
Skip for non-RPA primaries (Agents, Coded Apps, Flow, BPMN, Case, API Workflows); shared RPA libraries do not apply, but the [Level 0 estate sweep](../shared/product-selection-guide.md#estate-sweep) still runs for every scope (deployed processes, agents, Maestro processes, IXP projects, solutions, connections). **This step is best-effort — it never blocks SDD output.** In Autonomous mode, auth failure/unavailability means skip discovery and proceed with public NuGet only; do not retry, troubleshoot, or pause. Skip entirely when the user forbids `uip` commands.
|
|
156
138
|
|
|
157
139
|
### Step 3: Detect Gaps
|
|
158
140
|
|
|
159
|
-
|
|
141
|
+
Use the Gap Detection Checklist in [PDD Analysis Guide](../shared/pdd-analysis-guide.md) and classify every missing/vague item `[DEFAULT]` or `[SME REVIEW]`.
|
|
160
142
|
|
|
161
143
|
### Step 3.5: Synthesize the Need
|
|
162
144
|
|
|
163
|
-
Before
|
|
164
|
-
|
|
165
|
-
- **Core need & target outcome
|
|
166
|
-
- **Decision nature
|
|
167
|
-
- **Input structure
|
|
168
|
-
- **Integration surface
|
|
169
|
-
- **Interaction model
|
|
170
|
-
- **State
|
|
171
|
-
- **Coordination
|
|
172
|
-
- **Volume, latency & cost
|
|
173
|
-
- **Risk, reversibility & auditability
|
|
174
|
-
- **Change
|
|
175
|
-
- **Reuse
|
|
176
|
-
- **Runtime
|
|
177
|
-
- **Existing estate
|
|
178
|
-
- **Trigger
|
|
179
|
-
|
|
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.
|
|
145
|
+
Before product selection, create a need profile—not a keyword match. No single factor decides the tool; capture all and weigh the overall fit:
|
|
146
|
+
|
|
147
|
+
- **Core need & target outcome:** outcome and KPI (cycle time, manual effort, quality/accuracy, cost, throughput, compliance); design TO-BE against it, not AS-IS.
|
|
148
|
+
- **Decision nature:** deterministic rule-expressible (same input → same output) vs non-deterministic judgment/reasoning; assess per process and step. Deterministic → RPA/API/rules; genuine judgment → Agents; not the sole gate.
|
|
149
|
+
- **Input structure:** structured/predictable vs messy/unstructured; email, free text, varied documents → Agent or IXP.
|
|
150
|
+
- **Integration surface:** assess each external system's stable API / **Integration Service connector** and executor-runtime reachability under the delivery model (on-prem HTTP(S) → Automation Relay, placement rule 5); reuse connectors first. If absent, API Workflows, RPA, and coded Agents use Direct HTTP; IS-only surfaces (Maestro Flow/BPMN/Case connector nodes, low-code Agent tools) need `uipath-connector-builder` or API Workflow wrapper, per [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.
|
|
151
|
+
- **Interaction model:** system-to-system; UI; human-in-the-loop (immediate attended vs **asynchronous approval**—async inside one process → long-running RPA + Action Center); user-facing app.
|
|
152
|
+
- **State:** atomic; transactional/retryable; long-running/suspends/waits. Long-running in one process → RPA long-running workflow; across products → Maestro.
|
|
153
|
+
- **Coordination:** single task; linear/branching pipeline; staged case lifecycle (stages + SLA); structured control flow (parallel/events/subprocess), using [PDD Analysis Guide → Detailed Process Map](../shared/pdd-analysis-guide.md#detailed-process-map).
|
|
154
|
+
- **Volume, latency & cost:** high-volume repeatability favors deterministic; agentic cost is higher-variance/less predictable, so estimate per model/tenant and justify it at volume; note any latency requirement.
|
|
155
|
+
- **Risk, reversibility & auditability:** risky, irreversible, or low-confidence steps need HITL; compliance-critical work needs deterministic auditable records.
|
|
156
|
+
- **Change/volatility:** frequency of input/form/rule changes; use IXP for changeable documents.
|
|
157
|
+
- **Reuse:** local vs shared callable capability (RPA Library/API Workflow/custom connector, built before consumers).
|
|
158
|
+
- **Runtime/resource locality:** desktop apps, Excel/Office, file shares, on-prem DB, terminal/mainframe, Citrix require an in-environment robot → RPA regardless of determinism/API; exceptions are confirmed Automation Relay for on-prem HTTP(S) and robot-hosted Coded Functions. Windows, cross-platform, serverless, and user desktop determine compatibility, robot type, and licensing (§11 Project Mode Decision in RPA template).
|
|
159
|
+
- **Existing estate:** processes, API Workflows, connectors (`uip is connectors list`), tenant libraries (Step 2.5), IXP models, and user-named resources; reuse before build.
|
|
160
|
+
- **Trigger, confidence:** record trigger, evidence, and unknowns; unknowns become `[SME REVIEW]`, and genuinely ambiguous product choice goes to Step 6, never a silent default.
|
|
161
|
+
|
|
162
|
+
Close by typing every extracted step using [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step), producing the step→executor map for Level 1 (layer 2 before layer 3). Level 1 first folds absorbed capabilities into their hosts ([Decision table → Absorption fold](../shared/product-selection-guide.md#decision-table)) — in-process capabilities are integrated components, not orchestration triggers — then reads the folded map. Carry the profile and map into Step 6 and `## Recommended Scope` so each choice is auditable as need → product. Hybrid, decomposed designs are normal: AI decides, governed RPA/API execute, Maestro orchestrates where needed, and HITL gates risk — not one monolithic flow. Level 1 matches the whole profile; keywords are evidence only.
|
|
184
163
|
|
|
185
164
|
### Step 4: Run Levels in Order
|
|
186
165
|
|
|
187
|
-
|
|
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).
|
|
166
|
+
At every level, apply delivery model and user exclusions through the Constraint Gate: [Product Selection Guide → Constraint Gate](../shared/product-selection-guide.md#constraint-gate) and [platform-availability-guide.md](../shared/platform-availability-guide.md). Follow [Product Selection Guide § Levels of Decision](../shared/product-selection-guide.md#levels-of-decision): Level 0 first; Levels 1+ only on `proceed` / `proceed-with-redesign` / `partial`; Level 1.5 for 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. Feed results to Step 6 and Phase 2.
|
|
190
167
|
|
|
191
|
-
|
|
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).
|
|
168
|
+
Level 2 (XAML / Coded / Hybrid) is decided per RPA project at Phase 2 Step 2 using [RPA Product Guide → Level 2](rpa-product-guide.md#level-2--authoring-mode). Detect Level 3 add-ons (HITL, Integration Service, etc.) in analysis and flag them in Phase 2 Step 4. Run per-task placement at Step 3.5 (the step→executor map that feeds Level 1) and 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
169
|
|
|
197
170
|
### Step 5: Check for Agent/Coded App Gaps
|
|
198
171
|
|
|
199
|
-
If
|
|
172
|
+
If primary is **Agents** or **Coded Apps** and required product information is missing, run [scope-recommendation-guide.md](scope-recommendation-guide.md) § Gap Handling for Agent / Coded App. Never auto-fallback: the user chooses explicitly.
|
|
200
173
|
|
|
201
174
|
### Step 6: Present Summary + Scope Recommendation
|
|
202
175
|
|
|
203
|
-
Emit
|
|
176
|
+
Emit [scope-recommendation-guide.md](scope-recommendation-guide.md) § Presenting the Recommendation, recommended scope first and alternatives after it:
|
|
204
177
|
|
|
205
178
|
```markdown
|
|
206
179
|
## PDD Analysis Summary
|
|
@@ -222,24 +195,15 @@ Recommended Scope + Project List + Queue Architecture>
|
|
|
222
195
|
<NUMBERED_QUESTIONS_IF_ANY>
|
|
223
196
|
```
|
|
224
197
|
|
|
225
|
-
|
|
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.
|
|
198
|
+
Ask the guide's structured confirmation question: recommendation option 1, single-product alternatives, then "Solution (customize)". A caller request skips it unless genuinely ambiguous (Verb Rule 14). **If the user picks "Solution (customize)":** re-run Level 1.75's customize branch, re-emit the summary with the customized project list, and re-ask; maximum 3 revisions, then proceed with latest composition. **If the user picks a single-product alternative:** re-run Step 4 with that forced primary, including Level 1.5 for RPA. Ask at most 5 clarifying questions in one round; if the user cannot answer some, tag those items as `[SME REVIEW]` and proceed.
|
|
232
199
|
|
|
233
200
|
## Phase 2 — Architecture Review
|
|
234
201
|
|
|
235
202
|
### Step 1: Load the Template(s)
|
|
236
203
|
|
|
237
|
-
|
|
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.
|
|
204
|
+
Use [Template Mapping table](scope-recommendation-guide.md#template-mapping): load the matching single-product template, or for Solution the overview plus one template per project in the Level 2.5 unified list. RPA Master Projects share one RPA template across sub-projects; unrelated RPA projects get separate files.
|
|
241
205
|
|
|
242
|
-
|
|
206
|
+
The SDD is automation-type-agnostic: include only in-scope type coverage. Solution overview component inventory lists every component and type (RPA / API Workflow / Agent / Maestro Flow · BPMN · Case / Coded or Low-code App / DU-IXP / connector / HITL). Include type-specific detail (Agent Configuration, Queue Architecture, API schemas, Gateways, Case stages, etc.) only when applicable; never add N/A filler, never assume an agentic (or RPA-only) shape, and delete inapplicable rows. Replicate per-instance sections (e.g., one Agent Configuration per agent).
|
|
243
207
|
|
|
244
208
|
### Step 2: Generate the Architectural Core
|
|
245
209
|
|
|
@@ -252,8 +216,6 @@ Generate the sections the template's `Phase 2 sections:` line names (the Case te
|
|
|
252
216
|
|
|
253
217
|
### Step 3: Decompose Steps Into Implementation Units
|
|
254
218
|
|
|
255
|
-
Each template has a primary inventory table. Map PDD steps to units:
|
|
256
|
-
|
|
257
219
|
| Product | Primary Inventory | Unit Type |
|
|
258
220
|
|---|---|---|
|
|
259
221
|
| RPA (Single Project) | Workflow Inventory | `.xaml` or `.cs` workflow files |
|
|
@@ -265,32 +227,27 @@ Each template has a primary inventory table. Map PDD steps to units:
|
|
|
265
227
|
| Coded Apps | Pages + Components | Routes and React/Angular/Vue components |
|
|
266
228
|
| API Workflows | Execution Flow steps | Activities (HTTP, Connector, Script) |
|
|
267
229
|
|
|
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.
|
|
230
|
+
Each unit must have: **a concrete responsibility, specific PDD step references, and defined inputs/outputs.** Type and place each step using [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 placement in the inventory; every non-primary placement becomes an integrated component in Step 4.
|
|
271
231
|
|
|
272
|
-
|
|
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.
|
|
232
|
+
For RPA Master Project, assign each PDD step to a §10 sub-project, then, within each sub-project, decompose its assigned steps into workflow files. In REFramework sub-projects, Init, GetTransactionData, Process, and SetTransactionStatus come from the framework; inventory only Process-specific workflows.
|
|
276
233
|
|
|
277
234
|
### Step 4: Flag Integrated Components
|
|
278
235
|
|
|
279
|
-
For each integrated component
|
|
236
|
+
For each Phase 1 integrated component and non-primary placement, flag the template section:
|
|
280
237
|
|
|
281
|
-
- **HITL
|
|
282
|
-
- **Integration Service connectors
|
|
283
|
-
- **IXP / Document Understanding models
|
|
284
|
-
- **Coded Functions** (TypeScript / JavaScript / Python
|
|
285
|
-
- **RPA
|
|
286
|
-
- **API
|
|
238
|
+
- **HITL:** Flow host → flag touchpoints and route implementation to `uipath-human-in-the-loop`; Coded Agent → escalation belongs to `uipath-agents` build (HITL defers coded-agent wiring); BPMN `userTask` → §9 HITL Touchpoints, authored inline by `uipath-maestro-bpmn` (no HITL task); Case → `action` detail in §2 Stages & Tasks with Action App intent (never HITL skill); RPA → Action Center / long-running workflow in RPA template.
|
|
239
|
+
- **Integration Service connectors:** list in Application Inventory (RPA) or the Connectors section (other types); check `uip is connectors list`; route existing connector configuration to `uipath-platform`, custom build to `uipath-connector-builder`.
|
|
240
|
+
- **IXP / Document Understanding models:** for semi-structured extraction, list in the host's "IXP / Document Understanding Models" table (Flow/BPMN/Case/Agent/RPA); for API Workflow or Coded App primary, make a row in §Solution / Project Breakdown. Route implementation to `uipath-ixp`, before consumers.
|
|
241
|
+
- **Coded Functions** (TypeScript / JavaScript / Python): atomic deterministic transform / compute (e.g., parsing, scoring, custom-auth API calls, IS-connection queries) only when justified by [placement rule 6](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step); keep host-native logic in host inventory. List in host "Coded Functions" table (Flow/BPMN/Case/Agent); route to `uipath-functions` before consumers; no per-project SDD file (see [Template Mapping](scope-recommendation-guide.md#template-mapping)).
|
|
242
|
+
- **RPA called by Flow/BPMN/Agent/Case:** list in Integrated Components; implementation creates the RPA project.
|
|
243
|
+
- **API Workflow called by Flow/BPMN/Agent/Case:** extract only when justified by [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). Otherwise record host inventory `Access Method = Direct HTTP`. Extracted workflow goes in Integrated Components; implementation creates it. Extraction never changes `SDD scope` ([derived-component rule](../shared/product-selection-guide.md#solution-signals)).
|
|
287
244
|
|
|
288
245
|
### Step 5: Present Architecture for Review
|
|
289
246
|
|
|
290
247
|
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
248
|
|
|
292
|
-
|
|
249
|
+
Any response without specific change requests approves it, including "looks good", "ok", "proceed", "yes", or a topic change. Incorporate specific changes and re-present; maximum 3 revisions, then proceed with latest and tag disagreements `[SME REVIEW]`.
|
|
293
250
|
|
|
294
251
|
## Phase 3 — Full SDD Generation
|
|
295
252
|
|
|
296
|
-
Read [sdd-writing-guide.md](sdd-writing-guide.md) whole
|
|
253
|
+
Read [sdd-writing-guide.md](sdd-writing-guide.md) whole before writing anything. It governs the skeleton hard gate, remaining sections, SME resolution, template-superset check, `ready` flip, turn boundary, and following genome. Never write Phase 3 from memory.
|
|
@@ -1,101 +1,101 @@
|
|
|
1
1
|
# Genome Format Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Rules for genomes written by `author`, `extract`, and `edit`, or built by `uipath-genome`. Templates (`component-genome-template.md`, `process-genome-template.md`) live in `assets/templates/`.
|
|
4
4
|
|
|
5
5
|
## Writing Rules
|
|
6
6
|
|
|
7
7
|
`author`, `extract` and `edit` obey these on every write, beside the Critical Rules in SKILL.md. Each rule names its subject and the section that states it in full; the section's wording is the rule.
|
|
8
8
|
|
|
9
|
-
1.
|
|
10
|
-
2.
|
|
11
|
-
3.
|
|
12
|
-
4.
|
|
13
|
-
5.
|
|
14
|
-
6.
|
|
15
|
-
7.
|
|
16
|
-
8.
|
|
17
|
-
9.
|
|
18
|
-
10.
|
|
19
|
-
11.
|
|
20
|
-
12.
|
|
21
|
-
13.
|
|
9
|
+
1. Choose level before writing: one buildable project is a component genome; two or more are a process genome with one component per project (§ Two Levels).
|
|
10
|
+
2. Infer complexity; never ask for it (§ Complexity).
|
|
11
|
+
3. Use replication-grade behavioral wording without activity names, variable names, paths, or code syntax in the body, except a case component's build input (§ Interface; § Workflow; § Provenance).
|
|
12
|
+
4. Configuration Questions contain only open values (§ Configuration Questions).
|
|
13
|
+
5. Include every template section, using its stub when inapplicable (§ Stub Lines).
|
|
14
|
+
6. Put one skill per Build With row, using only [skill-mapping-guide.md](skill-mapping-guide.md); put operate-only skills under Platform Dependencies.
|
|
15
|
+
7. The preamble and blueprint blockquote name `uipath-genome` as builder; the comment names `uipath-planner` as editor. Build With or Components precedes Workflow or Process Map (§ Two Levels rule 5).
|
|
16
|
+
8. Acceptance criteria are specific and testable (§ Acceptance Criteria).
|
|
17
|
+
9. Resolve ambiguity with the best interpretation plus `*[Inferred]*` (§ Ambiguity Marker).
|
|
18
|
+
10. Write immediately, then offer edits; edits are in place, never regeneration (§ Write, Then Offer Edits; [edit-guide.md](../edit/edit-guide.md)).
|
|
19
|
+
11. Composite source actions are genome contracts; `uipath-genome` turns them into patterns (§ Workflow).
|
|
20
|
+
12. Describe transactional shape, but record a split only when already decided. The genome asserts no split, store, template, or unit of its own. A flow's `Decided:` line records the split selected by the agreed SDD, user's request, or refactor answers ([transactional-shape-guide.md](transactional-shape-guide.md) rule 8); otherwise `uipath-genome` asks split questions.
|
|
21
|
+
13. After every write, review every rule, run the strict check, and fix every `FAIL` before offering edits ([SKILL.md](../../SKILL.md) § Check). `uipath-genome` builds as written.
|
|
22
22
|
|
|
23
23
|
## Two Levels
|
|
24
24
|
|
|
25
25
|
| Level | File | Scope | Use when |
|
|
26
26
|
|---|---|---|---|
|
|
27
|
-
| **Component genome** | `<slug>-genome.md` | One buildable project
|
|
28
|
-
| **Process genome** | `<slug>-genome.md` plus `<slug>-genome/<component-slug>-genome.md` per component | Business process
|
|
27
|
+
| **Component genome** | `<slug>-genome.md` | One buildable project: RPA process, Flow, BPMN, agent, API workflow, coded app, function, IXP model, decision table, or case plan | One automation project; the only file for a standalone automation |
|
|
28
|
+
| **Process genome** | `<slug>-genome.md` plus `<slug>-genome/<component-slug>-genome.md` per component | Business process realized by two or more buildable projects | A solution with ≥2 projects, a coordinator (Flow / BPMN / Case) invoking automations, or a process clearly needing ≥2 components |
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
5. **Preamble is mandatory, and it routes to `uipath-genome`.** Every genome starts with the `<!-- UIPATH-AUTOMATION-GENOME: component|process | ... -->` comment and carries the visible blueprint blockquote after the one-liner, both worded as the template words them. Both name `uipath-genome` as the skill that builds the genome: an agent handed the file reads it before it picks a skill, and a preamble naming only the Build With skills sends it straight to them, past the configuration questions and the build's procedure. The comment also names `uipath-planner` as the skill that changes the genome: `uipath-genome` never edits one, so without that line an agent asked for a small change edits the file directly, skipping the edit rules and the checker. The preamble also prevents an agent from executing the steps instead of building the automation. Build With (component) or Components (process) appears before Workflow / Process Map so an agent meets the skill references before the steps.
|
|
38
|
-
6. **Shared behaviour is one library component.** When several components run the same behaviour and the rebuild has to write it because it is more than one or a few UiPath activities do — run setup and cleanup, drive mapping, a document-store client, a mail built from templates and rules of its own — that behaviour is one common library component, and each consumer's steps call it as they call any library. The library is a project of its own, published to a feed and installed in its consumers as a package; it is never a project of the solution (§ Deployment), and that is no reason to fold its workflows into a consumer; only the user's answer to the build's configuration questions folds one (Library layout). Described in each consumer instead, it is built once per project and the copies drift apart. What one or a few activities do (close an application, append a line to the run's log) stays a step of each consumer. The source guide's § Component Detection names the forms shared behaviour takes in a source.
|
|
30
|
+
1. **Choose the level before writing, by projects needed to rebuild:** one → component only; two or more, or a coordinator plus anything it invokes → process plus one component per project. Source units do not decide this: parts the source guide's § Component Detection maps to different project types (for example, a Flow and the RPA process it starts) require a process genome. Never flatten multiple projects or split one.
|
|
31
|
+
- **Test components are the one exception to "one component = one project".** Every test component of a process (a group of test cases over data rows for one business area) lives in a *single* `<ProcessName>.Tests` project with one configuration for constants. Each group retains its component genome (Interface, rules, criteria); the process lists groups as components; Deployment counts one test project; each Type cell names it (§ Build With (component) / Components (process)). Never emit one test project per business area. A UiPath test project that is the whole source takes the same shape when it holds ≥2 groups: a process genome of its groups plus one shared component for its execution template and helpers; one group is a component genome. The procedures the test cases of any other source share are a library component (rule 6).
|
|
32
|
+
2. Put `Part of:` immediately after a process component's blueprint blockquote and link the process genome; standalone components omit it.
|
|
33
|
+
3. Put detail at the lowest owner: components hold component workflow, rules, errors, and criteria; processes hold only cross-component map, handoffs, shared dependencies, transactional shape, cross-cutting rules, end-to-end criteria, and deployment.
|
|
34
|
+
4. Every template section appears in every genome; use its stub, never omit it.
|
|
35
|
+
5. **Preamble is mandatory, and it routes to `uipath-genome`.** Every genome starts with `<!-- UIPATH-AUTOMATION-GENOME: component|process | ... -->`, followed by the visible template-worded blueprint blockquote after the one-liner. Both name `uipath-genome` as builder: an agent handed the file reads it before it picks a skill. The comment also names `uipath-planner` as editor: `uipath-genome` never edits one, so without that line an agent asked for a small change edits the file directly, skipping the edit rules and the checker. The preamble also prevents an agent from executing the steps instead of building the automation. Build With or Components precedes Workflow or Process Map.
|
|
36
|
+
6. **Shared behavior is one library component.** Shared behavior requiring more than one or a few UiPath activities — run setup and cleanup, drive mapping, a document-store client, a mail built from templates and rules of its own — is one common library component: a separate project, published to a feed and installed as a package in consumers, never part of the solution's projects (§ Deployment). Consumers call it; do not duplicate or fold it into a consumer unless the user's Library layout answer says so. What one or a few activities do (close an application, append a line to the run's log) stays a step of each consumer. The source guide's § Component Detection defines shared forms.
|
|
39
37
|
|
|
40
38
|
## File Naming and Location
|
|
41
39
|
|
|
42
|
-
- Write
|
|
40
|
+
- Write in the user's current working directory unless another location is named.
|
|
43
41
|
- Slug: split CamelCase on capitals, lowercase, hyphens for spaces, strip other characters. "Invoice Processing" → `invoice-processing-genome.md`; "InvoiceIntake" → `invoice-intake-genome.md`; "Email Triage & Routing" → `email-triage-routing-genome.md`.
|
|
44
|
-
- Extracted genomes
|
|
45
|
-
- Process
|
|
46
|
-
-
|
|
42
|
+
- Extracted genomes use the source project or solution name, falling back to the directory name.
|
|
43
|
+
- Process components use `<process-slug>-genome/<component-slug>-genome.md`; derive the component slug from its project name and append its kind (`-process`, `-model`, `-agent`) when slugs collide.
|
|
44
|
+
- An SDD genome is beside the SDD: `<process-slug>-sdd.md` → `<process-slug>-genome.md`; `<solution-slug>-solution-sdd.md` → `<solution-slug>-genome.md`, with components in `<solution-slug>-genome/`.
|
|
47
45
|
|
|
48
46
|
## Section Rules
|
|
49
47
|
|
|
50
48
|
### Overview
|
|
51
|
-
|
|
49
|
+
State business purpose, users, and trigger as the automation's author, never as a file description or “this project contains…”. An extracted test suite's first sentence says it is a test and what it proves.
|
|
52
50
|
|
|
53
51
|
### Target Applications (component) / Actors and Systems (process)
|
|
54
|
-
Resolve infrastructure to the real system
|
|
52
|
+
Resolve infrastructure to the real system, not “Integration Service”: write “Salesforce”, “ServiceNow”. Process genomes also list human actors.
|
|
55
53
|
|
|
56
54
|
### Build With (component) / Components (process)
|
|
57
|
-
|
|
55
|
+
Use one skill per row from [skill-mapping-guide.md](skill-mapping-guide.md), with rationale over the nearest alternative. **A process genome's Components table links every component genome** in its Genome column, as a markdown link to `<process-slug>-genome/<component-slug>-genome.md`: the build finds the components only through those links.
|
|
58
56
|
|
|
59
|
-
|
|
57
|
+
For process test components, every Type is `Test-case group in project <ProcessName>.Tests`; the Process Map nests them in a subgraph for that test project.
|
|
60
58
|
|
|
61
59
|
### Platform Dependencies
|
|
62
|
-
|
|
60
|
+
List every Orchestrator or Integration Service resource touched—queues, assets, credentials, storage buckets, connections, folders, and triggers—with type and purpose. Extracted genomes retain source resource names; authored genomes propose names.
|
|
63
61
|
|
|
64
|
-
|
|
62
|
+
Use one credential asset per login account, named for account/persona plus environment or tenant; never collapse roles or tenants. The asset holds the secret; genomes, data rows, and reports never contain passwords, tokens, or secret values. Preserve account identity. Across component boundaries carry only the asset name in Interface arguments, Handoffs, and start arguments; the consumer reads the secret in its use scope unless an Integration Service connection holds it. A secret without an account (an API key, a token) is a Secret asset.
|
|
65
63
|
|
|
66
|
-
|
|
64
|
+
Identifiers are not credentials: client ID, tenant ID, service URL, and mailbox address are separate Text assets or configuration values, even in a credential vault. Name and declare them as Text assets. A credential's secret cannot be read back as text without a conversion rejected by the workflow analyzer.
|
|
67
65
|
|
|
68
|
-
|
|
66
|
+
A value the source platform holds outside the process and sets per environment — an environment variable, a global value — is one asset, named as the source names it and typed Text, Integer, Bool, Secret, or credential as appropriate. Open values become Configuration Questions naming the asset. A component whose type reads no assets keeps such a value in the variable its owning skill provides. A source configuration store is not such a value (§ Configuration Questions).
|
|
69
67
|
|
|
70
68
|
### Interface (component)
|
|
71
|
-
|
|
69
|
+
State inputs, outputs, and side effects. Mandatory inside a process; a standalone component may use: `Runs unattended with no arguments; outputs are the side effects listed in Workflow.` Do not use source direction prefixes (`in_`, `out_`, `io_`): `MailboxFolder`, not `in_MailboxFolder`. Qualify reserved Visual Basic/C# words and .NET namespaces/types (`To`, `Sub`, `Date`, `Type`, `Object`, `System`), e.g. `ToAddresses`, `KeyDate`, or `SapSystem`; expression language is chosen at build. Source arguments belong in Source Map.
|
|
72
70
|
|
|
73
|
-
|
|
71
|
+
A `uipath-maestro-case` component designed by a Case Management SDD names that SDD's path relative to the genome as build input: `uipath-genome` hands it unchanged to `uipath-maestro-case`, which builds from it without redesign.
|
|
74
72
|
|
|
75
|
-
**
|
|
73
|
+
**Library components** (a project other components consume as a package) carry, instead of the three bullets, one `Argument | Direction | Type | Description` table per public workflow — never one table shared by several, which hides each workflow's types and directions. Types are rebuild types (a flag is Boolean and a count is a number); descriptions include default, format, quoting side, consumer conventions, naming, defaults, and failed-final-check behavior. This is the pre-build contract; omissions become questions between build groups. Over the analyzer's argument cap (20), put optional switches and values in one options object with one In argument and a `Field | Type | Default | Description` table.
|
|
76
74
|
|
|
77
|
-
**
|
|
75
|
+
**State kept between calls.** Each library workflow starts from declared defaults; no global variables or constants. State one action stores for another, attached applications/handles, and called-component instances live in the consumer and cross each call as an argument: Out from the workflow that produces it, In to each that reads it, In/Out where one changes it. A coded library static field outlives a call only as one value shared by every caller in the job and none inside an isolated invoke; it is not shown in Interface and holds none of this state. An attached application crosses as the application handle the owning skill's public-workflow contract has workflows return and accept. Describe setup before first call and cleanup at run end, including after failure, as public workflows, naming holder and source work. Follow the source guide's § Call Graph Rules: an instance per caller is held by each caller (a process in its entry workflow for the run, passed to callers, and a calling library in its Interface); one instance per run is held by the entry workflow and passed to every caller, including libraries. An unchanged stored value is a fact or Configuration Question, not state.
|
|
78
76
|
|
|
79
|
-
|
|
80
|
-
Format: `N. {Question}? ({setting | constant}; default: {value})` — every question names its kind (below) before its default.
|
|
77
|
+
**Test components** list each test case's varying row schema separately from project constants; credentials are credential-asset names, never values. Name each case's data set — a single row included — its row count, and source location, retaining that location: a data set kept in a store is the case's data source: the project's test-data entity filtered on the data set's name; shipped data is a variation file in the owning skill's format, named after the case, with fields within the analyzer's argument cap (20). A case without a data set uses configuration constants.
|
|
81
78
|
|
|
82
|
-
|
|
79
|
+
### Configuration Questions
|
|
80
|
+
Use `N. {Question}? ({setting | constant}; default: {value})`; every question states kind before default.
|
|
83
81
|
|
|
84
|
-
|
|
82
|
+
Authored genomes ask every described or open value, including paths, URLs, addresses, servers, credentials, queues, thresholds, columns, and application choice (“Which email provider? (constant; default: Outlook)”). Extracted genomes ask only source-open values; source-fixed values are facts. A source value is open when it is:
|
|
85
83
|
|
|
86
|
-
1. **
|
|
87
|
-
2. **Missing from
|
|
88
|
-
3. **A
|
|
84
|
+
1. **Environment-bound:** hosts/URLs, paths/shares/folders, mailboxes, recipients/senders, domains, system/client entries, browser, credentials, assets, queues, buckets, Data Fabric entities, schedules, AI language model (the tenant decides which models exist), or cleanup reach beyond run setup (every window of the session, every certificate of the user, every mapped drive). Default is source value.
|
|
85
|
+
2. **Missing from export:** required configuration-file/table/vault value, key-selected caption, or initial state-file content (a last-used number). Default is key name and `not in the export`.
|
|
86
|
+
3. **A target choice absent from source:** e.g. an Integration Service connection beside a source token. Default is source method. The log defaults to the job's Orchestrator log while retaining the source log as an option ([extract-guide.md](../extract/extract-guide.md) Step 3, evidence policy). The mirror case—target lacks the source method, such as an inbound endpoint whose caller supplied a token while target authenticates callers—is open; default is the named target method.
|
|
89
87
|
4. **Read from the source's own configuration store** — a key the source reads from a config table, properties file or workbook the export holds, whatever it carries (a host, a timeout, a poll interval, a limit, a flag): the source's owners change it without a release, so the rebuild keeps it changeable. Default: the source's value. A key that only names another resource is a fact (below); the same value written only in the code is a fact.
|
|
90
88
|
|
|
91
|
-
|
|
89
|
+
All other values are facts where used: data values, comparisons, limits, lengths, and formats in Workflow or Business Rule; waits, timeouts, polls, and attempt counts in the step or Error Handling; item retry and consecutive-failure counts in Transactional Shape outcomes ([transactional-shape-guide.md](transactional-shape-guide.md) rule 4); start switches in Interface; applications and machine prerequisites in Target Applications; shipped files in their using step and Source Map. Changing a fact is a genome edit.
|
|
92
90
|
|
|
93
|
-
|
|
91
|
+
Every Orchestrator connection the automation is deployed to is its own environment — dev, UAT, prod — and the build is often made on another machine and tenant than the one it runs on. Mark a question `setting` when it differs by environment (hosts and URLs, mailboxes and recipients, shares and paths, credential, queue, bucket, asset and Data Fabric entity names, schedules, language models) or must change without a new version (item 4); mark it `constant` when identical across environments and changing it changes the automation (thresholds, limits, retry counts, message texts). Use exactly `(setting; default: …)` or `(constant; default: …)`. A configuration key is not by itself one setting: several keys that always carry the same value (one recipient list repeated per notification type) are one setting, and a key whose value only names another resource (a vault alias, a table name fixed by the setup) is a fact. The source configuration store is not a rebuilt Platform Dependency. Where rebuilt settings/constants live is decided by execution configuration questions.
|
|
94
92
|
|
|
95
|
-
|
|
93
|
+
When open values number dozens, group by theme and name every key before the question mark: `4. Which folders does the run use — the drive letter (row 5) and the in-process, processed and invalid folders (rows 6–8)? (setting; default: not in the export)`. Each group has one kind, so mixed themes become two questions. State when empty changes flow rather than fails (for example, `required: empty ends the run`). Do not write scaffolding questions—project location, target framework, expression language, package versions—or split questions (unit, split, store, template, triggers, runners) when Transactional Shape is not a stub.
|
|
96
94
|
|
|
97
95
|
### Workflow (component) / Process Map (process)
|
|
98
|
-
|
|
96
|
+
Write numbered steps in execution order as `N. **{Step name}** (input: …; output: …)`. The number keys the Source Map row; the bold name keys Business Rules and Error Handling. Steps may be grouped under `###` headings (one per entry point), each step keeping that form. Shared steps appear once under their own heading; each entry point's last step names its continuation. Use lettered substeps for multiple fields, conditions, validation, or transformations, with input/output annotations.
|
|
97
|
+
|
|
98
|
+
A step calling an automation not held by the source (another project's process, a workflow outside the export) names behavior, passed inputs, and used results, flags `*[Inferred]*` what the caller does not show, and treats the callee as a Platform Dependency rather than something built; Source Map records an unresolved invocation.
|
|
99
99
|
|
|
100
100
|
Shallow, insufficient for replication:
|
|
101
101
|
```markdown
|
|
@@ -112,60 +112,59 @@ Sufficient:
|
|
|
112
112
|
e. If any mismatch exceeds tolerance, flag the invoice with the field, expected value, and actual value
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
Test: if a builder cannot rebuild the step from the text alone, add detail. Never
|
|
115
|
+
Test: if a builder cannot rebuild the step from the text alone, add detail. Never combine distinct steps to meet a count.
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
Test components use one `N. **Test case: <title>**` per case, with lettered case steps and assertions; Source Map has one row per case. Libraries use one numbered step per public workflow, grouped by screen/stage in user order, as independent entry points rather than one execution, with a lead-in saying so.
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
Composite interactions (type-ahead pick, menu or tree path, option list, find-row-then-act, keystrokes to the focused element) are full contracts: typed value, matching method (equals/contains/nth), confirming key, every path level, row rule, and other builder-required behavior. “Enter Voluntary into Primary Reason” is a data loss; “type Voluntary into Primary Reason and pick the suggestion that equals Voluntary” is the step. Use the source guide's composite-actions wording; execution builds each contract as a pattern.
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
A substep in a dialog, popup, or browser tab opened by an action names that window: “in the Select Vendor dialog, click OK”. If the source acts there without switching, infer the name from the opening action and mark `*[Inferred]*`.
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
A source-platform workaround is not behavior (a clipboard copy between two ranges, a temporary file written beside the input, a rename around a path the source's script cannot open, a user setting switched to steer a file format): state its produced result and identify the workaround in Source Map. It becomes data if a later step reads what it leaves behind.
|
|
124
124
|
|
|
125
125
|
### Business Rules
|
|
126
|
-
|
|
126
|
+
Use plain language, no code syntax, with fields and thresholds; group under `### Step N: {name}`, shared rules under a heading naming all steps (`### Steps 4, 10 and 15: …`), and cross-step rules under `### General`.
|
|
127
127
|
|
|
128
128
|
| Code construct | Genome wording |
|
|
129
129
|
|---|---|
|
|
130
|
-
| `If` / `FlowDecision` / `if` |
|
|
131
|
-
| `Switch` / `FlowSwitch` / `switch` |
|
|
132
|
-
| `AndAlso` / `&&` |
|
|
133
|
-
| `OrElse` / `\|\|` |
|
|
134
|
-
| `>` `<` `=` `<>` `==` `!=` |
|
|
130
|
+
| `If` / `FlowDecision` / `if` | `If {condition}, then {action}; otherwise {action}` |
|
|
131
|
+
| `Switch` / `FlowSwitch` / `switch` | `Route based on {field}: {case} → {action}, {case} → {action}` |
|
|
132
|
+
| `AndAlso` / `&&` | `and` |
|
|
133
|
+
| `OrElse` / `\|\|` | `or` |
|
|
134
|
+
| `>` `<` `=` `<>` `==` `!=` | `exceeds`, `is less than`, `is`, `is not` |
|
|
135
135
|
|
|
136
|
-
`Amount > 10000 AndAlso Category = "Premium"` →
|
|
136
|
+
`Amount > 10000 AndAlso Category = "Premium"` → “If amount exceeds $10,000 and category is Premium”.
|
|
137
137
|
|
|
138
138
|
### Error Handling
|
|
139
|
-
|
|
139
|
+
Use the same step-associated layout plus `### Global`. State failure, outcome, and handling level behaviorally, including retry counts and routes: “Retries 3× on timeout, then routes the item to the exception queue” — never “RetryScope with NumberOfRetries=3”. A failure every UI step shares (“expected element not found: screenshot, stop naming the step”) is one Global entry; add a step entry only when handling differs. A Workflow substep confirming an action is that action's post-condition, not a separate check.
|
|
140
140
|
|
|
141
141
|
### Transactional Shape
|
|
142
|
-
|
|
142
|
+
State whether the automation iterates independently tracked units that succeed, fail, retry, and are tracked; if so, state each flow's handling and possible build division while asserting no split except a `Decided:` line records. Follow [transactional-shape-guide.md](transactional-shape-guide.md). No-unit genomes use the § Stub Lines stub.
|
|
143
143
|
|
|
144
144
|
### Acceptance Criteria
|
|
145
|
-
|
|
145
|
+
Use numbered criteria (`1. …`) so reports and run comparisons cite numbers. Write at least one criterion per source: every major workflow step, transformation/field mapping, business rule, error handler, plus empty, duplicate, and malformed-data edge cases. Patterns:
|
|
146
|
+
|
|
146
147
|
- "Given {specific input}, the automation {specific observable outcome}"
|
|
147
148
|
- "When {condition}, the automation {expected behaviour}"
|
|
148
149
|
- "{Specific action} produces {specific result}"
|
|
149
150
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
**A criterion whose outcome rests on a language model's answer is written in one of three checkable forms.** (1) It states the answer: "Given the model classifies the item as {category}, …" — checked with a supplied or recorded answer, so it tests the build, not the model. (2) It states an invariant that holds whatever the model answers: every record's status agrees with the classification it stores, every handled message has exactly one record. (3) For the quality of the model's own answer, it gives an input whose right answer is computed outside the model — dates written out, a count derived from reference data, a value the input itself carries — is checked over several runs, and says it rests on the model, so a miss is a finding on the model, never on the build.
|
|
153
|
-
|
|
154
|
-
Banned: "completes successfully", "handles errors properly", and anything code-level ("Uses ReadPDF activity", "Calls Main.xaml", "Assigns true to isValid").
|
|
151
|
+
never use “completes successfully”, “handles errors properly”, or code-level claims (“Uses ReadPDF activity”, “Calls Main.xaml”, “Assigns true to isValid”).
|
|
155
152
|
|
|
156
153
|
| Banned | Acceptable |
|
|
157
154
|
|---|---|
|
|
158
155
|
| "Uses ReadPDF to process InvoiceFile" | "Given an invoice PDF, extracts vendor_name, invoice_number, line items (description, qty, unit_price), tax, and total" |
|
|
159
156
|
| "SendMail sends to admin@company.com" | "When processing fails after retries, sends a notification to the configured administrator with invoice_number and failure reason" |
|
|
160
157
|
|
|
158
|
+
For language-model outcomes use one checkable form: (1) state the answer (“Given the model classifies the item as {category}, …”) and check against a supplied/recorded answer; (2) state an invariant independent of the answer (every record's status agrees with the classification it stores, every handled message has exactly one record); or (3) test quality against an answer computed outside the model (dates written out, a count derived from reference data, a value the input itself carries) over several runs, explicitly attributing misses to the model, not the build.
|
|
159
|
+
|
|
161
160
|
### Complexity
|
|
162
|
-
`simple | medium | complex
|
|
161
|
+
Use only `simple | medium | complex`; never ask the user. Component level comes from description, PDD, or SDD ([author-guide.md](../author/author-guide.md) § Step 3 — Infer complexity), or source signals ([extract-guide.md](../extract/extract-guide.md) § Step 5 — Infer complexity (component)); default lower when ambiguous and escalate when evidence requires. Process is `medium` with at most three **buildable projects**, no human lanes, and no `complex` component; otherwise `complex`. Test groups in one test project count as one project. A human lane is an actor the process waits on (approval, task, mailed decision), not a notification recipient.
|
|
163
162
|
|
|
164
163
|
### Tags
|
|
165
|
-
Comma-separated
|
|
164
|
+
Comma-separated business domain, target applications, and platform features (document-understanding, queues, human-in-the-loop, …).
|
|
166
165
|
|
|
167
166
|
### Source Map (extraction only)
|
|
168
|
-
|
|
167
|
+
Record where every extracted genome element came from, including contract rows, step table, and framework migration contract: [extracted-genome-guide.md § Source Map](extracted-genome-guide.md). Authored genomes have none.
|
|
169
168
|
|
|
170
169
|
## Population Matrix (component genomes)
|
|
171
170
|
|
|
@@ -175,11 +174,11 @@ Where every part of an extracted genome came from — its contract rows, the ste
|
|
|
175
174
|
| Target Applications, Build With, Platform Dependencies, Interface, Configuration Questions, Complexity, Tags | Full | Full | Full |
|
|
176
175
|
| Workflow | 3-5 steps minimum | 5+ steps, substeps where detailed | 8+ steps, substeps where detailed |
|
|
177
176
|
| Business Rules | Stub allowed | Step-associated | Step-associated |
|
|
178
|
-
| Error Handling | Stub allowed | Per step
|
|
179
|
-
| Transactional Shape | Full when a unit
|
|
180
|
-
| Acceptance Criteria | 3-4 minimum | 5+
|
|
177
|
+
| Error Handling | Stub allowed | Per applicable step | Per applicable step |
|
|
178
|
+
| Transactional Shape | Full when a unit exists ([transactional-shape-guide.md](transactional-shape-guide.md) rule 1), else stub | Full when a unit of work exists, else stub | Full when a unit of work exists, else stub |
|
|
179
|
+
| Acceptance Criteria | 3-4 minimum | 5+ including data checks | 7+ including data checks |
|
|
181
180
|
|
|
182
|
-
|
|
181
|
+
These are minimums, not ceilings. Preserve fifteen distinct source/description steps as fifteen genome steps. Test steps are cases and library steps are public workflows; their depth is in checkpoints and substeps, so Workflow minimums do not apply.
|
|
183
182
|
|
|
184
183
|
## Stub Lines
|
|
185
184
|
|
|
@@ -194,37 +193,46 @@ Minimums, not ceilings. Fifteen distinct steps in the source or description mean
|
|
|
194
193
|
|
|
195
194
|
## Ambiguity Marker
|
|
196
195
|
|
|
197
|
-
|
|
196
|
+
For unclear intent, write the best interpretation, append `*[Inferred]*`, and record uncertainty in Source Map. Never leave a section empty. Users remove markers with “Remove the inferred flags”.
|
|
198
197
|
|
|
199
198
|
## Write, Then Offer Edits
|
|
200
199
|
|
|
201
|
-
Every writing verb writes
|
|
200
|
+
Every writing verb writes files to the working directory immediately—no preview or confirmation—then reports their location and asks “Want to adjust anything?”. Only the writing skill's `edit` verb makes targeted in-place edits; never regenerate.
|
|
202
201
|
|
|
203
202
|
## Provenance
|
|
204
203
|
|
|
205
|
-
|
|
204
|
+
Genome bodies are specifications, not reports: never write “the project contains”, file paths in Workflow or Business Rules, or activity/variable names anywhere. Provenance belongs only in Source Map. Source-written messages, log text, and text shown to people (a form's title, instruction or field label) are behavior and retain source spelling. If text embeds a variable/activity name, path, or source-project file name, describe it instead (for example, “the corrupt-register message”) and quote it fully in that step's Source Map row.
|
|
206
205
|
|
|
207
206
|
## Process Genome Sections
|
|
208
207
|
|
|
209
|
-
|
|
208
|
+
Only process genomes have these sections.
|
|
210
209
|
|
|
211
210
|
### Process Map diagrams (process)
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
216
|
-
-
|
|
211
|
+
Under `## Process Map`, after the numbered stage list and without a subheading, include one Mermaid `flowchart TB` component-view diagram. Sequence belongs in the stage list, not the diagram.
|
|
212
|
+
|
|
213
|
+
- Nodes are automation components and queues only: no people or outside systems. One node per queue, never grouped, using cylinder `[( )]` with no number. Component nodes carry their Components-table number in brackets.
|
|
214
|
+
- Prefix triggers: ⏰ time, 🔔 queue-consuming component. No mark means invoked by another component; several entry points carry each applicable mark. Mark source-absent schedules `*[Inferred]*`. Legend below names marks and arrows.
|
|
215
|
+
- Arrows show data/work direction; never double-headed; draw two. Solid means component→queue, queue→component, or caller→callee. Dotted means file/mail handoff. A queue inside one component is in its label, e.g. `2 InvoiceProcess<br/>Dispatcher → queue → Performer`, never a self-loop.
|
|
216
|
+
- Wrap labels with `<br/>` at about 34 characters and edge labels at about 26; never wrap subgraph titles. Test-project components may share a subgraph. If mermaid-cli is installed, render and inspect; otherwise use these widths.
|
|
217
217
|
|
|
218
|
-
Mermaid cannot render BPMN 2.0
|
|
218
|
+
Mermaid cannot render BPMN 2.0. For a formal model, add sidecar `<process-slug>-process.bpmn` authored from Process Map; `uipath-maestro-bpmn` knows the format, and link it here.
|
|
219
219
|
|
|
220
220
|
### Handoffs (process)
|
|
221
|
-
|
|
221
|
+
Use one row per component edge, giving mechanism (queue item, start job, Flow invoke, event, file drop, Action Center task, a shared store one component writes and another reads when asked — a Data Fabric entity, a database table), schema, and receiving-failure behavior. Component Interface must agree. For a Transactional Shape flow whose producer and consumer are phases of one component that form a flow ([transactional-shape-guide.md](transactional-shape-guide.md) rule 12) exchanging items through a store (a database work table, a folder, an in-memory work list the job reads once and then works item by item), add an intra-component row naming stages/sub-projects from `Decided:`; every shape flow cites its Handoffs row.
|
|
222
|
+
|
|
223
|
+
Omit rows for people or systems merely read/acted on; retain human-task rows created by a component. Use one row per queue edge, naming queue(s), never “the queues”, and one per call and file/mail handoff.
|
|
222
224
|
|
|
223
225
|
### Deployment (process)
|
|
224
|
-
|
|
226
|
+
State packaging (one solution or independent packages), entry points/triggers, target folders/environments, and every buildable project explicitly. List each library separately with its feed, never as a solution project. With tests, name exactly one test project and one Test Manager test set per test component.
|
|
225
227
|
|
|
226
228
|
## Design Links
|
|
227
229
|
|
|
228
|
-
|
|
230
|
+
After the blueprint blockquote, optionally add one blockquote linking the process genome or standalone component to an existing source document; never invent it:
|
|
231
|
+
|
|
232
|
+
`> Designed in: [<SDD title>](<relative path to the SDD>) · sdd-sha256 <SDD_FINGERPRINT>`
|
|
233
|
+
|
|
234
|
+
The fingerprint is mandatory. Obtain it only after content is final by running `node "<SKILL_DIR>/scripts/sdd-fingerprint.mjs" "<SDD_PATH>"`, where `<SKILL_DIR>` contains this skill's `SKILL.md`. For a solution, `<SDD_PATH>` is the root SDD and the fingerprint covers root plus every listed child SDD. The SDD's `Genome` row and an older `Tasks file` row do not change it.
|
|
235
|
+
|
|
236
|
+
The build builds as written and hands a case SDD unchanged to `uipath-maestro-case`. `uipath-planner` keeps the genome current: an SDD change ends with `edit`'s “The SDD was revised” ([edit-guide.md](../edit/edit-guide.md)) and a new fingerprint ([sdd-writing-guide.md](../design/sdd-writing-guide.md) § Keeping the Genome Current). Strict check fails a `Designed in:` line whose fingerprint no longer matches its SDD (root plus every child for a solution), or whose SDD cannot be read.
|
|
229
237
|
|
|
230
|
-
|
|
238
|
+
Record SDD decisions—split and queue design, implementation mode, package pins, and refactor answers—in their owning sections: a flow's `Decided:` line, Configuration Questions defaults, or process Deployment. Restate the SDD's products and projects without contradiction; which changes to a designed genome go to `design` first is specified by [edit-guide.md](../edit/edit-guide.md) § Any genome.
|
package/version-manifest.json
CHANGED