@uipath/skills 1.206.0 → 1.206.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.cursor-plugin/plugin.json +1 -1
  4. package/CODEOWNERS +34 -7
  5. package/README.md +2 -2
  6. package/package.json +2 -2
  7. package/skills/uipath-genome/SKILL.md +35 -88
  8. package/skills/uipath-genome/references/build-guide.md +61 -0
  9. package/skills/uipath-genome/references/completion-report-guide.md +93 -0
  10. package/skills/uipath-genome/references/composite-interactions-guide.md +39 -0
  11. package/skills/uipath-genome/references/configuration-questions-guide.md +68 -0
  12. package/skills/uipath-genome/references/execution-guide.md +45 -166
  13. package/skills/uipath-genome/references/execution-parts-guide.md +84 -17
  14. package/skills/uipath-genome/references/genome-reading-guide.md +153 -0
  15. package/skills/uipath-genome/references/live-application-guide.md +23 -9
  16. package/skills/uipath-genome/references/offline-definition-workarounds-guide.md +4 -4
  17. package/skills/uipath-genome/references/open-items-guide.md +3 -3
  18. package/skills/uipath-genome/references/package-doc-errata-guide.md +8 -0
  19. package/skills/uipath-genome/references/refactor-guide.md +38 -39
  20. package/skills/uipath-genome/references/selector-matching-guide.md +59 -0
  21. package/skills/uipath-genome/references/selector-translation-guide.md +13 -66
  22. package/skills/uipath-genome/references/selector-translation-sap-guide.md +7 -5
  23. package/skills/uipath-genome/references/selector-translation-web-guide.md +2 -2
  24. package/skills/uipath-genome/references/source-frameworks-guide.md +21 -0
  25. package/skills/uipath-genome/references/source-migration-guide.md +48 -19
  26. package/skills/uipath-genome/references/test-execution-guide.md +8 -7
  27. package/skills/uipath-genome/references/transactional-execution-guide.md +41 -13
  28. package/skills/uipath-genome/references/ui-target-migration-guide.md +12 -49
  29. package/skills/uipath-genome/references/ui-verification-guide.md +9 -1
  30. package/skills/uipath-maestro-case/SKILL.md +7 -7
  31. package/skills/uipath-maestro-case/references/evals/evals.json +5 -5
  32. package/skills/uipath-maestro-case/references/planning.md +5 -5
  33. package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +2 -2
  34. package/skills/uipath-maestro-case/references/plugins/sla/planning.md +1 -1
  35. package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
  36. package/skills/uipath-planner/SKILL.md +80 -199
  37. package/skills/uipath-planner/assets/templates/agent-sdd-template.md +17 -17
  38. package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +15 -13
  39. package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +19 -19
  40. package/skills/uipath-planner/assets/templates/case-sdd-task-details-template.md +173 -0
  41. package/skills/uipath-planner/assets/templates/{case/case-sdd-template.md → case-sdd-template.md} +51 -229
  42. package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +16 -14
  43. package/skills/{uipath-genome → uipath-planner}/assets/templates/component-genome-template.md +9 -5
  44. package/skills/uipath-planner/assets/templates/flow-sdd-template.md +17 -15
  45. package/skills/{uipath-genome → uipath-planner}/assets/templates/process-genome-template.md +11 -7
  46. package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +50 -73
  47. package/skills/uipath-planner/references/author/author-guide.md +119 -0
  48. package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +36 -0
  49. package/skills/uipath-planner/references/author/scenario-proposal-guide.md +30 -0
  50. package/skills/uipath-planner/references/decompose/decompose-guide.md +223 -0
  51. package/skills/uipath-planner/references/{asdd-crosswalk-guide.md → design/asdd-crosswalk-guide.md} +6 -4
  52. package/skills/uipath-planner/references/{business-rules-guide.md → design/business-rules-guide.md} +3 -3
  53. package/skills/uipath-planner/references/design/caller-request-guide.md +92 -0
  54. package/skills/uipath-planner/references/design/case-data-and-time-guide.md +292 -0
  55. package/skills/uipath-planner/references/design/case-product-guide.md +243 -0
  56. package/skills/uipath-planner/references/design/case-review-and-conformance-guide.md +166 -0
  57. package/skills/uipath-planner/references/design/design-guide.md +296 -0
  58. package/skills/uipath-planner/references/{package-selection-guide.md → design/package-selection-guide.md} +16 -13
  59. package/skills/uipath-planner/references/{rpa-product-guide.md → design/rpa-product-guide.md} +23 -53
  60. package/skills/uipath-planner/references/design/scope-recommendation-guide.md +134 -0
  61. package/skills/uipath-planner/references/design/sdd-writing-guide.md +235 -0
  62. package/skills/uipath-planner/references/design/solution-composition-guide.md +153 -0
  63. package/skills/uipath-planner/references/edit/edit-guide.md +66 -0
  64. package/skills/uipath-planner/references/extract/extract-guide.md +230 -0
  65. package/skills/uipath-planner/references/extract/source-frameworks-guide.md +22 -0
  66. package/skills/uipath-planner/references/extract/uipath-non-rpa-signals-guide.md +121 -0
  67. package/skills/uipath-planner/references/extract/uipath-rpa-signals-guide.md +88 -0
  68. package/skills/uipath-planner/references/extract/uipath-source-guide.md +193 -0
  69. package/skills/uipath-planner/references/shared/component-placement-guide.md +99 -0
  70. package/skills/{uipath-genome/references → uipath-planner/references/shared}/defect-verification-guide.md +4 -4
  71. package/skills/{uipath-genome/references → uipath-planner/references/shared}/extracted-genome-guide.md +15 -14
  72. package/skills/uipath-planner/references/shared/extraction-parts-guide.md +66 -0
  73. package/skills/{uipath-genome/references → uipath-planner/references/shared}/genome-format-guide.md +63 -34
  74. package/skills/uipath-planner/references/{multi-skill-patterns-guide.md → shared/multi-skill-patterns-guide.md} +28 -27
  75. package/skills/uipath-planner/references/{pdd-analysis-guide.md → shared/pdd-analysis-guide.md} +27 -72
  76. package/skills/uipath-planner/references/{plan-and-tasks-format.md → shared/plan-and-tasks-format.md} +43 -67
  77. package/skills/uipath-planner/references/{platform-availability-guide.md → shared/platform-availability-guide.md} +56 -1
  78. package/skills/uipath-planner/references/shared/product-selection-guide.md +202 -0
  79. package/skills/{uipath-genome/references → uipath-planner/references/shared}/skill-mapping-guide.md +24 -4
  80. package/skills/uipath-planner/references/{tenant-library-search-guide.md → shared/tenant-library-search-guide.md} +10 -8
  81. package/skills/{uipath-genome/references → uipath-planner/references/shared}/transactional-shape-guide.md +39 -8
  82. package/skills/uipath-planner/scripts/check-genome.mjs +801 -0
  83. package/skills/uipath-planner/scripts/sdd-fingerprint.mjs +71 -0
  84. package/skills/uipath-planner/scripts/sdd-to-docx.mjs +87 -0
  85. package/skills/uipath-test/SKILL.md +3 -3
  86. package/version-manifest.json +1 -1
  87. package/skills/uipath-genome/CLAUDE.md +0 -85
  88. package/skills/uipath-genome/assets/examples/artemis-2-mission-monitor-genome.md +0 -126
  89. package/skills/uipath-genome/assets/examples/classify-document-and-create-validation-genome.md +0 -117
  90. package/skills/uipath-genome/assets/examples/invoice-processing-genome/exception-triage-agent-genome.md +0 -96
  91. package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-extraction-genome.md +0 -128
  92. package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-orchestration-genome.md +0 -115
  93. package/skills/uipath-genome/assets/examples/invoice-processing-genome.md +0 -136
  94. package/skills/uipath-genome/assets/examples/purchase-requisition-entry-genome.md +0 -224
  95. package/skills/uipath-genome/assets/examples/salesforce-accounts-and-contacts-genome.md +0 -151
  96. package/skills/uipath-genome/references/authoring-guide.md +0 -98
  97. package/skills/uipath-genome/references/editing-guide.md +0 -57
  98. package/skills/uipath-genome/references/extraction-guide.md +0 -166
  99. package/skills/uipath-genome/references/extraction-parts-guide.md +0 -45
  100. package/skills/uipath-genome/references/parts-guide.md +0 -22
  101. package/skills/uipath-genome/references/uipath-source-guide.md +0 -404
  102. package/skills/uipath-genome/scripts/check-genome.py +0 -670
  103. package/skills/uipath-planner/assets/templates/case/sdd-viewer.html +0 -1530
  104. package/skills/uipath-planner/references/case/case-design-lane-guide.md +0 -327
  105. package/skills/uipath-planner/references/case/case-design-layers-guide.md +0 -503
  106. package/skills/uipath-planner/references/case/case-sdd-conformance-checklist.md +0 -123
  107. package/skills/uipath-planner/references/non-pdd-lane-guide.md +0 -196
  108. package/skills/uipath-planner/references/pdd-driven-lane-guide.md +0 -210
  109. package/skills/uipath-planner/references/product-selection-guide.md +0 -673
  110. package/skills/uipath-planner/references/sdd-generation-guide.md +0 -613
  111. package/skills/uipath-planner/scripts/docx-extract.ps1 +0 -59
  112. package/skills/uipath-planner/scripts/docx-extract.sh +0 -54
  113. package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +0 -74
  114. package/skills/uipath-planner/scripts/sdd-to-docx.sh +0 -76
  115. /package/skills/uipath-planner/references/{attended-reauth-pattern-guide.md → design/attended-reauth-pattern-guide.md} +0 -0
@@ -1,73 +1,102 @@
1
1
  # Source Migration Guide — the export's catalogs, credentials and source steps at execution
2
2
 
3
- Execution of an extracted genome migrates what the genome body leaves out: the source automation's **UI targets** (selectors) and **test data**. Both come from the export the Source Map names ([extracted-genome-guide.md § Source Map](extracted-genome-guide.md)); execution derives its catalogs from that export at build time. This guide derives them and says what each kind of source step becomes; the UI targets: [ui-target-migration-guide.md](ui-target-migration-guide.md); the test data: [test-execution-guide.md](test-execution-guide.md).
3
+ Execution of an extracted genome migrates what the genome body leaves out: the source automation's **UI targets** (selectors) and **test data**. Both come from the export the Source Map names ([genome-reading-guide.md § Source Map](genome-reading-guide.md)); execution derives its catalogs from that export at build time. This guide derives them and says what each kind of source step becomes; the UI targets: [ui-target-migration-guide.md](ui-target-migration-guide.md); the test data: [test-execution-guide.md](test-execution-guide.md).
4
4
 
5
5
  ## Migration preflight — derive the catalogs from the export
6
6
 
7
7
  Source Map names framework, export path and identity, and every step's source objects. Execution turns that into working catalogs once, before the first UI group:
8
8
 
9
- 1. Resolve the export and the framework migration pack: the recorded export path, or the paths the user gave to the scaffolding questions ([execution-guide.md § 1.3](execution-guide.md)); confirm the export's identity against the Source Map (manifest, version, process count) and select the pack's framework row ([SKILL.md § Source Frameworks](../SKILL.md)). Report a mismatch and let the user decide; a missing or declined export or pack ends the migration part of the run — live capture where the application is reachable, placeholders otherwise, stated in the report.
9
+ 1. Resolve the export and the framework migration pack: the recorded export path, or the paths the user gave to the scaffolding questions ([configuration-questions-guide.md](configuration-questions-guide.md)); confirm the export's identity against the Source Map (manifest, version, process count) and select the pack's framework row ([source-frameworks-guide.md](source-frameworks-guide.md)). Report a mismatch and let the user decide; a missing or declined export or pack ends the migration part of the run — live capture where the application is reachable, placeholders otherwise, stated in the report.
10
10
  2. Run the source guide's inventory commands (its § UI Target Locators and § Test Data name them and the files they write) into the build's working folder `<solution or project>/migration/source/`, never beside the genome.
