@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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/CODEOWNERS +34 -7
- package/README.md +2 -2
- package/package.json +2 -2
- package/skills/uipath-genome/SKILL.md +35 -88
- package/skills/uipath-genome/references/build-guide.md +61 -0
- package/skills/uipath-genome/references/completion-report-guide.md +93 -0
- package/skills/uipath-genome/references/composite-interactions-guide.md +39 -0
- package/skills/uipath-genome/references/configuration-questions-guide.md +68 -0
- package/skills/uipath-genome/references/execution-guide.md +45 -166
- package/skills/uipath-genome/references/execution-parts-guide.md +84 -17
- package/skills/uipath-genome/references/genome-reading-guide.md +153 -0
- package/skills/uipath-genome/references/live-application-guide.md +23 -9
- package/skills/uipath-genome/references/offline-definition-workarounds-guide.md +4 -4
- package/skills/uipath-genome/references/open-items-guide.md +3 -3
- package/skills/uipath-genome/references/package-doc-errata-guide.md +8 -0
- package/skills/uipath-genome/references/refactor-guide.md +38 -39
- package/skills/uipath-genome/references/selector-matching-guide.md +59 -0
- package/skills/uipath-genome/references/selector-translation-guide.md +13 -66
- package/skills/uipath-genome/references/selector-translation-sap-guide.md +7 -5
- package/skills/uipath-genome/references/selector-translation-web-guide.md +2 -2
- package/skills/uipath-genome/references/source-frameworks-guide.md +21 -0
- package/skills/uipath-genome/references/source-migration-guide.md +48 -19
- package/skills/uipath-genome/references/test-execution-guide.md +8 -7
- package/skills/uipath-genome/references/transactional-execution-guide.md +41 -13
- package/skills/uipath-genome/references/ui-target-migration-guide.md +12 -49
- package/skills/uipath-genome/references/ui-verification-guide.md +9 -1
- package/skills/uipath-maestro-case/SKILL.md +7 -7
- package/skills/uipath-maestro-case/references/evals/evals.json +5 -5
- package/skills/uipath-maestro-case/references/planning.md +5 -5
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +2 -2
- package/skills/uipath-maestro-case/references/plugins/sla/planning.md +1 -1
- package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
- package/skills/uipath-planner/SKILL.md +80 -199
- package/skills/uipath-planner/assets/templates/agent-sdd-template.md +17 -17
- package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +15 -13
- package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +19 -19
- package/skills/uipath-planner/assets/templates/case-sdd-task-details-template.md +173 -0
- package/skills/uipath-planner/assets/templates/{case/case-sdd-template.md → case-sdd-template.md} +51 -229
- package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +16 -14
- package/skills/{uipath-genome → uipath-planner}/assets/templates/component-genome-template.md +9 -5
- package/skills/uipath-planner/assets/templates/flow-sdd-template.md +17 -15
- package/skills/{uipath-genome → uipath-planner}/assets/templates/process-genome-template.md +11 -7
- package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +50 -73
- package/skills/uipath-planner/references/author/author-guide.md +119 -0
- package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +36 -0
- package/skills/uipath-planner/references/author/scenario-proposal-guide.md +30 -0
- package/skills/uipath-planner/references/decompose/decompose-guide.md +223 -0
- package/skills/uipath-planner/references/{asdd-crosswalk-guide.md → design/asdd-crosswalk-guide.md} +6 -4
- package/skills/uipath-planner/references/{business-rules-guide.md → design/business-rules-guide.md} +3 -3
- package/skills/uipath-planner/references/design/caller-request-guide.md +92 -0
- package/skills/uipath-planner/references/design/case-data-and-time-guide.md +292 -0
- package/skills/uipath-planner/references/design/case-product-guide.md +243 -0
- package/skills/uipath-planner/references/design/case-review-and-conformance-guide.md +166 -0
- package/skills/uipath-planner/references/design/design-guide.md +296 -0
- package/skills/uipath-planner/references/{package-selection-guide.md → design/package-selection-guide.md} +16 -13
- package/skills/uipath-planner/references/{rpa-product-guide.md → design/rpa-product-guide.md} +23 -53
- package/skills/uipath-planner/references/design/scope-recommendation-guide.md +134 -0
- package/skills/uipath-planner/references/design/sdd-writing-guide.md +235 -0
- package/skills/uipath-planner/references/design/solution-composition-guide.md +153 -0
- package/skills/uipath-planner/references/edit/edit-guide.md +66 -0
- package/skills/uipath-planner/references/extract/extract-guide.md +230 -0
- package/skills/uipath-planner/references/extract/source-frameworks-guide.md +22 -0
- package/skills/uipath-planner/references/extract/uipath-non-rpa-signals-guide.md +121 -0
- package/skills/uipath-planner/references/extract/uipath-rpa-signals-guide.md +88 -0
- package/skills/uipath-planner/references/extract/uipath-source-guide.md +193 -0
- package/skills/uipath-planner/references/shared/component-placement-guide.md +99 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/defect-verification-guide.md +4 -4
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/extracted-genome-guide.md +15 -14
- package/skills/uipath-planner/references/shared/extraction-parts-guide.md +66 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/genome-format-guide.md +63 -34
- package/skills/uipath-planner/references/{multi-skill-patterns-guide.md → shared/multi-skill-patterns-guide.md} +28 -27
- package/skills/uipath-planner/references/{pdd-analysis-guide.md → shared/pdd-analysis-guide.md} +27 -72
- package/skills/uipath-planner/references/{plan-and-tasks-format.md → shared/plan-and-tasks-format.md} +43 -67
- package/skills/uipath-planner/references/{platform-availability-guide.md → shared/platform-availability-guide.md} +56 -1
- package/skills/uipath-planner/references/shared/product-selection-guide.md +202 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/skill-mapping-guide.md +24 -4
- package/skills/uipath-planner/references/{tenant-library-search-guide.md → shared/tenant-library-search-guide.md} +10 -8
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/transactional-shape-guide.md +39 -8
- package/skills/uipath-planner/scripts/check-genome.mjs +801 -0
- package/skills/uipath-planner/scripts/sdd-fingerprint.mjs +71 -0
- package/skills/uipath-planner/scripts/sdd-to-docx.mjs +87 -0
- package/skills/uipath-test/SKILL.md +3 -3
- package/version-manifest.json +1 -1
- package/skills/uipath-genome/CLAUDE.md +0 -85
- package/skills/uipath-genome/assets/examples/artemis-2-mission-monitor-genome.md +0 -126
- package/skills/uipath-genome/assets/examples/classify-document-and-create-validation-genome.md +0 -117
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/exception-triage-agent-genome.md +0 -96
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-extraction-genome.md +0 -128
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-orchestration-genome.md +0 -115
- package/skills/uipath-genome/assets/examples/invoice-processing-genome.md +0 -136
- package/skills/uipath-genome/assets/examples/purchase-requisition-entry-genome.md +0 -224
- package/skills/uipath-genome/assets/examples/salesforce-accounts-and-contacts-genome.md +0 -151
- package/skills/uipath-genome/references/authoring-guide.md +0 -98
- package/skills/uipath-genome/references/editing-guide.md +0 -57
- package/skills/uipath-genome/references/extraction-guide.md +0 -166
- package/skills/uipath-genome/references/extraction-parts-guide.md +0 -45
- package/skills/uipath-genome/references/parts-guide.md +0 -22
- package/skills/uipath-genome/references/uipath-source-guide.md +0 -404
- package/skills/uipath-genome/scripts/check-genome.py +0 -670
- package/skills/uipath-planner/assets/templates/case/sdd-viewer.html +0 -1530
- package/skills/uipath-planner/references/case/case-design-lane-guide.md +0 -327
- package/skills/uipath-planner/references/case/case-design-layers-guide.md +0 -503
- package/skills/uipath-planner/references/case/case-sdd-conformance-checklist.md +0 -123
- package/skills/uipath-planner/references/non-pdd-lane-guide.md +0 -196
- package/skills/uipath-planner/references/pdd-driven-lane-guide.md +0 -210
- package/skills/uipath-planner/references/product-selection-guide.md +0 -673
- package/skills/uipath-planner/references/sdd-generation-guide.md +0 -613
- package/skills/uipath-planner/scripts/docx-extract.ps1 +0 -59
- package/skills/uipath-planner/scripts/docx-extract.sh +0 -54
- package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +0 -74
- package/skills/uipath-planner/scripts/sdd-to-docx.sh +0 -76
- /package/skills/uipath-planner/references/{attended-reauth-pattern-guide.md → design/attended-reauth-pattern-guide.md} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Extracted Genome Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
An **extracted genome** is one `extract` wrote from an existing automation, and the only kind with a Source Map. Beyond the sections every genome has ([genome-format-guide.md](genome-format-guide.md)) it carries the Source Map, the source values it is written from, and the source's defects.
|
|
4
4
|
|
|
5
5
|
## Source Map
|
|
6
6
|
|
|
7
|
-
Where every part of the genome came from: a table of contract rows — one row per component in a process genome — and, in each component genome, the step table below. Names files and source objects, never activity names or variables. Also records dead code found, unresolved invocations, and steps whose intent was inferred, plus `Related resources` and `Resource discrepancies` rows when the user gave resources (
|
|
7
|
+
Where every part of the genome came from: a table of contract rows — one row per component in a process genome — and, in each component genome, the step table below. Names files and source objects, never activity names or variables. Also records dead code found, unresolved invocations, and steps whose intent was inferred, plus `Related resources` and `Resource discrepancies` rows when the user gave resources (extraction's Step 3). Authored genomes have no Source Map. Remove the section on request when the genome is redistributed as a reusable blueprint.
|
|
8
8
|
|
|
9
9
|
**The step table.** Every extracted component genome carries, under a `### Steps` heading in its Source Map, one table pairing each Workflow step with what it was built from:
|
|
10
10
|
|
|
@@ -13,26 +13,27 @@ Where every part of the genome came from: a table of contract rows — one row p
|
|
|
13
13
|
| 3 | `Submit_Order` (482113, lines 29–40) | `Order_Rows` (1207) | 2 | The confirmation is sent by `Send_Confirmation` (529077), a step of its own; called by the run's root `Order_Main` (310045) |
|
|
14
14
|
|
|
15
15
|
1. **One row per Workflow step**, keyed by its number exactly as the Workflow numbers it — never `Step 3`, a name or a range. A test component's steps are its test cases. A step built from the same objects as another repeats them.
|
|
16
|
-
2. **Source objects** lists only the objects whose behaviour the step implements, separated by `; `, the step's primary object first: the one whose name a rebuild that keeps the source's names gives the step's file or workflow. A framework source writes each as `` `Name` (id) `` or `` `Name` (id, {locator}) ``: names repeat across folders in most frameworks, so the id is what identifies the copy, and the locator is the position inside the object that the source guide's § Provenance names (lines, a page, nodes, test steps), backticked names allowed. A UiPath source writes the workflow's project-relative path, `` `Folder/Workflow.xaml` ``, a test case with its `testCaseId` in the parentheses ([uipath-source-guide.md § Provenance](uipath-source-guide.md)). A caller, and a callee that is a step of its own, go to Notes; a window or a control never appears here — it is the target catalog's.
|
|
16
|
+
2. **Source objects** lists only the objects whose behaviour the step implements, separated by `; `, the step's primary object first: the one whose name a rebuild that keeps the source's names gives the step's file or workflow. A framework source writes each as `` `Name` (id) `` or `` `Name` (id, {locator}) ``: names repeat across folders in most frameworks, so the id is what identifies the copy, and the locator is the position inside the object that the source guide's § Provenance names (lines, a page, nodes, test steps), backticked names allowed. A UiPath source writes the workflow's project-relative path, `` `Folder/Workflow.xaml` ``, a test case with its `testCaseId` in the parentheses ([uipath-source-guide.md § Provenance](../extract/uipath-source-guide.md)). A caller, and a callee that is a step of its own, go to Notes; a window or a control never appears here — it is the target catalog's.
|
|
17
17
|
3. **Data sets** lists the data sets the step's own objects read, written like a source object, or `none`: a test case's own data set, and one it borrows from another case or a shared set (login rows, interface data). A library step's cell is `none` unless the library reads a data set itself: what its callers pass is their data, on their own steps. The column gives the kind, so a root and its data set that share a name, or a data set whose id equals a process id, are never mistaken for one another.
|
|
18
|
-
4. **Captures** is the number of screen captures the source takes inside the step, `0` when it takes none;
|
|
18
|
+
4. **Captures** is the number of screen captures the source takes inside the step, `0` when it takes none; the build checks the rebuild's evidence against it.
|
|
19
19
|
5. **Notes** is free text — callers, callees, lines, findings, quirks — and the only cell no check reads.
|
|
20
20
|
|
|
21
|
-
**Unused parts** — enabled objects no entry point reaches ([
|
|
21
|
+
**Unused parts** — enabled objects no entry point reaches ([extract-guide.md](../extract/extract-guide.md) Step 2b) — are written as the Unused parts answer says, except an unused action that only works a technology, with no business rule of its own, which is left out under every answer. Extracted, each is written like any other part: an uncalled library workflow is a public workflow of its library, an uncalled entry point or test case a step of its component, and a workflow nothing invokes a step of its component, after the steps the entry points reach, whose first sentence says that no step invokes it today; its step-table row's Notes say `no caller in the export`. Left out, the live surface goes to the `Not covered` row and the rest to an `Unused` row, each by name and id with what it does in a few words, so a partial re-extraction can add it later ([extract-guide.md § Partial Re-extraction](../extract/extract-guide.md)).
|
|
22
22
|
|
|
23
|
-
**For a genome extracted from another framework the Source Map is also the migration contract.**
|
|
23
|
+
**For a genome extracted from another framework the Source Map is also the migration contract.** The build regenerates every catalog it needs — UI target locators, data rows, process inventory — from the export, and the Source Map is the only place that says where the export is and which source objects each step came from. It must therefore carry, in the process genome (or the single component genome):
|
|
24
24
|
|
|
25
25
|
| Row | Content |
|
|
26
26
|
|---|---|
|
|
27
|
-
| Source framework | the framework name exactly as [
|
|
27
|
+
| Source framework | `UiPath` and the Studio / platform version the project states, for a UiPath source; otherwise the framework name exactly as the framework migration pack's README row spells it ([source-frameworks-guide.md](../extract/source-frameworks-guide.md)), and the version the export states. The builder reads `UiPath` as a refactor, any other name as a migration |
|
|
28
28
|
| Source export | the export's root path as extraction read it, plus its identity (database or tenant, export date, process count) so a moved copy can be recognised |
|
|
29
29
|
| Steps | the step table above, in every component genome |
|
|
30
|
-
| Checkpoints | for every workflow step of a test component, and of a library a test component calls, the source's checkpoints inside it: source step id, what is asserted, the expected value (or the data column it comes from; for a library step, the Interface argument), and whether the source captured a screenshot there; a library step with no checkpoint has no row.
|
|
31
|
-
|
|
|
30
|
+
| Checkpoints | for every workflow step of a test component, and of a library a test component calls, the source's checkpoints inside it: source step id, what is asserted, the expected value (or the data column it comes from; for a library step, the Interface argument), and whether the source captured a screenshot there; a library step with no checkpoint has no row. The build builds one assertion and one evidence artifact per checkpoint and produces the result parity table from them. One row, or one per step as `Checkpoints, step N` |
|
|
31
|
+
| Requested change | the user's words, for a refactor or migration request; then each decision of the refactor questions ([extract-guide.md](../extract/extract-guide.md) Step 6c), `(from the request)` when the request took it — `Target: <component> → <product>`, `Retire: <entry point>`, `Fold: <reader> into <writer>`. A split decision is never a topic here: it is that flow's `Decided:` line alone. Everything not named keeps the source's behaviour |
|
|
32
|
+
| Not covered | live behaviour the extracted projects or folders hold that no step is built from — an entry point, public workflow or test case nothing in the genome reaches, or one the request or the Unused parts answer left out — by name and id, each with what it does in a few words; [extract-guide.md](../extract/extract-guide.md) Step 7 offers to translate them. Unused parts that are no live surface belong to the `Unused` row; dead code, superseded copies and objects reached only through disabled calls to the dead-code row |
|
|
32
33
|
| Inventory counts | what the export holds and the genome covers, as counts: processes, windows, controls (and how many have no locator), recordsets, rows, credential accounts, and the objects left out, which their own rows name (`Not covered`, `Unused`, excluded, dead code) |
|
|
33
34
|
| Other rows as needed | excluded objects, dead code, unresolved references, steps whose intent was inferred, data files that are outputs rather than inputs, source-only constructs with no counterpart, findings — any label |
|
|
34
35
|
|
|
35
|
-
**The genome files are the only output of extraction.** Recognition data (locators), data rows and process inventories never enter the genome body and are not written beside it either: they are the export's, a copy next to the genome goes stale and says nothing the export does not, and
|
|
36
|
+
**The genome files are the only output of extraction.** Recognition data (locators), data rows and process inventories never enter the genome body and are not written beside it either: they are the export's, a copy next to the genome goes stale and says nothing the export does not, and the build re-derives them from the export with the source guide's script into the build's working folder, at its migration preflight. What the Source Map must record is everything the build needs to find them again — the rows above. A Source Map that names the export but not the per-step objects has lost the migration: the build cannot find the locators and rows the export carried and ships placeholders and invented data. A genome shared without its Source Map can be built but not migrated: the reader gets placeholders or a live capture, and the redistribution note says so.
|
|
36
37
|
|
|
37
38
|
## Source values
|
|
38
39
|
|
|
@@ -50,17 +51,17 @@ A genome is extracted through a rendering of the source — a framework's invent
|
|
|
50
51
|
10. **Log texts** of each step, with their literal wording and variable substitutions.
|
|
51
52
|
11. **Which file and which field**: the kind of each file the process reads or writes, by its extension (a workbook, not a text file), and which of several dates or fields a filter, sort or window uses (loaded or completed, created or updated).
|
|
52
53
|
|
|
53
|
-
Extraction writes them so (
|
|
54
|
+
Extraction writes them so (its Step 3).
|
|
54
55
|
|
|
55
56
|
## Source Defects
|
|
56
57
|
|
|
57
|
-
An extracted genome carries a source's defect only once
|
|
58
|
+
An extracted genome carries a source's defect only once extraction's defect verification has confirmed it in the full rendering and in the framework's source itself. It is written where the behaviour lives — the step, rule or handler — in this form:
|
|
58
59
|
|
|
59
60
|
`**Source defect:** {what the source does, stated as fact} … Evident intent: {what it was meant to do} {*[Inferred]* when only the step's purpose shows it}`
|
|
60
61
|
|
|
61
62
|
- The defect itself is a fact read in the source and never carries `*[Inferred]*`.
|
|
62
|
-
- The evident intent carries the marker only when the step's purpose is all that shows it. An intent the source states (a comment or log text at the defect, a sibling copy that does it — a disabled or unreached copy the author superseded included) is quoted and unmarked, and so is one a user ruling confirms. A step's or workflow's name shows only its purpose. Any consequence that depends on data, configuration, platform or package behaviour the export does not hold carries the marker.
|
|
63
|
-
- The genome says which behaviour the rebuild follows. It follows the evident intent when the source states that intent. When only the step's purpose shows it, the choice is the user's: the rebuild carries the source's behaviour unless the user rules otherwise, because a migration keeps the source's rules and an intent nobody wrote down is a guess. A ruling is written at the step after the source fact it departs from, as `User ruling ({date}): …`, and the index row's Rebuild follows cell cites it.
|
|
63
|
+
- The evident intent carries the marker only when the step's purpose is all that shows it. An intent the source states (a comment or log text at the defect, a sibling copy that does it — a disabled or unreached copy the author superseded included) is quoted and unmarked, and so is one a user ruling confirms. A step's or workflow's name shows only its purpose. Any consequence that depends on data, configuration, source platform or package behaviour the export does not hold carries the marker.
|
|
64
|
+
- The genome says which behaviour the rebuild follows. It follows the evident intent when the source states that intent — except under a request that keeps everything outside its change the same, where every defect outside the `Requested change` keeps the source's behaviour and its intent is offered as a ruling — a defect in a step the change only moves (into a producer or consumer) is outside it. When only the step's purpose shows it, the choice is the user's: the rebuild carries the source's behaviour unless the user rules otherwise, because a migration keeps the source's rules and an intent nobody wrote down is a guess. A ruling is written at the step after the source fact it departs from, as `User ruling ({date}): …`, and the index row's Rebuild follows cell cites it.
|
|
64
65
|
- A defect whose result only the source runtime's internals reproduce cannot be carried: an order left by a comparison that contradicts itself is whatever that runtime's sort makes of it, and a run the source platform refuses to start (a required setting left empty) has no behaviour to rebuild. The rebuild follows the evident intent.
|
|
65
66
|
- What an evident intent leaves open is put to the user as a ruling, its options listed at the step: where the rows a self-contradicting comparison cannot place go, a signal the step needs that the source never produced (an answer saying the input could not be read), a criterion the author's note names but never states (which records count as new). Until the user rules, the genome names the option the rebuild builds and marks it `*[Inferred]*`.
|
|
66
67
|
- A process genome indexes every component's defects under Error Handling and Recovery in one table, `Defect | Component step | Rebuild follows`: one row each, the defect named in a few words, stated in full only at its step.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Extraction Parts Guide — extraction in parts, through subagents, and resuming
|
|
2
|
+
|
|
3
|
+
Runs when the extraction guide's sizing (its Step 2b) plans parts. Extraction's own agent is the **lead agent**: it fixes the shared decisions, writes the brief, runs the parts through subagents where the host has them, checks each part's return against the disk, reconciles the parts' output and writes the process genome. A part, a new agent or a resumed session works from the brief, the ledgers, the read plans and the returns below.
|
|
4
|
+
|
|
5
|
+
## Running in Parts
|
|
6
|
+
|
|
7
|
+
1. **The lead agent fixes the shared decisions before fan-out** — every decision two parts would otherwise take differently — and writes them into the brief (§ What Extraction Adds rule 3).
|
|
8
|
+
2. **One brief, written before the first part starts,** in the working folder: absolute paths, the shared decisions, the reads, the return contract, the part table with each part's state, and a numbered **Rulings** section. A decision the lead agent takes during the run is the next ruling, written before the part that builds on it starts; it overrides the brief's text above it and reaches later parts through the brief, never only through one agent's prompt. A ruling that changes a running part's files is sent to that part with its number, and the part applies it; where the host cannot reach the part, the lead agent applies it once the part has returned. Agents are pointed at the brief and the guides, never given the rules inline.
|
|
9
|
+
3. **A ledger per part, written through.** Each assigned item's state is written in the turn the work lands, under a `Resume` block naming the next item. A resumed part — after a pause, a compaction or in a new session — reads the brief with its rulings, its ledger and what it has written, takes from a compaction summary only the work after the last row and confirms it on disk, re-runs its read plan (a summary carries none of its reads), and continues at the next item. A part that ends early returns its unfinished items. Before relaunching or resuming a part, the lead agent reconciles its ledger with the disk and assigns only unfinished work.
|
|
10
|
+
4. **Every part reads by plan, in at most three turns** ([extract-guide.md](../extract/extract-guide.md) § Read Plan). A part run through a subagent starts fresh, never as a fork of another agent: a fork resends its parent's whole context on every turn. The plan is written before the part starts and its prompt carries it: every file the part reads, whole or by named sections, with the line count of each whole read above the harness's single-read limit, so that file goes out in turn 1 as consecutive line ranges. A part never reads another part's ledger; what it needs of another part's work comes through the brief.
|
|
11
|
+
5. **A part returns a verdict, never a retelling; the return is a claim, the disk is the result.** The return accounts for every item of the return contract (§ What Extraction Adds rule 8). Before accepting a part — a subagent's or one resumed after a compaction — the lead agent checks it mechanically: the files named exist with the counts given, and every assigned item is done or listed unfinished. A defect the check finds goes back to the part that owns it, with the evidence.
|
|
12
|
+
6. **What parts share has one owner at a time** — a part or the lead agent; only the owner edits a shared file or runs a shared operation. Ownership passes once the previous owner has stopped: a subagent messaged after its final report resumes and acts, so the lead agent first confirms that agent is idle with no unread message. A fix goes to a part only while no later owner has taken its files — the message reopens the part and its new return passes item 5; after that, a note goes to the current owner or into the brief as a ruling (item 2).
|
|
13
|
+
7. **Parts run on the lead agent's model, at most two at once — unless the Subagents question says otherwise.**
|
|
14
|
+
- **The question.** The extraction asks its Subagents question before the first part starts ([extract-guide.md](../extract/extract-guide.md) Step 1), with these options: the lead agent's model, at most two parts at once (recommended); a smaller model of the lead agent's family, at most two parts at once; the smaller model, as many parts at once as § What Extraction Adds lets run in parallel. A request that names the model or the cap answers it.
|
|
15
|
+
- **The model and the cap.** A part's reading becomes the genome's text, which no validate or build checks, and a value misread there is built as behaviour ([extracted-genome-guide.md § Source values](extracted-genome-guide.md)), so the lead agent's model is the default. Two is the cap because, on a host whose usage limit resets in windows, each running part spends that limit with its own model calls; a run that spends it before the reset leaves every context idle past the prompt cache's lifetime, and the resume rewrites each in full (item 8).
|
|
16
|
+
8. **Every agent's context grows only by what it acts on, and stays cached while it waits.** Every turn resends the whole context, so a command's output is paid again on every later turn; the host's prompt cache lapses after a few idle minutes (five on the Claude API), and the call after a longer pause rewrites the whole context at many times the price of reading it.
|
|
17
|
+
- **Output.** A script the run writes prints one line per failure and a summary line, with the details in a file in the working folder; a listing, search or log longer than about 150 lines goes to a file, and the agent reads the lines it needs.
|
|
18
|
+
- **Waits.** Every call returns within about four minutes. A longer command goes to the background, and so does every part the lead agent launches. Whoever waits — a part on its command, the lead agent on its parts — repeats one bounded wait until the awaited file exists (`sh -c 'i=0; until [ -f "<REPORT_PATH>" ] || [ $i -ge 15 ]; do sleep 15; i=$((i+1)); done'`), the call's own time limit set above it, since a call past the shell tool's limit is cut off or moved to the background. Never end the turn to await a notice (a part's completion, a file watcher's event) or launch a part in the foreground: the context idles for the part's whole run and the next call rewrites it, while a poll rereads it cached at a small fraction of that price.
|
|
19
|
+
- **Looks.** Every look at the disk the next step needs — a file's line count, a folder listing, the lines around an edit point — goes out with the other looks of that step, in one message or one shell chain, never one look per turn.
|
|
20
|
+
|
|
21
|
+
## What Extraction Adds
|
|
22
|
+
|
|
23
|
+
1. **One part per component, reading its objects whole.** A component above one part's budget is split along its call graph: each part takes one phase's subtree (the object that runs the phase and what only it calls) and a step range the lead agent assigns. Every object belongs to exactly one part. A part whose objects call an object another part owns names that part's step and does not describe the object.
|
|
24
|
+
2. **Who writes.** A part that owns a whole component writes that component's genome file. The parts of a split component write notes, and the lead agent writes that component's genome from them. Notes go to the part's notes file in the working folder, in genome wording, so the lead agent assembles and reconciles instead of rewording: each step of the range with its substeps, Business Rules, Error Handling entries, Acceptance Criteria and Source Map rows, then the facts the component's shared sections need (Interface, Target Applications, Platform Dependencies, open values).
|
|
25
|
+
3. **The shared decisions** (§ Running in Parts item 1). The lead agent runs the source guide's self-test and export-wide commands once, reads the export-wide renderings (an inventory profile) in full and the per-object renderings of the shared components, and writes into the brief:
|
|
26
|
+
- the component list with file names; each part's objects and bytes, with the step range of each part of a split component;
|
|
27
|
+
- each shared component's step numbers and public workflows with their arguments, so callers name them before that component is written;
|
|
28
|
+
- the names of lanes, environments and every platform resource, one credential asset per login account ([genome-format-guide.md § Platform Dependencies](genome-format-guide.md));
|
|
29
|
+
- the questions that are process-wide, asked only in the process genome;
|
|
30
|
+
- the owner of each helper that several components call;
|
|
31
|
+
- each part's finding-id prefix, so ids stay unique within a component's Source Map.
|
|
32
|
+
|
|
33
|
+
Parts never rerun an export-wide command. They read the renderings the extraction guide's Step 2b wrote (a UiPath part reads its files), and run the direct read only to verify suspected defects ([defect-verification-guide.md](defect-verification-guide.md)).
|
|
34
|
+
4. **The brief** (§ Running in Parts item 2) names, among its absolute paths, the export, the pack, the genome folder and the working folder; its reads are those of rule 6 and its return contract that of rule 8.
|
|
35
|
+
5. **The ledger** (§ Running in Parts item 3), in the working folder, lists every assigned object with its state (read, steps written or noted, findings verified), and its `Resume` block names the next object. A part that ends before reading all its objects returns the unread ones. The lead agent writes them into the Source Map as a `Not read (run cut short)` row with each object's id and flags the steps they feed `*[Inferred]*`; [extract-guide.md § Partial Re-extraction](../extract/extract-guide.md) completes them.
|
|
36
|
+
6. **Every part reads by plan, in at most three turns** (§ Running in Parts item 4). Turn 1: the brief, the extraction guide, this guide, the format guide (every section before § Process Genome Sections: a part writes a component genome), the extracted genome guide, the component template and the source guide as the extraction guide's § Source Guides requires; the transactional shape guide when the part's objects show per-item work, and the defect verification guide at the first suspected defect, as [extract-guide.md § Read Plan](../extract/extract-guide.md) opens them. Turn 2: the renderings of all the part's objects, in one message. Turn 3: only the direct reads its findings need and the sections a turn-2 read routes to.
|
|
37
|
+
7. **A part verifies its own suspected defects.** It runs both passes of [defect-verification-guide.md](defect-verification-guide.md) itself, since it holds the rendering and the direct read is a targeted lookup, and returns the verdicts. A finding on an object another part owns goes to the lead agent as a new finding with its line.
|
|
38
|
+
8. **Return contract** (§ Running in Parts item 5). A part returns:
|
|
39
|
+
1. the file written — the genome file, or the notes file;
|
|
40
|
+
2. counts: steps, rules, handlers, criteria, test cases;
|
|
41
|
+
3. target applications;
|
|
42
|
+
4. the Configuration Questions written, marked where another component may ask the same;
|
|
43
|
+
5. platform resources, each with the name used;
|
|
44
|
+
6. secrets found, by object and line, never the value;
|
|
45
|
+
7. every verdict on a suspected defect, with the fields [defect-verification-guide.md](defect-verification-guide.md) returns and the behaviour the rebuild follows;
|
|
46
|
+
8. cross-component calls: calling step, callee component and step, data passed, failure behaviour;
|
|
47
|
+
9. transactional signals: per-item constructs with object and line, for the Transactional Shape;
|
|
48
|
+
10. deviations from the brief, and every object left unread.
|
|
49
|
+
9. **Checking a return** (§ Running in Parts item 5). Before reconciling, the lead agent checks each part mechanically: the file exists with the counts returned, every defect has its Source Map row with lines, and every assigned object appears in a Source Map row or in the unread list.
|
|
50
|
+
|
|
51
|
+
## Reconciliation
|
|
52
|
+
|
|
53
|
+
Before the extraction guide's Step 6b Source Map check and before edits are offered, the lead agent works through every item:
|
|
54
|
+
|
|
55
|
+
1. **Questions.** A question two or more components ask moves to the process genome's Configuration Questions; each component keeps, in its own numbered list, a one-line pointer that names that number, a statement with no question mark: `N. {What it decides}: process genome Configuration Question M.`
|
|
56
|
+
2. **Names.** Every platform resource, lane and environment carries the brief's name in every file; each drift is renamed.
|
|
57
|
+
3. **Defect index.** The process genome's defect table is built from the returned verdicts ([extracted-genome-guide.md § Source Defects](extracted-genome-guide.md)).
|
|
58
|
+
4. **Rebuild follows.** Each defect is re-checked against that section's rule on which behaviour the rebuild follows, from the intent evidence its verdict returned. A wrong mark is corrected at the step and in the index.
|
|
59
|
+
5. **Code in bodies.** Search every genome file for selector tags (`<webctrl`, `<wnd`, `<html`, `<ctrl`), activity and command names, file extensions, drive and repository paths, and the source's variable syntax (source guide § Value syntax). A hit inside the Source Map is provenance and stays; so do a selector a test asserts as a value (extraction guide Step 3) and a text the source writes that [genome-format-guide.md § Provenance](genome-format-guide.md) keeps verbatim. Every other hit is translated or moved to the Source Map. Interface descriptions included ([genome-format-guide.md § Interface](genome-format-guide.md)).
|
|
60
|
+
6. **Cross-component calls.** Every returned call is a Handoffs row, and the Interfaces of both components agree with it. A helper several components call is described once, in its owner, and each caller names that owner's step.
|
|
61
|
+
|
|
62
|
+
Then the extraction guide's Step 6b check runs over every file, and its Step 7 offers edits.
|
|
63
|
+
|
|
64
|
+
## Anti-patterns
|
|
65
|
+
|
|
66
|
+
1. **A part reading file by file.** Reads in the order files name each other, one per turn; whole reads of what a part needs only by section; another part's ledger; a read plan that gives every part the reads of all parts. Each read is replayed on every later turn of the part (items 3, 4).
|
package/skills/{uipath-genome/references → uipath-planner/references/shared}/genome-format-guide.md
RENAMED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
# Genome Format Guide
|
|
2
2
|
|
|
3
|
-
Content rules for every genome, however produced
|
|
3
|
+
Content rules for every genome, however produced — `author`, `extract` and `edit` write genomes; `uipath-genome` builds them. Templates (`component-genome-template.md`, `process-genome-template.md`) live in `assets/templates/`.
|
|
4
|
+
|
|
5
|
+
## Writing Rules
|
|
6
|
+
|
|
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
|
+
|
|
9
|
+
1. **Choose the genome level before writing**: one buildable project is a component genome, two or more a process genome with one component genome per project — § Two Levels.
|
|
10
|
+
2. **Infer complexity, never ask for it** — § Complexity.
|
|
11
|
+
3. **Replication-grade detail in behavioural wording**, with no activity names, variable names, file paths or code syntax in the body (a case component's build input excepted — § Interface) — § Workflow and § Provenance.
|
|
12
|
+
4. **Configuration Questions carry only the values left open** — § Configuration Questions.
|
|
13
|
+
5. **Every section present, always**, with a stub line where one does not apply — § Stub Lines.
|
|
14
|
+
6. **One skill per Build With row, from the mapping guide only**; operate-only skills belong under Platform Dependencies — [skill-mapping-guide.md](skill-mapping-guide.md).
|
|
15
|
+
7. **The preamble and the blueprint blockquote name `uipath-genome` as the skill that builds the genome, and the comment names `uipath-planner` as the skill that changes it**, and 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. **Flag ambiguity, never leave gaps**: the best interpretation plus `*[Inferred]*` — § Ambiguity Marker.
|
|
18
|
+
10. **Write immediately, offer edits after**; edits are in place, never a regeneration — § Write, Then Offer Edits; [edit-guide.md](../edit/edit-guide.md).
|
|
19
|
+
11. **Composite source actions are contracts in the genome** — § Workflow; `uipath-genome` turns them into patterns.
|
|
20
|
+
12. **The transactional shape is described; a split is recorded only when it was already decided**: the genome asserts no split, store, template or unit of its own. A flow's `Decided:` line records the split the agreed SDD, the user's request or the refactor answers chose ([transactional-shape-guide.md](transactional-shape-guide.md) rule 8); for every other flow `uipath-genome` asks the split questions.
|
|
21
|
+
13. **Checked after every write**: the writer reviews every write against these rules, then runs the strict check and fixes every `FAIL` before offering edits ([SKILL.md](../../SKILL.md) § Check). `uipath-genome` builds the genome as written.
|
|
4
22
|
|
|
5
23
|
## Two Levels
|
|
6
24
|
|
|
7
25
|
| Level | File | Scope | Use when |
|
|
8
26
|
|---|---|---|---|
|
|
9
|
-
| **Component genome** | `<slug>-genome.md` | One buildable project (RPA process, Flow, BPMN, agent, API workflow, coded app, function, case plan) | Automation is one project. Only file for a standalone automation. |
|
|
27
|
+
| **Component genome** | `<slug>-genome.md` | One buildable project (RPA process, Flow, BPMN, agent, API workflow, coded app, function, IXP model, decision table, case plan) | Automation is one project. Only file for a standalone automation. |
|
|
10
28
|
| **Process genome** | `<slug>-genome.md` plus `<slug>-genome/<component-slug>-genome.md` per component | Business process realised by two or more buildable projects | Solution with ≥2 projects, coordinator (Flow / BPMN / Case) invoking other automations, or described process clearly needing ≥2 components |
|
|
11
29
|
|
|
12
30
|
Rules:
|
|
@@ -16,15 +34,16 @@ Rules:
|
|
|
16
34
|
2. **Component genomes inside a process carry the `Part of:` line** immediately after the blueprint blockquote, linking back to the process genome. Standalone component genomes omit it.
|
|
17
35
|
3. **Detail lives at the lowest level that owns it.** Component-specific workflow steps, business rules, error handling, and acceptance criteria go in the component genome. The process genome holds only what spans components: process map, handoffs, shared platform dependencies, the transactional shape (its flows, producers and consumers), cross-cutting rules, end-to-end criteria, deployment.
|
|
18
36
|
4. **Every section present, always.** Each template section appears in every genome. A section that does not apply gets its stub line (below), never an omission.
|
|
19
|
-
5. **Preamble is mandatory, and it routes to
|
|
20
|
-
6. **Shared behaviour is one library component.** When several components run the same behaviour and the rebuild has to write it because
|
|
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.
|
|
21
39
|
|
|
22
40
|
## File Naming and Location
|
|
23
41
|
|
|
24
42
|
- Write to user's current working directory unless they name a location.
|
|
25
43
|
- 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`.
|
|
26
44
|
- Extracted genomes take slug from source project or solution name; fall back to directory name.
|
|
27
|
-
- Process genome components: `<process-slug>-genome/<component-slug>-genome.md`. Component slug from project name.
|
|
45
|
+
- Process genome components: `<process-slug>-genome/<component-slug>-genome.md`. Component slug from project name; when two components would share a slug, each adds its kind (`-process`, `-model`, `-agent`).
|
|
46
|
+
- A genome authored from an SDD is written beside it, named after it: `<process-slug>-sdd.md` → `<process-slug>-genome.md`. A solution SDD gets one genome, named after its root and written beside it: `<solution-slug>-solution-sdd.md` → `<solution-slug>-genome.md`, its component genomes in `<solution-slug>-genome/`.
|
|
28
47
|
|
|
29
48
|
## Section Rules
|
|
30
49
|
|
|
@@ -35,27 +54,27 @@ Business purpose, who it serves, what triggers it. Write as the author of the au
|
|
|
35
54
|
Resolve infrastructure to the real system. "Integration Service" is not an application; write "Salesforce", "ServiceNow". Process genomes also list human actors.
|
|
36
55
|
|
|
37
56
|
### Build With (component) / Components (process)
|
|
38
|
-
One skill per row from [skill-mapping-guide.md](skill-mapping-guide.md). Rationale states why that skill and not 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`:
|
|
57
|
+
One skill per row from [skill-mapping-guide.md](skill-mapping-guide.md). Rationale states why that skill and not 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.
|
|
39
58
|
|
|
40
59
|
**Process genomes with test components:** the Type column of every test component reads "Test-case group in project `<ProcessName>.Tests`", and the Process Map diagram nests the test components inside a subgraph for the test project.
|
|
41
60
|
|
|
42
61
|
### Platform Dependencies
|
|
43
62
|
Every Orchestrator or Integration Service resource touched: queues, assets, credentials, storage buckets, connections, folders, triggers. Each row names resource type and purpose. Extracted genomes keep the source resource name; authored genomes propose one.
|
|
44
63
|
|
|
45
|
-
**Credentials: one credential asset per login account**, named after the account or persona, with its environment or tenant. Scenarios often sign in as several accounts with different roles on different tenants; never collapse them onto one login. The asset holds the secret; the genome and the data rows name the asset — a password, token or secret value never appears in a genome, a data file or a report, and dropping the account identity along with the secret loses which role each scenario ran as. A secret crosses no component boundary: an Interface argument, a Handoffs row and a start argument carry the asset's name, and the component that uses the secret reads it in the scope that uses it, unless a connection holds the secret (an Integration Service connection). A secret with no account behind it (an API key, a token) is a Secret asset.
|
|
64
|
+
**Credentials: one credential asset per login account**, named after the account or persona, with its environment or tenant. Scenarios often sign in as several accounts with different roles on different tenants; never collapse them onto one login. The asset holds the secret; the genome and the data rows name the asset — a password, token or secret value never appears in a genome, a data file or a report, and dropping the account identity along with the secret loses which role each scenario ran as. A secret crosses no component boundary: an Interface argument, a Handoffs row and a start argument carry the asset's name, and the component that uses the secret reads it in the scope that uses it, unless a connection holds the secret (an Integration Service connection). A secret with no account behind it (an API key, a token) is a Secret asset.
|
|
46
65
|
|
|
47
|
-
**Identifiers are not credentials.** An application registration's client id and tenant id, a service URL or a mailbox address are Text assets (or configuration values), one per value, even when the source stored them in its credential vault: a credential asset's second half is a secret that a consumer cannot read back as text without a conversion the workflow analyzer rejects at build. The genome names them as Text assets; execution
|
|
66
|
+
**Identifiers are not credentials.** An application registration's client id and tenant id, a service URL or a mailbox address are Text assets (or configuration values), one per value, even when the source stored them in its credential vault: a credential asset's second half is a secret that a consumer cannot read back as text without a conversion the workflow analyzer rejects at build. The genome names them as Text assets; execution declares them the same way.
|
|
48
67
|
|
|
49
|
-
**Values the platform keeps per environment are assets.** 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, of the type its values take: Text, Integer or Bool, Secret for a secret, a credential asset for an account. When its value is open, the Configuration Question that asks it names the asset. A component whose type reads no assets keeps such a value in the variable its owning skill provides. A source's own configuration store is not such a value (§ Configuration Questions).
|
|
68
|
+
**Values the source platform keeps per environment are assets.** 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, of the type its values take: Text, Integer or Bool, Secret for a secret, a credential asset for an account. When its value is open, the Configuration Question that asks it names the asset. A component whose type reads no assets keeps such a value in the variable its owning skill provides. A source's own configuration store is not such a value (§ Configuration Questions).
|
|
50
69
|
|
|
51
70
|
### Interface (component)
|
|
52
|
-
Inputs, outputs, side effects. Mandatory content for a component inside a process genome (it is the contract the Handoffs table relies on). Standalone components may stub it: "Runs unattended with no arguments; outputs are the side effects listed in Workflow." Name each input and output by its contract name, without the source's direction prefix (`in_`, `out_`, `io_`): `MailboxFolder`, not `in_MailboxFolder`. A contract name that is a reserved word of Visual Basic or C#, or a .NET namespace or type name (`To`, `Sub`, `Date`, `Type`, `Object`, `System`), takes a qualifier (`ToAddresses`, `KeyDate`, `SapSystem`): the expression language is chosen at
|
|
71
|
+
Inputs, outputs, side effects. Mandatory content for a component inside a process genome (it is the contract the Handoffs table relies on). Standalone components may stub it: "Runs unattended with no arguments; outputs are the side effects listed in Workflow." Name each input and output by its contract name, without the source's direction prefix (`in_`, `out_`, `io_`): `MailboxFolder`, not `in_MailboxFolder`. A contract name that is a reserved word of Visual Basic or C#, or a .NET namespace or type name (`To`, `Sub`, `Date`, `Type`, `Object`, `System`), takes a qualifier (`ToAddresses`, `KeyDate`, `SapSystem`): the expression language is chosen at build, and such a name breaks the expressions of one of the two. The source argument is provenance and goes to the Source Map. A `uipath-maestro-case` component whose case a Case Management SDD designed names that SDD's path, relative to the genome, as its build input: `uipath-genome` hands that SDD to `uipath-maestro-case` unchanged, and the case is built from it, never redesigned.
|
|
53
72
|
|
|
54
73
|
**Library components** (a project other components consume as a package) carry, instead of the three bullets, one table per public workflow — never one table shared by several, which hides each workflow's types and directions: `Argument | Direction | Type | Description`. The Type is the one the rebuild gives the argument — a flag is a Boolean and a count a number, whatever text the source carried them in — and the description states the default and the value format (what a flag means, how a date is rendered, which side quotes a value), plus the conventions consumers rely on (naming, defaults, what a failed final check does). This table is the contract consumers are authored against before the library packs; every detail it omits becomes a question between two build groups. A workflow over the analyzer's argument cap (20) carries its optional switches and values in one options object — one In argument with its own table (`Field | Type | Default | Description`).
|
|
55
74
|
|
|
56
75
|
**State kept between calls.** A library workflow starts each call from its declared defaults, and a library project holds no global variables or constants, so state the source keeps from one call of its actions to the next — a value one action stores and another reads, an attached application or handle, its own instance of another component it calls — lives in the consumer and crosses 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's static field does outlive a call, but as one value for every caller in the job and none inside an isolated invoke, and no Interface shows it, so it 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. The conventions name the holder and the work the source ran on its own — set-up before the first call, a close-down when the run ends, after a failure too — each a public workflow the holder calls at that point. The holder follows the source's instances, as the source guide's § Call Graph Rules state them: an instance per caller is held by each caller — a process in its entry workflow for its whole run, passed to the workflows that call the library, and a calling library in its own Interface, since it holds nothing either; one instance per run is held by the run's entry workflow and passed to every caller, calling libraries included. A stored value no action changes is no state: it is a fact or a Configuration Question (§ Configuration Questions).
|
|
57
76
|
|
|
58
|
-
**Test components** (a group of test cases over data rows in the single test project) list the row schema per test case: the fields that vary per scenario, separately from the constants in the project's configuration. Credentials appear as the name of a credential asset per row, never as values. Each case names its data set — a single row included — with its row count and where the source keeps it, since the rebuild keeps it there
|
|
77
|
+
**Test components** (a group of test cases over data rows in the single test project) list the row schema per test case: the fields that vary per scenario, separately from the constants in the project's configuration. Credentials appear as the name of a credential asset per row, never as values. Each case names its data set — a single row included — with its row count and where the source keeps it, since the rebuild keeps it there: 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; one shipped with the project is a variation file in the owning skill's format, named after the case, whose fields stay within the analyzer's argument cap (above). A case with no data set takes its values from configuration constants.
|
|
59
78
|
|
|
60
79
|
### Configuration Questions
|
|
61
80
|
Format: `N. {Question}? ({setting | constant}; default: {value})` — every question names its kind (below) before its default.
|
|
@@ -66,14 +85,14 @@ Format: `N. {Question}? ({setting | constant}; default: {value})` — every ques
|
|
|
66
85
|
|
|
67
86
|
1. **Bound to the environment** the rebuild runs in — hosts and URLs, paths, shares and folders, mailboxes, recipients and senders, domains, system and client entries, the browser, credential, asset, queue, bucket and Data Fabric entity names, schedules, the language model an AI step uses (the tenant decides which models exist), the reach of a clean-up that acts beyond what the run set up (every window of the session, every certificate of the user, every mapped drive). Default: the source's value.
|
|
68
87
|
2. **Missing from the export** — a value the build needs that the export does not hold: a setting the source reads from a configuration file, table or vault left out of the export, a caption the source picks only by its key, the starting content of a state file the source reads before it first writes it (a last-used number). Default: the key name and "not in the export".
|
|
69
|
-
3. **A choice the source never faced** — the target platform offers a way the source had no counterpart for: an Integration Service connection beside the source's token
|
|
88
|
+
3. **A choice the source never faced** — the target platform offers a way the source had no counterpart for: an Integration Service connection beside the source's token. Default: the source's way. The run's log is the exception: its default is the job's log in Orchestrator, keeping the source's own run log the option ([extract-guide.md](../extract/extract-guide.md) Step 3, evidence policy). The mirror case is open too: the target lacks the source's way, as for an inbound endpoint that took the caller's own token where the target authenticates every caller itself. Default: the target's way, named.
|
|
70
89
|
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.
|
|
71
90
|
|
|
72
91
|
Every other value is a fact, written once where its reader looks: a value typed, posted, compared or checked, and a limit, length or format, in the Workflow substep or Business Rule that uses it; a wait, timeout, poll interval or attempt count in its step or that step's Error Handling; the item retry and consecutive-failure counts in the Transactional Shape's outcomes ([transactional-shape-guide.md](transactional-shape-guide.md) rule 4); a switch a start argument sets in Interface; the application and a machine prerequisite (Excel installed) in Target Applications; a file the project ships in the step that uses it and the Source Map. Changing a fact is a genome edit, not a configuration answer.
|
|
73
92
|
|
|
74
|
-
**A setting depends on the environment.** 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 each Configuration Question as a *setting* when its answer differs between environments (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 (a key the source reads from its configuration store, item 4 above), and as a *constant* when it is the same in every environment and a change to it is a change to the automation (thresholds, limits, retry counts, message texts). The kind is written in the question's parenthesis, before the default: `(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. A source's own configuration store (a config table, a properties file, a workbook) is not a Platform Dependency of the rebuild: its keys become questions or facts, and where the rebuild's settings and constants live is decided
|
|
93
|
+
**A setting depends on the environment.** 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 each Configuration Question as a *setting* when its answer differs between environments (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 (a key the source reads from its configuration store, item 4 above), and as a *constant* when it is the same in every environment and a change to it is a change to the automation (thresholds, limits, retry counts, message texts). The kind is written in the question's parenthesis, before the default: `(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. A source's own configuration store (a config table, a properties file, a workbook) is not a Platform Dependency of the rebuild: its keys become questions or facts, and where the rebuild's settings and constants live is decided by execution's configuration questions.
|
|
75
94
|
|
|
76
|
-
Both modes: when the open values run to dozens (a configuration table or procedure), group them by theme into one question per theme and name every key inside its question, before the question mark, so the list stays readable and
|
|
95
|
+
Both modes: when the open values run to dozens (a configuration table or procedure), group them by theme into one question per theme and name every key inside its question, before the question mark, so the list stays readable and the build can still map each key: `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)`. A grouped question holds values of one kind; a theme whose values are settings and constants is two questions. When an empty value would change the flow instead of failing (an end time that compares as reached, a list matched by containment), the question says so — "required: empty ends the run" — so the build guards it. Questions the build asks itself are not written into the genome: the scaffolding choices (project location, target framework, expression language, installed package versions), and the split questions (unit, split, store, template, triggers and runners) when the Transactional Shape is not the stub.
|
|
77
96
|
|
|
78
97
|
### Workflow (component) / Process Map (process)
|
|
79
98
|
Numbered steps in execution order, each `N. **{Step name}** (input: …; output: …)`: the number keys the step's row in the Source Map's step table, the bold name heads its Business Rules and Error Handling entries. Steps may be grouped under `###` headings (one per entry point), each step keeping that form. Steps several entry points share are written once, under a heading of their own, and each entry point's last step names the step it continues into. A step that calls an automation the source does not hold (another project's process, a workflow outside the export) names it by what it does, states what the step passes to it and what it uses of the result, and flags `*[Inferred]*` what the caller does not show; the callee is a Platform Dependency the rebuild calls but does not build, and the Source Map's unresolved-invocation row names it. A step involving several fields, a condition, validation, or a transformation gets substeps (a, b, c) and a data annotation `(input: …; output: …)`.
|
|
@@ -97,7 +116,7 @@ Test: if a builder cannot rebuild the step from the text alone, add detail. Neve
|
|
|
97
116
|
|
|
98
117
|
**Test components** list one numbered step per test case — `N. **Test case: <title>**` — with the case's steps as lettered substeps and its assertions named in them; the Source Map's step table then has one row per case. A **library** component lists one numbered step per public workflow, grouped by the screen (or stage) it acts on, in the order a user meets the screens; the steps are independent entry points the consumers invoke, not one execution, and a lead-in sentence says so.
|
|
99
118
|
|
|
100
|
-
**Composite UI interactions carry their full contract.** Source frameworks and descriptions bundle a multi-step interaction into one step: type-ahead pick, menu or tree path, option list, find-row-then-act, keystrokes to the focused element. The substep states, in behavioural words, everything the builder needs to rebuild the interaction: what is typed, how the suggestion or option is matched (equals / contains / nth), which key confirms, each path level, the row rule. "Enter Voluntary into Primary Reason" is a data loss; "type Voluntary into Primary Reason and pick the suggestion that equals Voluntary" is the step. A source guide's composite-actions table gives the wording per source action; execution builds each contract as a pattern
|
|
119
|
+
**Composite UI interactions carry their full contract.** Source frameworks and descriptions bundle a multi-step interaction into one step: type-ahead pick, menu or tree path, option list, find-row-then-act, keystrokes to the focused element. The substep states, in behavioural words, everything the builder needs to rebuild the interaction: what is typed, how the suggestion or option is matched (equals / contains / nth), which key confirms, each path level, the row rule. "Enter Voluntary into Primary Reason" is a data loss; "type Voluntary into Primary Reason and pick the suggestion that equals Voluntary" is the step. A source guide's composite-actions table gives the wording per source action; execution builds each contract as a pattern.
|
|
101
120
|
|
|
102
121
|
**A substep in a window an action opened names that window.** When an action opens a window (a dialog, a popup, a browser tab) and the next substep acts inside it, that substep names the window: "in the Select Vendor dialog, click OK". A source that acts in the new window without first switching to it never names it: deduce the name from the action that opened it and flag it `*[Inferred]*`.
|
|
103
122
|
|
|
@@ -120,10 +139,10 @@ Plain language, no code syntax, specific fields and thresholds kept. Group under
|
|
|
120
139
|
Same step-associated layout as Business Rules, plus `### Global`. Behavioural wording: "Retries 3× on timeout, then routes the item to the exception queue" — never "RetryScope with NumberOfRetries=3". An entry states the failure, the outcome and the level that handles it; a failure that every UI step shares ("expected element not found: screenshot, stop naming the step") is written once under `### Global`, not repeated per step, and a step entry exists only where that step's handling differs. A Workflow substep's "confirm …" is a post-condition of the action before it, not a separate check (execution builds it as that action's verification).
|
|
121
140
|
|
|
122
141
|
### Transactional Shape
|
|
123
|
-
Whether the automation iterates over units of work — items that succeed, fail, are retried and are tracked independently of one another — and, when it does, per flow how the work is handled today and how it could be divided at build, asserting no split: [transactional-shape-guide.md](transactional-shape-guide.md). A genome with no unit of work carries the stub line (§ Stub Lines).
|
|
142
|
+
Whether the automation iterates over units of work — items that succeed, fail, are retried and are tracked independently of one another — and, when it does, per flow how the work is handled today and how it could be divided at build, asserting no split except one a `Decided:` line records: [transactional-shape-guide.md](transactional-shape-guide.md). A genome with no unit of work carries the stub line (§ Stub Lines).
|
|
124
143
|
|
|
125
144
|
### Acceptance Criteria
|
|
126
|
-
A numbered list (`1. …`), so the
|
|
145
|
+
A numbered list (`1. …`), so the build report's verdicts and a comparison of two runs cite a criterion by its number. Patterns:
|
|
127
146
|
- "Given {specific input}, the automation {specific observable outcome}"
|
|
128
147
|
- "When {condition}, the automation {expected behaviour}"
|
|
129
148
|
- "{Specific action} produces {specific result}"
|
|
@@ -139,23 +158,8 @@ Banned: "completes successfully", "handles errors properly", and anything code-l
|
|
|
139
158
|
| "Uses ReadPDF to process InvoiceFile" | "Given an invoice PDF, extracts vendor_name, invoice_number, line items (description, qty, unit_price), tax, and total" |
|
|
140
159
|
| "SendMail sends to admin@company.com" | "When processing fails after retries, sends a notification to the configured administrator with invoice_number and failure reason" |
|
|
141
160
|
|
|
142
|
-
### Process Map diagrams (process)
|
|
143
|
-
One Mermaid component-view diagram (`flowchart TB`), kept under `## Process Map` after the numbered stage list, with no subheading above it. Sequence and order live in the stage list, never in the diagram.
|
|
144
|
-
- **Nodes:** the automation's own components and its queues only; no people or outside systems, so no lanes. One node per queue, never a grouped node, drawn as a cylinder `[( )]` with no number. Every component node carries its number from the Components table in brackets.
|
|
145
|
-
- **Trigger marks** prefix a component node: ⏰ time trigger, 🔔 queue trigger (a component that consumes a queue). A component with no mark is invoked by another component; one with several entry points carries the mark of each triggered one. A trigger is *[Inferred]* when the source holds no schedules. A short legend under the diagram names the marks and the arrows.
|
|
146
|
-
- **Arrows** point the way the data or work travels; never a double-headed arrow, draw two. Solid: a component adds to a queue (component → queue), takes from or reads a queue (queue → component), or calls another component (caller → callee). Dotted: a handoff between components through a file or mail rather than a queue or a call.
|
|
147
|
-
- **Layout:** wrap node labels with `<br/>` at about 34 characters per line and edge labels at about 26; never put `<br/>` in a subgraph title (a test project's components may share one subgraph). A Mermaid parse success does not catch clipped text, so render the diagram (mermaid-cli) and look at it.
|
|
148
|
-
|
|
149
|
-
Mermaid cannot render BPMN 2.0 itself; when the customer wants a formal model, add a sidecar `<process-slug>-process.bpmn` authored from the Process Map (the `uipath-maestro-bpmn` skill knows the format) and link it from this section.
|
|
150
|
-
|
|
151
|
-
### Handoffs (process)
|
|
152
|
-
One row per edge between components: 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), data schema passed, and what happens when the receiving side fails. This table is the data contract; component Interface sections must agree with it. When the Transactional Shape's producer and consumer are two 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), add one row for that edge too, marked as intra-component: it is the data contract the shape cites. Every flow of the Transactional Shape cites the Handoffs row that carries its items. The table follows the Process Map diagram: no rows for people or systems the automation only reads from or acts on (the diagram omits them), a human task a component creates (an Action Center task) keeps its row because it carries a data contract, one row per queue edge naming the queue(s) by name, never "the queues", and one row per call and per file or mail handoff between components.
|
|
153
|
-
|
|
154
|
-
### Deployment (process)
|
|
155
|
-
Packaging (one solution vs independent packages), entry points and triggers, target folders or environments. Name the buildable projects explicitly; a library is listed with the feed it is published to, apart from the solution's projects, since it is never one of them ([execution-guide.md § 1.4](execution-guide.md)); when test components exist, Deployment names exactly one test project and one Test Manager test set per test component.
|
|
156
|
-
|
|
157
161
|
### Complexity
|
|
158
|
-
`simple | medium | complex`. Never ask the user to declare it. Component genomes: inferred from the description ([
|
|
162
|
+
`simple | medium | complex`. Never ask the user to declare it. Component genomes: inferred from the description, PDD or SDD ([author-guide.md](../author/author-guide.md) § Step 3 — Infer complexity) or from source signals ([extract-guide.md](../extract/extract-guide.md) § Step 5 — Infer complexity (component)); both default to the lower level when ambiguous and escalate when later evidence demands it. Process genomes are `medium` with at most three **buildable projects**, no human lanes and no `complex` component, otherwise `complex`; the test-case groups of the single test project count as that one project, not one component each. A human lane is a human actor whose action the process **waits on** (an approval, a task, a mailed decision); recipients of notifications are not lanes.
|
|
159
163
|
|
|
160
164
|
### Tags
|
|
161
165
|
Comma-separated: business domain, target applications, platform features (document-understanding, queues, human-in-the-loop, …).
|
|
@@ -194,8 +198,33 @@ When intent is unclear from the source, write the best interpretation, append `*
|
|
|
194
198
|
|
|
195
199
|
## Write, Then Offer Edits
|
|
196
200
|
|
|
197
|
-
Every
|
|
201
|
+
Every writing verb writes the file(s) to the working directory immediately — no preview, no confirmation — then says where they are and asks "Want to adjust anything?". Edits are targeted and in place, never a regeneration, and made only by the `edit` verb of the skill that writes genomes.
|
|
198
202
|
|
|
199
203
|
## Provenance
|
|
200
204
|
|
|
201
205
|
The body of a genome reads as a specification, not a report: no "the project contains", no file paths in Workflow or Business Rules, no activity or variable names anywhere. Provenance lives only in the Source Map section. A message, log text or text shown to a person (a form's title, instruction or field label) the source writes is behaviour and is written in the body as the source spells it; a text that embeds a variable or activity name, a path or one of the source project's own file names is described in the body instead ("the corrupt-register message") and quoted in full in its step's Source Map row.
|
|
206
|
+
|
|
207
|
+
## Process Genome Sections
|
|
208
|
+
|
|
209
|
+
The section rules of the sections only a process genome has; a component genome has none of them.
|
|
210
|
+
|
|
211
|
+
### Process Map diagrams (process)
|
|
212
|
+
One Mermaid component-view diagram (`flowchart TB`), kept under `## Process Map` after the numbered stage list, with no subheading above it. Sequence and order live in the stage list, never in the diagram.
|
|
213
|
+
- **Nodes:** the automation's own components and its queues only; no people or outside systems, so no lanes. One node per queue, never a grouped node, drawn as a cylinder `[( )]` with no number. Every component node carries its number from the Components table in brackets.
|
|
214
|
+
- **Trigger marks** prefix a component node: ⏰ time trigger, 🔔 queue trigger (a component that consumes a queue). A component with no mark is invoked by another component; one with several entry points carries the mark of each triggered one. A trigger is *[Inferred]* when the source holds no schedules. A short legend under the diagram names the marks and the arrows.
|
|
215
|
+
- **Arrows** point the way the data or work travels; never a double-headed arrow, draw two. Solid: a component adds to a queue (component → queue), takes from or reads a queue (queue → component), or calls another component (caller → callee). Dotted: a handoff between components through a file or mail rather than a queue or a call. A queue inside one component (the stages a decided split realises) is drawn in that component's label — `2 InvoiceProcess<br/>Dispatcher → queue → Performer` — never as a loop from the component back to itself.
|
|
216
|
+
- **Layout:** wrap node labels with `<br/>` at about 34 characters per line and edge labels at about 26; never put `<br/>` in a subgraph title (a test project's components may share one subgraph). A Mermaid parse success does not catch clipped text: when a renderer (mermaid-cli) is installed, render the diagram and look at it; otherwise keep to the wrap widths above.
|
|
217
|
+
|
|
218
|
+
Mermaid cannot render BPMN 2.0 itself; when the customer wants a formal model, add a sidecar `<process-slug>-process.bpmn` authored from the Process Map (the `uipath-maestro-bpmn` skill knows the format) and link it from this section.
|
|
219
|
+
|
|
220
|
+
### Handoffs (process)
|
|
221
|
+
One row per edge between components: 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), data schema passed, and what happens when the receiving side fails. This table is the data contract; component Interface sections must agree with it. When the Transactional Shape's producer and consumer are two 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 one row for that edge too, marked as intra-component and naming the stages on each side (the sub-projects a `Decided:` line names): it is the data contract the shape cites. Every flow of the Transactional Shape cites the Handoffs row that carries its items. The table follows the Process Map diagram: no rows for people or systems the automation only reads from or acts on (the diagram omits them), a human task a component creates (an Action Center task) keeps its row because it carries a data contract, one row per queue edge naming the queue(s) by name, never "the queues", and one row per call and per file or mail handoff between components.
|
|
222
|
+
|
|
223
|
+
### Deployment (process)
|
|
224
|
+
Packaging (one solution vs independent packages), entry points and triggers, target folders or environments. Name the buildable projects explicitly; a library is listed with the feed it is published to, apart from the solution's projects, since it is never one of them; when test components exist, Deployment names exactly one test project and one Test Manager test set per test component.
|
|
225
|
+
|
|
226
|
+
## Design Links
|
|
227
|
+
|
|
228
|
+
One optional blockquote line after the blueprint blockquote (the process genome's, or a standalone component's) ties a genome to the document it derives from. It is written only when that document exists; it is never invented.
|
|
229
|
+
|
|
230
|
+
- **`> Designed in: [<SDD title>](<relative path to the SDD>) · sdd-sha256 <SDD_FINGERPRINT>`** — the genome was authored from that agreed SDD. The fingerprint is required on every `Designed in:` line. `<SDD_FINGERPRINT>` is what `node "<SKILL_DIR>/scripts/sdd-fingerprint.mjs" "<SDD_PATH>"` prints once the genome's content is final (`<SKILL_DIR>` is the folder holding this skill's `SKILL.md`); for a solution `<SDD_PATH>` is the root SDD, and the fingerprint covers the root and every child SDD it lists. The SDD's `Genome` row, and an older SDD's `Tasks file` row, do not change it. The build builds the genome as written and hands a case component's SDD 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). The 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, so a stale genome never passes. The SDD's decisions — the split and queue design, the implementation mode, the package pins, the refactor answers — are recorded in the sections that hold them (a flow's `Decided:` line, Configuration Questions defaults, a process genome's Deployment). The genome restates the SDD's products and projects and never contradicts them; which changes to a designed genome go to `design` first: [edit-guide.md](../edit/edit-guide.md) § Any genome.
|
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
# Multi-skill Patterns Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Which specialist owns what, and the common request shapes that span more than one of them. Use this guide when assigning tasks to specialists and when deciding whether a request is single-skill (load one specialist directly) or multi-skill (emit a plan).
|
|
4
|
+
|
|
5
|
+
## Skill capability map — which specialist owns what
|
|
6
|
+
|
|
7
|
+
What each specialist owns, for the plans `decompose` writes; genomes take their Build With names from [skill-mapping-guide.md](skill-mapping-guide.md). **Do not describe internal flows of any specialist in your plan** — each skill documents its own procedures and will drift out of sync if duplicated here.
|
|
8
|
+
|
|
9
|
+
| Skill | What it owns | Handles auth? | Handles deploy? |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| `uipath-rpa` | RPA workflows (XAML and C# coded): create, edit, build, run, debug. Owns **all** UI automation authoring end-to-end, including live-app exploration and probing. | No (relies on Studio) | **No** — defer to `uipath-solution` for `.uipx` multi-project, `uipath-platform` for single non-solution packages |
|
|
12
|
+
| `uipath-agents` | AI agents — code-based (LangGraph / LlamaIndex / OpenAI Agents) and low-code (`agent.json`) | Yes (`uip login`) | **Yes** — end-to-end |
|
|
13
|
+
| `uipath-coded-apps` | Web apps (`.uipath/` dir): build, sync, package, publish, deploy | Yes (`uip login`) | **Yes** — end-to-end |
|
|
14
|
+
| `uipath-functions` | Coded Functions — Python (`uip function new -l py`; Pydantic typed I/O) or TypeScript/JavaScript (`-l ts / js`, TypeScript default; `defineFunction` + schema-first typed I/O) — atomic deterministic logic: transforms, custom-auth API calls, ERP/IS-connection queries. Runs serverless or on an RPA robot; a JS/TS function is delivered as a run-as-job function or an HTTP endpoint (Coded App backends) — one calling mode per function. Invoked from Maestro (Flow/BPMN), agents-as-tools, Orchestrator API, or its HTTP trigger. No LLM/agent loop (that → `uipath-agents`) | Yes (`uip login`) | **Yes** — `uip function pack/publish` |
|
|
15
|
+
| `uipath-rules` | Business Rules projects — one `.dmn` decision table (DMN 1.5) per project: `uip rules init`, `refresh`, `validate`, `debug`. Called by BPMN business rule tasks, Case `business-rule` tasks, and RPA | Yes (`uip login` for `debug`) | **No** — `uip solution pack/publish/deploy` via `uipath-solution` |
|
|
16
|
+
| `uipath-maestro-flow` | `.flow` files orchestrating RPA, agents, apps | Yes (`uip login`) | **Partial** — Orchestrator deploy of `.uipx`-wrapped solutions → `uipath-solution`; non-solution single package → `uipath-platform` |
|
|
17
|
+
| `uipath-maestro-bpmn` | `.bpmn` files — standards-based BPMN 2.0 process orchestration (gateways, events, boundary timeouts, subprocesses, multi-instance) over RPA, agents, APIs, HITL. Authors its own inline userTask/HITL nodes. | Yes (`uip login`) | **Yes** — packages, uploads, publishes/deploys, and runs via `uip maestro bpmn`; Orchestrator deploy of `.uipx`-wrapped solutions → `uipath-solution` |
|
|
18
|
+
| `uipath-maestro-case` | Case Management authoring — `caseplan.case` from an SDD (`case pack` compiles it to `caseplan.case.bpmn`; authoring `.bpmn` directly is `uipath-maestro-bpmn`) | Yes (`uip login`) | **Partial** — publishes to Studio Web and Orchestrator itself; `.uipx` solution deploy → `uipath-solution` |
|
|
19
|
+
| `uipath-api-workflow` | API Workflows (JSON `document.dsl`): author, run locally (`uip api-workflow run`), connector activities | Yes (`uip login`) | **No** — `uip solution pack/publish` via `uipath-solution` |
|
|
20
|
+
| `uipath-human-in-the-loop` | HITL node authoring — approval gates, escalations, write-back validation inside **Flow** projects. Coded-agent HITL → `uipath-agents`; BPMN / Case / RPA own theirs inline (userTask / task type / Action Center) | No (authoring only) | **No** — ships inside the host project |
|
|
21
|
+
| `uipath-platform` | Auth (`uip login`), Orchestrator (folders, processes, jobs, machines, users, roles), resources (assets, queues, storage buckets + bucket files, libraries, webhooks, triggers), Integration Service (connectors, connections, activities, IS triggers), Data Fabric entities/records/files/choice-sets (`uip df`), traces, licensing | Yes (auth hub) | **Yes** — for every project outside a solution (`Packaging: standalone`) and Orchestrator-side post-deploy ops |
|
|
22
|
+
| `uipath-ixp` | Document Understanding / IXP — extraction from semi-structured documents (invoices, forms): taxonomy, model, classify / extract / validate. Standalone project, or the extraction step a primary consumes | Yes (`uip login`) | **Partial** — model publish/tag via `uip ixp`; consumed by the host project |
|
|
23
|
+
| `uipath-connector-builder` | Integration Service **custom connector** authoring (REST+JSON) on disk via `uip is connectors builder` — build a connector when the catalog has none for a required integration, for any project type, RPA included. See [Integration mechanism](component-placement-guide.md#integration-mechanism--connection-before-raw-api-call) | Yes (`uip login`) | **Yes** — import/publish is deployment (`uip is connectors`) |
|
|
24
|
+
| `uipath-mcp-servers` | UiPath AgentHub MCP server registration (6 types: `uipath`, `coded`, `command`, `remote`, `swagger`, `platform`) and resource-tool authoring on `uipath`-type servers (`automation`, `agent`, `agentic-process`, `api-workflow`). Wraps Orchestrator resources, external HTTP MCP endpoints, OpenAPI specs, published coded agents, local subprocess commands, or first-party UiPath services as MCP tools. NOT for FastMCP / Python `mcp` SDK work. | Yes (`uip login`) | **Yes** — registration is deployment (posts directly to AgentHub) |
|
|
25
|
+
| `uipath-solution` | `uip solution` lifecycle (init, pack, publish, deploy, activate) for `.uipx` solutions. | Yes (`uip login`) | **Yes** — for every project inside a solution (`Packaging: solution`) |
|
|
4
26
|
|
|
5
27
|
## When to emit a multi-skill plan
|
|
6
28
|
|
|
@@ -29,12 +51,13 @@ A request is **single-skill** when:
|
|
|
29
51
|
```
|
|
30
52
|
1. uipath-rpa → create / edit, validate, build the workflow
|
|
31
53
|
2. uipath-rpa → testing (mandatory)
|
|
32
|
-
3. uipath-
|
|
54
|
+
3. uipath-platform → publish the package and create the process (project outside a solution — Packaging: standalone)
|
|
55
|
+
uipath-solution → pack, publish, deploy the `.uipx` (project inside a solution — Packaging: solution)
|
|
33
56
|
```
|
|
34
57
|
|
|
35
|
-
`uipath-rpa` does not deploy.
|
|
58
|
+
`uipath-rpa` does not deploy. The deploy skill follows the project, never a default: outside a solution → `uipath-platform`; inside a solution → `uipath-solution`.
|
|
36
59
|
|
|
37
|
-
> **Attended re-auth handoff is inside the RPA build step, not a separate skill.** When the
|
|
60
|
+
> **Attended re-auth handoff is inside the RPA build step, not a separate skill.** When the request needs an attended re-auth handoff (human-only login — hardware token, smart card, biometric), the `uipath-rpa` build task implements the pause/handoff/state-verified-resume per [attended-reauth-pattern-guide.md](../design/attended-reauth-pattern-guide.md). Pass the handoff contract as business intent; do not split it into its own task or describe the activities.
|
|
38
61
|
|
|
39
62
|
## Pattern 2 — Flow with local resources
|
|
40
63
|
|
|
@@ -108,31 +131,9 @@ Orchestrator assets needed for `remote` / `swagger` Bearer / header substitution
|
|
|
108
131
|
2. uipath-mcp-servers → register the server with asset-substituted headers
|
|
109
132
|
```
|
|
110
133
|
|
|
111
|
-
## Pattern routing for PDD-driven lane
|
|
112
|
-
|
|
113
|
-
When deriving tasks from an SDD, the planner picks a pattern based on the SDD's project list:
|
|
114
|
-
|
|
115
|
-
| SDD shape | Pattern(s) used |
|
|
116
|
-
|---|---|
|
|
117
|
-
| Single RPA project, no deploy mention | Pattern: simple `uipath-rpa` build + testing |
|
|
118
|
-
| Single RPA project, deploy to Orchestrator | Pattern 1 |
|
|
119
|
-
| Single-host SDD with absorbed components (e.g., RPA-primary consuming an IXP model, custom connector, or API Workflow in-process) | Leaf-first: build each consumed component via its skill (`uipath-ixp` / `uipath-connector-builder` / `uipath-api-workflow`) + testing, deploy leaves, then the host project per Pattern 1 — **no orchestrator task** |
|
|
120
|
-
| RPA Master Project (multiple sub-projects, queue-connected) | Pattern 1 applied per sub-project, then cross-project deploy via `uipath-solution` (single `.uipx`) |
|
|
121
|
-
| Solution with Flow + RPA + Agents, components built fresh in this session | Pattern 2 expanded across all included products |
|
|
122
|
-
| Solution with Flow consuming pre-published Orchestrator resources | Pattern 3 |
|
|
123
|
-
| BPMN orchestrating components built fresh in this session | Pattern 2 expanded, substituting `uipath-maestro-bpmn` for `uipath-maestro-flow` |
|
|
124
|
-
| BPMN consuming pre-published Orchestrator resources | Pattern 3, substituting `uipath-maestro-bpmn` |
|
|
125
|
-
| Solution overview SDD | Compose multiple patterns; respect cross-product integration order from §Cross-Project Data Flow |
|
|
126
|
-
| API Workflow (single product) | `uipath-api-workflow` + `uipath-solution` for deploy + testing |
|
|
127
|
-
| Agent with RPA tools in §3 Tools | Pattern 5 |
|
|
128
|
-
|
|
129
|
-
> **Deploy routing is constraint-gated.** When the plan's delivery model blocks Solutions (`.uipx`) per [platform-availability-guide.md](platform-availability-guide.md) — standalone, Automation Suite older than 2.2510, or a user exclusion — every `uipath-solution` deploy/publish step in the table above becomes per-package Orchestrator publish routed to `uipath-platform`.
|
|
130
|
-
|
|
131
|
-
Cross-project integration order (general rule): **dependencies before dependents**. Build callable resources (RPA processes, API Workflows, agents-as-tools) before the products that consume them (Flows, Cases, parent agents).
|
|
132
|
-
|
|
133
134
|
## Pattern composition for Solutions
|
|
134
135
|
|
|
135
|
-
|
|
136
|
+
A multi-project plan emits one pattern segment per project, then sequences them so that integrated components are built before their consumers:
|
|
136
137
|
|
|
137
138
|
1. Build all leaf resources (libraries, custom connectors, IXP models, Coded Functions, callable API Workflows, RPA processes used as agent tools).
|
|
138
139
|
2. Run testing for each leaf.
|