@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,166 +0,0 @@
1
- # Extraction Guide — genome from an existing automation
2
-
3
- Read source, then write a genome that reads as authored: behavioural, generalized, replication-grade, provenance confined to the Source Map. Content rules: [genome-format-guide.md](genome-format-guide.md). Framework specifics: source guide. Never ask the user what the automation does; artifacts tell you.
4
-
5
- ## Source Guides
6
-
7
- A UiPath source is read with [uipath-source-guide.md](uipath-source-guide.md). Any other source is read through the framework migration pack: resolve it, select the framework row, run its script and read its source guide in full before Step 1, exactly as [SKILL.md § Source Frameworks](../SKILL.md) states. No pack, or no row matches → stop as that section says. Do not improvise an extraction from an unknown framework.
8
-
9
- ## Pipeline
10
-
11
- ### Step 1 — Detect
12
-
13
- Run source guide's Detection table against the given path. Decide:
14
- - **Framework** (which source guide).
15
- - **Level:** the projects the rebuild needs decide it ([genome-format-guide.md § Two Levels](genome-format-guide.md)). A solution or multi-project bundle → process genome; a single project or workflow → component genome, unless the source guide's § Component Detection maps its parts to two or more projects.
16
- - **Missing manifest:** proceed from artifact files; every value that would have come from the manifest is `*[Inferred]*`.
17
-
18
- **Ask for related resources** once, with the pack question when that is asked: "Besides the automation, do you have other resources for this process (PDD, SOP, runbooks, test evidence, recordings, tickets)? Paths or links, or none." Skip it when the request names them or says none; when the request says to proceed without questions, ask it in Step 7 instead. Never search for resources the user did not give. For a UiPath source the same message asks where it runs: "Does it run in Orchestrator? Name the folder, and I will read its processes, triggers, bindings and job history without changing anything." That deployed state is source, not a related resource: the binding a process overrides is the value that runs ([uipath-source-guide.md § Deployed State](uipath-source-guide.md)).
19
-
20
- **Ask the two extraction questions in the same message**, with `AskUserQuestion`, each skipped where the request answers it. Neither is a question about what the automation does: both are answered before anything is measured, and the plan states what each answer means for this source (Step 2b). When the request says to proceed without questions, the plan states each default instead.
21
-
22
- | Topic | Question | Options (first = Recommended) |
23
- |---|---|---|
24
- | Unused parts | Should the genome also carry the parts of the source nothing uses today — a library workflow, entry point or test case nothing in the export calls, a workflow no step invokes — so the rebuild keeps them for a caller to come? Commented-out code is never extracted. | Only what the entry points reach (Recommended): the genome describes what runs, the Source Map names the unused parts, and a partial re-extraction adds any of them later; also the unused live surface — library workflows, entry points and test cases nothing in the export calls, whose callers may sit outside it; every unused part — also the workflows, pages and helpers no caller invokes |
25
- | Subagents *(the host lets the orchestrator choose the parts' model)* | If the reading runs in parts, which model do the parts run on, and how many parts run at once? | The options of [parts-guide.md](parts-guide.md) item 8, the orchestrator's model first |
26
-
27
- The answers are shared decisions, written into the brief of a reading in parts ([parts-guide.md](parts-guide.md) item 1).
28
-
29
- ### Step 2 — Inventory
30
-
31
- List every file per project, classify with source guide's Inventory table, drop everything in its Exclusions. Record artifact types present; read only those Signals sections of the source guide.
32
-
33
- ### Step 2b — Size the source and plan the reading
34
-
35
- Measure what extraction will read before reading any of it. For a pack source, write the per-object renderings the source guide says to read (one bot's dump, one process's rendering) for every object into the working folder (a scratch folder outside the genome's folder, kept until edits are offered) with one command loop, and take their sizes; for a UiPath source, take the sizes of the files as read, after its designer-noise filter. Sum them per folder and per component candidate (source guide § Component Detection), list the largest objects, and count the entry points and test cases. Measure apart the **unused parts**: enabled objects no entry point reaches, as the source guide's call-graph rules find them — a library workflow, entry point or test case no step is built from, and a workflow, page, method, helper or node no caller invokes. Disabled and commented-out steps, objects reached only through disabled calls, a duplicate of an object the genome carries, a branch whose conditions prove it dead (Step 4) and what the source guide's call-graph rules call dead are never unused parts: they stay out of every genome. Tokens are about bytes ÷ 4.
36
-
37
- From these numbers choose the level, the components, and whether the reading runs in parts. **Parts are mandatory when the source to read exceeds one part's budget, about 400 KB (100K tokens).** A part reads its objects and its fixed reads (this guide, the format guide, the template, the source guide, the brief) and writes its output within one context: a compaction summary carries none of the source it read, and every turn resends the whole context, so cost grows faster than the reading.
38
-
39
- State the plan in one message before the first object is read: level, components, the parts with their objects and bytes, the unused parts with their bytes and which of them the Unused parts answer takes, the model the parts run on and how many run at once as the Subagents answer sets them, the fixed reads every part repeats, the total read, and that consumption is a multiple of that total because every turn resends the context. The message also names every object the source calls that the export does not hold, and asks once for its export: a callee is source, asked for and never searched for. One given later is read by [editing-guide.md § Partial Re-extraction](editing-guide.md); one never given is written as [genome-format-guide.md § Workflow](genome-format-guide.md) states for an automation the source does not hold. Then continue without waiting for a reply: the plan is the agent's own choice, stated so the user can redirect it, never put to them for confirmation. How the extracted unused parts are written: [extracted-genome-guide.md § Source Map](extracted-genome-guide.md). Parts: [extraction-parts-guide.md](extraction-parts-guide.md).
40
-
41
- ### Step 3 — Extract signals
42
-
43
- Per artifact, in inventory order, using source guide's signal tables. Collect into working notes (not the genome) grouped by component:
44
-
45
- | Signal class | Feeds |
46
- |---|---|
47
- | Steps and actions, with `DisplayName` or node labels | Workflow |
48
- | Conditions, switches, loops, gateways, expressions | Business Rules, Workflow substeps |
49
- | Try/catch, retry, error ports, boundary events, SLAs, escalations | Error Handling |
50
- | Arguments, schemas, variables, data objects | Interface, Workflow data annotations |
51
- | Applications, connectors, URLs, connection references | Target Applications |
52
- | Invocation edges inside a component | Call graph → step order |
53
- | Invocation edges across components, queues, tasks, events | Handoffs (process genome) |
54
- | Triggers, schedules, entry points | Workflow step 1, Deployment |
55
- | Queues, assets, credentials, buckets, connections, folders | Platform Dependencies |
56
- | Per-item iteration with per-item outcomes: queue item fetch and status updates, a loop over rows or files with a per-item catch, a work-list read; framework state machines and their configuration workbook | **Transactional Shape** — unit of work and its alternatives, the As-is (produced by, consumed by, item store, coordination, item kinds, step groups), the outcomes, the split options derived with rule 8's table and the evidence ([transactional-shape-guide.md](transactional-shape-guide.md)); never a verdict; the framework's plumbing is not steps (source guide's framework section) |
57
- | Hardcoded literals and configuration keys: paths, URLs, addresses, names, thresholds, columns | Configuration Questions for the open ones; every other one in the step, rule or handler that uses it ([genome-format-guide.md § Configuration Questions](genome-format-guide.md)) |
58
- | Test cases, eval sets, assertions | Acceptance Criteria evidence |
59
- | Prompts and instructions (agents) | Business Rules (paraphrased) |
60
- | UI control recognition data (object maps, selectors, XPaths) | **Not written** ([extracted-genome-guide.md § Source Map](extracted-genome-guide.md)). Read source guide's target inventory (scratch folder) for each control's type and the actions applied to it — they decide substep wording; record counts in the Source Map. A selector a test asserts as a value (a generated, validated or matched selector compared with its expected text) is a comparison literal, not recognition data: written verbatim in its step |
61
- | Composite UI actions (type-ahead picks, menu paths, option lists, find-row-then-act, keystrokes to the focused element) | Workflow substeps carrying the full interaction contract ([genome-format-guide.md § Workflow](genome-format-guide.md)); wording per source guide's § Composite actions |
62
- | Data-driving rows (recordsets, data sheets) | **Not written.** Literals are placed like hardcoded ones (row above); row schemas feed Interface and test components' row tables; rows stay in the export |
63
- | Login accounts used per scenario | Platform Dependencies: one credential asset per account ([genome-format-guide.md § Platform Dependencies](genome-format-guide.md)) |
64
- | Screen capture steps | **Evidence policy**: counted in the Source Map, rebuilt at their positions (below) |
65
- | Where everything came from | **Source Map** — the migration contract ([extracted-genome-guide.md § Source Map](extracted-genome-guide.md)) |
66
-
67
- Read every relevant file. No sampling, no "the helpers are similar".
68
-
69
- **Values are read, not inferred from their rendering.** Run the source guide's renderer self-test first when it has one. Every fact of the kinds [extracted-genome-guide.md § Source values](extracted-genome-guide.md) lists is written as the source states it. A fact the rendering does not show is read from the source object before it is written; a fact that cannot be read is flagged `*[Inferred]*` and named in the Source Map, never filled with a plausible number.
70
-
71
- **Wrappers are not components.** A library that exists only to drive a technology through an identity passed to it — find the element by id, then click, type, read — is the source's substitute for a driver. Its calls are UI steps of the component that makes them, on the element the identity names; the identities are that component's UI targets (recorded in the Source Map's inventory with the recorder's captures), and the library's logon, session and certificate workflows are what remains of it as a component. The source guide's § Component Detection names such wrappers per framework.
72
-
73
- **Related resources.** Read each resource from Step 1 after the source's signals. The source decides behaviour: a resource never adds, removes or changes a step, rule or value. It only settles what the source cannot show (purpose, actors, why a rule exists, volumes, success criteria), and a line it settles loses `*[Inferred]*`. List each resource in the Source Map's `Related resources` row with what it settled, or "not read" and why. Record every disagreement with the source in `Resource discrepancies`, never in the body.
74
-
75
- **Evidence policy.** A source whose steps are dense with screen captures (settle-wait, full-desktop capture, next interaction) is recording its audit trail, not choosing verification points. The rebuild keeps every capture as a screenshot at its point, as it keeps log lines ([source-migration-guide.md § Source steps that are not UI actions](source-migration-guide.md)); never write one as a genome step — count them in each step's Captures cell of the Source Map's step table ([extracted-genome-guide.md § Source Map](extracted-genome-guide.md)). State the policy once per component, in Error Handling (in Error Handling and Recovery for a process genome, with the test-execution facts under Deployment): the source's density, that every capture is rebuilt where the source takes it and none is added, plus a screenshot on every failure. Give it an acceptance criterion: evidence not asserted is evidence nobody notices is missing. Read where the captures sit to say who owns the evidence (inside reusable sub-processes and none in the roots → library produces it, test cases collect it; in the roots → the opposite). Platform mapping: `uipath-test` owns execution evidence (screenshots and attachments per test case in Test Manager); the robot's own screenshot-on-failure covers the failure half; both belong under Platform Dependencies / Deployment, never in Build With. Log lines on almost every step are the same audit trail in text: state their density in the same place, that the rebuild logs where the source logged and adds its own logs only at business milestones and decisions ([source-migration-guide.md § Source steps that are not UI actions](source-migration-guide.md)), and that the rebuild keeps writing the source's log file, with the readers the export shows (a mail that attaches it, a step that parses it). Add a Configuration Question offering the job's log in Orchestrator instead (constant; default: the file, as the source writes it) — the export cannot show readers outside it, so dropping the file is the user's decision. Which step kinds count as checkpoints for the Source Map: source guide's § Evidence.
76
-
77
- ### Step 4 — Build graphs
78
-
79
- - **Call graph per component** with source guide's Call Graph Rules → ordered workflow steps. An invocation made from a result or error route (run this process when the step fails) is an edge too, a conditional one; objects named alike are separate nodes — every edge names its callee by id, a step is described from the copy its caller runs, and two live copies are both carried. An unused part (Step 2b) becomes steps or a Source Map row as the Unused parts answer decides (Step 1). Dead code goes to the Source Map — but a branch is dead only when the conditions on every path to it contradict it for every value; prove that from the condition text before writing "dead" (an inner `contains X` under an outer `is empty OR contains X` is reachable for every value the outer condition admits). A wrong dead-code row drops behaviour from the build, and execution never edits the genome to restore it.
80
- - **Handoff graph across components** from cross-component edges → Components order and Handoffs table. Each edge records mechanism, data passed, and failure behaviour visible in the source (error port, retry, boundary event, dead-letter queue). Every edge — or intra-component phase boundary — that hands items one by one (a queue, a file drop, a work table, a mailbox, a work-list file) is a **candidate flow** of the Transactional Shape: it starts a flow of its own only when its items are independent of the upstream item and the phases are separated; a store the same job fills and empties with each upstream item's own children (a mail's attachments, a report's work list and its rows) is a level of one unit of work, not a second flow; a component that takes items of one flow and creates independent items of the next is a chain ([transactional-shape-guide.md](transactional-shape-guide.md) rules 11–13).
81
-
82
- ### Step 4b — Verify every suspected source defect
83
-
84
- A finding that the source misbehaves is a suspected defect until two passes settle it — the full rendering, then the framework's source itself — and it is written by its classification: [defect-verification-guide.md](defect-verification-guide.md).
85
-
86
- ### Step 5 — Infer complexity (component)
87
-
88
- | Signal | Simple | Medium | Complex |
89
- |---|---|---|---|
90
- | Workflow files or nodes carrying logic | 1-3 | 4-8 | 9+ |
91
- | Distinct target applications or connectors | 1-2 | 3-4 | 5+ |
92
- | Entry points or triggers | 1 | 1-2 | 3+ |
93
- | Conditional branches (if / switch / gateway / decision) | 0-3 | 4-10 | 11+ |
94
- | Error-handling constructs | 0-1 | 2-3 | 4+ |
95
- | Composite UI interactions carrying a contract (type-ahead pick, custom option list, segmented or picker date, menu path, row-by-content, dialog answer) | 0-1 | 2-4 | 5+ |
96
- | Test cases of a test component, or checkpoints they assert (take the higher) | 1-3 cases / ≤6 checkpoints | 4-8 / 7-20 | 9+ / 21+ |
97
- | Platform resources (queues, assets, buckets, connections) | 0 | 1-2 | 3+ |
98
- | Human-in-the-loop waits | 0 | 0 | 1+ |
99
-
100
- A **test component** is rated by its test cases and the checkpoints they assert; a **library** by its public workflows, counted as its workflow files, with the library as one entry point. Neither takes the population matrix's step minimums ([genome-format-guide.md § Population Matrix](genome-format-guide.md)).
101
-
102
- Count only the rows that apply to the component: the composite UI row is left out for a component that drives no UI, the test row for one that is not a test component. Take the level most counted rows land on; ties go lower. Process genomes: [genome-format-guide.md § Complexity](genome-format-guide.md).
103
-
104
- ### Step 6 — Map signals to sections
105
-
106
- Write the **process genome first** (when applicable), then each **component genome**.
107
-
108
- | Section | From |
109
- |---|---|
110
- | Overview | Purpose synthesised from names, targets, data flow. Author's voice. Inferred intent gets `*[Inferred]*`. |
111
- | Target Applications / Actors and Systems | Resolved applications (source guide § Target Resolution). Human lanes, escalation recipients, task assignees become actors. |
112
- | Build With / Components | Source guide § Component Detection → skill per component; [skill-mapping-guide.md](skill-mapping-guide.md) decision tree for steps inside a hybrid component. Test components: one test project, typed and laid out per [genome-format-guide.md § Build With / Components](genome-format-guide.md). |
113
- | Platform Dependencies | Source guide § Platform Resources. Keep source resource name. Credential asset per login account ([genome-format-guide.md § Platform Dependencies](genome-format-guide.md)). |
114
- | Interface | Arguments, schemas, entry points. Must agree with the Handoffs rows touching this component. |
115
- | Configuration Questions | Open values only: `N. {Question}? ({setting | constant}; default: {source value})`; every fixed value in the section where it acts ([genome-format-guide.md § Configuration Questions](genome-format-guide.md)). |
116
- | Workflow / Process Map | Ordered from call graph; substeps for every multi-field, conditional, or transforming step; `(input: …; output: …)` annotations. |
117
- | Business Rules | Conditions translated per format guide, attached to their step. Agent prompts paraphrased into rules. |
118
- | Error Handling | Constructs translated to behaviour, attached to their step; `### Global` for global handlers. The business/system classification of per-item outcomes goes to the Transactional Shape. |
119
- | Transactional Shape | Source guide's transactional signals, written per [transactional-shape-guide.md](transactional-shape-guide.md) rules 8, 10 and 11: the As-is exactly as the source has it (its queues, statuses, tags, locks, ledgers, parent and child levels, robot count), the split options derived from the signals for the unit of work and for each alternative unit, with what each requires and changes, the evidence as facts; candidates carry `*[Inferred]*`; no unit of work → the stub; no verdict, no role word in Components; framework files go to the Source Map as a `Framework files` row. |
120
- | Handoffs | One row per cross-component edge from Step 4. |
121
- | Acceptance Criteria | One per step, per transformation, per rule, per handler, plus edge cases. Existing test cases and eval sets become criteria directly (behavioural wording). |
122
- | Deployment | Solution vs independent packages, triggers, folders from manifest and bindings. Count buildable projects: non-test components plus exactly one test project when test components exist. |
123
- | Complexity, Tags | Step 5; applications + domain + platform features. |
124
- | Source Map | The step table: per Workflow step its source objects, data sets and captures ([extracted-genome-guide.md § Source Map](extracted-genome-guide.md)); component → project in a process genome. The unused parts the Unused parts answer left out, dead code, unresolved references, inferred steps, every suspected-defect finding with its classification and one Verification row per component ([defect-verification-guide.md](defect-verification-guide.md)). Plus migration-contract rows of Step 6b. |
125
-
126
- ### Step 6b — Complete the Source Map as the migration contract
127
-
128
- Fill every row [extracted-genome-guide.md § Source Map](extracted-genome-guide.md) lists: framework, export root path and identity, the step table of every component genome (each step's source objects, the data sets its own objects read, its captures), checkpoints per step of a test component and of every library step a test component calls (source guide's § Evidence says which step kinds count), inventory counts. The call graph of Step 4 gives the source objects; a caller, and a callee that is a step of its own, go to the step's Notes. Nothing is written beside the genome.
129
-
130
- Check the genome before offering edits. Run the source guide's inventory into a scratch folder **outside the genome's folder** (a temp directory, or one deleted after the check), then:
131
-
132
- ```bash
133
- python3 "<SKILL_DIR>/scripts/check-genome.py" <process|component> "<GENOME_MD>" --profile strict --processes "<PROCESS_INVENTORY>" --recordsets "<RECORDSET_LIST>"
134
- ```
135
-
136
- Use `python` on Windows. Pass the process genome, which takes the checker to every component genome through the Components table, or a standalone component genome. It checks the format rules, and each step table against the export: every source object and data set resolves to an object of that name, every Workflow step has exactly one row, and a library step built from a copy the built roots do not reach is flagged. It prints one `FAIL` line per miss and exits 1 while one remains. Fix every miss and run it again, at most three rounds; what is left after the third is named when edits are offered (Step 7). Execution runs the same check at preflight and meets every gap left.
137
-
138
- A UiPath source has no inventory script: run the check without `--processes` and `--recordsets`, then check with Glob against the project that every step table's workflow path resolves, and that every entry point, public workflow of a library or registered test case has its row or is named in the `Not covered` row, identified as [uipath-source-guide.md § Provenance](uipath-source-guide.md) states. Fix every row that fails.
139
-
140
- Before writing Configuration Questions, sort every literal and configuration key in the working notes as open or fixed per [genome-format-guide.md § Configuration Questions](genome-format-guide.md). An open value becomes a question; a fixed value is written in the step, rule or handler that uses it. A question that only its default can answer is a fixed value.
141
-
142
- ### Step 7 — Write and offer edits
143
-
144
- Write all files, each named by the slug rule ([genome-format-guide.md § File Naming and Location](genome-format-guide.md)), then, once every verdict on a suspected source defect is edited in and Step 6b's check has run, ask "Want to adjust anything?" ([genome-format-guide.md § Write, Then Offer Edits](genome-format-guide.md)). With it, name every source defect whose rebuild behaviour is the user's to rule on, and every detail left open by an intent the rebuild must follow ([extracted-genome-guide.md § Source Defects](extracted-genome-guide.md)); a ruling given is written in as that section says. When the Source Map has a `Not covered` or `Unused` row, name its objects too: a build of the genome leaves them out unless they are translated now. Edits: [editing-guide.md](editing-guide.md).
145
-
146
- ## Anti-patterns
147
-
148
- 1. **Asking what the automation does.** Read it.
149
- 2. **Transcribing an open value, or asking a fixed one.** Queue name or path in the body instead of a Configuration Question with that value as default; the mirror, a posted value, limit, wait or count the source fixes asked as a question only its default can answer ([genome-format-guide.md § Configuration Questions](genome-format-guide.md)).
150
- 3. **Code in the body:** activity names, node types, variable names, file names, selectors, expressions. Translate; provenance goes to the Source Map.
151
- 4. **Integration Service as an application.** Resolve the connector to the vendor system.
152
- 5. **Flattening a solution into one component genome**, losing handoffs between projects, or emitting one test project per business area ([genome-format-guide.md § Two Levels](genome-format-guide.md)).
153
- 6. **Treating designer metadata, generated files, or test projects as workflow logic.**
154
- 7. **Sampling files.** Every non-generated artifact is read.
155
- 8. **Leaving a section empty because the source is ambiguous.** Write the best interpretation, flag it, note it in the Source Map.
156
- 9. **Extracting the behaviour and losing the provenance** — Source Map without the export's location or without per-step source objects — or its mirror, copies of the export's catalogs beside the genome (Step 6b; [extracted-genome-guide.md § Source Map](extracted-genome-guide.md)).
157
- 10. **Flattening a composite action to its data** — "Enter Voluntary into Primary Reason" for a type-ahead pick, "choose Terminate Employee" for a two-level menu path, "select row 2" for a row found by content ([genome-format-guide.md § Workflow](genome-format-guide.md)).
158
- 11. **Transcribing blanket screen captures as steps, dropping them, or keeping only the checkpoints'.** They are the evidence policy (Step 3). A genome that mentions screenshots only in an unhandled-exception handler has dropped the suite's whole audit trail.
159
- 12. **Transcribing framework plumbing as steps** — state transitions, retry counters, status updates, screenshots on exception — or dropping the framework's configuration workbook instead of carrying each row as a Configuration Question, a fixed value where it acts, or — a row of its assets sheet — the Platform Dependency that row names; the workbook itself is none ([transactional-shape-guide.md](transactional-shape-guide.md) rule 10).
160
- 13. **Asserting a split, a store or a verdict in the Transactional Shape** — a `Recommendation` line, a role word in the Components Type cell, a Consumer row that names a mode, or a split option presented as the design — instead of the As-is, the options and the evidence ([transactional-shape-guide.md](transactional-shape-guide.md) rules 2, 3, 8).
161
- 14. **Writing a value from its rendering** — a count read as "once" because the rendering showed nothing, a case-insensitive test written as case-sensitive, a status text paraphrased or retyped with different spacing, a parsing rule worded from the command's name instead of from its use (Step 3).
162
- 15. **Making a scripting wrapper a library of verbs** — "Click by id", "Type by id" as public workflows — instead of the calling steps' UI actions on the elements its identities name (Step 3).
163
- 16. **Writing a suspected defect from a rendering.** A defect is marked only after the two passes of [defect-verification-guide.md](defect-verification-guide.md), the full rendering and then the framework's source itself. The mirror failure is just as bad: calling a rendering artefact, or a reader's own blind spot, a defect of the source. Other forms: a defect labelled "suspected" and left for the reader to check, a consequence asserted without tracing it through the bindings, and platform semantics nobody documented presented as fact.
164
- 17. **A related resource overriding the source**, or linked without being read (Step 3).
165
- 18. **Reading a source above one part's budget in one context, or fanning out before the shared decisions are fixed** — a reading cut short by compaction, components that name one asset several ways, the same question asked in several files (Step 2b, [extraction-parts-guide.md](extraction-parts-guide.md)).
166
- 19. **Rerunning a whole extraction for a changed source or a run cut short**, overwriting the steps that are still right and the user's edits with them ([editing-guide.md § Partial Re-extraction](editing-guide.md)).
@@ -1,45 +0,0 @@
1
- # Extraction Parts Guide — extract in parts and reconcile
2
-
3
- Runs when the extraction guide's sizing (its Step 2b) plans parts, under [parts-guide.md](parts-guide.md). Extraction's own agent is the orchestrator: besides the work that guide gives it, it reconciles the parts' output and writes the process genome.
4
-
5
- 1. **One part per component, reading its objects whole.** A component above one part's budget is split along its call graph: each part takes one phase's subtree (the object that runs the phase and what only it calls) and a step range the orchestrator assigns. Every object belongs to exactly one part. A part whose objects call an object another part owns names that part's step and does not describe the object.
6
- 2. **Who writes.** A part that owns a whole component writes that component's genome file. The parts of a split component write notes, and the orchestrator writes that component's genome from them. Notes go to the part's notes file in the working folder, in genome wording, so the orchestrator assembles and reconciles instead of rewording: each step of the range with its substeps, Business Rules, Error Handling entries, Acceptance Criteria and Source Map rows, then the facts the component's shared sections need (Interface, Target Applications, Platform Dependencies, open values).
7
- 3. **The shared decisions** ([parts-guide.md](parts-guide.md) item 1). The orchestrator runs the source guide's self-test and export-wide commands once, reads the export-wide renderings (an inventory profile) in full and the per-object renderings of the shared components, and writes into the brief:
8
- - the component list with file names; each part's objects and bytes, with the step range of each part of a split component;
9
- - each shared component's step numbers and public workflows with their arguments, so callers name them before that component is written;
10
- - the names of lanes, environments and every platform resource, one credential asset per login account ([genome-format-guide.md § Platform Dependencies](genome-format-guide.md));
11
- - the questions that are process-wide, asked only in the process genome;
12
- - the owner of each helper that several components call;
13
- - each part's finding-id prefix, so ids stay unique within a component's Source Map.
14
-
15
- Parts never rerun an export-wide command. They read the renderings the extraction guide's Step 2b wrote (a UiPath part reads its files), and run the direct read only to verify suspected defects ([defect-verification-guide.md](defect-verification-guide.md)).
16
- 3a. **A part may run as a fork of the orchestrator** instead of a fresh subagent, under the rule on when a fork pays ([parts-guide.md](parts-guide.md) item 5). At extraction the shared reads are the brief, the extraction guide, this guide, the format guide, the template, the source guide and the export-wide renderings of rule 3; the fork reads its own objects' renderings. A fork writes only its genome or notes file and its ledger; the brief, the process genome, the extraction guide's Step 6b check and the Reconciliation stay the orchestrator's, and its return is checked as rule 9 says.
17
- 4. **The brief** ([parts-guide.md](parts-guide.md) item 2) names, among its absolute paths, the export, the pack, the genome folder and the working folder; its reads are those of rule 6 and its return contract that of rule 8.
18
- 5. **The ledger** ([parts-guide.md](parts-guide.md) item 3), in the working folder, lists every assigned object with its state (read, steps written or noted, findings verified), and its `Resume` block names the next object. A part that ends before reading all its objects returns the unread ones. The orchestrator writes them into the Source Map as a `Not read (run cut short)` row with each object's id and flags the steps they feed `*[Inferred]*`; [editing-guide.md § Partial Re-extraction](editing-guide.md) completes them.
19
- 6. **Every part reads by plan, in at most three turns** ([parts-guide.md](parts-guide.md) item 4). Turn 1: the brief, the extraction guide, this guide, parts-guide.md, the format guide, the extracted genome guide, the component template and the source guide as the extraction guide's § Source Guides requires; the transactional shape guide when the part's objects show per-item work, and the defect verification guide at the first suspected defect, as [SKILL.md § Read Plans](../SKILL.md) opens them. Turn 2: the renderings of all the part's objects, in one message. Turn 3: only the direct reads its findings need and the sections a turn-2 read routes to.
20
- 7. **A part verifies its own suspected defects.** It runs both passes of [defect-verification-guide.md](defect-verification-guide.md) itself, since it holds the rendering and the direct read is a targeted lookup, and returns the verdicts. A finding on an object another part owns goes to the orchestrator as a new finding with its line.
21
- 8. **Return contract** ([parts-guide.md](parts-guide.md) item 6). A part returns:
22
- 1. the file written — the genome file, or the notes file;
23
- 2. counts: steps, rules, handlers, criteria, test cases;
24
- 3. target applications;
25
- 4. the Configuration Questions written, marked where another component may ask the same;
26
- 5. platform resources, each with the name used;
27
- 6. secrets found, by object and line, never the value;
28
- 7. every verdict on a suspected defect, with the fields [defect-verification-guide.md](defect-verification-guide.md) returns and the behaviour the rebuild follows;
29
- 8. cross-component calls: calling step, callee component and step, data passed, failure behaviour;
30
- 9. transactional signals: per-item constructs with object and line, for the Transactional Shape;
31
- 10. deviations from the brief, and every object left unread.
32
- 9. **Checking a return** ([parts-guide.md](parts-guide.md) item 6). Before reconciling, the orchestrator checks each part mechanically: the file exists with the counts returned, every defect has its Source Map row with lines, and every assigned object appears in a Source Map row or in the unread list.
33
-
34
- ## Reconciliation
35
-
36
- Before the extraction guide's Step 6b Source Map check and before edits are offered, the orchestrator works through every item:
37
-
38
- 1. **Questions.** A question two or more components ask moves to the process genome's Configuration Questions; each component keeps, in its own numbered list, a one-line pointer that names that number, a statement with no question mark: `N. {What it decides}: process genome Configuration Question M.`
39
- 2. **Names.** Every platform resource, lane and environment carries the brief's name in every file; each drift is renamed.
40
- 3. **Defect index.** The process genome's defect table is built from the returned verdicts ([extracted-genome-guide.md § Source Defects](extracted-genome-guide.md)).
41
- 4. **Rebuild follows.** Each defect is re-checked against that section's rule on which behaviour the rebuild follows, from the intent evidence its verdict returned. A wrong mark is corrected at the step and in the index.
42
- 5. **Code in bodies.** Search every genome file for selector tags (`<webctrl`, `<wnd`, `<html`, `<ctrl`), activity and command names, file extensions, drive and repository paths, and the source's variable syntax (source guide § Value syntax). A hit inside the Source Map is provenance and stays; so do a selector a test asserts as a value (extraction guide Step 3) and a text the source writes that [genome-format-guide.md § Provenance](genome-format-guide.md) keeps verbatim. Every other hit is translated or moved to the Source Map. Interface descriptions included ([genome-format-guide.md § Interface](genome-format-guide.md)).
43
- 6. **Cross-component calls.** Every returned call is a Handoffs row, and the Interfaces of both components agree with it. A helper several components call is described once, in its owner, and each caller names that owner's step.
44
-
45
- Then the extraction guide's Step 6b check runs over every file, and its Step 7 offers edits.
@@ -1,22 +0,0 @@
1
- # Parts Guide — work in parts, through subagents or forks, and resuming
2
-
3
- Work too large for one context runs in parts. The agent that plans the parts is the **orchestrator**: it fixes the shared decisions, writes the brief, runs the parts through subagents where the host has them or builds them itself one after another, checks each part's return against the disk, and assembles the result. The brief, the ledgers, the read plans and the returns below are the same either way; they are what a part, a new agent or a resumed session works from. What extraction's parts add: [extraction-parts-guide.md](extraction-parts-guide.md); a build's: [execution-parts-guide.md](execution-parts-guide.md).
4
-
5
- 1. **The orchestrator fixes the shared decisions before fan-out** — every decision two parts would otherwise take differently — and writes them into the brief. Each mode's parts guide lists them.
6
- 2. **One brief, written before the first part starts,** in the working folder: absolute paths, the shared decisions, the reads, the return contract, the part table with each part's state, and a numbered **Rulings** section. Every orchestrator decision taken during the run takes the next ruling number, is written before the part that builds on it starts, and overrides the brief's text above it; it reaches every later part through the brief, never only through one agent's prompt. A ruling that changes what a running part writes is also sent to that part with its number, and the part applies it to its own files; where the host cannot reach a running part, the orchestrator applies it once the part has returned. Either way the orchestrator edits no file a part still owns (item 7). Every agent is pointed at the brief and the guides instead of receiving the rules inline.
7
- 3. **A ledger per part, written through.** Every item assigned to the part carries its state, written in the turn the work lands, and the ledger opens with a `Resume` block naming the next item. A resumed part — after a pause, a compaction or in a new session — reads the brief with its rulings, its ledger and what it has written; it takes from a compaction summary only the work after the last row and confirms it on disk, re-runs its read plan, since a summary carries none of the reads it made, and continues at the next item. A part that ends before finishing returns its unfinished items. Before relaunching or resuming a part, the orchestrator reconciles its ledger with the disk and assigns only unfinished work.
8
- 4. **Every part reads by plan, in at most three turns** ([SKILL.md § Read Plans](../SKILL.md)). The plan is written before the part starts and a subagent's prompt carries it, so the part's first turn needs nothing read before it: every file the part reads, whole or by named sections, with the line count of each whole-read file above the single-read limit, so its ranges go out in turn 1. A read stops at the harness's single-read limit, so a file the plan reads whole above that limit is read as consecutive line ranges in the same turn. Another part's ledger is not read; what a part needs of another part's work reaches it through the brief.
9
- 5. **A fork starts with its owner's whole context and resends it on every turn**, so when the owner forks decides both what the fork knows and what each of its turns costs.
10
- - **When.** Fork once the shared reads are done and the shared decisions are written down, before the owner reads any one fork's material or writes a file. Forked before the shared reads, every fork pays them again or works without them; forked after, every fork carries the other forks' material and the owner's own output on every turn.
11
- - **After a compaction.** A context rebuilt from a compaction summary holds none of the mandatory reads: the owner re-runs them before it forks.
12
- - **Fork or fresh subagent.** Fork when most of the owner's context is what each fork needs; otherwise a fresh subagent with its own read plan (item 4) carries less. Each fork adds the inherited context to every one of its turns, so the number of forks trades the part's time against its token use.
13
- - **What a fork does.** It reads its own material, writes only its assigned files and runs none of the owner's shared operations (item 7). It returns the report its mode's return contract lists for its files.
14
- - **Review before accepting.** A fork's return is a claim. The owner reviews each fork's files against the material they were written from before building on them, and sends a defect back to the fork that wrote it or fixes it itself; a fork whose files were only spot-checked has not been reviewed.
15
- 6. **A part returns a verdict, never a retelling, and the return is a claim; the disk is the result.** The return accounts for each item and contract its mode's return contract lists, so it can be checked against the disk. Before accepting a part — a subagent's, a fork's, or one resumed after a compaction — the orchestrator checks it mechanically: the files the return names exist with the counts it gives, and every assigned item appears done or among the unfinished ones. A defect such a check finds goes back to the part that owns it, with the evidence.
16
- 7. **What parts share has one owner at a time** — a part or the orchestrator. Ownership passes only once the previous owner has stopped: a subagent that receives a message after its final report resumes and acts again, so before the next part starts on what the previous one owned, the orchestrator confirms that the previous part's agent is idle with no unread message. A fix goes to a part only while no later part has taken its files: the message reopens it, it owns them again, and its new report passes the check of item 6. Once ownership has passed, a note goes to the current owner or into the brief as a ruling (item 2), never to the earlier part. Only the owner edits a shared file and runs a shared operation.
17
- 8. **Parts run at most four at once, on a smaller model in a build and on the orchestrator's model in an extraction, unless the Subagents question says otherwise.** Where the host lets the orchestrator choose a subagent's model, both modes ask before the first part starts: "Which model do the parts run on, and how many parts run at once?" The options: a smaller model of the orchestrator's family, at most four parts at once; the smaller model, as many parts at once as the mode's parts guide lets run in parallel; the orchestrator's model, at most four parts at once. A build recommends the first, an extraction the last. A request that names the model or the cap answers it. In a build the smaller model suffices: the brief, the read plan and the return contract hold the part to the work, and validate, build and the orchestrator's check of the return against the disk (item 6) catch what it gets wrong, so the larger model's tokens go to the orchestrator's decisions and checks. In an extraction a part's reading becomes the genome's text, which no validate or build checks, and a value misread there is built as behaviour ([extracted-genome-guide.md § Source values](extracted-genome-guide.md)). Four is the cap because each running part adds its own stream of model calls and, in a build, its project's authoring host and CLI processes on the same machine, and its return waits for the orchestrator's check before anything builds on it. A fork runs on its owner's model and is not a part (item 5), so it does not count against the cap.
18
-
19
- ## Anti-patterns
20
-
21
- 1. **A part reading file by file.** Reads in the order files name each other, one per turn; whole reads of what a part needs only by section; another part's ledger; a read plan that gives every part the reads of all parts. Each read is replayed on every later turn of the part (items 3, 4).
22
- 2. **A fork that runs a shared operation or edits a shared file, a fork made from a context already full of the other forks' material, or a fork's files accepted after a spot-check** — two agents rewrite one file, every fork pays for material it never uses, and a dropped rule ships unreviewed (items 5, 7).