11
- 3. Check the step tables against this export: `python3 "<SKILL_DIR>/scripts/check-genome.py" <process|component> "<GENOME_MD>" --processes "<PROCESS_INVENTORY>" --recordsets "<RECORDSET_LIST>"` (`python` on Windows), with the two files step 2 wrote. Each component genome's step table (the Source Map's `### Steps`, [extracted-genome-guide.md § Source Map](extracted-genome-guide.md)) pairs every workflow step with its source objects `` `Name` (id) ``, the data sets they read and their captures; the check proves every one resolves in the export execution resolved. Execution never edits the genome: a `FAIL` line is a genome deviation, reported for an extraction edit, and the build maps that step by hand meanwhile and records the mapping.
11
+ 3. The step tables are not re-checked here: `uipath-planner` checks them against the export when it extracts the genome. Each component genome's step table (the Source Map's `### Steps`, [genome-reading-guide.md § Source Map](genome-reading-guide.md)) pairs every workflow step with its source objects `` `Name` (id) ``, the data sets they read and their captures. A step whose objects do not resolve in the export resolved here is a genome deviation, reported for a `uipath-planner` edit; the build maps that step by hand meanwhile and records the mapping.
12
12
  3a. **Write the target spec per component, once**, when the build has UI activities: [ui-target-migration-guide.md § Target spec](ui-target-migration-guide.md). Where the Live application answer names a reachable application, explore it first and write its application notes, which the spec is derived with ([live-application-guide.md § Exploring](live-application-guide.md)); once the spec is written, the contract probe runs before any group authors ([live-application-guide.md § Contract probe](live-application-guide.md)).
13
13
  3b. **List the graph flows**, when the pack writes a shape catalog: in the run brief, each flow the catalog reads as a graph, with its reasons and the form § Source steps that are not UI actions gives it and why, so the part that builds it writes that form from its first file instead of converting a structured one.
14
- 4. **Check the source facts the genome cites, before any group builds on them.** A gap of the rendering the genome was extracted through is otherwise built as behaviour, silently ([extracted-genome-guide.md § Source values](extracted-genome-guide.md)). First run the source guide's renderer self-test when it has one; a failing self-test means every reading of that export's values is suspect until the renderer is fixed. Then, per workflow step, read from the step table's source objects every fact of those kinds that the step's wording or rules depend on, and record it in a source-fact table, one file per component (`migration/source/source-facts-<component>.md`: step, source object and line, genome says, source says) with one section per workflow step, a section for the configuration rows (each row or key: where it is read, what it means, and whether an empty value fails or silently changes the flow — the guard candidates of [execution-guide.md § 1.3](execution-guide.md) rule 8), one for facts shared by every step and one for deviations, so a group reads the sections of the steps it builds.
14
+ 4. **Check the source facts the genome cites, before any group builds on them.** A gap of the rendering the genome was extracted through is otherwise built as behaviour, silently ([genome-reading-guide.md § Source values](genome-reading-guide.md)). First run the source guide's renderer self-test when it has one; a failing self-test means every reading of that export's values is suspect until the renderer is fixed. Then, per workflow step, read from the step table's source objects every fact of those kinds that the step's wording or rules depend on, and record it in a source-fact table, one file per component (`migration/source/source-facts-<component>.md`: step, source object and line, genome says, source says) with one section per workflow step, a section for the configuration rows (each row or key: where it is read, what it means, and whether an empty value fails or silently changes the flow — the guard candidates of [configuration-questions-guide.md](configuration-questions-guide.md) rule 8), one for facts shared by every step and one for deviations, so a group reads the sections of the steps it builds.
15
15
 
16
- Where the genome and the source disagree, the kind of disagreement decides what the build follows; each is recorded as a genome deviation in the group report, and the genome is left to an extraction edit:
16
+ Where the genome and the source disagree, the kind of disagreement decides what the build follows; each is recorded as a genome deviation in the group report, and the genome is left to a `uipath-planner` edit:
17
17
  - criteria, literals, counts, waits and log texts follow the source — the translation carries criteria over unchanged ([selector-translation-guide.md](selector-translation-guide.md) rule 2 holds for value comparisons as for selectors);
18
18
  - a control-flow defect the genome does not mark, where the genome states the behaviour (a loop that never tests its new value, a flag never reset), follows the genome;
19
19
  - semantics neither the export nor the framework pack settles take the reading consistent with the source's production use, marked `*[Inferred]*`, with the other reading in the report.
20
20
 
21
- A count or wait that differs from an answered configuration value goes back to the user with both values; the answer is theirs. The table is regenerated with the catalogs and handed to every group with the run brief as its source for these facts; missing-detail lookups follow [execution-parts-guide.md](execution-parts-guide.md) item 6.
22
- 5. **Scrub secrets out of the derived catalogs, as part of preflight.** § Credentials keeps secrets out of the built automation, but the catalogs are derived from the export and the export holds the secret in more places than its variable table: a recorder writes the typed value into the step's own narrative (`Input "…" into the Password field`), so a step dump reproduces a password verbatim even when the variable itself was refused. Collect the secret-bearing values the source records (the source guide's § Test Data names where they live), replace every occurrence across the working folder with a mask, and re-run the scrub whenever the catalogs are regenerated. The check is one search of the build folder for the values; it belongs before the first group, not in the final review.
21
+ A count or wait that differs from an answered configuration value goes back to the user with both values; the answer is theirs. The table is regenerated with the catalogs and handed to every group with the run brief as its source for these facts; missing-detail lookups follow [execution-parts-guide.md § What a Build Adds](execution-parts-guide.md) item 6.
22
+ 5. **Scrub secrets out of the derived catalogs, as part of preflight.** § Credentials keeps secrets out of the built automation, but the catalogs are derived from the export and the export holds the secret in more places than its variable table: a recorder writes the typed value into the step's own narrative (`Input "…" into the Password field`), so a step dump reproduces a password verbatim even when the variable itself was refused. Collect the secret-bearing values the source records (the source guide's § Test Data names where they live), replace every occurrence across the working folder with a mask, and re-run the scrub whenever the catalogs are regenerated. The scrub rewrites only the files the run derived from the export, never a project or a copy of one, and replaces a value only where it stands whole: a short value matched inside a longer word rewrites that word. The check is one search of the build folder for the values; it belongs before the first group, not in the final review.
23
23
  6. "The target catalog", "the data catalog", "the target spec" and "the source-fact table" mean these derived files; "the step table" is the genome's own. The derived files are build artifacts of the run, never committed as source of truth: the catalogs are regenerated, never edited by hand, and the target spec changes only by the entries groups add ([ui-target-migration-guide.md § Target spec](ui-target-migration-guide.md)). A catalog that sat beside the genome is stale by definition and is not read.
24
24
 
25
25
  ## Credentials
26
26
 
27
- **Account identity migrates, secrets never.** Genome-side rule (one credential asset per account, never a secret value): [genome-format-guide.md § Platform Dependencies](genome-format-guide.md). At execution a login user name becomes a credential asset name (`<App>_Login_<USER>`) plus the tenant/environment URL recorded for that account, and both stay with the source's login data wherever the rebuild keeps it (a data row, a configuration value); the migration engine refuses passwords, tokens and secrets — they are entered in Orchestrator. Which account a step signs in as, and whether it signs in at all, is decided by the login data the source selects (its row, filter or configuration key), never by which credential assets exist: a selection that finds no account skips the sign-in or fails as the source does, even when an asset exists for an account the source did not select. How the build declares and reads each asset: [execution-guide.md § 2.2](execution-guide.md), credentials.
27
+ **Account identity migrates, secrets never.** Genome-side rule (one credential asset per account, never a secret value): [genome-reading-guide.md § Platform Dependencies](genome-reading-guide.md). At execution a login user name becomes a credential asset name (`<App>_Login_<USER>`) plus the tenant/environment URL recorded for that account, and both stay with the source's login data wherever the rebuild keeps it (a data row, a configuration value); the migration engine refuses passwords, tokens and secrets — they are entered in Orchestrator. Which account a step signs in as, and whether it signs in at all, is decided by the login data the source selects (its row, filter or configuration key), never by which credential assets exist: a selection that finds no account skips the sign-in or fails as the source does, even when an asset exists for an account the source did not select. How the build declares and reads each asset: [execution-guide.md § 2.2](execution-guide.md), credentials.
28
28
 
29
29
  ## Source steps that are not UI actions
30
30
 
