@uipath/skills 1.207.0-preview.1996 → 1.207.0-preview.2015
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/CODEOWNERS +1 -2
- package/README.md +2 -2
- package/package.json +1 -1
- package/skills/uipath-genome/SKILL.md +11 -9
- package/skills/uipath-genome/references/build-guide.md +3 -2
- package/skills/uipath-genome/references/completion-report-guide.md +7 -3
- package/skills/uipath-genome/references/composite-interactions-guide.md +6 -2
- package/skills/uipath-genome/references/configuration-questions-guide.md +23 -13
- package/skills/uipath-genome/references/execution-guide.md +10 -3
- package/skills/uipath-genome/references/genome-reading-guide.md +24 -9
- package/skills/uipath-genome/references/live-application-guide.md +5 -6
- package/skills/uipath-genome/references/offline-definition-workarounds-guide.md +21 -102
- package/skills/uipath-genome/references/open-items-guide.md +1 -1
- package/skills/uipath-genome/references/package-doc-errata-guide.md +3 -14
- package/skills/uipath-genome/references/prepare-guide.md +189 -0
- package/skills/uipath-genome/references/refactor-guide.md +3 -3
- package/skills/uipath-genome/references/selector-matching-guide.md +3 -2
- package/skills/uipath-genome/references/selector-translation-guide.md +20 -7
- package/skills/uipath-genome/references/selector-translation-sap-guide.md +1 -1
- package/skills/uipath-genome/references/selector-translation-web-guide.md +44 -10
- package/skills/uipath-genome/references/source-migration-guide.md +5 -3
- package/skills/uipath-genome/references/transactional-execution-guide.md +21 -18
- package/skills/uipath-genome/references/ui-target-migration-guide.md +5 -5
- package/skills/uipath-planner/SKILL.md +13 -11
- package/skills/uipath-planner/assets/templates/agent-sdd-template.md +18 -6
- package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +18 -6
- package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +19 -7
- package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +18 -6
- package/skills/uipath-planner/assets/templates/component-genome-template.md +61 -5
- package/skills/uipath-planner/assets/templates/flow-sdd-template.md +18 -6
- package/skills/uipath-planner/assets/templates/preferences-template.md +34 -0
- package/skills/uipath-planner/assets/templates/process-genome-template.md +87 -10
- package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +20 -8
- package/skills/uipath-planner/references/author/author-guide.md +15 -8
- package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +3 -3
- package/skills/uipath-planner/references/design/business-rules-guide.md +2 -2
- package/skills/uipath-planner/references/design/caller-request-guide.md +1 -1
- package/skills/uipath-planner/references/design/design-guide.md +17 -5
- package/skills/uipath-planner/references/design/sdd-writing-guide.md +16 -16
- package/skills/uipath-planner/references/edit/edit-guide.md +34 -10
- package/skills/uipath-planner/references/extract/extract-guide.md +34 -18
- package/skills/uipath-planner/references/extract/uipath-rpa-signals-guide.md +2 -2
- package/skills/uipath-planner/references/extract/uipath-source-guide.md +2 -2
- package/skills/uipath-planner/references/interview/interview-guide.md +126 -0
- package/skills/uipath-planner/references/shared/extracted-genome-guide.md +14 -8
- package/skills/uipath-planner/references/shared/genome-format-guide.md +74 -16
- package/skills/uipath-planner/references/shared/open-questions-guide.md +148 -0
- package/skills/uipath-planner/references/shared/sdd-from-genome-guide.md +93 -0
- package/skills/uipath-planner/references/shared/skill-mapping-guide.md +1 -1
- package/skills/uipath-planner/references/shared/transactional-shape-guide.md +9 -8
- package/skills/uipath-planner/scripts/check-genome.mjs +156 -25
- package/skills/uipath-planner/scripts/sdd-fingerprint.mjs +45 -17
- package/skills/uipath-platform/SKILL.md +1 -1
- package/skills/uipath-rpa/references/library-authoring-guide.md +1 -1
- package/skills/uipath-rpa/references/xaml/common-pitfalls.md +4 -0
- package/version-manifest.json +1 -1
package/CODEOWNERS
CHANGED
|
@@ -140,8 +140,7 @@
|
|
|
140
140
|
/tests/tasks/uipath-planner/genome_from_sdd/ @danmunteanu1 @vlad-coteanu-uipath @RaduAna-Maria
|
|
141
141
|
/tests/tasks/uipath-planner/check_genome/ @danmunteanu1 @vlad-coteanu-uipath @RaduAna-Maria
|
|
142
142
|
/.claude/rules/genome.md @danmunteanu1 @vlad-coteanu-uipath @RaduAna-Maria
|
|
143
|
-
/docs/guides/
|
|
144
|
-
/docs/guides/working-with-uipath-genome.md @danmunteanu1 @vlad-coteanu-uipath @RaduAna-Maria
|
|
143
|
+
/docs/guides/genome/ @danmunteanu1 @vlad-coteanu-uipath @RaduAna-Maria
|
|
145
144
|
|
|
146
145
|
# Solution skill (uip solution lifecycle)
|
|
147
146
|
/skills/uipath-solution/ @UiPath/team-merlot @UiPath/team-orange @dragossandu-dev @PopaIuliana @lucianaparaschivei @dragospopa-up @gabi-raducu
|
package/README.md
CHANGED
|
@@ -59,8 +59,8 @@ The repository ships skills covering authoring, platform operations, and diagnos
|
|
|
59
59
|
|
|
60
60
|
| Skill | Description |
|
|
61
61
|
|-------|-------------|
|
|
62
|
-
| **uipath-planner** | Solution planner, designer and genome writer, driven by verbs — `design` an SDD from a Process Definition Document, `decompose` a multi-project request into a multi-skill task list, `author`, `extract`, `edit` or `check` an automation genome (`*-genome.md`) — the spec `uipath-genome` builds — and
|
|
63
|
-
| **uipath-genome** | Builds an automation from its genome (`*-genome.md`) through the owning skills — including refactors of a UiPath project and migrations from another framework. Supervising a live build: [live healing pass](docs/guides/live-healing-pass.md). |
|
|
62
|
+
| **uipath-planner** | Solution planner, designer and genome writer, driven by verbs — `design` an SDD from a Process Definition Document, `decompose` a multi-project request into a multi-skill task list, `author`, `extract`, `edit` or `check` an automation genome (`*-genome.md`) — the spec `uipath-genome` builds — and, on request, the SDD written from it, which opens on what to settle before the build; `interview` asks what is open, and the genome is kept current when its SDD changes. Guide for people: [working with UiPath genomes](docs/guides/genome/working-with-uipath-genome.md). |
|
|
63
|
+
| **uipath-genome** | Builds an automation from its genome (`*-genome.md`) through the owning skills — including refactors of a UiPath project and migrations from another framework — and, with `prepare`, writes the architecture decisions and every question the build would ask into the genome's readiness file ahead of the build. Supervising a live build: [live healing pass](docs/guides/genome/live-healing-pass.md). |
|
|
64
64
|
| **uipath-solution** | Solution lifecycle (`.uipx`) — `uip solution init/pack/publish/deploy/activate`. |
|
|
65
65
|
| **uipath-review** | Read-only auditor — structural, quality, and best-practice review across RPA, agents, flows, BPMN, coded apps, and solutions. |
|
|
66
66
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/skills",
|
|
3
|
-
"version": "1.207.0-preview.
|
|
3
|
+
"version": "1.207.0-preview.2015",
|
|
4
4
|
"description": "UiPath agent skills for Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, UiPath Autopilot, Kiro, Windsurf, Antigravity and Devin — RPA, UI automation, UI testing, coded agents/apps/workflows, and troubleshooting. Distributed as the UiPath Claude Code plugin.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "UiPath"
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
name: uipath-genome
|
|
3
3
|
description: "UiPath genome builder: always invoke FIRST to build, execute, implement or follow an EXISTING `*-genome.md`, or run the migration or refactor it describes — before reading the file or loading any skill it names — through the owning skills. Configuration questions, a build per component through its skill, a verdict per acceptance criterion, open items and cutover; a genome extracted from a UiPath project is a refactor, one from another framework's export a migration (UI targets and test data migrated, characterization tests, run modes, comparison). Write, draft, author, edit, extract or document a genome, or turn an idea, SOP, PDD or SDD into one→uipath-planner (it writes every genome; never write or change one here); check or validate a genome→uipath-planner. Build without a genome→that artifact's skill. Legacy activity upgrade in place→uipath-activity-migrator. Quality review→uipath-review."
|
|
4
4
|
when_to_use: "User points at an existing *-genome.md (or a file whose first line is `<!-- UIPATH-AUTOMATION-GENOME`) and asks to build, execute, implement or follow it; or uipath-planner hands over a genome it wrote for a build, a migration or a refactor. Not for writing, drafting, editing, checking or validating a genome — that is uipath-planner."
|
|
5
|
-
argument-hint: "[build] <genome.md>"
|
|
5
|
+
argument-hint: "[build | prepare] <genome.md>"
|
|
6
6
|
user-invocable: true
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# UiPath Genome — build automations from their genome
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Two verbs: `build`, and `prepare`, which asks the build's questions on the machine that will build, as far as the user answers them, and writes the answers and the rest into a readiness file beside the genome, with the decisions still open. A genome is the markdown specification of an automation — what it does, its business rules, the data between its parts, platform resources, transactional shape, verification, and the skill that builds each part. `uipath-planner` writes every genome; this skill builds it. The genome says *what*; the owning skills know *how*.
|
|
12
12
|
|
|
13
13
|
## Setup
|
|
14
14
|
|
|
@@ -18,8 +18,8 @@ One verb. A genome is the markdown specification of an automation — what it do
|
|
|
18
18
|
- **Extracted** — the genome has a `## Source Map` that is not the stub. **Source framework** — the Source Map's `Source framework` row; a component genome with a `Part of:` line takes it from its process genome. **Build mode** — not extracted: a build; extracted from a UiPath source: a refactor; from another framework: a migration. An extracted genome whose row names no framework: ask the user which framework the source is.
|
|
19
19
|
- **Transactional** — the Transactional Shape is not the stub.
|
|
20
20
|
- **Test components** — a Components Type cell reading "Test-case group…", or `Test case:` steps.
|
|
21
|
-
- **Packaging** — the process genome's Deployment Packaging line.
|
|
22
|
-
- **
|
|
21
|
+
- **Packaging** — the process genome's Deployment "Packaging and route" line.
|
|
22
|
+
- **Answers beside it** — the SDD and the readiness file beside the genome, read as answers whether or not the genome carries a `Designed in:` line, an SDD for its Action Required section alone ([configuration-questions-guide.md](references/configuration-questions-guide.md) rule 4a).
|
|
23
23
|
2. **Open the verb's guide** and read it whole; its § Read Plan names every other file the verb reads and when. Never work from memory of a guide.
|
|
24
24
|
|
|
25
25
|
## Verbs
|
|
@@ -27,16 +27,18 @@ One verb. A genome is the markdown specification of an automation — what it do
|
|
|
27
27
|
| Verb | Input | Output | Guide |
|
|
28
28
|
|---|---|---|---|
|
|
29
29
|
| `build` | A `*-genome.md` | The projects, built through their owning skills, and the hand-off folder | [build-guide.md](references/build-guide.md) |
|
|
30
|
+
| `prepare` | A `*-genome.md`, on the machine that will build it | The build's questions, asked as far as the user wants, then `<slug>-readiness.md` beside the genome with the answers and the rest: the Architecture decisions (the questions that shape what gets built, each with the build's proposal), the Genome edits (what discovery found wrong in the genome), Build setup (every other question), the build's tasks and the decisions still open; nothing built | [prepare-guide.md](references/prepare-guide.md) |
|
|
30
31
|
|
|
31
32
|
## Choosing the Verb
|
|
32
33
|
|
|
33
34
|
Checked in order; the first match decides.
|
|
34
35
|
|
|
35
|
-
1. **A request that writes or changes a genome → invoke `uipath-planner` with the request, then stop.** Authoring one from an idea, a description, an SOP, a PDD, a TO-BE or an SDD; proposing scenarios for a goal; extracting one from a UiPath project or solution or another framework's export; editing one, partial re-extraction included — even when the request names the exact change. Make no change to the genome file here. When `uipath-planner` is not installed, say that writing or changing the genome needs it and stop.
|
|
36
|
+
1. **A request that writes or changes a genome → invoke `uipath-planner` with the request, then stop.** Authoring one from an idea, a description, an SOP, a PDD, a TO-BE or an SDD; proposing scenarios for a goal; extracting one from a UiPath project or solution or another framework's export; editing one, partial re-extraction and applying the answers of its SDD or readiness file included — even when the request names the exact change; and a request to be asked a genome's open questions ("interview me"), the readiness file's among them. Make no change to the genome file here. When `uipath-planner` is not installed, say that writing or changing the genome needs it and stop.
|
|
36
37
|
2. **The user named a verb** → that verb.
|
|
37
|
-
3. **A genome plus
|
|
38
|
-
4. **
|
|
39
|
-
5. **
|
|
38
|
+
3. **A genome plus a request to get it ready** ("prepare the build", "what will the build ask", "list the build questions") → `prepare`.
|
|
39
|
+
4. **A genome plus build intent** ("build", "execute", "implement", "follow", "run the migration", "execute the refactor") → `build`. A genome extracted from a UiPath source builds as a refactor; one from another framework as a migration, or a refactor when the request asks for one.
|
|
40
|
+
5. **Check or validate a genome → invoke `uipath-planner` with the request, then stop.**
|
|
41
|
+
6. **A refactor or migration with no genome yet** → `uipath-planner` extracts it first (item 1), then `build` here. An upgrade of a Windows-Legacy project's activities in place is `uipath-activity-migrator`'s.
|
|
40
42
|
|
|
41
43
|
Any other input is another skill's job: say which, and stop.
|
|
42
44
|
|
|
@@ -45,7 +47,7 @@ Any other input is another skill's job: say which, and stop.
|
|
|
45
47
|
Each rule names its subject and the guide that states it in full; [build-guide.md § Verb Rules](references/build-guide.md) holds the rest.
|
|
46
48
|
|
|
47
49
|
1. **Choose the verb first** (§ Choosing the Verb) and run § Setup before anything else.
|
|
48
|
-
2. **The build never edits the genome** — not even a one-line fix the user names. A gap
|
|
50
|
+
2. **The build never edits the genome, and hands `uipath-planner` an edit only on the user's yes** — not even a one-line fix the user names is made here. A gap goes into the report, and the edit is offered: [configuration-questions-guide.md](references/configuration-questions-guide.md) rule 4a, [completion-report-guide.md](references/completion-report-guide.md).
|
|
49
51
|
3. **Never skip the configuration questions** — [build-guide.md](references/build-guide.md) rules 1–2.
|
|
50
52
|
4. **Build through the owning skill, verifiably** — [build-guide.md](references/build-guide.md) rule 4.
|
|
51
53
|
5. **Nothing reaches a tenant that no answer allowed** — [build-guide.md](references/build-guide.md) rule 12.
|
|
@@ -21,7 +21,7 @@ These add to the Critical Rules in [SKILL.md](../SKILL.md). Each rule names its
|
|
|
21
21
|
3. **A build on an extracted genome is a migration by default**: catalogs derived from the export at preflight, UI targets and test data migrated from them, no secret ever copied — [source-migration-guide.md](source-migration-guide.md).
|
|
22
22
|
4. **Build through the owning skill, verifiably**, never by writing a project outside its journey: its mandatory reads, and for every activity kind the default XAML and the package's per-activity doc before the first file using it is written; workflows authored as files, never generated — [execution-guide.md § 2.2](execution-guide.md).
|
|
23
23
|
5. **Composite source actions are contracts in the genome and patterns at build** — [genome-reading-guide.md § Workflow](genome-reading-guide.md); [composite-interactions-guide.md](composite-interactions-guide.md).
|
|
24
|
-
6. **UiPath selector truth lives in one guide** — [selector-translation-guide.md](selector-translation-guide.md) rules 1–
|
|
24
|
+
6. **UiPath selector truth lives in one guide** — [selector-translation-guide.md](selector-translation-guide.md) rules 1–17, with what its technology guides add to them. **Verification is a property of the acting activity**, except a test project's checkpoints — [ui-verification-guide.md](ui-verification-guide.md).
|
|
25
25
|
7. **A migration's UI targets go through exploration, the offline migration and the live healing pass, in that order**; a migrated target carries a verdict — `verified`, `shape-verified` or `offline-unverified` — and the live checks it still owes, and a reachable application is a windfall, never a precondition for finishing the run — [ui-target-migration-guide.md](ui-target-migration-guide.md) rule 4 and § Verifying targets; [live-application-guide.md](live-application-guide.md).
|
|
26
26
|
8. **Most source steps are not UI activities**, and linking is the last thing done to a workflow file — [source-migration-guide.md § Source steps that are not UI actions](source-migration-guide.md); [ui-target-migration-guide.md § UI targets](ui-target-migration-guide.md).
|
|
27
27
|
9. **The transactional shape is split at build**: the genome decides no split except on a flow's `Decided:` line, the build asks the split questions for every other flow, and the behaviour is owed whatever the choice — [transactional-execution-guide.md](transactional-execution-guide.md), its § Shape Rules stating what the genome's section says.
|
|
@@ -38,8 +38,9 @@ Every turn resends the whole context: a reference read early is paid again on ev
|
|
|
38
38
|
| Phase | Condition | Read |
|
|
39
39
|
|---|---|---|
|
|
40
40
|
| start, before any question | — | [execution-guide.md](execution-guide.md); [configuration-questions-guide.md](configuration-questions-guide.md); [genome-reading-guide.md § Design Links](genome-reading-guide.md) when the genome is designed (another section of it is read when an execution guide points into it, row below); each skill named in Build With / Components, invoked once for preflight discovery and the scaffolding options — its SKILL.md only, its mandatory reads wait for the build; [transactional-execution-guide.md](transactional-execution-guide.md) when the genome is transactional, before the split questions |
|
|
41
|
-
| start, before any question | the build is a migration (the Source Map names a framework other than UiPath) | [source-frameworks-guide.md](source-frameworks-guide.md) whole — it resolves the framework migration pack and names the migration reads |
|
|
41
|
+
| start, before any question | the build is a migration (the Source Map names a framework other than UiPath) | [source-frameworks-guide.md](source-frameworks-guide.md) whole — it resolves the framework migration pack and names the migration reads; [source-migration-guide.md § Source steps that are not UI actions](source-migration-guide.md), whose merge the Source fidelity options name |
|
|
42
42
|
| start, before any question | the build is a refactor, or the request asks for a refactor | [refactor-guide.md](refactor-guide.md) whole |
|
|
43
|
+
| start, before any question | the user chooses to write the rest into the readiness file ([configuration-questions-guide.md](configuration-questions-guide.md) rule 3) | [prepare-guide.md](prepare-guide.md) steps 5–7, § The readiness file and § The Architecture decisions section |
|
|
43
44
|
| start, before any question | a Build With or Components row names a retired skill | [genome-reading-guide.md § Build With and Components](genome-reading-guide.md), before the named skills are invoked |
|
|
44
45
|
| build, once the configuration answers exist | — | the owning skill's mandatory reads, through its own journey; [completion-report-guide.md](completion-report-guide.md), before the answers go into the hand-off's README |
|
|
45
46
|
| build | the genome is extracted | [genome-reading-guide.md](genome-reading-guide.md) § Source Map, § Source values and § Source Defects; [source-frameworks-guide.md](source-frameworks-guide.md) |
|
|
@@ -17,7 +17,7 @@ Execution ends with a hand-off for the engineer who maintains and deploys the bu
|
|
|
17
17
|
| `integration-check.md` | the independent review of the projects against each other and what became of each finding | after every project is built (§ 3.5) |
|
|
18
18
|
| `reports/<project-slug>.md` | each project's group reports: files, validation and link counts, the activity kinds read, what each step's source defects became | at each group's end (§ 2.2 step 4) |
|
|
19
19
|
|
|
20
|
-
The README is the completion report. It is written for a reader who has this folder and the build but no working folder: in full sentences, with steps and components by the names the genome gives them ([configuration-questions-guide.md](configuration-questions-guide.md) rule 2b), source objects by the names their author wrote, and each decision with its reason, never by a ruling, part or finding number. It states each fact once: the tables stay in their files, and the README counts and links them. The final message to the user is the README's Status section and its path.
|
|
20
|
+
The README is the completion report. It is written for a reader who has this folder and the build but no working folder: in full sentences, with steps and components by the names the genome gives them ([configuration-questions-guide.md](configuration-questions-guide.md) rule 2b), source objects by the names their author wrote, and each decision with its reason, never by a ruling, part or finding number. It states each fact once: the tables stay in their files, and the README counts and links them. The final message to the user is the README's Status section and its path. A change to the build after the hand-off is written re-checks the hand-off's tables and counts against the built projects before the build is delivered again.
|
|
21
21
|
|
|
22
22
|
````markdown
|
|
23
23
|
# <Solution or project>: hand-off
|
|
@@ -83,11 +83,15 @@ The README is the completion report. It is written for a reader who has this fol
|
|
|
83
83
|
What each section holds:
|
|
84
84
|
|
|
85
85
|
1. **Decisions:** every choice the build made that the genome leaves open — the split per flow (`Flow <N> (<components>) — option <A|B|C> — <materialised projects and their roles, runners per project>; unit <item> (<the genome's | alternative: reason>); store <one queue per unit: <names> [+ record store: <entity or table>] | in-process | + kept coordination stores: <names>>; template <REFramework <queue|direct> | plain> per consumer project; coordination folded: <what became what>; exits exercised per consumer project: …; as-is was <one sentence>`), the libraries folded into a project, the lead agent's rulings, the user's rulings on source defects, the guards on settings ([configuration-questions-guide.md](configuration-questions-guide.md) rule 8) and the analyzer errors accepted. A ruling that changes what the genome says is offered as a genome edit.
|
|
86
|
-
2. **Differences from the genome:**
|
|
86
|
+
2. **Differences from the genome:** where the build does other than the genome says, with why:
|
|
87
|
+
- the genome deviations the groups reported and the gaps preflight discovery found (§ 1.2 step 9), each with what the build followed ([source-migration-guide.md § Migration preflight](source-migration-guide.md) step 4), each for a `uipath-planner` edit;
|
|
88
|
+
- each item of the SDD or the readiness file marked `Not applied:`, with its reason;
|
|
89
|
+
- each answer that departs from what the genome states ([configuration-questions-guide.md](configuration-questions-guide.md) rule 4b), which stays the build's and is no edit.
|
|
87
90
|
2a. **Changes to existing projects:** every difference between each project the build reused and its copy from before the first change (§ 1.4) — a workflow added, rewritten or removed, an argument added, removed, renamed or retyped, a dependency, the version it packs under — with why; a change to a library's public workflow or its arguments is marked breaking for the consumers outside this build.
|
|
88
91
|
3. **Expected failures on a live run:** the criteria Met (static) that the source's own data or defect fails on a live run (§ 3.1), the placeholder targets, and, as not built, the objects of the Source Map's `Not covered` row — building them is a `uipath-planner` edit (re-extraction), then a new build.
|
|
89
92
|
3a. **Rulings still owed:** the questions raised after the configuration answers that the user has not answered, each with the default in place and what changes if the answer differs.
|
|
93
|
+
3b. **Unconfirmed decisions:** each open Open Decisions entry the build followed as the genome builds it, of the run-behaviour or reading tier or one the defaults covered, by its id and component, so the owner can still confirm or change it through `uipath-planner`.
|
|
90
94
|
4. **Data the build's runs changed:** each change a run made in a target system or a store, with how to undo it; nothing is undone unasked.
|
|
91
95
|
5. **Files:** every file of the folder with what it holds, and the working folder that stays with the build.
|
|
92
96
|
|
|
93
|
-
A section with nothing to hold reads "None.".
|
|
97
|
+
A section with nothing to hold reads "None.". The final message offers to send the genome edits sections 1–3 name to `uipath-planner`; on the user's yes they go as one request headed "Findings from `uipath-genome`", with the genome path and the yes quoted. The report does not claim results match the source; the parity tables make that comparison possible for whoever holds a source result.
|
|
@@ -19,7 +19,7 @@ Before building any UI group of an extracted genome, read the per-control `actio
|
|
|
19
19
|
| **Table cell** — act on the cell at (row rule, column caption or number) | absolute `tableRow`/`tableCol` | Column by header caption (`colName='{caption}*'` where the application notes record it exposed; otherwise a row of the live checks, and the healing pass, which can anchor the cell to its header, decides), row by content rule from the preceding find; a literal row number in the source is positional and stays flagged; double-click and follow-up keystroke preserved. A prompt inside a cell (typed value + Enter) is a type-ahead pick inside the cell | header cell, target cell; medium |
|
|
20
20
|
| **Read cell / row count / control text** | Get Text on the table element | Get Text or Get Attribute on the row-anchored cell after previewing what it extracts (owning skill's get-text guidance); row count via table extraction or a rows attribute, a row of the live checks until the notes or the healing pass confirm it | as table cell |
|
|
21
21
|
| **Collect matching elements** — the source gathers every element a locator matches (a find-all) and reads or acts on them by position | Find Elements with no target and the source's locator as its filter | Find Elements on the container the elements sit in (list, table, panel), its own element, with the children filtered by what they share, as the activity doc's targeting and filter rules prescribe. A missing container then fails the step, so an empty result means nothing to find. Elements the source reads in groups by position keep that arithmetic. Where an empty result is a valid business answer, a filter that matches nothing passes every run: a run row of the live checks tests the step on a record that has elements (§ Verifying targets) | container and the child filter; low until seen live |
|
|
22
|
-
| **Keystrokes** — keys sent to the window or the focused element | Keyboard Shortcuts to the page body; a Delay; a key after a focus move aimed at the element focus left | The first key targets the preceding step's element (Type Into with special-key tokens after typing; Keyboard Shortcuts otherwise). After a key that moves focus (Tab, a menu arrow, a key that opens a window), the next key targets the element focus moved to when the source names it, and otherwise has no target: Keyboard Shortcuts and Type Into without a target act on the element that has focus. One activity per chord the source sent; a
|
|
22
|
+
| **Keystrokes** — keys sent to the window or the focused element | Keyboard Shortcuts to the page body; a Delay; a key after a focus move aimed at the element focus left | The first key targets the preceding step's element (Type Into with special-key tokens after typing; Keyboard Shortcuts otherwise). After a key that moves focus (Tab, a menu arrow, a key that opens a window), the next key targets the element focus moved to when the source names it, and otherwise has no target: Keyboard Shortcuts and Type Into without a target act on the element that has focus. One activity per chord the source sent; a click on the same element is the fallback when the source had one. Page-scrolling keys are dropped (UiPath scrolls the target into view); a browser refresh is the browser navigation activity; only keys the source sent | none; the preceding step's element, or no target after a focus move |
|
|
23
23
|
| **Coordinate click** — click at pointer position or screen x/y | Click with an offset on the page | Identify the intended element from surrounding steps (dismiss a popup, focus the page, an unmapped button) and target it; semantic description; flag `*[Inferred]*` in the report | derived element; low |
|
|
24
24
|
| **Set state** — ensure checkbox/radio state | Click | Check/Uncheck with the state (idempotent); radio click plus verify selected | none |
|
|
25
25
|
| **Input-method hint** — source switched to key-event input for the fields that follow | ignored | Carry into the affected activities' input mode (key events / hardware, per the owning skill's input-methods guidance); the type-ahead pattern needs it | none |
|
|
@@ -31,8 +31,12 @@ Every derived element is named `derived from <anchor control> — <pattern>` in
|
|
|
31
31
|
|
|
32
32
|
- **Open a browser at a URL:** the application card opens it, at the URL on its Object Repository screen. Not Start Process: the card starts the browser with flags that keep a minimised or covered window taking input and that suppress the first-run, search-engine and profile-picker prompts and the debugger banner.
|
|
33
33
|
- **Start a desktop application:** the application card opens it, with the file path, arguments and working directory on its screen. A path the source does not record stays empty, a row of the live checks; until it is set, the card only attaches.
|
|
34
|
+
- **Attach, or open when not open:** one card whose Open option opens the application only when no instance is open, its Close `Never` where later cards act in the application (the default closes an application the card opened when the card ends). An attach the source tries before a launch, a launch after a failed attach, and a test that chooses between them (whether the process runs, its window is open, the session is attached) are that card's work: no attempt in a Try/Catch, no test and no flag recording which way it went.
|
|
35
|
+
- **Attach before acting:** no step; the card the acting steps run in reaches the application, or acts on the window its caller passes. Only an attach whose result the process uses otherwise — reported, or deciding work other than a launch — is a check: Check App State on an element of the window.
|
|
36
|
+
- **Close the application where its work ends:** Close `Always` on the card around that work, at the point the source closes it.
|
|
34
37
|
- **Force-close a process:** Kill Process.
|
|
35
|
-
- **
|
|
38
|
+
- **Bring a window to the front:** `ActivateBefore` on the Click, Type Into or Keyboard Shortcuts that next acts in it; before any other activity, Window Operations (next row).
|
|
39
|
+
- **Maximise a window, bring one to the front, or close one before its card's work ends:** Window Operations inside a card attached to a window-level screen (a screen with no elements).
|
|
36
40
|
- **Desktop screenshot on error:** Take Screenshot with no target.
|
|
37
41
|
- **"The dialog appears within N seconds":** the first activity that targets the dialog, with N as its timeout. Add a Check App State on the dialog's captured button or on the window-level screen only where the source branched on the dialog or no later step acts on it ([ui-verification-guide.md](ui-verification-guide.md)).
|
|
38
42
|
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
# Configuration Questions Guide — never skipped
|
|
2
2
|
|
|
3
|
-
Step 1.3 of [execution-guide.md](execution-guide.md): after preflight discovery (1.2), before the target project is resolved (1.4). Bare step and section numbers below are that guide's.
|
|
3
|
+
Step 1.3 of [execution-guide.md](execution-guide.md): after preflight discovery (1.2), before the target project is resolved (1.4). Bare step and section numbers below are that guide's. `prepare` asks the same questions, as far as the user answers them, and writes the rest into the readiness file ([prepare-guide.md](prepare-guide.md)).
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
Ask before writing any code, creating any project, or installing any package. This step runs in every execution, including when the genome's Configuration Questions section is the stub line, because the scaffolding questions below do not come from the genome.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
Four groups of questions, asked in this order — five in a refactor:
|
|
9
9
|
|
|
10
|
-
**Genome questions** — every numbered question in the genome's Configuration Questions section. Absent only when that section is the stub line.
|
|
10
|
+
**Genome questions** — every numbered question in the genome's Configuration Questions section but a withdrawn one. Absent only when that section is the stub line. A question with a default per environment is answered for each: the build runs with the value of the environment it builds in, and the open items carry the others.
|
|
11
|
+
|
|
12
|
+
**Open decisions** — after the genome questions: each open entry of the genome's Open Decisions in the business-outcome tier, and each in the material tier, that no answers file settles; in a refactor, the Rulings question asks the source defects among them. Options from the entry: what it `builds now:` first, then each `instead:`, none Recommended, since the owner rules. The defaults, an autonomous run's or the user's choice of them, answer none of these: the build follows the genome as written, the entry stays open, and the completion report lists it as unconfirmed, as it does an entry of the run-behaviour or reading tier, which is not asked. An answer is a genome edit (rule 4b). The entry forms: [genome-reading-guide.md § Open Decisions](genome-reading-guide.md).
|
|
11
13
|
|
|
12
14
|
**Refactor questions** — when the Source Map names a UiPath source, or the request asks to refactor a genome extracted from another framework, after the genome questions: the rulings on each component's source defects, the run modes, the run record and the connections' identities, [refactor-guide.md § Refactor questions](refactor-guide.md). The targets are the genome's Components and Build With rows, and they decide which split and scaffolding questions follow.
|
|
13
15
|
|
|
@@ -18,11 +20,14 @@ Three groups of questions, asked in this order — four in a refactor:
|
|
|
18
20
|
| Topic | Question | Options (first = Recommended) |
|
|
19
21
|
|---|---|---|
|
|
20
22
|
| Location | Where to create the project, or which existing project to build into? | Folder next to genome (1.2 step 4); reuse an existing project that matches the primary skill, found there or named by the user (§ 1.4), recommended instead when the request names one; another path |
|
|
21
|
-
|
|
|
23
|
+
| Source fidelity *(once per run, extracted genomes from a framework other than UiPath only, not in a refactor)* | How closely does the rebuild follow the source's steps, workflows and folder tree ([source-migration-guide.md § Source steps that are not UI actions](source-migration-guide.md))? | The source's names, and its shape wherever UiPath's way does not differ (Recommended): a workflow, library workflow or loop whose work one or a few activities do becomes those activities, and the libraries left merge by application, each difference from the source a row of the correspondence table; the source's names and shape throughout, each difference a row of the table; the build's own names and grouping, with no table. Each option names the libraries it leaves, merged as [source-migration-guide.md § Source steps that are not UI actions](source-migration-guide.md) merges them, and says when it departs from a decision the SDD or the Components table records (one project per business object) |
|
|
24
|
+
| Library layout *(process genomes with a library component — a component the Components table's Type cell marks as a library — that one project consumes, directly or through libraries folded into that project; after Source fidelity, for the libraries its answer leaves, each by name)* | Build each such library as a package of its own, or its workflows as a folder of the project that consumes it (§ 1.4)? | One project (Recommended when the source kept the library's objects in its consumer's own project, so the library is the extraction's grouping and not the source's): the consumer invokes the library's workflows as workflow files, which the debugger steps into and a change reaches without a pack and an install, while the library's parts share the consumer's one owner ([execution-parts-guide.md § What a Build Adds](execution-parts-guide.md) item 1); packages, as the genome lays them out (Recommended otherwise): versioned, reusable beyond this genome, the private workflows hidden behind the public ones; per library, the user naming which to fold |
|
|
22
25
|
| Library location *(asked after Library layout, for each library that stays a package)* | Where to create each library, or which existing project of it to update? | Inside the folder of the one solution that uses it (Recommended; a shared libraries folder beside the solutions instead when several solutions use it); one shared libraries folder beside the solutions; a project of the library that already exists, updated in place (§ 1.4), recommended instead when the request names one |
|
|
23
|
-
|
|
|
26
|
+
| Technology per capability *(once per independent choice within each capability the genome uses that its owning skill builds more than one way — mail, documents and PDFs, spreadsheets, databases, files and shares, web and desktop applications, SAP, APIs and connectors, AI and document understanding, people in the loop; SAP, for one, asks screens or BAPI apart from how a session signs in and how it ends; a choice a genome question asks is that question's)* | <Capability>: how should the automation <do it>? | From capability discovery (1.2 step 7), each with what it requires: the owning skill's way (Recommended), or in a migration the source's way (Recommended) unless the owning skill's names a gain the source never had and what it requires (a connection, a licence, an app registration); each other way the owning skill supports, with when it fits (for mail: Microsoft 365 activities over Graph, the desktop Outlook activities, IMAP and SMTP); a deployed library that provides it (1.2 step 8). An option that needs targets captured live names the Live application answer it needs, and one that changes what people outside the build see names it (the address a mail comes from). An answer other than what the component's Target Applications row names is the build's (rule 4b) |
|
|
27
|
+
| Target framework (RPA projects) | Which target framework? | The one the host supports and an existing project uses — in a refactor whose targets name no framework, Portable; alternatives the host supports |
|
|
28
|
+
| .NET version (RPA projects) | Which .NET version do the projects target? Every robot that runs them must support it | The newest every robot machine's Robot runs, when the request names their Robot versions, otherwise `net8.0`; each other version the owning skill's `init` offers, with the Robot version it needs. A Legacy project takes `net8.0`, unasked |
|
|
24
29
|
| Expression language (RPA projects) | Which expression language? | The owning skill's default for a new project, unless the edit surface recorded in 1.2 step 2 cannot open it; the other language |
|
|
25
|
-
| Settings store (every project with settings or constants) | Where do the genome's settings and constants live? | Settings as one Orchestrator asset each, read once per job — every Orchestrator connection is its own environment (dev, UAT, prod), so each environment sets its own value without a new package — and constants where the project keeps its configuration — the REFramework template's configuration file, the test project's configuration (the Test Automation Framework template's configuration files, or a shared configuration workflow without the template), the owning skill's configuration for a non-RPA project — and in the code on a plain RPA project or a library (Recommended); every value as an Orchestrator asset; a configuration workbook in a storage bucket, loaded once, when the business edits many values together ([genome-reading-guide.md § Configuration Questions](genome-reading-guide.md)). Under every answer the assets Platform Dependencies names stay assets; the answer places the other settings and constants |
|
|
30
|
+
| Settings store (every project with settings or constants: the genome's Configuration Questions of each kind; a fact the genome writes at a step or in Interface stays there) | Where do the genome's settings and constants live? | Settings as one Orchestrator asset each, read once per job — every Orchestrator connection is its own environment (dev, UAT, prod), so each environment sets its own value without a new package — and constants where the project keeps its configuration — the REFramework template's configuration file, the test project's configuration (the Test Automation Framework template's configuration files, or a shared configuration workflow without the template), the owning skill's configuration for a non-RPA project — and in the code on a plain RPA project or a library (Recommended); every value as an Orchestrator asset; a configuration workbook in a storage bucket, loaded once, when the business edits many values together; in an extracted genome, the source's own configuration store, read as the source reads it, when its owners edit it ([genome-reading-guide.md § Configuration Questions](genome-reading-guide.md)). Under every answer the assets Platform Dependencies names stay assets; the answer places the other settings and constants |
|
|
26
31
|
| Workflow type (RPA projects) | Author the workflows as XAML, as coded C#, or both? | The owning skill's default for a new project; coded workflows only; hybrid, each step in the type the owning skill's mode rules give it. An option that makes an earlier answer unusable — an activity package or connection whose API one type lacks, an edit surface recorded in 1.2 step 2 that cannot open the type — names that answer, and the question is asked again |
|
|
27
32
|
| Installed packages | Which activity packages and versions are installed where this automation will run (Studio / Robot / tenant feed)? | Set discovered in 1.2 step 3, listed by name and version; versions declared by the existing project; user provides the list (free text) |
|
|
28
33
|
| Package pinning | Pin the new project to those versions, or take the latest stable from the feed? | Pin to installed versions; latest stable |
|
|
@@ -34,7 +39,6 @@ Three groups of questions, asked in this order — four in a refactor:
|
|
|
34
39
|
| Live application *(once per run, every genome with UI steps)* | Can the build reach the target application, or a comparable instance of it? In a migration, to explore how it is driven before the migration is built offline, and for the live healing pass once the workflows are written ([ui-target-migration-guide.md](ui-target-migration-guide.md) rule 4); for an authored genome, to capture its targets live ([live-application-guide.md § Authored genomes](live-application-guide.md)) | Neither — in a migration every target `offline-unverified`, its live checks handed to the engineer; for an authored genome every target a placeholder, its live checks handed to the engineer; a comparable instance — its window or URL, the sign-in the user does for the build, and what must never be closed; the target application — the same three details. Recommended: Neither; the genome sets no reachability default. When the genome names the environment its UI targets run in (`UI targets: <environment>`) — a process genome on its Deployment line, a component genome in its Target Applications section — the target application option offers that environment as the instance |
|
|
35
40
|
| Healing pass *(once per run, when the Live application answer names a reachable application)* | The live healing pass checks every target on that application read-only; may it also run the workflows and tests against it and fix what fails? The runs enter and change data there ([live-application-guide.md § Live healing pass](live-application-guide.md)) | No — the read-only check only, the runs left to the engineer through the live checks (Recommended); yes, on test data or data the user can restore, which the user names with what must not be touched; only the test cases, or the workflows the user names |
|
|
36
41
|
| Framework migration guide (extracted genomes from a framework other than UiPath only) | Where is the framework migration guide ([source-frameworks-guide.md](source-frameworks-guide.md))? | Path given in the request; another path or a git URL to clone (free text); not available — same outcome as "no export available", stated in the report |
|
|
37
|
-
| Source fidelity *(once per run, extracted genomes from a framework other than UiPath only, not in a refactor)* | How closely does the rebuild follow the source's steps, workflows and folder tree ([source-migration-guide.md § Source steps that are not UI actions](source-migration-guide.md))? | The source's names, and its shape wherever UiPath's way does not differ (Recommended): a workflow, library workflow or loop whose work one or a few activities do becomes those activities, and the libraries left merge by application, each difference from the source a row of the correspondence table; the source's names and shape throughout, each difference a row of the table; the build's own names and grouping, with no table |
|
|
38
42
|
| Log target *(every project that logs; skipped when a genome question already asks it)* | Where do the run's log messages go? | Orchestrator's job log, through a plain Log Message at each log point (Recommended; the robot also writes its execution logs to a local file); the source's own run log as well, in its shape (extracted genomes); a log target the user names |
|
|
39
43
|
| Subagents *(once per run, when the host runs subagents)* | Does one session build everything, or do parts run through subagents — and then on which model, and how many at once? | The options of [execution-parts-guide.md § Running in Parts](execution-parts-guide.md) item 7, recommended by the genome's Complexity there; how many parts may run in parallel: [execution-parts-guide.md § What a Build Adds](execution-parts-guide.md) item 1a |
|
|
40
44
|
|
|
@@ -46,19 +50,25 @@ Three groups of questions, asked in this order — four in a refactor:
|
|
|
46
50
|
| Queue design | Platform Dependencies' queues; a process genome's Deployment | Item store | `(from the SDD)` |
|
|
47
51
|
| Implementation mode | Build With rationale | Workflow type | `(from the SDD)` |
|
|
48
52
|
| Package versions | Build With rationale; a process genome's Deployment | Installed packages, Package pinning | `(from the SDD)` |
|
|
49
|
-
|
|
|
50
|
-
| Refactor answers | the Source Map's `Requested change` row; each target's Build With / Components row, a retired or folded one by its Rationale | each refactor question on a topic the row names ([refactor-guide.md § Refactor questions](refactor-guide.md)); the targets, retirements and folds set the projects ([execution-guide.md § 1.4](execution-guide.md)) | `(from the refactor answers)`; `(from the request)` where the row marks the decision so |
|
|
53
|
+
| Refactor answers | the Source Map's `Requested change` row; each target's Build With / Components row, a retired or folded one by its Rationale | each refactor question on a topic the row names ([refactor-guide.md § Refactor questions](refactor-guide.md)); the targets, retirements and folds set the projects ([execution-guide.md § 1.4](execution-guide.md)); a target that names its framework (an RPA process on Windows) answers Target framework | `(from the refactor answers)`; `(from the request)` where the row marks the decision so |
|
|
51
54
|
|
|
52
55
|
Rules:
|
|
53
56
|
|
|
54
57
|
1. Group questions by topic (notifications, data sources, behaviour, environment, split, scaffolding).
|
|
55
|
-
2. **Write each question in plain words for a user who has not read this skill.** The tables are the decision, not the text to show: say briefly what is being decided and why it matters, explain any term the skill names (a table, file or mode) by what it is, and let each option's description say what the user gets. For each question
|
|
58
|
+
2. **Write each question in plain words for a user who has not read this skill.** The tables are the decision, not the text to show: say briefly what is being decided and why it matters, explain any term the skill names (a table, file or mode) by what it is, and let each option's description say what the user gets. For each question give its real options, two to four, never a filler to make up a count. When the genome carries a default, or discovery produced a value, it is option one with "(Recommended)". Labels 1-5 words; header ≤ 12 characters.
|
|
56
59
|
2a. A question that touches the source — an extracted genome's Configuration Question, a ruling on a source defect, a refactor question, a question about the export itself — keeps the question alone on its first line and adds, after a blank line, a `Context:` section: a few labelled bullets with the facts the user needs to answer it, the labels chosen for that question, never a fixed set filled in where it does not fit. Source objects go by the names their author wrote, never by an object id or a line. Labels that often fit, to pick from and add to by what the question means: `Source process:` the source's workflow and step and the genome's step (`"Create Requisition" › "Wait for status", step 4, Submit requisition`); `Used for:` what a value does there; `Source value:` what the source runs with or does; `Also used in:` the other steps using a value; `Intent:` what a defective step evidently meant to do; `Extracted from:` and `Given:` when what the user supplied differs from what the genome was read from; `Affects:` what the answer changes in the build. The genome's Workflow and the Source Map's step table give the steps and their source objects.
|
|
57
60
|
2b. Every component, project and step a question or option mentions goes by the name the genome gives it — a component by its Component cell in the Components table, a step by its number and bold name (`step 4, Submit requisition`) — never by its position (`component 2`) or a role several could share (`the processing component`, `the consumer`); a role may follow the name when it helps (`Invoice Extraction, which takes the queue items`).
|
|
58
|
-
3. Present with `AskUserQuestion`, at most four per batch; collect a batch before showing the next. When the questions run past three batches, or a genome question defaults to the value the source runs with, the first batch is one question, how to answer them, since its answer decides which follow; it is not asked when the request already answers it. Its options: batch by batch; the defaults; the defaults with named overrides;
|
|
61
|
+
3. Present with `AskUserQuestion`, at most four per batch; collect a batch before showing the next. When the questions run past three batches, or a genome question defaults to the value the source runs with, the first batch is one question, how to answer them, since its answer decides which follow; it is not asked when the request already answers it. Its options: batch by batch; the defaults; the defaults with named overrides; given such a genome question, the source's values (rule 3a); and what the user can answer now, the rest written into the readiness file for others, the build then stopping as `prepare` does ([prepare-guide.md](prepare-guide.md)). A choice of the defaults, with or without overrides, is the user's waiver the autonomous-run paragraph below requires. Under `prepare` it is always the first question, with its own options: what the user knows now, the rest left in the file (Recommended); the file only; every question now, with the offer to build once none is left. Each question it asks offers "Leave open", for an answer that sits with someone else. The file only and an autonomous run ask nothing and leave every question open in the file.
|
|
59
62
|
3a. **The source's values** answer each genome question whose default is a value the export holds, recorded "(source)". Every other question is asked: one whose default is "not in the export" or marked *[Inferred]*, which the source does not settle; a question between the source's way and another the target offers or requires, whatever its default, since the source never faced that choice; and the refactor, split and scaffolding questions, which shape the target build.
|
|
60
|
-
|
|
61
|
-
|
|
63
|
+
3b. **A question comes before those its answer settles or changes**, and an answer drops each later question it settles: among the scaffolding questions, the Source export and the Framework migration guide first, then the Live application; Source fidelity before Library layout, and Library layout before Library location. The split questions keep their own order.
|
|
64
|
+
4. Record answers as a `Configuration Answers` list with a `Scaffolding` group, in the hand-off's README as soon as they exist ([completion-report-guide.md](completion-report-guide.md)); the project-creation step in 1.4 receives the scaffolding answers, and every later build step receives the answers relevant to it. A choice the request makes that no question asks — a semantic step on migrated targets ([selector-translation-guide.md](selector-translation-guide.md) rule 12) — is recorded in the same list, as the request words it, so every part and check reads it from there. A file of answers the user supplies — named in the request, handed over at any batch, the preferences file the genome's `Preferences:` line names (read before the first question), or the SDD and the readiness file beside the genome (rule 4a) — is the user's answer, read when it arrives. For every file of answers: a question it answers is not asked, or not asked again, and is recorded "(from the answers file)"; a decision it states that no question asks is recorded, marked "(from the answers file)", as a rule the build follows; an answer that conflicts with a rule of this skill or the owning skill goes to the user with both statements, never resolved silently, and the list records the user's ruling. Each answer the user did not give in a batch carries its source's label: `(from the SDD)`, `(from the request)` or `(from the refactor answers)` for a decided value (the decided-values table), "(from the answers file)", "(source)" (rule 3a), "(default)" (autonomous runs).
|
|
65
|
+
4a. **The SDD and the readiness file beside the genome.** An SDD `uipath-planner` wrote sits beside the genome, `<slug>-sdd.md` (a process genome's `<slug>-solution-sdd.md`), opening on its Action Required section, which it also writes into the SDD a `Designed in:` line links; a genome may have none; `prepare` writes the readiness file, `-readiness.md` in place of `-genome.md`. A component genome with a `Part of:` line reads its process genome's. In either, what follows an item's `Answer` is its answer: an option's letter, a value, `default` for a value item's default, or the person's own words. An item `prepare` wrote whose options no longer hold on the machine that builds (another machine, other packages installed) is asked again. Genome edits not yet made are, unless the answer keeps what the genome builds now, which the build records and follows as it stands:
|
|
66
|
+
- the answered or changed items of Business decisions, Material to supply and Preferences, in the SDD or under the readiness file's Decisions still open;
|
|
67
|
+
- the readiness file's Genome edits: each gap ruled on, and each line of Edits for `uipath-planner`, with neither an `Applied` nor a `Not applied:` line.
|
|
68
|
+
|
|
69
|
+
The Architecture decisions, Build setup and the configuration values are the build's and stay where they are (rule 4b). Before preflight discovery and any other question ([execution-guide.md § 1.1](execution-guide.md)), name the genome edits not yet made and ask whether `uipath-planner` applies them now, since only the user starts an edit. On a yes, invoke `uipath-planner` with "Apply the answers", the genome path, and the user's request and yes quoted verbatim, then stop; its edit starts the verb the request named again. On a no, and in an autonomous run, stop and name them, since a build past them would build what the answers change. A request that asks for them to be applied is the yes. An item marked `Not applied:` is one that edit could not make: the build follows the genome as written and reports the item ([completion-report-guide.md § Differences from the genome](completion-report-guide.md)).
|
|
70
|
+
4b. **An answer to an open decision is a genome edit**, whether an Open decisions question asks it or the refactor questions' Rulings do, and so is the ruling on a genome gap (1.2 step 9); none is when it keeps what the genome builds now (rule 4a). Once the batch holding one is answered, the build offers it as rule 4a offers the edits not yet made, and asks only what is still open when its edit starts the verb again. Every other answer is the build's: one that departs from what the genome states (a Technology per capability answer other than what the component's Target Applications row names; a Source fidelity answer that turns a library workflow the Interface lists into activities where it is called) is built as answered and listed under the report's Differences from the genome, and no genome section changes for it.
|
|
71
|
+
5. A default in the genome, a value found by discovery, a stub section, a "(Recommended)" option or a silent user never licenses skipping the question. Only the user answers it, or the user's waiver of an autonomous run (below) — except a question the decided-values table answers, answered from the genome, never asked, and recorded under its source's label; and one whose every other option cannot run what the genome needs (Portable, for a step that drives a desktop application), answered by that need and recorded with the reason.
|
|
62
72
|
6. Process genomes: ask the process-level genome questions first, then each component's genome questions in Components order, then the scaffolding questions per owning skill, with the per-project differences after them.
|
|
63
73
|
7. The split questions follow their own rules and record their own answer line: [transactional-execution-guide.md § Split questions](transactional-execution-guide.md).
|
|
64
74
|
8. **An empty or malformed setting that would change the flow, or fail only after business work has begun, is guarded, not defaulted.** A configuration value marked as a setting and left empty — "not in the export", or by the user's instruction — is built as a setting with an empty value. Where the empty value would silently change what the automation does instead of failing (an end-of-day time that compares as reached, a mode switch that falls to its else branch, a name list matched by containment that matches everything, a folder name that resolves to the drive root), and where a value of a fixed format would fail only where it is first used, after items have been worked (an end time that does not parse as `HH:mm`), the build checks it where the settings load and stops the run naming the setting and its source reference. The guards are listed in the report.
|
|
@@ -20,20 +20,27 @@ Read whole file. Identify level from preamble comment (`component` or `process`)
|
|
|
20
20
|
|
|
21
21
|
Required sections — component: Overview, Target Applications, Build With, Workflow, Acceptance Criteria, Complexity; process: Overview, Actors and Systems, Components, Process Map, Handoffs, Acceptance Criteria, Deployment, Complexity. Optional (may be stubs) — component: Platform Dependencies, Interface, Configuration Questions, Business Rules, Error Handling, Transactional Shape, Tags, Source Map; process: Platform Dependencies, Configuration Questions, Business Rules, Error Handling and Recovery, Transactional Shape, Tags, Source Map. A genome missing a required section is not buildable as it stands: report the section as an edit for `uipath-planner`, and stop. A missing optional section goes into the completion report as an edit for `uipath-planner`, and the build continues.
|
|
22
22
|
|
|
23
|
+
The SDD and the readiness file beside the genome are read now, as answers, whether or not it carries a design link ([configuration-questions-guide.md](configuration-questions-guide.md) rule 4a). The genome edits among them not yet made are offered here, before preflight discovery, so a yes does not run it twice; `prepare` offers them at its end ([prepare-guide.md](prepare-guide.md) step 2).
|
|
24
|
+
|
|
23
25
|
When the genome carries a design link ([genome-reading-guide.md § Design Links](genome-reading-guide.md)):
|
|
24
26
|
|
|
25
|
-
- **`Designed in:`** — the build reads
|
|
27
|
+
- **`Designed in:`** — the build reads only the SDD's Action Required section, as answers ([configuration-questions-guide.md](configuration-questions-guide.md) rule 4a), and does not compare its `sdd-sha256` fingerprint: `uipath-planner` keeps a designed genome current. The SDD's decisions are already in the genome's sections — the split and queue design on `Decided:` lines, the implementation mode, the package pins, the refactor answers, the products and projects the Build With and Components tables name — and are answered from there, each recorded under its source's label ([configuration-questions-guide.md](configuration-questions-guide.md), the decided-values table). The scaffolding and environment questions the genome leaves open are asked as usual ([configuration-questions-guide.md](configuration-questions-guide.md), autonomous runs).
|
|
26
28
|
|
|
27
29
|
### 1.2 Preflight discovery
|
|
28
30
|
|
|
29
31
|
Gather facts the 1.3 scaffolding questions are built from before asking anything. Discovery is silent; it never replaces the questions.
|
|
30
32
|
|
|
31
|
-
1. Run the UiPath login status check (`uip login status --output json`); record what an expired session blocks (resource refresh, publish, deploy, Test Manager attachments — local init, validate, build, pack and run still work).
|
|
33
|
+
1. Run the UiPath login status check (`uip login status --output json`) and take the session's state from `Data.Status`, never from `ExpirationDate`, which is the current access token's; record what an expired session blocks (resource refresh, publish, deploy, Test Manager attachments — local init, validate, build, pack and run still work).
|
|
32
34
|
2. Confirm runtime host and edit surface; record which target frameworks and expression languages they support.
|
|
33
35
|
3. For every skill named in Build With / Components, run that skill's discovery commands for installed packages; record activity packages and versions available to the authoring host. When a project already exists in the build location, also record its declared dependencies and versions from its manifest.
|
|
34
36
|
4. Determine candidate build location: the folder containing the genome file, never the current working directory when that is a different repository.
|
|
35
37
|
5. **Export check.** When the Source Map names a framework other than UiPath, read the export path and identity it records and check the export is where it says (manifest matches recorded identity). Record the outcome for the 1.3 scaffolding questions; derive nothing yet — that is [source-migration-guide.md § Migration preflight](source-migration-guide.md), after the questions. The framework migration pack is asked for in 1.3, not searched for here ([source-frameworks-guide.md](source-frameworks-guide.md)).
|
|
36
38
|
6. **Template check.** When the genome's Transactional Shape is not the stub ([transactional-execution-guide.md § Shape Rules](transactional-execution-guide.md)), run the owning skill's template discovery for the REFramework (`uipath-rpa` searches the template feed) and record whether an official template is available to this host. The result informs 1.4; it never removes the 1.3 scaffolding question — the owning skill's template-selection rules decide what happens at creation when no official template is found.
|
|
39
|
+
7. **Capability discovery.** For each capability the genome uses ([configuration-questions-guide.md](configuration-questions-guide.md), Technology per capability), ask its owning skill, through the skill invoked for this discovery, how it builds it: its recommended activity package, connector or API, and the alternatives it supports, never from memory. Where the skill names none, read the docs its packages bring: each package's overview and its activities' pages.
|
|
40
|
+
- **When that discovery needs a project** (the docs an installed package brings, its activity search), create a scratch project through the skill's project-creation step, in a `scratch/` folder of the build's working folder (the `migration/` folder in a migration, [source-migration-guide.md § What the executor records](source-migration-guide.md)), outside the solution folder and with no solution registration; it is never offered as an existing project to build into. Install there the packages the options name, at the feed's latest stable versions. An install there chooses nothing for the build and takes no question: the package questions stay in 1.3.
|
|
41
|
+
- **A requirement an option carries** (an extension, an installed application, a connection, the platforms it runs on) is written as the owning skill or the package's docs state it, never from the genome or the source; one neither states is recorded as not stated, for the engineer to confirm.
|
|
42
|
+
8. **Deployed libraries.** Look for libraries earlier work deployed to the tenant feed, through the owning skill's tenant library search, its keywords the genome's library components and the capabilities of step 7. Its candidates are options, never a question of their own: install each in the scratch project, where there is one, and read its activities. A deployed library that holds a library component's public workflows, or a capability, is an option of the question that component or capability falls under (Library layout, Technology per capability): named by package id and version, with the workflows it lacks and the arguments that differ from the genome's Interface, and Recommended for a library component when it lacks no workflow. The search's result goes to the owning skill with the scaffolding answers, so its own search at project creation asks nothing they settle. No candidate is recorded as none found, and nothing is asked.
|
|
43
|
+
9. **Genome gaps.** A gap discovery shows in the genome — a requirement of the source's platform written as the target's, a handoff the target runs another way, a fact the build cannot read, a step that handles a secret as the owning skill forbids (on a command line, through the clipboard) — is a genome edit. A gap that needs someone to choose (two statements of the genome that disagree, the source's mechanism against the owning skill's way) is a question with its options, asked with the scaffolding questions, its answer a genome edit offered as [configuration-questions-guide.md](configuration-questions-guide.md) rule 4b offers one. Every other gap is stated as where the genome states it, what is wrong, the fact that shows it and the fix; the build builds that fix and lists the gap under the report's Differences from the genome ([completion-report-guide.md](completion-report-guide.md)). `prepare` writes both kinds into the readiness file's Genome edits ([prepare-guide.md](prepare-guide.md) § The readiness file).
|
|
37
44
|
|
|
38
45
|
### 1.3 Configuration questions — never skipped
|
|
39
46
|
|
|
@@ -141,7 +148,7 @@ After the test project exists, migrate each data set from the derived data catal
|
|
|
141
148
|
|
|
142
149
|
Component genome: after all groups, connect steps built by different skills (a coded workflow invoking a XAML workflow, a shared state file, a main entry point calling the others). Edit, then re-validate touched files.
|
|
143
150
|
|
|
144
|
-
Process genome: implement every Handoffs row with the named mechanism: queue item (queue declared as a solution resource), start job, Flow or BPMN invoke of a sibling component, Action Center task, file drop. Confirm each component's Interface matches the data the Handoffs row passes.
|
|
151
|
+
Process genome: implement every Handoffs row with the named mechanism: queue item (queue declared as a solution resource), library workflow call (the library consumed as a package), Invoke Process of a sibling process, start job (waited for with its outputs read, or left, as the row says), Flow or BPMN invoke of a sibling component, Action Center task, file drop. Confirm each component's Interface matches the data the Handoffs row passes.
|
|
145
152
|
|
|
146
153
|
Then refresh the solution's resources and pack it per the `uipath-solution` skill; on failure follow that skill's diagnosis. Without a tenant login, resource refresh, publish and deploy are out of reach; that skill's pack dry run, resolving packages from the local feed when libraries come from it, still proves the solution packs and is the last local gate, and a failure there takes the same diagnosis as pack.
|
|
147
154
|
|
|
@@ -15,12 +15,11 @@ Rules:
|
|
|
15
15
|
2. **A component genome's `Part of:` line links its process genome**: the build reads the Source Map rows that describe the whole source — Source framework, Source export, Requested change, Inventory, Not covered, Unused and Related resources — from that process genome, and a standalone component genome carries them itself. A component reached through a process genome's links is inside it, with or without the line.
|
|
16
16
|
3. **Detail lives at the lowest level that owns it.** The build reads a component's steps, rules, error handling and criteria in its component genome, and what spans components (process map, handoffs, shared platform dependencies, the transactional shape, cross-cutting rules, end-to-end criteria, deployment) in the process genome.
|
|
17
17
|
4. **Every section is present**: a section the build cannot find is an edit for `uipath-planner` ([execution-guide.md § 1.1](execution-guide.md)), never a section to infer.
|
|
18
|
-
5. **
|
|
19
|
-
6. **Shared behaviour is one library component**: a project of its own, published to a feed and installed in its consumers as a package, never a project of the solution (§ Deployment). The build packs it before its consumers, and each consumer's steps call it as they call any library; only the Library layout answer of execution's configuration questions folds it into a consumer. What one or a few activities do (close an application, append a line to the run's log, send one mail) stays a step of each consumer.
|
|
18
|
+
5. **Shared behaviour is one library component**: a project of its own, published to a feed and installed in its consumers as a package, never a project of the solution (§ Deployment). The build packs it before its consumers, and each consumer's steps call it as they call any library; only the Library layout answer of execution's configuration questions folds it into a consumer. What one or a few activities do (close an application, append a line to the run's log, send one mail) stays a step of each consumer.
|
|
20
19
|
|
|
21
20
|
## File Naming and Location
|
|
22
21
|
|
|
23
|
-
- Slug: split CamelCase on capitals, lowercase, hyphens for spaces, strip other characters. "Invoice Processing" → `invoice-processing`; "InvoiceIntake" → `invoice-intake`; "Email Triage & Routing" → `email-triage-routing`.
|
|
22
|
+
- Slug: split CamelCase on capitals, lowercase, hyphens for spaces and underscores, strip other characters. "Invoice Processing" → `invoice-processing`; "InvoiceIntake" → `invoice-intake`; "Email Triage & Routing" → `email-triage-routing`.
|
|
24
23
|
- A process genome's components are at `<process-slug>-genome/<component-slug>-genome.md`.
|
|
25
24
|
|
|
26
25
|
## Build With and Components
|
|
@@ -35,7 +34,7 @@ One skill per row names the build skill that owns each component. **The build fi
|
|
|
35
34
|
|
|
36
35
|
## Platform Dependencies
|
|
37
36
|
|
|
38
|
-
Every Orchestrator
|
|
37
|
+
Every Orchestrator, Integration Service and other UiPath service resource the build declares or reads, one table per kind: queues (item fields, unique reference, retries, who adds and works the items), assets (type, and the fixed value or the Configuration Question that asks it), credentials (account, system), storage buckets, connections (connector, identity), Data Fabric entities, triggers (what each starts, kind, schedule and time zone, runners). The build declares each under the name the genome gives it, and the open items hand each over with the settings its row states. A transactional flow's queues and triggers are its As-is, and the split answers change them.
|
|
39
38
|
|
|
40
39
|
**Credentials: one credential asset per login account**, named after the account or persona, with its environment or tenant; never collapse several accounts onto one login. 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. 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. Execution-side declaration: [execution-guide.md § 2.2](execution-guide.md), credentials; naming from a source's accounts: [source-migration-guide.md § Credentials](source-migration-guide.md).
|
|
41
40
|
|
|
@@ -61,6 +60,18 @@ Every other value is a fact, built where the genome writes it (the Workflow subs
|
|
|
61
60
|
|
|
62
61
|
A grouped question names every key it holds, and execution maps each key. A question saying "required: empty ends the run" marks a value whose emptiness changes the flow instead of failing, and execution guards it. Execution asks its own questions (scaffolding, and the split questions when the Transactional Shape is not the stub); the genome holds none of them.
|
|
63
62
|
|
|
63
|
+
A question keeps its number for as long as the genome lives: one the genome no longer needs reads `N. Withdrawn: {why}.` and is not asked.
|
|
64
|
+
|
|
65
|
+
## Open Decisions
|
|
66
|
+
|
|
67
|
+
Every point the genome leaves to a person, one numbered entry each: a component's points in its genome, those spanning components in the process genome. An entry is open — `({tier}; answered by: {role}; …)` — or settled — `(decided {date}: {answer})`, `(withdrawn: {why})` — and keeps its number either way. The tiers:
|
|
68
|
+
- **business outcome:** what is written to a system of record, sent and to whom, which item is worked, skipped, charged or paid, an amount;
|
|
69
|
+
- **run behaviour:** how a run counts, retries, recovers, stops, logs or reports;
|
|
70
|
+
- **reading:** an inferred point with no outcome of its own;
|
|
71
|
+
- **material:** an object or file the build needs that nobody has supplied.
|
|
72
|
+
|
|
73
|
+
An open entry builds what it says the genome `builds now`, otherwise its `recommended` option or its `reading`, until someone answers it; the build asks the business outcomes and the material ([configuration-questions-guide.md](configuration-questions-guide.md), Open decisions) and lists the others in the report as unconfirmed. A marked line names its entry: `*[Inferred: D3]*`, `*[Inferred: process D3]*`, or `*[Inferred: CQ2]*` for a value a Configuration Question asks.
|
|
74
|
+
|
|
64
75
|
## Workflow
|
|
65
76
|
|
|
66
77
|
Each step `N. **{Step name}**` keys its row in the Source Map's step table by number and heads its Business Rules and Error Handling entries by name. A `###` heading is one entry point; a shared step under its own heading is built once, and each entry point continues into the step its last step names. A step that calls an automation the source does not hold calls a Platform Dependency the rebuild does not build. Substeps carry the fields, conditions, validations and transformations.
|
|
@@ -85,7 +96,7 @@ The execution report's verdicts and a comparison of two runs cite each criterion
|
|
|
85
96
|
|
|
86
97
|
## Ambiguity Marker
|
|
87
98
|
|
|
88
|
-
A line ending `*[Inferred]*` is the writer's best interpretation where the source or the description was unclear. The build builds the line as written and lists every
|
|
99
|
+
A line ending `*[Inferred: D<n>]*` is the writer's best interpretation where the source or the description was unclear, its Open Decisions entry the question about it. The build builds the line as written and lists every marked line it relied on in the report.
|
|
89
100
|
|
|
90
101
|
## Process Genome Sections
|
|
91
102
|
|
|
@@ -95,11 +106,15 @@ One row per edge between components — mechanism, data schema passed, and what
|
|
|
95
106
|
|
|
96
107
|
### Deployment
|
|
97
108
|
|
|
98
|
-
Packaging, entry points,
|
|
109
|
+
Packaging and route, entry points, the runtime and the data kept out of the logs: the build creates the projects the packaging names and honours the runtime and the log rule; the buildable projects are named explicitly. The environments themselves (tenants and folders, robot accounts, machines) are not the genome's: the build asks what it needs and hands the rest over in the open items. A standalone component genome has no Deployment: its entry point and how it runs are in Interface, how it starts in the Triggers table. A library is listed with the feed it is published to, apart from the solution's projects. With test components, Deployment names exactly one test project and one Test Manager test set per test component.
|
|
99
110
|
|
|
100
111
|
## Design Links
|
|
101
112
|
|
|
102
|
-
`>
|
|
113
|
+
`> Preferences: [{title}]({relative path})` names the preferences file the genome was written to: the build reads it before the first question as a file of answers ([configuration-questions-guide.md](configuration-questions-guide.md) rule 4).
|
|
114
|
+
|
|
115
|
+
An SDD beside a genome with no `Designed in:` line is written from the genome for people; the SDD a `Designed in:` line links gets its Action Required section written from the genome. The build reads only that section of either, as answers ([configuration-questions-guide.md](configuration-questions-guide.md) rule 4a).
|
|
116
|
+
|
|
117
|
+
`> Designed in: [{SDD title}]({relative path to the SDD}) · sdd-sha256 {SDD_FINGERPRINT}` ties the genome to the SDD it derives from. The build reads no other SDD content for it: the SDD's decisions are already in the sections that hold them and are read as answered. The build does not compare the fingerprint: `uipath-planner` keeps a designed genome current ([execution-guide.md](execution-guide.md) § 1.1).
|
|
103
118
|
|
|
104
119
|
## Source Map
|
|
105
120
|
|
|
@@ -113,8 +128,8 @@ Extracted genomes only: where every part of the genome came from. A genome witho
|
|
|
113
128
|
|
|
114
129
|
1. **One row per Workflow step**; a test component's steps are its test cases.
|
|
115
130
|
2. **Source objects** are the objects whose behaviour the step implements, primary first: a rebuild that keeps the source's names names the step's file or workflow after it. A framework source's object is `` `Name` (id) `` or `` `Name` (id, {locator}) `` — the id identifies the copy; a UiPath source's is its project-relative path, a test case with its `testCaseId`.
|
|
116
|
-
3. **Data sets** are the data sets the step
|
|
117
|
-
4. **Captures** is the number of
|
|
131
|
+
3. **Data sets** are the data sets that drive the step — the rows or items it is run over — or `none`; a configuration table, a file the step writes or a URL is in Notes.
|
|
132
|
+
4. **Captures** is the number of screenshots the source takes in the step, never a count of recorded UI actions; the build checks the rebuild's evidence against it.
|
|
118
133
|
5. **Notes** is free text no check reads.
|
|
119
134
|
|
|
120
135
|
**Unused parts.** A kept workflow nothing invokes is built like any other step. Parts in the `Not covered` or `Unused` row are left out of the build unless translated first.
|
|
@@ -7,7 +7,7 @@ The two live phases of a migration's UI targets ([ui-target-migration-guide.md](
|
|
|
7
7
|
1. **Drive it yourself, read-only, outside the healing pass's runs.** Open pages, menus and lists, type into a field to make a popup appear, and cancel out; never submit, save or confirm. Where a step the run does not take blocks the way — a sign-in, since the run never types a password, or a page reached only through a step that writes — ask the user to get past that step, then carry on.
|
|
8
8
|
2. **Leave the machine as it was.** Record the window baseline before driving and close only the windows the build opened, as the owning skill's run procedure prescribes; never close what the Live application answer says must stay open.
|
|
9
9
|
3. **Use the UIA package's live capabilities** — driver default, attribute listing, selector evaluator, target validation, snapshot reload, element-interaction probes ([selector-translation-guide.md](selector-translation-guide.md) rule 15) — with their syntax routed from the package guide. Stale refs are normal: every capture re-mints them, a driver-default call can invalidate the refs of the capture it read from, and a click that re-renders a widget (a search box or prompt moving into a popup) invalidates its refs too; re-capture rather than retry.
|
|
10
|
-
4. **A comparable instance is checked through copies.** Copy the definition to a scratch file,
|
|
10
|
+
4. **A comparable instance is checked through copies.** Copy the definition to a scratch file, give the copy that instance's scope, and run the validator against the copy with values present on that screen for its selector variables — the project's own definitions and scope are never pointed at the other instance.
|
|
11
11
|
5. **Captures and probes work in a scratch project in the working folder**, on the build's package versions, never in a project of the build — exploration's, the contract probe's and the healing pass's recaptures alike: every live command that captures names the scratch project, because a definition generated from a capture stores the capture's screenshot, whatever the screen showed, in that project's `.screenshots/` folder, and the owning skill's target-capture procedure registers what it finds in that project's Object Repository. Probe workflows are written there too; what a probe settles goes into the notes, so no part of the offline migration runs one.
|
|
12
12
|
|
|
13
13
|
## Exploring — before the targets are derived
|
|
@@ -30,8 +30,6 @@ Explore once the migration preflight has derived the catalogs and before the tar
|
|
|
30
30
|
6. **Fix the rule before the family is derived**, then re-run steps 2–4 on a second instance of the family.
|
|
31
31
|
7. **Record in the notes**: the driver's default, the shape the family ships with, the collisions found, and the label the family carries — `verified` or `shape-verified` — and why. A family left unexercised is recorded as such, and a *partly* exercised one says which part — an editable grid cell whose row and column matched but whose input was never reached is not the same as a cell that was never seen.
|
|
32
32
|
|
|
33
|
-
**Seeds.** During the walk, exploration resolves the seed definitions the contract probe and the offline migration copy — a screen seed from the first page's window and an element seed from one element on it, with the driver's defaults and before any sign-in — into the working folder ([offline-definition-workarounds-guide.md § Starting-point definition file](offline-definition-workarounds-guide.md)).
|
|
34
|
-
|
|
35
33
|
### Contract probe — before the first part that authors
|
|
36
34
|
|
|
37
35
|
A contract is a shape the build repeats across files: the card that attaches to a window and the scope its targets carry, how a dialog is checked for and how it is acted on, how a table cell is read, a pattern helper with its verify, the input method on a card. Per-file validate and build check that each copy is well-formed, not that the shape acts on the application, so a wrong contract validates and builds in every file it reaches and shows only in the healing pass. Once the target spec is written and the shared decisions fix the build's contracts, and before the first part that authors:
|
|
@@ -51,8 +49,9 @@ Walk the read-only rows of the live checks screen by screen:
|
|
|
51
49
|
|
|
52
50
|
1. **Validate each element's strict step** with target validation, the screen in the state the element needs; a parametrised element at two values of each selector variable (two rows, two captions).
|
|
53
51
|
2. **An element that does not resolve, or resolves another node, is captured again** with the owning skill's target-capture procedure, in the scratch project (§ Driving the application, item 5), given its semantic description as the element to find. Take the selector the driver gives for the node found, and put each selector variable of the spec entry back in the attribute that carries the varying part; keep the window's scope unless the live window proves it wrong. Edit the spec entry — the selector, and the description wherever it explains the selector, its variables or the search it makes — and let the run's target tool replace the element, then validate again. A fix that shows the family's rule was wrong is applied to the family's other elements, each validated.
|
|
54
|
-
3. **
|
|
55
|
-
4. **
|
|
52
|
+
3. **An element that resolves keeps only what its node needs.** A selector translated without seeing the screen carries what the source's way of finding decided ([selector-translation-guide.md](selector-translation-guide.md) rule 17). Give it the node's own `tag` where it has none, drop each criterion that no state the step meets needs, and replace workflow logic that repeats a choice by place on screen with one target only where that target resolves the node the logic kept in every state the step meets, as an in-place edit ([ui-target-migration-guide.md § UI targets — pipeline](ui-target-migration-guide.md), linking item 1) that closes the logic's run row; otherwise the logic and its run row stay. Validate again.
|
|
53
|
+
4. **On a comparable instance only the family samples are checked** (§ Driving the application, item 4), and the family's elements take its label.
|
|
54
|
+
5. **Close each row** with its state, and change the element's label in its description in place ([ui-target-migration-guide.md](ui-target-migration-guide.md) rule 2). The `run` rows, and the elements of a screen only a run reaches, stay open for the runs.
|
|
56
55
|
|
|
57
56
|
### Runs — only on the user's yes
|
|
58
57
|
|
|
@@ -84,7 +83,7 @@ Where the answer is Neither, each UI activity gets the owning skill's placeholde
|
|
|
84
83
|
|
|
85
84
|
## Anti-patterns
|
|
86
85
|
|
|
87
|
-
1. **Deriving the target spec before exploring a reachable application, or exploring it without writing the notes
|
|
86
|
+
1. **Deriving the target spec before exploring a reachable application, or exploring it without writing the notes.** The offline migration then goes back to the application for the windows, the clean start, the input method and the grid shapes, and the spec ships the rules the driver would have corrected (§ Exploring).
|
|
88
87
|
2. **Starting the offline migration on a reachable application without a contract probe.** A wrong contract then validates and builds in every file it reaches, and only the healing pass finds it (§ Contract probe).
|
|
89
88
|
3. **Submitting, saving or confirming outside the runs, or running them when the user did not allow it or on data the user did not name** (§ Driving the application, § Runs).
|
|
90
89
|
4. **Taking a step's success for a healed target** — a fallback, an empty read, a wrong pick — **or a family sample on a comparable instance for a check of every target** (§ Live healing pass).
|