31
- A source's step vocabulary is wider than "click, type, read". The source guide's step table says what each kind *means* (extraction's job); this table says what execution builds for it. Only the first two rows produce a UI activity with a migrated target — which is why a migrated project has far fewer activities than the source had steps, and why an executor that emits one activity per source step produces a project several times too large.
31
+ A source's step vocabulary is wider than "click, type, read". The source guide's step table says what each kind *means* (extraction's job); this table says what execution builds for it. Only the first two rows produce a UI activity with a migrated target — which is why a migrated project has far fewer activities than the source had steps, and why a build that emits one activity per source step produces a project several times too large.
32
32
 
33
33
  | Kind of source step | What execution builds |
34
34
  |---|---|
35
35
  | Act on a control — click, type, set state | the acting activity, target from the catalog |
36
- | Act through a packaged multi-step interaction | the pattern, not the nearest single activity ([ui-target-migration-guide.md § Composite interactions](ui-target-migration-guide.md)) |
36
+ | Act through a packaged multi-step interaction | the pattern, not the nearest single activity ([composite-interactions-guide.md](composite-interactions-guide.md)) |
37
37
  | Wait for / assert a control is shown, with a timeout | a post-condition of the step before it → that activity's `VerifyOptions`; a Check activity only where the source branched on the outcome ([ui-verification-guide.md](ui-verification-guide.md)) |
38
38
  | Assert a value — verify, compare | **read the control, then compare what it showed against the expected value.** The trap is mechanical: the source step names the control and the expected value, so a naive translation emits the expected value on both sides of the comparison and ships an assertion that can never fail. The actual side is always read at run time. The expected value and the operator come from the source's condition verbatim, like selector criteria ([selector-translation-guide.md](selector-translation-guide.md) rule 2): an equals is never loosened to a contains, and a recorded control's name is never the expected value — a recorder names a text read after what the screen showed at capture time, a sample, while the value the source compares against sits in its own condition |
39
39
  | Store / read a value for later steps | a read activity writing the variable the later steps consume; a value that crosses a workflow boundary is an **argument**, not a variable |
40
40
  | Set a locator's value at run time (placeholder rewriting) | a selector variable bound to the argument, not an activity ([selector-translation-guide.md](selector-translation-guide.md) rule 14 step 2) |
41
41
  | Label, and the jumps that target it | **structure, not activities**: a forward jump becomes a branch that skips the steps between, a backward jump becomes a loop around them. A flow the framework pack's shape catalog reads as a graph keeps its links instead — an RPA flowchart laid out from its catalog entry, which the source guide's § Call Graph Rules reads — when the Source fidelity answer keeps the source's shape and the structured version would not stay clear: several variables steering its loops, or a retry, handler or tail of real work written twice. One state variable a loop tests, a find-first in place of a loop left from inside, or a one-line outcome written in two branches keeps it structured. A label with no jump to it is a comment |
42
42
  | Comment | the name of the enclosing sequence or annotation — never an activity |
43
- | Engine setting — busy check, scroll-into-view, object timeout, input method | dropped; a timeout becomes the affected activities' timeout and an input-method switch their input mode ([ui-target-migration-guide.md § Composite interactions](ui-target-migration-guide.md)) — every activity the setting reaches until the source changes it, in called workflows too; an object timeout the source never sets is its documented default, not unknown |
43
+ | Engine setting — busy check, scroll-into-view, object timeout, input method | dropped; a timeout becomes the affected activities' timeout and an input-method switch their input mode ([composite-interactions-guide.md](composite-interactions-guide.md)) — every activity the setting reaches until the source changes it, in called workflows too; an object timeout the source never sets is its documented default, not unknown |
44
44
  | A fixed pause with a value — between two steps, after a failed attempt, before a retry | kept at its value, where it acts: before a check that waits for an outcome (a Check App State, a verify with a timeout, the element wait a check became) it joins that wait — the timeout is the pause plus the source's budget for the check; before a UI action or keystrokes it is that activity's delay-before; before a screen capture, a call or a non-UI step, and where the wait is for something outside the UI (a file operation settling, a retry back-off), it is a delay. A pause the rendering shows without a value is read from the source object before it is dropped (§ Migration preflight step 4) |
45
45
  | A call into a scripting wrapper's verb with an identity argument | the UI activity the verb names, on the element the identity names (target catalog, second channel); never a call into a library of verbs |
46
46
  | Screen capture | a screenshot at the same point — every capture, as every log line is kept: in a test project the capture verify [test-execution-guide.md § Result parity](test-execution-guide.md) rule 3 names, or the screenshot of the checkpoint it follows; elsewhere a screenshot saved as `<workflow>-<what the screen shows>.png`, unique within its workflow, in the source's capture mode. The step's Source Map row holds the count the build is checked against |
47
- | Log line | a log message at the same point, at the source's level and in its wording, with the values the rebuild carries substituted. A value with no counterpart in the rebuild is left out of the text — the status a wrapper action returned, which the acting activity replaces by raising on failure. An engine's own record of each step it runs (a stage log, a per-step result log) is not a log line: its counterpart is the robot's activity-level trace. A log the rebuild adds where the source had none marks a business milestone or decision (an item taken or finished, an outcome and its reason, a reply or mail sent, a count, a caught error with its context); narrating each activity is the robot's Verbose trace. The source's log file is rebuilt as well, since its readers can lie outside the export: every log point the source has also appends its line to that file, one helper workflow holding both. The file keeps the source's shape, so a rebuilt run's file compares line by line with a source run's; the lines the rebuild adds — its milestone logs, the framework's own — go to the robot's log only. Only the user's answer to the genome's Configuration Question replaces the file with the job's log in Orchestrator. A text file the source writes as data (a list a later step reads, a dump it parses) is a file write in the source's append or replace mode, whatever the source's command is called |
47
+ | Log line | a log message at the same point, at the source's level and in its wording, with the values the rebuild carries substituted. A value with no counterpart in the rebuild is left out of the text — the status a wrapper action returned, which the acting activity replaces by raising on failure. An engine's own record of each step it runs (a stage log, a per-step result log) is not a log line: its counterpart is the robot's activity-level trace. A log the rebuild adds where the source had none marks a business milestone or decision (an item taken or finished, an outcome and its reason, a reply or mail sent, a count, a caught error with its context); narrating each activity is the robot's Verbose trace. The job's log in Orchestrator is the run's log, and the source's own run log (a log file, a log table) is not rebuilt by default: the time, level, job, process and its version, workflow file, robot, machine and Windows user every message carries replace the fields the source wrote for them, and its other fields (a use case, a transaction id, a category) become custom log fields, a field of the whole run added in the entry workflow ([package-doc-errata-guide.md](package-doc-errata-guide.md), Add Log Fields). A source line below information level logs at Trace, which reaches the job's log only when the robot's logging level is Trace or Verbose (Information by default), so the open items name the level the source's lines need. The run log is kept as well where the genome writes it as data or where the user's answer to the genome's Configuration Question keeps it: every log point the source has then also writes its line there in the source's shape, one helper workflow holding both, so a rebuilt run's log compares entry by entry with a source run's, and the lines the rebuild adds go to the job's log only. A text file the source writes as data (a list a later step reads, a dump it parses) is a file write in the source's append or replace mode, whatever the source's command is called |
48
48
  | Call another source process | an invoke of the workflow that process became |
49
49
  | A step the source marked as skipped | dropped, unless the genome's own wording says the migration restores it — then it is built and the restoration is recorded as a deviation |
50
50
 
51
51
  Three contracts have to be closed at the end of this translation, and each fails silently when it is left open:
52
52
 
53
53
  - **Every out-argument the genome's Interface declares must be written on every path.** Source variables become arguments, but the step that produced one may sit in a branch, or may have been a store the migration dropped; the argument then ships declared, typed, and never assigned, and the caller reads an empty value from a workflow that validated cleanly. Seed each out-argument at the start and check at the end that every one is assigned somewhere; report the ones with no source counterpart rather than leaving them empty.
54
- - **The source's own variable names are not the argument names.** The genome fixes the argument names; the mapping from source variable to argument is the executor's and is recorded per workflow, so a reader can trace a value back.
55
- - **The rebuild keeps the source's names and shape; every difference has a reason.** Whoever migrated the automation compares the two side by side, and a step renamed or moved for no reason reads as a change of behaviour. A node, activity or step built from a source step the author named — a node, a stage, a test step's title — carries that name as written as its display name, emojis and numbering included where the target accepts them; a source step that has only its kind for a name (a command with no title) is named in the business's words, as a developer would name it. The source's order and branching are kept wherever the target has the same construct, and so is its tree: where the source files its objects in folders, groups or directories its owners navigate by, each workflow and test case made from an object sits at that object's path inside the project it lands in, below the part of the path the project stands for, with the path's names as written (a character a path cannot hold becomes `_`). A component groups the genome, not the tree: where several components land in one project (the test-case groups of the single test project, a library folded into its consumer, two components a split answer merges), each object keeps its own path, and components whose objects share a source folder share that folder. A workflow with no source object (a pattern helper, the configuration workflow, a failure handler) goes in a folder the build names. Which part of a path the project stands for, and which inventory field prints each object's path: the source guide's § Component Detection. A source step renamed, absorbed into another node, merged with others, split into several or dropped, and a node the rebuild adds with no source counterpart (a retry loop, a failure handler, a loop the target needs where the source worked item by item), is a row of the correspondence table (§ What the executor records) naming the target's reason: a capability the target lacks or offers, a user ruling, a source defect the genome fixes. The Source fidelity answer ([execution-guide.md § 1.3](execution-guide.md)) decides how much of this the run does: the names, the shape and the table; the names and the shape without the table; or the build's own names and grouping, each display name saying what the step does in the business's words. A refactor asks no fidelity question: [refactor-guide.md § Refactor plan](refactor-guide.md) names and groups its steps. A display name never carries a source variable name, and the target's internal ids stay its own; what a name or text the build writes never cites: [execution-guide.md § 2.2](execution-guide.md). A reader traces a step to its source through its name, the correspondence table when the run keeps one, the step table and the source-fact table, a test checkpoint through its parity table, a target through its target spec entry, and a decision through its ledger entry.
54
+ - **The source's own variable names are not the argument names.** The genome fixes the argument names, which the build writes in the building skill's argument convention (a direction prefix where that convention has one); the mapping from source variable to argument is the build's and is recorded per workflow (§ What the executor records), so a reader can trace a value back.
55
+ - **The rebuild keeps the source's names and shape; every difference has a reason.** Whoever migrated the automation compares the two side by side, and a step renamed or moved for no reason reads as a change of behaviour. A node, activity or step built from a source step the author named — a node, a stage, a test step's title — carries that name as written as its display name, emojis and numbering included where the target accepts them; a source step that has only its kind for a name (a command with no title) is named in the business's words, as a developer would name it. A workflow file or test case made from a source object is named after that object — the primary object its step-table row names, whatever the genome's step or Interface heading calls it — and a project takes the name the genome's Type cell gives it, each as written, spaces and punctuation included: packing derives a valid package id and activity class names from them, and the building skill's naming conventions (verb-noun PascalCase, no spaces) govern only the names the build chooses itself. No source platform's product term appears in the name of a deliverable — solution, project, library, package, namespace, folder, workflow file, test case or activity display name: each name above is kept as written but for the source platform's product terms the source guide's § Component Detection naming lists, and the source's business names stay as written. The source's order and branching are kept wherever the target has the same construct, and so is its tree: where the source files its objects in folders, groups or directories its owners navigate by, each workflow and test case made from an object sits at that object's path inside the project it lands in, below the part of the path the project stands for, with the path's names as written.
56
+ A file, folder or project name drops a trailing space or dot, which Windows refuses, and loses the characters it cannot hold: those Windows refuses in a file name (`\ / : * ? " < > |`), a `;`, which fails the pack anywhere in a project's path, and, in a coded workflow, whose file name is its class name, every character a class name cannot hold. A name that loses one is written in PascalCase: its letters and digits only, each word starting with a capital (`Check status: open/closed?` → `CheckStatusOpenClosed`), while its display names keep it as written. A component groups the genome, not the tree: where several components land in one project (the test-case groups of the single test project, a library folded into its consumer, two components a split answer merges), each object keeps its own path, and components whose objects share a source folder share that folder. A workflow with no source object (a pattern helper, the configuration workflow, a failure handler) goes in a folder the build names. Which part of a path the project stands for, and which inventory field prints each object's path: the source guide's § Component Detection.
57
+ A source step renamed, absorbed into another node, merged with others, split into several or dropped, and a node the rebuild adds with no source counterpart (a retry loop, a failure handler, a loop the target needs where the source worked item by item), is a row of the correspondence table (§ What the executor records) naming the target's reason: a capability the target lacks or offers, a user ruling, a source defect the genome fixes. The Source fidelity answer ([configuration-questions-guide.md](configuration-questions-guide.md)) decides how much of this the run does. Two answers keep the source's names and shape and write the table, one keeping the shape only where UiPath's way does not differ; the other takes the build's own names and grouping, each display name saying what the step does in the business's words, and writes no table. A refactor asks no fidelity question: [refactor-guide.md § Refactor plan](refactor-guide.md) names and groups its steps. A display name never carries a source variable name, and the target's internal ids stay its own; what a name or text the build writes never cites: [execution-guide.md § 2.2](execution-guide.md). A reader traces a step to its source through its name, the correspondence table when the run keeps one, the step table and the source-fact table, a test checkpoint through its parity table, a target through its target spec entry, and a decision through its ledger entry.
58
+ Under the answer that keeps the shape only where UiPath's way does not differ, a source object the build would make a workflow or a library workflow of, and a control structure the source builds itself, are kept unless one or a few UiPath activities do their work, or the building skill's rule on the groups it extracts would not make the object a workflow of its own. Their work is then those activities, or the object's steps, where it is used: a source object or library workflow that clicks one button or copies one file is the click or the copy at each call, a loop that polls until a control appears is the wait of the activity acting on it, with the loop's whole budget as its timeout, and a loop that repeats an action on any failure, up to a count, and fails after the last attempt is a Retry Scope around it. Only how the work is done changes, and each change is a row of the table whose reason names the UiPath way it follows. A check the source makes before an action, raising a system exception with its own text when the control is missing, becomes that action's own failure with the activity's message, and the row's reason gives the source's text; a check that raises a business exception is a rule and stays. The libraries left merge before the first project is created: UI libraries that drive the same application, as their Target Applications name it, become one library named after that application, and a library only one other library calls joins that library when the source files both in the same folder. A library left with no workflow is none, and its targets join the Object Repository of each project acting on them. Each merge is a row of the table.
56
59
 
57
60
  ## What the executor records (no prescribed file formats)
58
61
 
59
62
  Mechanics — creating screens and elements, updating definitions, fuzzifying, linking — are the owning skill's Object Repository CLI and target-configuration guidance; read and use them as they are. The genome skill requires only that these facts end up recorded and reviewable:
60
63
 
61
64
  - per UI activity: its link-table row, whose spec entry gives the source window and control it derives from (or "none"), the strict/fuzzy selector, anchor and semantic description, the confidence tier and, through the registry, the linked OR element — one OR element per distinct node, reused across workflows;
62
- - per composite source step: pattern applied ([ui-target-migration-guide.md § Composite interactions](ui-target-migration-guide.md)), activities it expanded into, derived elements created, verify sub-step;
65
+ - per composite source step: pattern applied ([composite-interactions-guide.md](composite-interactions-guide.md)), activities it expanded into, derived elements created, verify sub-step;
63
66
  - per entity: its field per source column and the data sets and record counts of its seed; per data file: source data set(s) it was filled from and, per argument, whether the value came from the source, stayed at its default, or had no source counterpart; credentials appear as asset names and environments only;
64
- - per workflow: validate result after linking, any activity still without a target;
67
+ - per workflow: validate result after linking, any activity still without a target, and the source variable behind each argument, or none;
65
68
  - per element: its label, `verified`, `shape-verified` or `offline-unverified`, and the live checks it still owes ([ui-target-migration-guide.md § Verifying targets](ui-target-migration-guide.md)); per interaction family, where the application was explored, its verdict in the application notes;
66
69
  - per test case: result parity table ([test-execution-guide.md § Result parity](test-execution-guide.md)) — source checkpoint, expected value, UiPath assertion, evidence, compare rule — and its counts;
67
- - per component, when the Source fidelity answer keeps it: the correspondence table (§ Source steps that are not UI actions), `correspondence/<component>.md` in the hand-off folder, holding the differences only — one row per source step the target does not build under its own name, in the source's order, and one per added node; a step built under its own name has no row. Columns `Source step | Target node | Relation | Reason`: the source step as `` `Workflow` › `Name` `` (a dash for an added node), the target node by its display name in its file, the relation (`renamed`, `absorbed into`, `merged into`, `split into`, `dropped`, `added`) and the reason. The columns are the schema every executor writes, so a scorer reads the tables of every run alike; the table is written with the component and kept current with it;
70
+ - per component, unless the Source fidelity answer takes the build's own names and grouping: the correspondence table (§ Source steps that are not UI actions), `correspondence/<component>.md` in the hand-off folder, holding the differences only — one row per source step the target does not build under its own name, in the source's order, and one per added node; a step built under its own name has no row. Columns `Source step | Target node | Relation | Reason`: the source step as `` `Workflow` › `Name` `` (a dash for an added node), the target node by its display name in its file, the relation (`renamed`, `absorbed into`, `merged into`, `split into`, `dropped`, `added`) and the reason. The columns are the schema every build writes, so a scorer reads the tables of every run alike; the table is written with the component and kept current with it;
68
71
  - per source command family: what it was realised as in this build — the activity class, the property encoding the package's per-activity doc prescribed, the analyzer findings accepted — fetched at the version built against ([execution-guide.md § 2.2](execution-guide.md)).
69
72
 
70
- The target spec, the link table and the Object Repository registry carry the fields [ui-target-migration-guide.md](ui-target-migration-guide.md) § Target spec and § UI targets name; their file format, the run's target tool and any other scripting (mapping files, validators) are the executor's, within the authoring mode of [execution-guide.md § 2.2](execution-guide.md); the reports are the deliverable. The run's working files — the derived `source/` catalogs, the target specs, the registry, the link table, the brief and the ledgers, the local feed's sources files — live in one `migration/` folder of the build, out of every project; what a reader of the build needs — the configuration answers, the correspondence and parity tables, the live checks, a report per project — goes to the hand-off folder ([execution-guide.md § 3.3](execution-guide.md)).
73
+ The target spec, the link table and the Object Repository registry carry the fields [ui-target-migration-guide.md](ui-target-migration-guide.md) § Target spec and § UI targets name; their file format, the run's target tool and any other scripting (mapping files, validators) are the build's, within the authoring mode of [execution-guide.md § 2.2](execution-guide.md); the reports are the deliverable. The run's working files — the derived `source/` catalogs, the target specs, the registry, the link table, the brief and the ledgers, the local feed's sources files — live in one `migration/` folder of the build, out of every project; what a reader of the build needs — the configuration answers, the correspondence and parity tables, the live checks, a report per project — goes to the hand-off folder ([completion-report-guide.md](completion-report-guide.md)).
74
+
75
+ ## UI Target Locators
76
+
77
+ A UiPath source already holds UiPath targets: nothing is translated, everything is carried over. The build reads them from the source project the Source Map names; the derived catalog lists, per project:
78
+
79
+ | Where | What | Carry-over at execution |
80
+ |---|---|---|
81
+ | `.objects/**` (Object Repository store) | applications, screens, elements with their descriptors (strict, fuzzy, anchors, CV, semantic) | copy store into rebuilt project, or consume source UI library package; link activities by element reference. Confidence `high` (captured against live application) |
82
+ | `uix:TargetAnchorable` / `uix:TargetApp` inline in `.xaml`, keyed by workflow and activity `IdRef` | targets never promoted to Object Repository | promote to Object Repository when genome makes the workflow a library activity; otherwise carry inline. Confidence `high` |
83
+ | `Descriptors.<App>.<Screen>.<Element>` in coded workflows (resolved through `ObjectRepository.cs`) | coded references into same store | store copy covers them; generated file is regenerated by first validate |
84
+ | Legacy (`targetFramework: Legacy`) `Selector` attributes on classic activities | classic strict selectors | catalogued with confidence `medium`; rebuild routes through owning skill's legacy guidance; genome flags conversion `*[Inferred]*` |
85
+
86
+ Selectors never enter the genome body; they travel only in the catalog.
87
+
88
+ ## Test Data
89
+
90
+ A UiPath source's test data, as the build derives its data catalog:
91
+
92
+ | Where | What | Data catalog derived at execution |
93
+ |---|---|---|
94
+ | `.variations/*.json`, registered in `project.json` → `designOptions.fileInfoCollection[].dataVariationFilePath` | data rows per test case, keyed by argument name | one recordset per file, rows as-is; process inventory maps test case → file |
95
+ | Test Data Queues (`test-data add-queue` argument named after the queue), Data Service entities | external data sources | Platform Dependencies rows (queue, entity), not rows in artifact |
96
+ | `GetRobotCredential` / `GetRobotAsset` asset names, `GetCredential` | credentials and configuration already in Orchestrator | keep asset names ([genome-reading-guide.md § Platform Dependencies](genome-reading-guide.md)); no secret present in source, none written |
97
+ | Default values on test-case arguments (`this:<Class>.<Arg>` root attributes) | single-row data | recordset's only row |
98
+
99
+ A variation row holding a password-looking field (`*password*`, `*pwd*`, `*secret*`, `*token*`) is redacted and reported; the field is expected to become a credential asset name.
71
100
 
72
101
  ## Anti-patterns
73
102
 
@@ -76,4 +105,4 @@ The target spec, the link table and the Object Repository registry carry the fie
76
105
  3. Deriving an activity's XAML from a card snippet or from memory instead of from the default-XAML command *and* the package's per-activity doc ([execution-guide.md § 2.2](execution-guide.md)).
77
106
  4. Letting a secret reach the working folder because only the variable table was refused while the step text still carries it (§ Migration preflight); shipping a declared out-argument that no path ever writes (§ Source steps that are not UI actions).
78
107
  5. Building a count, a wait, a flag, a case rule or a comparison literal from the genome's wording or a rendering without reading it from the source object — an empty rendering is not an absent value, a paraphrased status text never matches the application's, and a case-insensitive test built as case-sensitive rejects valid input (§ Migration preflight step 4). Building a scripting wrapper's verbs as a library of verbs instead of UI activities on the elements its identities name ([ui-target-migration-guide.md § UI targets](ui-target-migration-guide.md), pipeline step 1).
79
- 6. Renaming a step the source author named, regrouping its steps or reordering its branches when the Source fidelity answer keeps the source's names and shape — with no correspondence row giving the target's reason when the run keeps the table — or naming a step after its source id or line (§ Source steps that are not UI actions).
108
+ 6. Renaming a step the source author named, or the file or project made from a source object, regrouping its steps or reordering its branches with no correspondence row giving the target's reason when the Source fidelity answer keeps the source's names and shape; under the answer that keeps the shape only where UiPath's way does not differ, keeping a source object, library workflow or loop whose work one or a few activities do; or naming a step after its source id or line (§ Source steps that are not UI actions).
@@ -4,7 +4,7 @@ A genome with test components adds to [execution-guide.md](execution-guide.md) t
4
4
 
5
5
  ## Test cases
6
6
 
7
- **Test components** follow the owning skill's testing guidance for shape and registration (Given-When-Then, data sources, test-case registration in the project manifest). Genome-specific rules on top: each case's data source is where § Test data keeps its data set; a source loop over data rows becomes the data source's variations with an execute-flag skip gate inside the case; constants live in the test project's configuration ([genome-format-guide.md § Interface](genome-format-guide.md); [execution-guide.md § 1.3](execution-guide.md), Test project template); checkpoints and captures are verify activities (§ Result parity rules 2–3); the case's own checkpoints and the checks the genome's rebuild text adds are its verifies, so a case whose criterion sits in the steps it calls ends with no verify of its own; every case records a one-line result the business consumer can read.
7
+ **Test components** follow the owning skill's testing guidance for shape and registration (Given-When-Then, data sources, test-case registration in the project manifest). Genome-specific rules on top: each case's data source is where § Test data keeps its data set; a source loop over data rows becomes the data source's variations with an execute-flag skip gate inside the case; constants live in the test project's configuration ([genome-reading-guide.md § Interface](genome-reading-guide.md); [configuration-questions-guide.md](configuration-questions-guide.md), Test project template); checkpoints and captures are verify activities (§ Result parity rules 2–3); the case's own checkpoints and the checks the genome's rebuild text adds are its verifies, so a case whose criterion sits in the steps it calls ends with no verify of its own; every case records a one-line result the business consumer can read.
8
8
 
9
9
  ## Rules
10
10
 
@@ -13,7 +13,7 @@ A genome with test components adds to [execution-guide.md](execution-guide.md) t
13
13
 
14
14
  ## Result parity — making a UiPath run comparable with the source's
15
15
 
16
- Whether a migrated suite reproduces the source's results is decided by whoever can compare runs — against a fresh source run when the source still executes, or against the last result log the export carries when it does not. That comparison is not the skill's job, nor is verifying the outcome. The skill's job is to make it possible: the built automation asserts at the source's checkpoints, names each assertion and its evidence by what it checks, and ships a mapping table saying which UiPath assertion and which artifact stand for each source checkpoint. The table is **static** — derived from the workflows before any run — one per test case, `parity/<TestCase>.md` in the hand-off folder ([execution-guide.md § 3.3](execution-guide.md)):
16
+ Whether a migrated suite reproduces the source's results is decided by whoever can compare runs — against a fresh source run when the source still executes, or against the last result log the export carries when it does not. That comparison is not the skill's job, nor is verifying the outcome. The skill's job is to make it possible: the built automation asserts at the source's checkpoints, names each assertion and its evidence by what it checks, and ships a mapping table saying which UiPath assertion and which artifact stand for each source checkpoint. The table is **static** — derived from the workflows before any run — one per test case, `parity/<TestCase>.md` in the hand-off folder ([completion-report-guide.md](completion-report-guide.md)):
17
17
 
18
18
  | # | Source checkpoint | Expected | UiPath assertion | Evidence | Compare |
19
19
  |---|---|---|---|---|---|
@@ -23,12 +23,13 @@ Whether a migrated suite reproduces the source's results is decided by whoever c
23
23
 
24
24
  Rules:
25
25
 
26
- 1. **Every source checkpoint has a row.** A checkpoint is a source step that asserts something (verify, compare, visible, cell check, a row search whose miss fails the step), a step the source's result log records as a check, or a capture the source took where the state was meant to be inspected; the source guide's § Evidence says which of its step kinds count. A check whose failure the source logs as a pass or ignores is not a checkpoint, a check inside a loop asserts on every pass, and a check on one branch asserts only on that branch. Extraction lists them per workflow step in the Source Map's Checkpoints row ([extracted-genome-guide.md § Source Map](extracted-genome-guide.md)). No checkpoint list, no parity.
26
+ 1. **Every source checkpoint has a row.** A checkpoint is a source step that asserts something (verify, compare, visible, cell check, a row search whose miss fails the step), a step the source's result log records as a check, or a capture the source took where the state was meant to be inspected; the source guide's § Evidence says which of its step kinds count. A check whose failure the source logs as a pass or ignores is not a checkpoint, a check inside a loop asserts on every pass, and a check on one branch asserts only on that branch. Extraction lists them per workflow step in the Source Map's Checkpoints row ([genome-reading-guide.md § Source Map](genome-reading-guide.md)). No checkpoint list, no parity.
27
27
  2. **Every row names the UiPath construct that asserts the same thing:** the verify activity the owning skill's testing guidance gives for that kind of check — for a value on screen, the verify that wraps the read — with the source's operator and case rule under the testing package's comparison rules (the normal case), or a Check activity where the source branched ([ui-verification-guide.md](ui-verification-guide.md)). The verify sits at the checkpoint's source point, in When or in a workflow the case invokes, and stops the case where the source's failure ends it; the case's Then holds the final success criterion the case's own steps check, or only its result line when the steps it calls carry the checks. A custom check — a comparison in code and a throw, a Check activity and a log line — records no assertion, so its row is `not asserted`. A checkpoint with no counterpart is a row marked `not asserted` with the reason; the report counts them.
28
- 3. **Evidence per checkpoint, named by what it checks.** Test Manager stores two texts of each checkpoint's verify, and its reader has neither the genome nor the export: the title says what is checked in the business's words (`Requisition status after submit`), unique within its workflow file, and the message format shows what was checked with the expected and the observed value (`Requisition status: expected Successfully Completed, got {…}`). Neither text carries a source id, a step number or a checkpoint prefix; its component's checkpoint map (rule 6) ties each title to its source checkpoint. The verify logs that message itself, at Info on pass and at Error on fail, so a run's log reads row by row against the table, which gives each title its source checkpoint, and through it against the source's result log, with no log line of the build's own. The failure screenshot is on for every verify. A failure that is no assertion — an element not found, a throw after a restart ceiling — has no verify to take it: the Test Automation Framework template's TryCatch records it as a failed assertion with its screenshot, and the cleanup after it, such as closing the application, is the template's teardown hook (the owning skill's testing guidance). Without the template, each case wraps its Given, When and Then in the TryCatch the template uses, since Given opens the applications and prepares the data, with its cleanup in both the Catch and the Finally. The success screenshot is on only where the source captured at that point — a capture right after the checkpoint is that checkpoint's screenshot — so the rebuild captures where the source did and nowhere else. A source capture that is no checkpoint is a verify on True titled by what the screen shows (`Position page after OK`), in the checkpoint map like a checkpoint's, its success screenshot on: the screenshot reaches the result as a checkpoint's does — evidence, not a parity row — and it never fails where the source checked nothing. A verify's screenshot covers what the testing package captures, not the source's capture mode (the owning skill's testing guidance): where the source captured one window or one element, the checkpoint's Evidence cell and the report say what the screenshot covers instead. The verify properties behind these texts: the owning skill's testing guidance. A library whose steps hold checkpoints or captures depends on the testing package.
28
+ 3. **Evidence per checkpoint, named by what it checks.** Test Manager stores two texts of each checkpoint's verify, and its reader has neither the genome nor the export: the title says what is checked in the business's words (`Requisition status after submit`), unique within its workflow file, and the message format shows what was checked with the expected and the observed value (`Requisition status: expected Successfully Completed, got {…}`). Neither text carries a source id, a step number or a checkpoint prefix; its component's checkpoint map (rule 6) ties each title to its source checkpoint. The verify logs that message itself, at Info on pass and at Error on fail, so a run's log reads row by row against the table, which gives each title its source checkpoint, and through it against the source's result log, with no log line of the build's own. The failure screenshot is on for every verify. A failure that is no assertion — an element not found, a throw after a restart ceiling — has no verify to take it: the Test Automation Framework template's TryCatch records it as a failed assertion with its screenshot, and the cleanup after it, such as closing the application, is the template's teardown hook (the owning skill's testing guidance). Without the template, each case wraps its Given, When and Then in the TryCatch the template uses, since Given opens the applications and prepares the data, with its cleanup in both the Catch and the Finally.
29
+ The success screenshot is on only where the source captured at that point — a capture right after the checkpoint is that checkpoint's screenshot — so the rebuild captures where the source did and nowhere else. A source capture that is no checkpoint is a verify on True titled by what the screen shows (`Position page after OK`), in the checkpoint map like a checkpoint's, its success screenshot on: the screenshot reaches the result as a checkpoint's does — evidence, not a parity row — and it never fails where the source checked nothing. A verify's screenshot covers what the testing package captures, not the source's capture mode (the owning skill's testing guidance): where the source captured one window or one element, the checkpoint's Evidence cell and the report say what the screenshot covers instead. The verify properties behind these texts: the owning skill's testing guidance. A library whose steps hold checkpoints or captures depends on the testing package.
29
30
  4. **The compare rule is the source's own criteria** carried over — equals, contains, present, absent, count — never tightened or loosened.
30
- 5. **Assertions the source never had are rows marked `added`:** the pattern verifications [ui-target-migration-guide.md § Composite interactions](ui-target-migration-guide.md) requires (pick acceptance the source did not verify) and the checks the genome's rebuild text states. A build adds none of its own. They do not count toward parity; they are listed so the reviewer sees the difference.
31
- 6. **Generated, not typed.** Each component whose workflows hold a checkpoint's or a capture's verify has a checkpoint map, `checkpoints/<component>.md` in the hand-off folder, written with the component — a row in the turn its verify is written — and kept current with it: one row per source checkpoint or capture the component asserts, in the source's order. Columns `Source id | Workflow | Verify title`: the id the genome's Checkpoints row or step table gives it, the workflow file holding its verify, and the verify's title. The parity table is produced by the executor's own script from the genome's Checkpoints rows of the case and of every step it calls, joined through the maps with the workflows' verify titles: a listed checkpoint with no map row, or whose mapped title its workflow no longer carries, is `not asserted`, and a mapped verify is never `added`. It needs no run, and is regenerated after every change. A table maintained by hand drifts from the project within one edit. The parity table's columns, its counts line (`source checkpoints N, asserted N, not asserted N, added N`) and the map's columns are the schema every executor writes, so tables from different runs and executors read alike; the script lives in the build's `migration/` folder and writes the tables into the hand-off folder.
31
+ 5. **Assertions the source never had are rows marked `added`:** the pattern verifications [composite-interactions-guide.md](composite-interactions-guide.md) requires (pick acceptance the source did not verify) and the checks the genome's rebuild text states. A build adds none of its own. They do not count toward parity; they are listed so the reviewer sees the difference.
32
+ 6. **Generated, not typed.** Each component whose workflows hold a checkpoint's or a capture's verify has a checkpoint map, `checkpoints/<component>.md` in the hand-off folder, written with the component — a row in the turn its verify is written — and kept current with it: one row per source checkpoint or capture the component asserts, in the source's order. Columns `Source id | Workflow | Verify title`: the id the genome's Checkpoints row or step table gives it, the workflow file holding its verify, and the verify's title. The parity table is produced by the build's own script from the genome's Checkpoints rows of the case and of every step it calls, joined through the maps with the workflows' verify titles: a listed checkpoint with no map row, or whose mapped title its workflow no longer carries, is `not asserted`, and a mapped verify is never `added`. It needs no run, and is regenerated after every change. A table maintained by hand drifts from the project within one edit. The parity table's columns, its counts line (`source checkpoints N, asserted N, not asserted N, added N`) and the map's columns are the schema every build writes, so tables from different runs read alike; the script lives in the build's `migration/` folder and writes the tables into the hand-off folder.
32
33
 
33
34
  The completion report states, per test case: source checkpoints, asserted, not asserted (with reasons), added, and where the tables are. It does not claim parity — only a comparison of runs can make that statement, and it belongs to the reviewer who holds a source result.
34
35
 
@@ -49,7 +50,7 @@ Report per project: rows and cells migrated, values kept at defaults and why, so
49
50
 
50
51
  1. **All of a test project's data sets live in its one test-data entity**, one record per source row, in the shape the owning skill's testing guidance gives (data-set name, row order, the row as JSON). A data set's name is the source's, unless another data set of the project shares it: sources reuse a name across schemas (the source's layout, table or sheet) — a case's own data set and the item set its calls bind often share the case's name — and each data set sharing a name is then qualified by its schema's name. A data-set name is a contract once a test case binds it and is never renamed; the report lists data-set name → source schema and data set. The row's keys are the source's columns as written. Every value is text: a typed value changes it as the source held it (a decimal loses its scale, a date its format), and a source that types its values into screens as text keeps parity only as text — a step that needs a number or a date converts it through the project's parse helper, under the source's format. A credential column becomes `<Column>Asset`, holding the asset name ([source-migration-guide.md § Credentials](source-migration-guide.md)).
51
52
  2. **Every data set the build uses is loaded, and only those** — a root's own, one a call binds, one a call picks by name at run time, one the run writes — so a data set several cases share is one set of records, as in the source. A data set no root and no call binds is left out and listed in the report with its source id.
52
- 3. **The entity exists in the connected tenant before a workflow that uses it is written**, as the Data Fabric scaffolding answer decides ([execution-guide.md § 1.3](execution-guide.md)), and is installed into the project before the UI automation package is (errata, Tools). An entity deleted or renamed in the tenant drops its type at the next install into a project, so every workflow using it stops compiling: the entity's name and its fields are a contract. Carry the entity through the install, one workflow that uses it, validate, build and a local run before the other workflows are written against it.
53
+ 3. **The entity exists in the connected tenant before a workflow that uses it is written**, as the Data Fabric scaffolding answer decides ([configuration-questions-guide.md](configuration-questions-guide.md)), and is installed into the project before the UI automation package is (errata, Tools). An entity deleted or renamed in the tenant drops its type at the next install into a project, so every workflow using it stops compiling: the entity's name and its fields are a contract. Carry the entity through the install, one workflow that uses it, validate, build and a local run before the other workflows are written against it.
53
54
  4. **Seed:** the records as JSON, in files of at most the batch the record insert accepts, generated by script from the data catalog with credential columns holding asset names. They are the baseline a re-seed restores and another environment loads, so they are handed over beside the open-items file, never in the project, where a file ships in the package ([open-items-guide.md](open-items-guide.md) rule 4). The build loads them as the owning skill's testing guidance states.
54
55
  5. **A root's data set is its test case's data source.** The case binds to the entity filtered on the data set's name — a data-driven cluster on any of its members' names — and every matching record is one variation, read when the run starts, so a record added or edited later runs with no republish. How the binding is written, and its limits: the owning skill's testing guidance. The argument has no default, so no copy of the data stays in the project. Three things the source did differently are reported, not rebuilt:
55
56
  - a data set with no rows today: the case shows Failed without running until a record matches (an open item);
@@ -1,10 +1,38 @@
1
1
  # Transactional Execution Guide — the transactional shape at build
2
2
 
3
- A genome whose Transactional Shape is not the stub ([transactional-shape-guide.md](transactional-shape-guide.md)) adds three things to [execution-guide.md](execution-guide.md): the split questions, the projects their answers materialise, and the REFramework surfaces each consumer project is built on. The behaviour the genome states is owed whatever the answers.
3
+ A genome whose Transactional Shape is not the stub (§ Shape Rules) adds three things to [execution-guide.md](execution-guide.md): the split questions, the projects their answers materialise, and the REFramework surfaces each consumer project is built on. The behaviour the genome states is owed whatever the answers.
4
+
5
+ ## Shape Rules
6
+
7
+ What the genome's Transactional Shape section means to the build; this guide's rules cite them by number. A **unit of work** is an item that succeeds, fails, is retried and is tracked independently of the others. UiPath realises per-item work with the **REFramework** (Robotic Enterprise Framework): a state machine that opens the applications once, takes one item at a time, classifies each item's outcome, retries system failures, records every item's status, closes the applications at the end, and reads its settings from a configuration workbook plus Orchestrator assets. A **flow** is one kind of item handed from the steps or component that produce it to the steps or component that consume it; the children an item expands into are levels of that item, not a flow of their own. Each flow is a `### Flow N` block, listed on the `Flows:` line: its unit of work and alternatives, the `| Aspect | As-is |` table (Produced by, Consumed by, Item store, Coordination, Item kinds, Step groups), the outcomes table, the Split options table (`Unit of work | Option | Requires | Changes against as-is`), the Evidence, Configuration and Traceability lines, and a `Decided:` line when a split was already chosen. The section decides no split, store, template or unit — those are the split questions' answers (§ Split questions) — except on a `Decided:` line. The behaviour written in Business Rules, Error Handling and Acceptance Criteria is owed whatever the user chooses.
8
+
9
+ 1. **Consumers.** A consumer is an RPA process (`uipath-rpa`). A library, a test-case group, a Flow, BPMN process or Case, an agent, an API workflow, a coded app and a function never consume (they may produce). `dispatcher` and `performer` name the projects a chosen split materialises.
10
+ 2. **Options A, B and C.** **Option A keeps the items in the job**: one job takes its items end-to-end on one runner — the REFramework's direct mode, or a plain loop over an in-process list — and needs no Orchestrator queue. **Options B and C keep them in an Orchestrator queue**, with exactly **one queue per unit of work and hand-off**, which any number of producers and consumers, and any number of runners of each, share: a project chain of N projects (rule 4) uses N − 1 queues, one per hand-off, named in Platform Dependencies in chain order. **C keeps both roles in one process**: one entry point and one trigger, every job produces behind a once-guard and then consumes, and every runner runs the same process. **B separates them** into processes with their own triggers; two entry points of one project are B, never C.
11
+ A source's own coordination stores — a parent queue, a populate ledger, a lock, a tag join — are facts of the Coordination row, built only when the chosen split still needs them and the user keeps them (§ Split questions). **Per-item state a queue cannot hold.** An Orchestrator queue item carries specific content fixed when it is added, a progress text while it is in progress and output data written when it completes; none of them changes once the item is final, and a fetch selects by reference alone. Where the As-is keeps state beyond that — values written after the item is added that a later attempt, run or process reads; a hand-out filtered on anything but the reference; a change to an item after it is final; the outcomes of children worked inside their parent's transaction (rule 7) — B and C need a **record store** beside the queue: one record per item, keyed by the item's reference, holding that state, while the queue keeps hand-out, lock, attempts, postponement and outcome. The Requires cells of B and C name the record store.
12
+ A source that keeps its work list in a **database the process owns** already has a shared store: the Requires and Changes cells of B and C can keep that database as the store or as the record store, and the build offers it in the store question rather than imposing a queue.
13
+ 3. **Outcomes.** The outcomes table names the rules and handlers by step. **Success**; **Business exception** — no retry, the item recorded with the reason, the run continues; **System exception** — the applications closed and reopened, the item retried the configured number of times, then recorded as failed with the reason, the run stopped after the configured number of consecutive system exceptions; **Postponed**, only when the table has the row — in a queue store the item returns to the queue with a postpone time and its attempt count untouched, in an in-process store it is written back as pending, past the limit a business exception. The counts the table states are built as written, 0 and 1 included; an authored genome asks them as Configuration Questions.
14
+ 4. **A `Decided:` line records a split already chosen**: `**Decided:** <A|B|C>, <unit> — <source>`, the source the agreed SDD, the user's request or the refactor answers (`— the refactor answers`), recorded `(from the SDD)`, `(from the request)` or `(from the refactor answers)` (§ Split questions rule 1). Its flow lists that option alone, with no Alternative units of work line. A B line may carry the **project chain**: `**Decided:** B, <unit> — <source>: <Project> → <Project>[ → <Project> …]`, two or more project names in hand-off order — the first produces, each next consumes the previous one's items and may produce for the next. A and C lines carry no chain; a B line without one means the default two projects (§ Projects from the split answers).
15
+ 5. **The recommendation is derived, never read.** The Split options cells and the Evidence line state facts and rank nothing; the build prepares its recommended option from the As-is, the Evidence line and this table. The number of runners is never an option (a deployment setting of each resulting process: A runs on one runner per job; several runners mean B or C), nor are several producers or several consumers (sub-choices of B the build asks when the As-is shows several independent sources or several item kinds):
16
+
17
+ | Signal in the source or the description | Split options it enables or excludes |
18
+ |---|---|
19
+ | One job works items end-to-end, nothing else touches them, a rerun is harmless | A viable |
20
+ | Several robots run the same process on the same items; an item must survive a run failure; a postponement or retry crosses runs | A excluded; B and C viable — C while both roles share cadence, machines, credentials and owner |
21
+ | Another process reads the items after the run (a report, an audit, an operator view) | A excluded unless the job writes a per-item record the reader can use; B and C keep the items where the reader finds them |
22
+ | Population and consumption have different natural cadences (an export published once a day, files dropped all day), or need different machines, credentials or owners | B favoured; C excluded |
23
+ | Several independent sources feed the items | B with one producer per source, or A or C reading every source in its producer steps |
24
+ | Item kinds need different applications or machines, or different attempt limits or SLAs | B with one consumer per kind and one queue per kind; otherwise one consumer with a route step |
25
+ | The source guards population with a lock or a ledger | evidence that several identical jobs ran the process, which is C's shape; C keeps a once-guard in its place (a unique reference the queue refuses twice, or the kept ledger); B with one producer job removes the need for it |
26
+ | Work happens once per parent when its children are final (a summary, a report, a close-out per file or mail) | at the child unit: every option names how that work learns its children are final (rule 7); at the parent unit: it is the transaction's last step |
27
+
28
+ When the flow's producer and consumer are **different genome components**, B is their as-is, A means the two components' roles in one process and C the two components' roles in one process that keeps the queue between them: the build materialises one project for both, records it in the completion report, and leaves the genome's Components table unchanged.
29
+ 6. **Blocks per level.** A component genome inside a process carries `Split options: per the process genome, Flow N.`: the build reads that flow's block in the process genome. A flow whose `Split options:` line reads `none` — the consumer or the producer is outside this genome — gets no split question: the build cannot divide roles it does not build.
30
+ 7. **Several levels of items are one unit of work.** A source whose items expand into children (a record into its line items, a file into its rows, a mail into its attachments) has one candidate level per generation; one is the unit of work and the other an Alternative unit of work. Whether a level is folded at build — children produced up front, several robots on one parent's children, the parent's fate derived from its children instead of kept as an item — is a build decision recorded in the completion report (§ REFramework at build). At the child level, the parent's end-of-parent work learns that its children are final the way the Split options row states; at the parent level, that work is the transaction's last step and the children are worked inside the transaction.
31
+ 8. **Chains.** When the consumer of Flow N produces the items of Flow N+1, the downstream item carries the upstream reference. **The automation creates it:** creating it is a per-item step of the upstream item, and its failure is a system exception of the upstream item — retried with it, so the downstream reference must make a second creation a duplicate the store refuses (derive it from the upstream reference); the upstream item succeeds only when its downstream item exists. **A person creates it** (a review or approval between the stages): the upstream item succeeds when it is handed to that person, and the downstream reference is the upstream reference itself. Each flow's Split options are its own; taking option A or C for two adjacent flows puts their components' roles in one process — under A the intermediate store gone only when the downstream work can run inside the upstream transaction, under C the intermediate queue kept.
4
32
 
5
33
  ## Split questions
6
34
 
7
- Asked once per **flow** of the Transactional Shape (its `### Flow N` blocks, in the order of the `Flows:` line), after the genome questions and before any scaffolding question, because the project list depends on every flow's answers. In a refactor they follow the refactor questions and are asked only for the flows whose consumer's target is an RPA process ([refactor-guide.md § Refactor questions](refactor-guide.md) rule 4). A component that takes part in several flows is resolved once, after all its flows are answered (§ Projects from the split answers). Every option is concrete; the first is **prepared from the genome** — the As-is table, the Evidence line and the derivation table of [transactional-shape-guide.md](transactional-shape-guide.md) rule 8 — and marked "(Recommended)"; the As-is option is the recommendation when the evidence favours nothing else. Questions whose condition does not hold are not asked. Each is worded as [execution-guide.md § 1.3](execution-guide.md) rules 2–2b state, a flow by its unit of work (`the flow over each invoice`), never by its number.
35
+ Asked once per **flow** of the Transactional Shape (its `### Flow N` blocks, in the order of the `Flows:` line), after the genome questions and before any scaffolding question, because the project list depends on every flow's answers. In a refactor they follow the refactor questions and are asked only for the flows whose consumer's target is an RPA process ([refactor-guide.md § Refactor questions](refactor-guide.md) rule 4). A component that takes part in several flows is resolved once, after all its flows are answered (§ Projects from the split answers). Every option is concrete; the first is **prepared from the genome** — the As-is table, the Evidence line and the derivation table of § Shape Rules rule 5 — and marked "(Recommended)"; the As-is option is the recommendation when the evidence favours nothing else. Questions whose condition does not hold are not asked. Each is worded as [configuration-questions-guide.md](configuration-questions-guide.md) rules 2–2b state, a flow by its unit of work (`the flow over each invoice`), never by its number.
8
36
 
9
37
  | Topic | Question | Options (first = Recommended, prepared from the genome) |
10
38
  |---|---|---|
@@ -12,15 +40,15 @@ Asked once per **flow** of the Transactional Shape (its `### Flow N` blocks, in
12
40
  | Split | How are the producer and consumer roles divided? | the genome's Split option rows **for the unit just chosen** — A (one process, both roles, no queue), B (a producer process and a consumer process) or C (one process, both roles, with a queue), the one the Evidence favours first (as-is when nothing favours another), each with its Requires and Changes cells; an excluded option shown last with its reason. The number of runners is not asked here: it is a deployment setting of each resulting process (Triggers) |
13
41
  | Producers *(As-is names several sources)* | One producer for every source, or one per source? | one producer with every source (as-is); one producer per source, each with its own trigger, in one project; one producer per source as separate components |
14
42
  | Consumers *(As-is names several item kinds)* | One consumer for every kind, or one per kind? | one consumer with a route step (as-is); one consumer per kind with one queue per kind; one consumer per kind sharing one queue by a reference convention — flagged fragile |
15
- | Item store | Where do the items live? | B and C: one Orchestrator queue per unit of work (under C filled and worked by the same process), plus, where the option's Requires cell names one, the record store beside it — a Data Fabric entity, or the source's database the process owns ([transactional-shape-guide.md](transactional-shape-guide.md) rule 3); A: in-process list read once per run (one runner) — no queue; the source's own database when the As-is names one the process owns ([transactional-shape-guide.md](transactional-shape-guide.md) rule 3); one queue per unit of work **plus** the source's coordination stores kept (parent queue, ledger, lock) — offered only with the reason the genome's Coordination row gives |
43
+ | Item store | Where do the items live? | B and C: one Orchestrator queue per unit of work (under C filled and worked by the same process; for a project chain, one per hand-off, N − 1 for N projects, named in Platform Dependencies in chain order), plus, where the option's Requires cell names one, the record store beside it — a Data Fabric entity, or the source's database the process owns (§ Shape Rules rule 2); A: in-process list read once per run (one runner) — no queue; the source's own database when the As-is names one the process owns (§ Shape Rules rule 2); one queue per unit of work **plus** the source's coordination stores kept (parent queue, ledger, lock) — offered only with the reason the genome's Coordination row gives |
16
44
  | Template | Build each consumer project on the REFramework template? | REFramework in the mode the store implies — queue for a queue store, direct for an in-process store, and under C the producer steps in its initialisation behind the once-guard (Recommended); plain project — the per-item loop, outcomes, retries and per-item records authored from the genome's Error Handling and Transactional Shape |
17
- | Shared steps *(B chosen; or two components' genomes describe behaviour that [genome-format-guide.md § Two Levels](genome-format-guide.md) rule 6 gives a library component the genome lacks — asked once, not per flow)* | The steps several projects need — configuration, guards, logging, run setup and cleanup, the mail client, the error mail — are duplicated or shared? | duplicated in each project (Recommended below about five steps); a common non-UI library component the executor creates, named in the report; under B also: kept in the consumer only, the producer re-implements the minimum it needs |
45
+ | Shared steps *(B chosen; or two components' genomes describe behaviour that [genome-reading-guide.md § Two Levels](genome-reading-guide.md) rule 6 gives a library component the genome lacks — asked once, not per flow)* | The steps several projects need — configuration, guards, logging, run setup and cleanup, the mail client, the error mail — are duplicated or shared? | duplicated in each project (Recommended below about five steps); a common non-UI library component the build creates, named in the report; under B also: kept in the consumer only, the producer re-implements the minimum it needs |
18
46
  | Triggers and runners | How does each resulting project start, and on how many runners? | B producer: time trigger at the as-is cadence, one runner; B consumer: queue trigger with a robot cap (Recommended) or a time trigger on the robot pool; A: one time trigger, one runner; C: one time trigger at the as-is cadence on the as-is runner count, the once-guard making a later runner's population a no-op; manual start for replays — recorded for Deployment and the open-items file; the build creates no trigger |
19
47
 
20
48
  Rules:
21
49
 
22
- 1. The split questions are asked once per flow of every Transactional Shape that is not the stub — the genome describes and never decides, so the questions are never skipped because the As-is "seemed clear". A component that is not an RPA process cannot consume ([transactional-shape-guide.md](transactional-shape-guide.md) rule 2); a genome whose As-is names one has a defect: report it and do not ask. The answers are recorded under `Scaffolding`, one line per flow, as `Split: Flow <N> (<components>) — <A|B|C> — unit <item>; producers <n> (<sources>); consumers <m> (<kinds>); runners <producer n, consumer m>; store <one queue per unit [+ record store <entity or table>] | in-process | queues + kept coordination stores: …>; template <REFramework <queue|direct> | plain> per consumer project; shared steps <duplicated | library <name> | consumer only>; triggers <…>`. A "plain" template answer changes the project template, never the behaviour owed: every outcome, retry, postponement and per-item record the genome states is still built.
23
- 2. Autonomous runs ([execution-guide.md § 1.3](execution-guide.md)): for the split questions the default, for every flow, is the As-is option with the genome's unit of work — B with a queue store when the As-is runs the producer and the consumer as separate processes or entry points; C with a queue store when one process both produces and consumes and shares its items across robots, runs or a later reader; A with an in-process store otherwise — its implied template, the record store its Requires cell names, and the As-is runner count.
50
+ 1. The split questions are asked once per flow of every Transactional Shape that is not the stub — the genome decides no split except on a `Decided:` line (below), so the questions are never skipped because the As-is "seemed clear". A component that is not an RPA process cannot consume (§ Shape Rules rule 1); a genome whose As-is names one has a defect: report it and do not ask. The answers are recorded under `Scaffolding`, one line per flow, as `Split: Flow <N> (<components>) — <A|B|C> — unit <item>; projects <project>[ → <project> …]; producers <n> (<sources>); consumers <m> (<kinds>); runners <producer n, consumer m>; store <one queue per unit | queues <queue> → <queue> … per chain hand-off [+ record store <entity or table>, written by <projects>, read by <projects>] | in-process | queues + kept coordination stores: …>; template <REFramework <queue|direct> | plain> per consumer project; shared steps <duplicated | library <name> | consumer only>; triggers <…>`. A "plain" template answer changes the project template, never the behaviour owed: every outcome, retry, postponement and per-item record the genome states is still built. A flow with a `Decided:` line — a split the agreed SDD, the user's request or the refactor answers already chose — lists that option alone: its Unit of work and Split questions are answered, never asked or confirmed, and recorded `(from the SDD)`, `(from the request)` or `(from the refactor answers)` as the line's source says; the completion report lists them. A B line's project chain (§ Shape Rules rule 4) also answers the Producers and Consumers questions: the chain is the flow's project list. A user who wants another option sends the genome back to `uipath-planner` as an edit, since the other options were never described.
51
+ 2. Autonomous runs ([configuration-questions-guide.md](configuration-questions-guide.md)): for the split questions the default, for every flow, is the flow's `Decided:` option and unit when it has one; otherwise the As-is option with the genome's unit of work — B with a queue store when the As-is runs the producer and the consumer as separate processes or entry points; C with a queue store when one process both produces and consumes and shares its items across robots, runs or a later reader; A with an in-process store otherwise — its implied template, the record store its Requires cell names, and the As-is runner count.
24
52
 
25
53
  ## Projects from the split answers
26
54
 
@@ -31,8 +59,8 @@ Rules:
31
59
 
32
60
  - Option A: the project the flow lands in — the component's own, or the one project of a merged pair above — keeps an in-process store and no queue; the producer's steps run inside the one job before its items are taken.
33
61
  - Option C: the project the flow lands in, as under A, has one entry point and one trigger, and the unit-of-work queue declared as a solution resource as under B; every job runs the producer steps first behind a **once-guard** — the unique reference the queue refuses twice, or the source's ledger when the user kept it — and then takes items from the queue, so any number of runners can start the same process without producing twice.
34
- - Option B: one genome component **materialises as several processes** — several projects, or one project whose producer and consumer entry points are each published as their own process when the As-is already has that shape — named after the component and the role — `<Component>.Dispatcher`, `<Component>.Performer`, or `<Component>.Dispatcher.<Source>` / `<Component>.Performer.<Kind>` — each created through the owning skill with that component's scaffolding answers. The genome's Components table is **not** edited; the report's Files table lists the materialised projects under their genome component with the split option that produced them.
35
- - The store answer decides the solution resources: one Orchestrator queue per unit of work (or per consumer kind) declared with the attempt limits and the unique-reference rule the Outcomes table and the Reference rule imply, unique references always when a record store keys its records by them; a record store in Data Fabric is an entity created per the Data Fabric answer ([execution-guide.md § 1.3](execution-guide.md)); a source coordination store (parent queue, ledger, lock) is declared only when the user kept it.
62
+ - Option B: one genome component **materialises as several processes** — several projects, or one project whose producer and consumer entry points are each published as their own process when the As-is already has that shape — each created through the owning skill with that component's scaffolding answers. A flow whose `Decided:` line carries a project chain (§ Shape Rules rule 4) creates exactly those projects, in that order and under those names, each consuming the queue the one before it fills. Otherwise the projects are named after the component and the role — `<Component>.Dispatcher`, `<Component>.Performer`, or `<Component>.Dispatcher.<Source>` / `<Component>.Performer.<Kind>`. The genome's Components table is **not** edited; the report's Files table lists the materialised projects under their genome component with the split option that produced them.
63
+ - The store answer decides the solution resources: one Orchestrator queue per unit of work (or per consumer kind, or per hand-off of a project chain) declared with the attempt limits and the unique-reference rule the Outcomes table and the Reference rule imply, unique references always when a record store keys its records by them; a record store in Data Fabric is an entity created per the Data Fabric answer ([configuration-questions-guide.md](configuration-questions-guide.md)) and installed by the lead agent into every project the split answer lists as writing or reading it, producers included, before the first part starts and before the project's UI automation package ([package-doc-errata-guide.md](package-doc-errata-guide.md) § Tools); a source coordination store (parent queue, ledger, lock) is declared only when the user kept it.
36
64
  - A common library chosen under "Shared steps" is created as a library project and packed first ([execution-guide.md § 1.5](execution-guide.md) items 2 and 8).
37
65
 
38
66
  **REFramework chosen** for a consumer project: create it from the REFramework template through the owning skill's project-creation step and its template-selection rules (it searches the template feed and never silently picks a Marketplace template), with the same scaffolding answers. The template's own files — the state-machine entry point, the configuration loader, the item fetch and status surfaces, retry, close and kill, screenshot — are the framework's: keep them and configure them per § REFramework at build. Never scaffold a blank project and hand-write a state machine, and never rewrite a framework file from memory.
@@ -46,20 +74,20 @@ Groups are planned per **materialised project**: a consumer project lists the su
46
74
  Build each consumer project chosen for the REFramework on the template's surfaces per the owning skill's REFramework guidance, never from memory:
47
75
 
48
76
  1. **Mode from the store answer.** A queue store: the queue named for the unit of work is wired where the template takes it (the owning skill's queue-driven mode) and the template's item fetch and status surfaces stay as shipped, apart from a record store's writes and fetch (item 1a); queue retries own the per-transaction retry, so the framework's own retry count is 0 and the source's in-phase retries (close the application, sign in again, retry the phase) stay inside the phase workflow. An in-process store (option A, the owning skill's tabular mode): a source complete at the start of the run is read once in the initialisation surface; a source the run polls until an end time (a mailbox, a drop folder) is polled by the item fetch, whose waits between polls follow the owning skill's stop-signal rule for waits inside the item fetch. The item fetch returns the next row or file, and nothing when the source is exhausted or the run ends; the status surface writes back where the Traceability line says instead of updating a queue item.
49
- 1a. **Record store.** Where the store answer adds one, each record carries the item's reference, the state the As-is keeps beyond the queue, the item's status and postpone time, and one sort key in the queue's hand-out order (items with a deadline first, then priority, then deadline, then age), since a query sorts by one field. Labels a fetch filters on (tags) are one text field, each enclosed in a delimiter and matched with it, since a text query's contains matches any substring; a matching rule of the source that the query cannot apply (case, wildcards) is finished in code. Every write goes to the record before the queue — the producer's before the add, each postponement, outcome and value a later attempt, run or process reads before the queue changes — so a failed record write fails the transaction and the queue's retry repeats it; a change to a final item writes the record alone. A fetch by reference alone stays the template's. A fetch on any other filter queries the record store for the first few candidates past their postpone time in sort-key order, shuffles those few so runners do not contend, and takes each from the queue by its exact reference until one is taken; a candidate another job took, postponed or finished is a miss, not an error, and when every candidate misses the fetch queries once more without them, then returns no item. A listing on such a filter reads the record store alone and takes nothing. The queue's lock is the only lock: a record says what to take, never who holds it. The initialisation surface first writes the final status of every record whose item is final, which a job that ended between its two writes leaves behind.
50
- 1b. **Children in the record store.** With a record store, children worked inside their parent's transaction ([transactional-shape-guide.md](transactional-shape-guide.md) rule 11) are records of their own, keyed by the parent's reference and their own. The transaction reads its parent's children in their order, and each child carries its outcome and an attempt count, limited by the outcomes table's retry count, which replaces the queue's retry for a child. One job holds a parent at a time, so a child still in progress when its parent is taken belongs to an earlier attempt and is retaken, counted as an attempt. The parent completes only when no child is new, in progress or still within its attempts.
77
+ 1a. **Record store.** Where the store answer adds one, each record carries the item's reference (with the queue's name in its key when one store serves several queues), the state the As-is keeps beyond the queue, the item's status and postpone time, and one sort key in the queue's hand-out order (items with a deadline first, then priority, then deadline, then age), since a query sorts by one field. Labels a fetch filters on (tags) are one text field, each enclosed in a delimiter and matched with it, since a text query's contains matches any substring; a matching rule of the source that the query cannot apply (case, wildcards) is finished in code. Every write goes to the record before the queue — the producer's before the add, each postponement, outcome and value a later attempt, run or process reads before the queue changes — so a failed record write fails the transaction and the queue's retry repeats it; a change to a final item writes the record alone. A fetch by reference alone stays the template's. A fetch on any other filter queries the record store for the first few candidates past their postpone time in sort-key order, shuffles those few so runners do not contend, and takes each from the queue by its exact reference until one is taken; a candidate another job took, postponed or finished is a miss, not an error, and when every candidate misses the fetch queries once more without them, then returns no item. A listing on such a filter reads the record store alone and takes nothing. The queue's lock is the only lock: a record says what to take, never who holds it. The initialisation surface first writes the final status of every record whose item is final, which a job that ended between its two writes leaves behind.
78
+ 1b. **Children in the record store.** With a record store, children worked inside their parent's transaction (§ Shape Rules rule 7) are records of their own, keyed by the parent's reference and their own, the queue's name included when one store serves several queues (item 1a). The transaction reads its parent's children in their order, and each child carries its outcome and an attempt count, limited by the outcomes table's retry count, which replaces the queue's retry for a child. One job holds a parent at a time, so a child still in progress when its parent is taken belongs to an earlier attempt and is retaken, counted as an attempt. The parent completes only when no child is new, in progress or still within its attempts.
51
79
  2. **Steps.** Consumer once-per-run steps into the application-open surface; per-item steps into the per-item process surface; at-the-end steps into the close surface. A Workflow step is a unit of the genome, not a file: the owning skill's rule for when a workflow file is worth writing decides the files, so a step of a few activities stays inline in its surface or in the workflow of the step it serves. **Where a producer's steps go follows the split**: A — the initialisation surface reads the source into the in-process list (item 1); C — the initialisation surface runs them once per job, before the first item fetch, behind the once-guard, and a failure there ends the job before any item is taken and is never retried as a transaction; B — never in the consumer: they are the producer entry point or project.
52
80
  2a. **Applications.** Beside the at-the-end steps the close surface holds, the close and kill surfaces cover every application the project opens — its Target Applications and the applications its libraries launch — as the owning skill's checklist asks: an application is not a step, so no step mapping brings it there. The source's force-closes, which an extracted genome words as cleanup, name the processes. Where the source reuses an application a previous run left open, the framework's kill at the first initialisation changes that behaviour: keeping or dropping it is a decision recorded with its reason and reported as a deviation.
53
81
  3. **Outcomes.** Every rule the outcomes table lists as a business exception is thrown as a business-rule exception carrying the genome's reason wording; everything else propagates as a system exception; a Postponed row becomes the queue postponement (or the pending write-back) with its limit; the retry and consecutive-failure counts go into the constants, from the outcomes table or from the Configuration Answers when the genome asks them. When the genome's system-exception outcome is retries **inside** the step (a re-logon count, a write attempt count) followed by a run stop, the framework's per-item retry is 0 and its consecutive-failure limit 1: the framework must neither multiply the in-step retries nor repeat a posting the step may already have made; with a queue store the queue's attempt limit is the only cross-run retry. Outcomes of the level above the item — a folder or a mail rejected before any row of it has been taken — have no transaction item yet: they are handled where the item fetch takes that container, recorded with their reason and reply as the genome says, and the fetch moves on; they are not thrown as a transaction's business exception. A stop decided outside the per-item surface (in the fetch, in the status surface) carries its reason to the end state so the job ends faulted. So does a failure of the close surface's own steps (the final mail, the clean-up) where the source's end fails the run: the framework only logs a failure there (the owning skill's End Process guidance), so the reason is set before those steps run, and each of them is contained so the others still run.
54
- 4. **Configuration.** Settings and constants from the Configuration Answers per the section's split, where the Settings store answer puts them; the Orchestrator assets from Platform Dependencies and from the settings that answer makes assets, wired as the owning skill's REFramework guide states for the template's configuration file; no secret in the configuration file. A setting the source addresses by number (a row of its configuration table) keeps that number in the configuration file, so it traces back to the source, and is read through one named member defined where the settings load: no workflow reads a setting by its number, and the guards ([execution-guide.md § 1.3](execution-guide.md) rule 8) name the same members.
82
+ 4. **Configuration.** Settings and constants from the Configuration Answers per the section's split, where the Settings store answer puts them; the Orchestrator assets from Platform Dependencies and from the settings that answer makes assets, wired as the owning skill's REFramework guide states for the template's configuration file; no secret in the configuration file. A setting the source addresses by number (a row of its configuration table) keeps that number in the configuration file, so it traces back to the source, and is read through one named member defined where the settings load: no workflow reads a setting by its number, and the guards ([configuration-questions-guide.md](configuration-questions-guide.md) rule 8) name the same members.
55
83
  4a. **State.** The run's settings, identity and reference data are one object the initialisation surface fills and no later workflow writes; an item's values travel on the transaction item or as arguments of the workflows that use them, and a workflow that changes a value takes it as an in/out argument. One mutable object handed to every workflow hides which step writes what.
56
84
  5. **Traceability.** The per-item record carries the outcome reason where the Traceability line says (queue status, progress and output; or the write-back); the template's screenshot on system exception stays.
57
- 6. **Coordination.** Source coordination the user did **not** keep (a parent queue, a ledger, a lock) is realised as what the split makes it: de-duplication on the unit-of-work queue, a derived parent view, a single producer job; what the user kept is built as declared. Under C the once-guard is the kept ledger when the user kept it, otherwise the unique-reference add on the unit-of-work queue. A kept ledger guards only when its queue refuses a second item of one reference, so it is declared with unique references, a deviation from the source's queue: without them, two runners that start together both find no ledger item and both populate. A failed ledger item still refuses its reference, so a failed population runs again only through that item's retry. Every add a guard or a derived reference ([transactional-shape-guide.md](transactional-shape-guide.md) rule 13) relies on catches the duplicate-reference refusal the add raises, which the add-item activity's doc names, and goes on — a later runner to consume, a retried item past the add; any other failure propagates. Every such realisation is a deviation from the As-is and is listed in [execution-guide.md § 3.3](execution-guide.md).
85
+ 6. **Coordination.** Source coordination the user did **not** keep (a parent queue, a ledger, a lock) is realised as what the split makes it: de-duplication on the unit-of-work queue, a derived parent view, a single producer job; what the user kept is built as declared. Under C the once-guard is the kept ledger when the user kept it, otherwise the unique-reference add on the unit-of-work queue. A kept ledger guards only when its queue refuses a second item of one reference, so it is declared with unique references, a deviation from the source's queue: without them, two runners that start together both find no ledger item and both populate. A failed ledger item still refuses its reference, so a failed population runs again only through that item's retry. Every add a guard or a derived reference (§ Shape Rules rule 8) relies on catches the duplicate-reference refusal the add raises, which the add-item activity's doc names, and goes on — a later runner to consume, a retried item past the add; any other failure propagates. Every such realisation is a deviation from the As-is and is listed in [completion-report-guide.md](completion-report-guide.md).
58
86
  7. **Checklist.** The owning skill's REFramework customisation checklist is worked through in full before the group is reported complete, and the group report lists every item as done or not applicable with the reason; no global exception handler is added.
59
87
 
60
88
  The framework's own files are configured, not authored, and are not workflow steps in the group report.
61
89
 
62
- **Alternative unit of work chosen** (§ Split questions): re-derive the As-is and the outcomes at that granularity before item 1. The unit-of-work line and the producer's reference rule take the alternative's item and reference; the steps that iterated over the genome's unit of work become a loop inside the per-item group; a rejection of one former item is recorded in the new item's outcome reason and does not end the item, unless a Business Rule rejects the whole; the outcomes table is re-read at the new level. Record the unit under `Scaffolding` and report it in [execution-guide.md § 3.3](execution-guide.md) as a deviation from the As-is, with its reason. The genome is not edited ([execution-guide.md § Anti-patterns](execution-guide.md) 6).
90
+ **Alternative unit of work chosen** (§ Split questions): re-derive the As-is and the outcomes at that granularity before item 1. The unit-of-work line and the producer's reference rule take the alternative's item and reference; the steps that iterated over the genome's unit of work become a loop inside the per-item group; a rejection of one former item is recorded in the new item's outcome reason and does not end the item, unless a Business Rule rejects the whole; the outcomes table is re-read at the new level. Record the unit under `Scaffolding` and report it in [completion-report-guide.md](completion-report-guide.md) as a deviation from the As-is, with its reason. The genome is not edited ([SKILL.md](../SKILL.md) Critical Rule 2).
63
91
 
64
92
  **Verify the group** ([execution-guide.md § 2.2](execution-guide.md) step 3): when a consumer project is built on the REFramework, the group also reports the customisation checklist complete and, where the owning skill offers a local run, drives one synthetic item through each exit — success, business exception, system exception retried, system exception stopping the run — and reports each exit as passed, failed with the observed behaviour, or not runnable; a failed exit blocks the group from being reported complete.
65
93