@uipath/skills 1.207.0-preview.1992 → 1.207.0-preview.1994

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/skills",
3
- "version": "1.207.0-preview.1992",
3
+ "version": "1.207.0-preview.1994",
4
4
  "description": "UiPath agent skills for Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, UiPath Autopilot, Kiro, Windsurf, Antigravity and Devin — RPA, UI automation, UI testing, coded agents/apps/workflows, and troubleshooting. Distributed as the UiPath Claude Code plugin.",
5
5
  "author": {
6
6
  "name": "UiPath"
@@ -1,101 +1,101 @@
1
1
  # Genome Format Guide
2
2
 
3
- Rules for genomes written by `author`, `extract`, and `edit`, or built by `uipath-genome`. Templates (`component-genome-template.md`, `process-genome-template.md`) live in `assets/templates/`.
3
+ Content rules for every genome, however produced — `author`, `extract` and `edit` write genomes; `uipath-genome` builds them. Templates (`component-genome-template.md`, `process-genome-template.md`) live in `assets/templates/`.
4
4
 
5
5
  ## Writing Rules
6
6
 
7
7
  `author`, `extract` and `edit` obey these on every write, beside the Critical Rules in SKILL.md. Each rule names its subject and the section that states it in full; the section's wording is the rule.
8
8
 
9
- 1. Choose level before writing: one buildable project is a component genome; two or more are a process genome with one component per project (§ Two Levels).
10
- 2. Infer complexity; never ask for it (§ Complexity).
11
- 3. Use replication-grade behavioral wording without activity names, variable names, paths, or code syntax in the body, except a case component's build input (§ Interface; § Workflow; § Provenance).
12
- 4. Configuration Questions contain only open values (§ Configuration Questions).
13
- 5. Include every template section, using its stub when inapplicable (§ Stub Lines).
14
- 6. Put one skill per Build With row, using only [skill-mapping-guide.md](skill-mapping-guide.md); put operate-only skills under Platform Dependencies.
15
- 7. The preamble and blueprint blockquote name `uipath-genome` as builder; the comment names `uipath-planner` as editor. Build With or Components precedes Workflow or Process Map (§ Two Levels rule 5).
16
- 8. Acceptance criteria are specific and testable (§ Acceptance Criteria).
17
- 9. Resolve ambiguity with the best interpretation plus `*[Inferred]*` (§ Ambiguity Marker).
18
- 10. Write immediately, then offer edits; edits are in place, never regeneration (§ Write, Then Offer Edits; [edit-guide.md](../edit/edit-guide.md)).
19
- 11. Composite source actions are genome contracts; `uipath-genome` turns them into patterns (§ Workflow).
20
- 12. Describe transactional shape, but record a split only when already decided. The genome asserts no split, store, template, or unit of its own. A flow's `Decided:` line records the split selected by the agreed SDD, user's request, or refactor answers ([transactional-shape-guide.md](transactional-shape-guide.md) rule 8); otherwise `uipath-genome` asks split questions.
21
- 13. After every write, review every rule, run the strict check, and fix every `FAIL` before offering edits ([SKILL.md](../../SKILL.md) § Check). `uipath-genome` builds as written.
9
+ 1. **Choose the genome level before writing**: one buildable project is a component genome, two or more a process genome with one component genome per project — § Two Levels.
10
+ 2. **Infer complexity, never ask for it** — § Complexity.
11
+ 3. **Replication-grade detail in behavioural wording**, with no activity names, variable names, file paths or code syntax in the body (a case component's build input excepted — § Interface) — § Workflow and § Provenance.
12
+ 4. **Configuration Questions carry only the values left open** — § Configuration Questions.
13
+ 5. **Every section present, always**, with a stub line where one does not apply — § Stub Lines.
14
+ 6. **One skill per Build With row, from the mapping guide only**; operate-only skills belong under Platform Dependencies — [skill-mapping-guide.md](skill-mapping-guide.md).
15
+ 7. **The preamble and the blueprint blockquote name `uipath-genome` as the skill that builds the genome, and the comment names `uipath-planner` as the skill that changes it**, and Build With (or Components) precedes Workflow (or Process Map) — § Two Levels rule 5.
16
+ 8. **Acceptance criteria are specific and testable** — § Acceptance Criteria.
17
+ 9. **Flag ambiguity, never leave gaps**: the best interpretation plus `*[Inferred]*` — § Ambiguity Marker.
18
+ 10. **Write immediately, offer edits after**; edits are in place, never a regeneration — § Write, Then Offer Edits; [edit-guide.md](../edit/edit-guide.md).
19
+ 11. **Composite source actions are contracts in the genome** — § Workflow; `uipath-genome` turns them into patterns.
20
+ 12. **The transactional shape is described; a split is recorded only when it was already decided**: the genome asserts no split, store, template or unit of its own. A flow's `Decided:` line records the split the agreed SDD, the user's request or the refactor answers chose ([transactional-shape-guide.md](transactional-shape-guide.md) rule 8); for every other flow `uipath-genome` asks the split questions.
21
+ 13. **Checked after every write**: the writer reviews every write against these rules, then runs the strict check and fixes every `FAIL` before offering edits ([SKILL.md](../../SKILL.md) § Check). `uipath-genome` builds the genome as written.
22
22
 
23
23
  ## Two Levels
24
24
 
25
25
  | Level | File | Scope | Use when |
26
26
  |---|---|---|---|
27
- | **Component genome** | `<slug>-genome.md` | One buildable project: RPA process, Flow, BPMN, agent, API workflow, coded app, function, IXP model, decision table, or case plan | One automation project; the only file for a standalone automation |
28
- | **Process genome** | `<slug>-genome.md` plus `<slug>-genome/<component-slug>-genome.md` per component | Business process realized by two or more buildable projects | A solution with ≥2 projects, a coordinator (Flow / BPMN / Case) invoking automations, or a process clearly needing ≥2 components |
27
+ | **Component genome** | `<slug>-genome.md` | One buildable project (RPA process, Flow, BPMN, agent, API workflow, coded app, function, IXP model, decision table, case plan) | Automation is one project. Only file for a standalone automation. |
28
+ | **Process genome** | `<slug>-genome.md` plus `<slug>-genome/<component-slug>-genome.md` per component | Business process realised by two or more buildable projects | Solution with ≥2 projects, coordinator (Flow / BPMN / Case) invoking other automations, or described process clearly needing ≥2 components |
29
29
 
30
- 1. **Choose the level before writing, by projects needed to rebuild:** one → component only; two or more, or a coordinator plus anything it invokes → process plus one component per project. Source units do not decide this: parts the source guide's § Component Detection maps to different project types (for example, a Flow and the RPA process it starts) require a process genome. Never flatten multiple projects or split one.
31
- - **Test components are the one exception to "one component = one project".** Every test component of a process (a group of test cases over data rows for one business area) lives in a *single* `<ProcessName>.Tests` project with one configuration for constants. Each group retains its component genome (Interface, rules, criteria); the process lists groups as components; Deployment counts one test project; each Type cell names it (§ Build With (component) / Components (process)). Never emit one test project per business area. A UiPath test project that is the whole source takes the same shape when it holds ≥2 groups: a process genome of its groups plus one shared component for its execution template and helpers; one group is a component genome. The procedures the test cases of any other source share are a library component (rule 6).
32
- 2. Put `Part of:` immediately after a process component's blueprint blockquote and link the process genome; standalone components omit it.
33
- 3. Put detail at the lowest owner: components hold component workflow, rules, errors, and criteria; processes hold only cross-component map, handoffs, shared dependencies, transactional shape, cross-cutting rules, end-to-end criteria, and deployment.
34
- 4. Every template section appears in every genome; use its stub, never omit it.
35
- 5. **Preamble is mandatory, and it routes to `uipath-genome`.** Every genome starts with `<!-- UIPATH-AUTOMATION-GENOME: component|process | ... -->`, followed by the visible template-worded blueprint blockquote after the one-liner. Both name `uipath-genome` as builder: an agent handed the file reads it before it picks a skill. The comment also names `uipath-planner` as editor: `uipath-genome` never edits one, so without that line an agent asked for a small change edits the file directly, skipping the edit rules and the checker. The preamble also prevents an agent from executing the steps instead of building the automation. Build With or Components precedes Workflow or Process Map.
36
- 6. **Shared behavior is one library component.** Shared behavior requiring more than one or a few UiPath activities — run setup and cleanup, drive mapping, a document-store client, a mail built from templates and rules of its own — is one common library component: a separate project, published to a feed and installed as a package in consumers, never part of the solution's projects (§ Deployment). Consumers call it; do not duplicate or fold it into a consumer unless the user's Library layout answer says so. What one or a few activities do (close an application, append a line to the run's log) stays a step of each consumer. The source guide's § Component Detection defines shared forms.
30
+ Rules:
31
+
32
+ 1. **Choose the level before writing, by the buildable projects the rebuild needs.** One project → component genome only. Two or more projects, or one coordinator plus anything it invokes → process genome plus one component genome per project. The source's own units do not decide it: a single source workflow or bot whose parts the source guide's § Component Detection maps to different project types (a Flow and the RPA process it starts) is a process genome. Never flatten a multi-project process into one component genome; never split a single project into a process genome.
33
+ - **Test components are the one exception to "one component = one project".** Every test component of a process (a group of test cases over data rows for one business area) lives in a *single* test project, `<ProcessName>.Tests`, with one configuration for constants. Each group keeps its own component genome (Interface, rules, criteria), so the process genome still lists them as components, but Deployment counts one test project, and each group's Type cell names it (§ Build With (component) / Components (process)). Never emit one test project per business area. A UiPath test project that is the whole source takes the same shape when it holds two or more groups: a process genome whose components are its groups, plus one shared component for the execution template and the helpers the cases share, which that project already holds; a single group is a component genome. The procedures the test cases of any other source share are a library component (rule 6).
34
+ 2. **Component genomes inside a process carry the `Part of:` line** immediately after the blueprint blockquote, linking back to the process genome. Standalone component genomes omit it.
35
+ 3. **Detail lives at the lowest level that owns it.** Component-specific workflow steps, business rules, error handling, and acceptance criteria go in the component genome. The process genome holds only what spans components: process map, handoffs, shared platform dependencies, the transactional shape (its flows, producers and consumers), cross-cutting rules, end-to-end criteria, deployment.
36
+ 4. **Every section present, always.** Each template section appears in every genome. A section that does not apply gets its stub line (below), never an omission.
37
+ 5. **Preamble is mandatory, and it routes to `uipath-genome`.** Every genome starts with the `<!-- UIPATH-AUTOMATION-GENOME: component|process | ... -->` comment and carries the visible blueprint blockquote after the one-liner, both worded as the template words them. Both name `uipath-genome` as the skill that builds the genome: an agent handed the file reads it before it picks a skill, and a preamble naming only the Build With skills sends it straight to them, past the configuration questions and the build's procedure. The comment also names `uipath-planner` as the skill that changes the genome: `uipath-genome` never edits one, so without that line an agent asked for a small change edits the file directly, skipping the edit rules and the checker. The preamble also prevents an agent from executing the steps instead of building the automation. Build With (component) or Components (process) appears before Workflow / Process Map so an agent meets the skill references before the steps.
38
+ 6. **Shared behaviour is one library component.** When several components run the same behaviour and the rebuild has to write it because it is more than one or a few UiPath activities do — run setup and cleanup, drive mapping, a document-store client, a mail built from templates and rules of its own — that behaviour is one common library component, and each consumer's steps call it as they call any library. The library is a project of its own, published to a feed and installed in its consumers as a package; it is never a project of the solution (§ Deployment), and that is no reason to fold its workflows into a consumer; only the user's answer to the build's configuration questions folds one (Library layout). Described in each consumer instead, it is built once per project and the copies drift apart. What one or a few activities do (close an application, append a line to the run's log) stays a step of each consumer. The source guide's § Component Detection names the forms shared behaviour takes in a source.
37
39
 
38
40
  ## File Naming and Location
39
41
 
40
- - Write in the user's current working directory unless another location is named.
42
+ - Write to user's current working directory unless they name a location.
41
43
  - Slug: split CamelCase on capitals, lowercase, hyphens for spaces, strip other characters. "Invoice Processing" → `invoice-processing-genome.md`; "InvoiceIntake" → `invoice-intake-genome.md`; "Email Triage & Routing" → `email-triage-routing-genome.md`.
42
- - Extracted genomes use the source project or solution name, falling back to the directory name.
43
- - Process components use `<process-slug>-genome/<component-slug>-genome.md`; derive the component slug from its project name and append its kind (`-process`, `-model`, `-agent`) when slugs collide.
44
- - An SDD genome is beside the SDD: `<process-slug>-sdd.md` → `<process-slug>-genome.md`; `<solution-slug>-solution-sdd.md` → `<solution-slug>-genome.md`, with components in `<solution-slug>-genome/`.
44
+ - Extracted genomes take slug from source project or solution name; fall back to directory name.
45
+ - Process genome components: `<process-slug>-genome/<component-slug>-genome.md`. Component slug from project name; when two components would share a slug, each adds its kind (`-process`, `-model`, `-agent`).
46
+ - A genome authored from an SDD is written beside it, named after it: `<process-slug>-sdd.md` → `<process-slug>-genome.md`. A solution SDD gets one genome, named after its root and written beside it: `<solution-slug>-solution-sdd.md` → `<solution-slug>-genome.md`, its component genomes in `<solution-slug>-genome/`.
45
47
 
46
48
  ## Section Rules
47
49
 
48
50
  ### Overview
49
- State business purpose, users, and trigger as the automation's author, never as a file description or “this project contains…”. An extracted test suite's first sentence says it is a test and what it proves.
51
+ Business purpose, who it serves, what triggers it. Write as the author of the automation, never as a describer of files ("this project contains…" is banned). An extracted test suite says in its first sentence that it is a test and what it proves.
50
52
 
51
53
  ### Target Applications (component) / Actors and Systems (process)
52
- Resolve infrastructure to the real system, not “Integration Service”: write “Salesforce”, “ServiceNow”. Process genomes also list human actors.
54
+ Resolve infrastructure to the real system. "Integration Service" is not an application; write "Salesforce", "ServiceNow". Process genomes also list human actors.
53
55
 
54
56
  ### Build With (component) / Components (process)
55
- Use one skill per row from [skill-mapping-guide.md](skill-mapping-guide.md), with rationale over the nearest alternative. **A process genome's Components table links every component genome** in its Genome column, as a markdown link to `<process-slug>-genome/<component-slug>-genome.md`: the build finds the components only through those links.
57
+ One skill per row from [skill-mapping-guide.md](skill-mapping-guide.md). Rationale states why that skill and not the nearest alternative. **A process genome's Components table links every component genome** in its Genome column, as a markdown link to `<process-slug>-genome/<component-slug>-genome.md`: the build finds the components only through those links.
56
58
 
57
- For process test components, every Type is `Test-case group in project <ProcessName>.Tests`; the Process Map nests them in a subgraph for that test project.
59
+ **Process genomes with test components:** the Type column of every test component reads "Test-case group in project `<ProcessName>.Tests`", and the Process Map diagram nests the test components inside a subgraph for the test project.
58
60
 
59
61
  ### Platform Dependencies
60
- List every Orchestrator or Integration Service resource touched—queues, assets, credentials, storage buckets, connections, folders, and triggers—with type and purpose. Extracted genomes retain source resource names; authored genomes propose names.
62
+ Every Orchestrator or Integration Service resource touched: queues, assets, credentials, storage buckets, connections, folders, triggers. Each row names resource type and purpose. Extracted genomes keep the source resource name; authored genomes propose one.
61
63
 
62
- Use one credential asset per login account, named for account/persona plus environment or tenant; never collapse roles or tenants. The asset holds the secret; genomes, data rows, and reports never contain passwords, tokens, or secret values. Preserve account identity. Across component boundaries carry only the asset name in Interface arguments, Handoffs, and start arguments; the consumer reads the secret in its use scope unless an Integration Service connection holds it. A secret without an account (an API key, a token) is a Secret asset.
64
+ **Credentials: one credential asset per login account**, named after the account or persona, with its environment or tenant. Scenarios often sign in as several accounts with different roles on different tenants; never collapse them onto one login. The asset holds the secret; the genome and the data rows name the asset — a password, token or secret value never appears in a genome, a data file or a report, and dropping the account identity along with the secret loses which role each scenario ran as. A secret crosses no component boundary: an Interface argument, a Handoffs row and a start argument carry the asset's name, and the component that uses the secret reads it in the scope that uses it, unless a connection holds the secret (an Integration Service connection). A secret with no account behind it (an API key, a token) is a Secret asset.
63
65
 
64
- Identifiers are not credentials: client ID, tenant ID, service URL, and mailbox address are separate Text assets or configuration values, even in a credential vault. Name and declare them as Text assets. A credential's secret cannot be read back as text without a conversion rejected by the workflow analyzer.
66
+ **Identifiers are not credentials.** An application registration's client id and tenant id, a service URL or a mailbox address are Text assets (or configuration values), one per value, even when the source stored them in its credential vault: a credential asset's second half is a secret that a consumer cannot read back as text without a conversion the workflow analyzer rejects at build. The genome names them as Text assets; execution declares them the same way.
65
67
 
66
- A value the source platform holds outside the process and sets per environment — an environment variable, a global value — is one asset, named as the source names it and typed Text, Integer, Bool, Secret, or credential as appropriate. Open values become Configuration Questions naming the asset. A component whose type reads no assets keeps such a value in the variable its owning skill provides. A source configuration store is not such a value (§ Configuration Questions).
68
+ **Values the source platform keeps per environment are assets.** A value the source platform holds outside the process and sets per environment — an environment variable, a global value — is one asset, named as the source names it, of the type its values take: Text, Integer or Bool, Secret for a secret, a credential asset for an account. When its value is open, the Configuration Question that asks it names the asset. A component whose type reads no assets keeps such a value in the variable its owning skill provides. A source's own configuration store is not such a value (§ Configuration Questions).
67
69
 
68
70
  ### Interface (component)
69
- State inputs, outputs, and side effects. Mandatory inside a process; a standalone component may use: `Runs unattended with no arguments; outputs are the side effects listed in Workflow.` Do not use source direction prefixes (`in_`, `out_`, `io_`): `MailboxFolder`, not `in_MailboxFolder`. Qualify reserved Visual Basic/C# words and .NET namespaces/types (`To`, `Sub`, `Date`, `Type`, `Object`, `System`), e.g. `ToAddresses`, `KeyDate`, or `SapSystem`; expression language is chosen at build. Source arguments belong in Source Map.
70
-
71
- A `uipath-maestro-case` component designed by a Case Management SDD names that SDD's path relative to the genome as build input: `uipath-genome` hands it unchanged to `uipath-maestro-case`, which builds from it without redesign.
71
+ Inputs, outputs, side effects. Mandatory content for a component inside a process genome (it is the contract the Handoffs table relies on). Standalone components may stub it: "Runs unattended with no arguments; outputs are the side effects listed in Workflow." Name each input and output by its contract name, without the source's direction prefix (`in_`, `out_`, `io_`): `MailboxFolder`, not `in_MailboxFolder`. A contract name that is a reserved word of Visual Basic or C#, or a .NET namespace or type name (`To`, `Sub`, `Date`, `Type`, `Object`, `System`), takes a qualifier (`ToAddresses`, `KeyDate`, `SapSystem`): the expression language is chosen at build, and such a name breaks the expressions of one of the two. The source argument is provenance and goes to the Source Map. A `uipath-maestro-case` component whose case a Case Management SDD designed names that SDD's path, relative to the genome, as its build input: `uipath-genome` hands that SDD to `uipath-maestro-case` unchanged, and the case is built from it, never redesigned.
72
72
 
73
- **Library components** (a project other components consume as a package) carry, instead of the three bullets, one `Argument | Direction | Type | Description` table per public workflow — never one table shared by several, which hides each workflow's types and directions. Types are rebuild types (a flag is Boolean and a count is a number); descriptions include default, format, quoting side, consumer conventions, naming, defaults, and failed-final-check behavior. This is the pre-build contract; omissions become questions between build groups. Over the analyzer's argument cap (20), put optional switches and values in one options object with one In argument and a `Field | Type | Default | Description` table.
73
+ **Library components** (a project other components consume as a package) carry, instead of the three bullets, one table per public workflow — never one table shared by several, which hides each workflow's types and directions: `Argument | Direction | Type | Description`. The Type is the one the rebuild gives the argument — a flag is a Boolean and a count a number, whatever text the source carried them in — and the description states the default and the value format (what a flag means, how a date is rendered, which side quotes a value), plus the conventions consumers rely on (naming, defaults, what a failed final check does). This table is the contract consumers are authored against before the library packs; every detail it omits becomes a question between two build groups. A workflow over the analyzer's argument cap (20) carries its optional switches and values in one options object — one In argument with its own table (`Field | Type | Default | Description`).
74
74
 
75
- **State kept between calls.** Each library workflow starts from declared defaults; no global variables or constants. State one action stores for another, attached applications/handles, and called-component instances live in the consumer and cross each call as an argument: Out from the workflow that produces it, In to each that reads it, In/Out where one changes it. A coded library static field outlives a call only as one value shared by every caller in the job and none inside an isolated invoke; it is not shown in Interface and holds none of this state. An attached application crosses as the application handle the owning skill's public-workflow contract has workflows return and accept. Describe setup before first call and cleanup at run end, including after failure, as public workflows, naming holder and source work. Follow the source guide's § Call Graph Rules: an instance per caller is held by each caller (a process in its entry workflow for the run, passed to callers, and a calling library in its Interface); one instance per run is held by the entry workflow and passed to every caller, including libraries. An unchanged stored value is a fact or Configuration Question, not state.
75
+ **State kept between calls.** A library workflow starts each call from its declared defaults, and a library project holds no global variables or constants, so state the source keeps from one call of its actions to the next — a value one action stores and another reads, an attached application or handle, its own instance of another component it calls — lives in the consumer and crosses each call as an argument: Out from the workflow that produces it, In to each that reads it, In/Out where one changes it. A coded library's static field does outlive a call, but as one value for every caller in the job and none inside an isolated invoke, and no Interface shows it, so it holds none of this state. An attached application crosses as the application handle the owning skill's public-workflow contract has workflows return and accept. The conventions name the holder and the work the source ran on its own — set-up before the first call, a close-down when the run ends, after a failure too — each a public workflow the holder calls at that point. The holder follows the source's instances, as the source guide's § Call Graph Rules state them: an instance per caller is held by each caller — a process in its entry workflow for its whole run, passed to the workflows that call the library, and a calling library in its own Interface, since it holds nothing either; one instance per run is held by the run's entry workflow and passed to every caller, calling libraries included. A stored value no action changes is no state: it is a fact or a Configuration Question (§ Configuration Questions).
76
76
 
77
- **Test components** list each test case's varying row schema separately from project constants; credentials are credential-asset names, never values. Name each case's data set — a single row included — its row count, and source location, retaining that location: a data set kept in a store is the case's data source: the project's test-data entity filtered on the data set's name; shipped data is a variation file in the owning skill's format, named after the case, with fields within the analyzer's argument cap (20). A case without a data set uses configuration constants.
77
+ **Test components** (a group of test cases over data rows in the single test project) list the row schema per test case: the fields that vary per scenario, separately from the constants in the project's configuration. Credentials appear as the name of a credential asset per row, never as values. Each case names its data set — a single row included — with its row count and where the source keeps it, since the rebuild keeps it there: a data set kept in a store is the case's data source, the project's test-data entity filtered on the data set's name; one shipped with the project is a variation file in the owning skill's format, named after the case, whose fields stay within the analyzer's argument cap (above). A case with no data set takes its values from configuration constants.
78
78
 
79
79
  ### Configuration Questions
80
- Use `N. {Question}? ({setting | constant}; default: {value})`; every question states kind before default.
80
+ Format: `N. {Question}? ({setting | constant}; default: {value})` — every question names its kind (below) before its default.
81
81
 
82
- Authored genomes ask every described or open value, including paths, URLs, addresses, servers, credentials, queues, thresholds, columns, and application choice (“Which email provider? (constant; default: Outlook)”). Extracted genomes ask only source-open values; source-fixed values are facts. A source value is open when it is:
82
+ **Authored genomes** ask every value the description gives or leaves open: paths, URLs, addresses, server names, credential and queue names, thresholds, column names, and the application choice itself ("Which email provider? (constant; default: Outlook)").
83
83
 
84
- 1. **Environment-bound:** hosts/URLs, paths/shares/folders, mailboxes, recipients/senders, domains, system/client entries, browser, credentials, assets, queues, buckets, Data Fabric entities, schedules, AI language model (the tenant decides which models exist), or cleanup reach beyond run setup (every window of the session, every certificate of the user, every mapped drive). Default is source value.
85
- 2. **Missing from export:** required configuration-file/table/vault value, key-selected caption, or initial state-file content (a last-used number). Default is key name and `not in the export`.
86
- 3. **A target choice absent from source:** e.g. an Integration Service connection beside a source token. Default is source method. The log defaults to the job's Orchestrator log while retaining the source log as an option ([extract-guide.md](../extract/extract-guide.md) Step 3, evidence policy). The mirror case—target lacks the source method, such as an inbound endpoint whose caller supplied a token while target authenticates callers—is open; default is the named target method.
84
+ **Extracted genomes ask only what the source leaves open.** The source is the ground truth and a migration keeps its rules, so a value the source fixes has one right answer; asked, it can only be answered with its default. A value is open when it is:
85
+
86
+ 1. **Bound to the environment** the rebuild runs in — hosts and URLs, paths, shares and folders, mailboxes, recipients and senders, domains, system and client entries, the browser, credential, asset, queue, bucket and Data Fabric entity names, schedules, the language model an AI step uses (the tenant decides which models exist), the reach of a clean-up that acts beyond what the run set up (every window of the session, every certificate of the user, every mapped drive). Default: the source's value.
87
+ 2. **Missing from the export** — a value the build needs that the export does not hold: a setting the source reads from a configuration file, table or vault left out of the export, a caption the source picks only by its key, the starting content of a state file the source reads before it first writes it (a last-used number). Default: the key name and "not in the export".
88
+ 3. **A choice the source never faced** — the target platform offers a way the source had no counterpart for: an Integration Service connection beside the source's token. Default: the source's way. The run's log is the exception: its default is the job's log in Orchestrator, keeping the source's own run log the option ([extract-guide.md](../extract/extract-guide.md) Step 3, evidence policy). The mirror case is open too: the target lacks the source's way, as for an inbound endpoint that took the caller's own token where the target authenticates every caller itself. Default: the target's way, named.
87
89
  4. **Read from the source's own configuration store** — a key the source reads from a config table, properties file or workbook the export holds, whatever it carries (a host, a timeout, a poll interval, a limit, a flag): the source's owners change it without a release, so the rebuild keeps it changeable. Default: the source's value. A key that only names another resource is a fact (below); the same value written only in the code is a fact.
88
90
 
89
- All other values are facts where used: data values, comparisons, limits, lengths, and formats in Workflow or Business Rule; waits, timeouts, polls, and attempt counts in the step or Error Handling; item retry and consecutive-failure counts in Transactional Shape outcomes ([transactional-shape-guide.md](transactional-shape-guide.md) rule 4); start switches in Interface; applications and machine prerequisites in Target Applications; shipped files in their using step and Source Map. Changing a fact is a genome edit.
91
+ Every other value is a fact, written once where its reader looks: a value typed, posted, compared or checked, and a limit, length or format, in the Workflow substep or Business Rule that uses it; a wait, timeout, poll interval or attempt count in its step or that step's Error Handling; the item retry and consecutive-failure counts in the Transactional Shape's outcomes ([transactional-shape-guide.md](transactional-shape-guide.md) rule 4); a switch a start argument sets in Interface; the application and a machine prerequisite (Excel installed) in Target Applications; a file the project ships in the step that uses it and the Source Map. Changing a fact is a genome edit, not a configuration answer.
90
92
 
91
- Every Orchestrator connection the automation is deployed to is its own environment — dev, UAT, prod — and the build is often made on another machine and tenant than the one it runs on. Mark a question `setting` when it differs by environment (hosts and URLs, mailboxes and recipients, shares and paths, credential, queue, bucket, asset and Data Fabric entity names, schedules, language models) or must change without a new version (item 4); mark it `constant` when identical across environments and changing it changes the automation (thresholds, limits, retry counts, message texts). Use exactly `(setting; default: …)` or `(constant; default: …)`. A configuration key is not by itself one setting: several keys that always carry the same value (one recipient list repeated per notification type) are one setting, and a key whose value only names another resource (a vault alias, a table name fixed by the setup) is a fact. The source configuration store is not a rebuilt Platform Dependency. Where rebuilt settings/constants live is decided by execution configuration questions.
93
+ **A setting depends on the environment.** Every Orchestrator connection the automation is deployed to is its own environment — dev, UAT, prod — and the build is often made on another machine and tenant than the one it runs on. Mark each Configuration Question as a *setting* when its answer differs between environments (hosts and URLs, mailboxes and recipients, shares and paths, credential, queue, bucket, asset and Data Fabric entity names, schedules, language models) or must change without a new version (a key the source reads from its configuration store, item 4 above), and as a *constant* when it is the same in every environment and a change to it is a change to the automation (thresholds, limits, retry counts, message texts). The kind is written in the question's parenthesis, before the default: `(setting; default: …)` or `(constant; default: …)`. A configuration key is not by itself one setting: several keys that always carry the same value (one recipient list repeated per notification type) are one setting, and a key whose value only names another resource (a vault alias, a table name fixed by the setup) is a fact. A source's own configuration store (a config table, a properties file, a workbook) is not a Platform Dependency of the rebuild: its keys become questions or facts, and where the rebuild's settings and constants live is decided by execution's configuration questions.
92
94
 
93
- When open values number dozens, group by theme and name every key before the question mark: `4. Which folders does the run use — the drive letter (row 5) and the in-process, processed and invalid folders (rows 6–8)? (setting; default: not in the export)`. Each group has one kind, so mixed themes become two questions. State when empty changes flow rather than fails (for example, `required: empty ends the run`). Do not write scaffolding questions—project location, target framework, expression language, package versions—or split questions (unit, split, store, template, triggers, runners) when Transactional Shape is not a stub.
95
+ Both modes: when the open values run to dozens (a configuration table or procedure), group them by theme into one question per theme and name every key inside its question, before the question mark, so the list stays readable and the build can still map each key: `4. Which folders does the run use — the drive letter (row 5) and the in-process, processed and invalid folders (rows 6–8)? (setting; default: not in the export)`. A grouped question holds values of one kind; a theme whose values are settings and constants is two questions. When an empty value would change the flow instead of failing (an end time that compares as reached, a list matched by containment), the question says so — "required: empty ends the run" — so the build guards it. Questions the build asks itself are not written into the genome: the scaffolding choices (project location, target framework, expression language, installed package versions), and the split questions (unit, split, store, template, triggers and runners) when the Transactional Shape is not the stub.
94
96
 
95
97
  ### Workflow (component) / Process Map (process)
96
- Write numbered steps in execution order as `N. **{Step name}** (input: …; output: …)`. The number keys the Source Map row; the bold name keys Business Rules and Error Handling. Steps may be grouped under `###` headings (one per entry point), each step keeping that form. Shared steps appear once under their own heading; each entry point's last step names its continuation. Use lettered substeps for multiple fields, conditions, validation, or transformations, with input/output annotations.
97
-
98
- A step calling an automation not held by the source (another project's process, a workflow outside the export) names behavior, passed inputs, and used results, flags `*[Inferred]*` what the caller does not show, and treats the callee as a Platform Dependency rather than something built; Source Map records an unresolved invocation.
98
+ Numbered steps in execution order, each `N. **{Step name}** (input: …; output: …)`: the number keys the step's row in the Source Map's step table, the bold name heads its Business Rules and Error Handling entries. Steps may be grouped under `###` headings (one per entry point), each step keeping that form. Steps several entry points share are written once, under a heading of their own, and each entry point's last step names the step it continues into. A step that calls an automation the source does not hold (another project's process, a workflow outside the export) names it by what it does, states what the step passes to it and what it uses of the result, and flags `*[Inferred]*` what the caller does not show; the callee is a Platform Dependency the rebuild calls but does not build, and the Source Map's unresolved-invocation row names it. A step involving several fields, a condition, validation, or a transformation gets substeps (a, b, c) and a data annotation `(input: …; output: …)`.
99
99
 
100
100
  Shallow, insufficient for replication:
101
101
  ```markdown
@@ -112,59 +112,60 @@ Sufficient:
112
112
  e. If any mismatch exceeds tolerance, flag the invoice with the field, expected value, and actual value
113
113
  ```
114
114
 
115
- Test: if a builder cannot rebuild the step from the text alone, add detail. Never combine distinct steps to meet a count.
115
+ Test: if a builder cannot rebuild the step from the text alone, add detail. Never compress distinct steps to hit a count.
116
116
 
117
- Test components use one `N. **Test case: <title>**` per case, with lettered case steps and assertions; Source Map has one row per case. Libraries use one numbered step per public workflow, grouped by screen/stage in user order, as independent entry points rather than one execution, with a lead-in saying so.
117
+ **Test components** list one numbered step per test case — `N. **Test case: <title>**` — with the case's steps as lettered substeps and its assertions named in them; the Source Map's step table then has one row per case. A **library** component lists one numbered step per public workflow, grouped by the screen (or stage) it acts on, in the order a user meets the screens; the steps are independent entry points the consumers invoke, not one execution, and a lead-in sentence says so.
118
118
 
119
- Composite interactions (type-ahead pick, menu or tree path, option list, find-row-then-act, keystrokes to the focused element) are full contracts: typed value, matching method (equals/contains/nth), confirming key, every path level, row rule, and other builder-required behavior. “Enter Voluntary into Primary Reason” is a data loss; “type Voluntary into Primary Reason and pick the suggestion that equals Voluntary” is the step. Use the source guide's composite-actions wording; execution builds each contract as a pattern.
119
+ **Composite UI interactions carry their full contract.** Source frameworks and descriptions bundle a multi-step interaction into one step: type-ahead pick, menu or tree path, option list, find-row-then-act, keystrokes to the focused element. The substep states, in behavioural words, everything the builder needs to rebuild the interaction: what is typed, how the suggestion or option is matched (equals / contains / nth), which key confirms, each path level, the row rule. "Enter Voluntary into Primary Reason" is a data loss; "type Voluntary into Primary Reason and pick the suggestion that equals Voluntary" is the step. A source guide's composite-actions table gives the wording per source action; execution builds each contract as a pattern.
120
120
 
121
- A substep in a dialog, popup, or browser tab opened by an action names that window: “in the Select Vendor dialog, click OK”. If the source acts there without switching, infer the name from the opening action and mark `*[Inferred]*`.
121
+ **A substep in a window an action opened names that window.** When an action opens a window (a dialog, a popup, a browser tab) and the next substep acts inside it, that substep names the window: "in the Select Vendor dialog, click OK". A source that acts in the new window without first switching to it never names it: deduce the name from the action that opened it and flag it `*[Inferred]*`.
122
122
 
123
- A source-platform workaround is not behavior (a clipboard copy between two ranges, a temporary file written beside the input, a rename around a path the source's script cannot open, a user setting switched to steer a file format): state its produced result and identify the workaround in Source Map. It becomes data if a later step reads what it leaves behind.
123
+ **A source's workaround for its own platform is not behaviour.** A clipboard copy between two ranges, a temporary file written beside the input, a rename around a path the source's script cannot open, a user setting switched to steer a file format: the step states the result the workaround produced, and the Source Map names the workaround — unless a later step reads what it leaves behind, which makes it data.
124
124
 
125
125
  ### Business Rules
126
- Use plain language, no code syntax, with fields and thresholds; group under `### Step N: {name}`, shared rules under a heading naming all steps (`### Steps 4, 10 and 15: …`), and cross-step rules under `### General`.
126
+ Plain language, no code syntax, specific fields and thresholds kept. Group under `### Step N: {name}` headings for the step where the rule fires; a rule or handler several steps share goes once under a heading naming them (`### Steps 4, 10 and 15: …`); cross-step rules under `### General`.
127
127
 
128
128
  | Code construct | Genome wording |
129
129
  |---|---|
130
- | `If` / `FlowDecision` / `if` | `If {condition}, then {action}; otherwise {action}` |
131
- | `Switch` / `FlowSwitch` / `switch` | `Route based on {field}: {case} → {action}, {case} → {action}` |
132
- | `AndAlso` / `&&` | `and` |
133
- | `OrElse` / `\|\|` | `or` |
134
- | `>` `<` `=` `<>` `==` `!=` | `exceeds`, `is less than`, `is`, `is not` |
130
+ | `If` / `FlowDecision` / `if` | "If {condition}, then {action}; otherwise {action}" |
131
+ | `Switch` / `FlowSwitch` / `switch` | "Route based on {field}: {case} → {action}, {case} → {action}" |
132
+ | `AndAlso` / `&&` | "and" |
133
+ | `OrElse` / `\|\|` | "or" |
134
+ | `>` `<` `=` `<>` `==` `!=` | "exceeds", "is less than", "is", "is not" |
135
135
 
136
- `Amount > 10000 AndAlso Category = "Premium"` → “If amount exceeds $10,000 and category is Premium”.
136
+ `Amount > 10000 AndAlso Category = "Premium"` → "If amount exceeds $10,000 and category is Premium".
137
137
 
138
138
  ### Error Handling
139
- Use the same step-associated layout plus `### Global`. State failure, outcome, and handling level behaviorally, including retry counts and routes: “Retries 3× on timeout, then routes the item to the exception queue” — never “RetryScope with NumberOfRetries=3”. A failure every UI step shares (“expected element not found: screenshot, stop naming the step”) is one Global entry; add a step entry only when handling differs. A Workflow substep confirming an action is that action's post-condition, not a separate check.
139
+ Same step-associated layout as Business Rules, plus `### Global`. Behavioural wording: "Retries 3× on timeout, then routes the item to the exception queue" — never "RetryScope with NumberOfRetries=3". An entry states the failure, the outcome and the level that handles it; a failure that every UI step shares ("expected element not found: screenshot, stop naming the step") is written once under `### Global`, not repeated per step, and a step entry exists only where that step's handling differs. A Workflow substep's "confirm …" is a post-condition of the action before it, not a separate check (execution builds it as that action's verification).
140
140
 
141
141
  ### Transactional Shape
142
- State whether the automation iterates independently tracked units that succeed, fail, retry, and are tracked; if so, state each flow's handling and possible build division while asserting no split except a `Decided:` line records. Follow [transactional-shape-guide.md](transactional-shape-guide.md). No-unit genomes use the § Stub Lines stub.
142
+ Whether the automation iterates over units of work — items that succeed, fail, are retried and are tracked independently of one another — and, when it does, per flow how the work is handled today and how it could be divided at build, asserting no split except one a `Decided:` line records: [transactional-shape-guide.md](transactional-shape-guide.md). A genome with no unit of work carries the stub line (§ Stub Lines).
143
143
 
144
144
  ### Acceptance Criteria
145
- Use numbered criteria (`1. …`) so reports and run comparisons cite numbers. Write at least one criterion per source: every major workflow step, transformation/field mapping, business rule, error handler, plus empty, duplicate, and malformed-data edge cases. Patterns:
146
-
145
+ A numbered list (`1. …`), so the build report's verdicts and a comparison of two runs cite a criterion by its number. Patterns:
147
146
  - "Given {specific input}, the automation {specific observable outcome}"
148
147
  - "When {condition}, the automation {expected behaviour}"
149
148
  - "{Specific action} produces {specific result}"
150
149
 
151
- never use “completes successfully”, “handles errors properly”, or code-level claims (“Uses ReadPDF activity”, “Calls Main.xaml”, “Assigns true to isValid”).
150
+ Sources, one criterion each minimum: every major workflow step, every data transformation or field mapping, every business rule, every error handler, plus edge cases (empty input, duplicate, malformed data).
151
+
152
+ **A criterion whose outcome rests on a language model's answer is written in one of three checkable forms.** (1) It states the answer: "Given the model classifies the item as {category}, …" — checked with a supplied or recorded answer, so it tests the build, not the model. (2) It states an invariant that holds whatever the model answers: every record's status agrees with the classification it stores, every handled message has exactly one record. (3) For the quality of the model's own answer, it gives an input whose right answer is computed outside the model — dates written out, a count derived from reference data, a value the input itself carries — is checked over several runs, and says it rests on the model, so a miss is a finding on the model, never on the build.
153
+
154
+ Banned: "completes successfully", "handles errors properly", and anything code-level ("Uses ReadPDF activity", "Calls Main.xaml", "Assigns true to isValid").
152
155
 
153
156
  | Banned | Acceptable |
154
157
  |---|---|
155
158
  | "Uses ReadPDF to process InvoiceFile" | "Given an invoice PDF, extracts vendor_name, invoice_number, line items (description, qty, unit_price), tax, and total" |
156
159
  | "SendMail sends to admin@company.com" | "When processing fails after retries, sends a notification to the configured administrator with invoice_number and failure reason" |
157
160
 
158
- For language-model outcomes use one checkable form: (1) state the answer (“Given the model classifies the item as {category}, …”) and check against a supplied/recorded answer; (2) state an invariant independent of the answer (every record's status agrees with the classification it stores, every handled message has exactly one record); or (3) test quality against an answer computed outside the model (dates written out, a count derived from reference data, a value the input itself carries) over several runs, explicitly attributing misses to the model, not the build.
159
-
160
161
  ### Complexity
161
- Use only `simple | medium | complex`; never ask the user. Component level comes from description, PDD, or SDD ([author-guide.md](../author/author-guide.md) § Step 3 — Infer complexity), or source signals ([extract-guide.md](../extract/extract-guide.md) § Step 5 — Infer complexity (component)); default lower when ambiguous and escalate when evidence requires. Process is `medium` with at most three **buildable projects**, no human lanes, and no `complex` component; otherwise `complex`. Test groups in one test project count as one project. A human lane is an actor the process waits on (approval, task, mailed decision), not a notification recipient.
162
+ `simple | medium | complex`. Never ask the user to declare it. Component genomes: inferred from the description, PDD or SDD ([author-guide.md](../author/author-guide.md) § Step 3 — Infer complexity) or from source signals ([extract-guide.md](../extract/extract-guide.md) § Step 5 — Infer complexity (component)); both default to the lower level when ambiguous and escalate when later evidence demands it. Process genomes are `medium` with at most three **buildable projects**, no human lanes and no `complex` component, otherwise `complex`; the test-case groups of the single test project count as that one project, not one component each. A human lane is a human actor whose action the process **waits on** (an approval, a task, a mailed decision); recipients of notifications are not lanes.
162
163
 
163
164
  ### Tags
164
- Comma-separated business domain, target applications, and platform features (document-understanding, queues, human-in-the-loop, …).
165
+ Comma-separated: business domain, target applications, platform features (document-understanding, queues, human-in-the-loop, …).
165
166
 
166
167
  ### Source Map (extraction only)
167
- Record where every extracted genome element came from, including contract rows, step table, and framework migration contract: [extracted-genome-guide.md § Source Map](extracted-genome-guide.md). Authored genomes have none.
168
+ Where every part of an extracted genome came from — its contract rows, the step table and, for a framework source, the migration contract: [extracted-genome-guide.md § Source Map](extracted-genome-guide.md). Authored genomes have no Source Map.
168
169
 
169
170
  ## Population Matrix (component genomes)
170
171
 
@@ -174,11 +175,11 @@ Record where every extracted genome element came from, including contract rows,
174
175
  | Target Applications, Build With, Platform Dependencies, Interface, Configuration Questions, Complexity, Tags | Full | Full | Full |
175
176
  | Workflow | 3-5 steps minimum | 5+ steps, substeps where detailed | 8+ steps, substeps where detailed |
176
177
  | Business Rules | Stub allowed | Step-associated | Step-associated |
177
- | Error Handling | Stub allowed | Per applicable step | Per applicable step |
178
- | Transactional Shape | Full when a unit exists ([transactional-shape-guide.md](transactional-shape-guide.md) rule 1), else stub | Full when a unit of work exists, else stub | Full when a unit of work exists, else stub |
179
- | Acceptance Criteria | 3-4 minimum | 5+ including data checks | 7+ including data checks |
178
+ | Error Handling | Stub allowed | Per step where applicable | Per step where applicable |
179
+ | Transactional Shape | Full when a unit of work exists ([transactional-shape-guide.md](transactional-shape-guide.md) rule 1), else stub | Full when a unit of work exists, else stub | Full when a unit of work exists, else stub |
180
+ | Acceptance Criteria | 3-4 minimum | 5+ incl. data checks | 7+ incl. data checks |
180
181
 
181
- These are minimums, not ceilings. Preserve fifteen distinct source/description steps as fifteen genome steps. Test steps are cases and library steps are public workflows; their depth is in checkpoints and substeps, so Workflow minimums do not apply.
182
+ Minimums, not ceilings. Fifteen distinct steps in the source or description means fifteen steps in the genome. A test component's steps are its test cases and a library's its public workflows, so the Workflow minimums apply to neither: their depth is in the cases' checkpoints and the workflows' substeps.
182
183
 
183
184
  ## Stub Lines
184
185
 
@@ -193,46 +194,37 @@ These are minimums, not ceilings. Preserve fifteen distinct source/description s
193
194
 
194
195
  ## Ambiguity Marker
195
196
 
196
- For unclear intent, write the best interpretation, append `*[Inferred]*`, and record uncertainty in Source Map. Never leave a section empty. Users remove markers with “Remove the inferred flags”.
197
+ When intent is unclear from the source, write the best interpretation, append `*[Inferred]*` to that line, and record the uncertainty in the Source Map. Never leave a section empty because the source is ambiguous. Users remove markers once they confirm the content ("Remove the inferred flags").
197
198
 
198
199
  ## Write, Then Offer Edits
199
200
 
200
- Every writing verb writes files to the working directory immediately—no preview or confirmation—then reports their location and asks “Want to adjust anything?”. Only the writing skill's `edit` verb makes targeted in-place edits; never regenerate.
201
+ Every writing verb writes the file(s) to the working directory immediately — no preview, no confirmation — then says where they are and asks "Want to adjust anything?". Edits are targeted and in place, never a regeneration, and made only by the `edit` verb of the skill that writes genomes.
201
202
 
202
203
  ## Provenance
203
204
 
204
- Genome bodies are specifications, not reports: never write “the project contains”, file paths in Workflow or Business Rules, or activity/variable names anywhere. Provenance belongs only in Source Map. Source-written messages, log text, and text shown to people (a form's title, instruction or field label) are behavior and retain source spelling. If text embeds a variable/activity name, path, or source-project file name, describe it instead (for example, “the corrupt-register message”) and quote it fully in that step's Source Map row.
205
+ The body of a genome reads as a specification, not a report: no "the project contains", no file paths in Workflow or Business Rules, no activity or variable names anywhere. Provenance lives only in the Source Map section. A message, log text or text shown to a person (a form's title, instruction or field label) the source writes is behaviour and is written in the body as the source spells it; a text that embeds a variable or activity name, a path or one of the source project's own file names is described in the body instead ("the corrupt-register message") and quoted in full in its step's Source Map row.
205
206
 
206
207
  ## Process Genome Sections
207
208
 
208
- Only process genomes have these sections.
209
+ The section rules of the sections only a process genome has; a component genome has none of them.
209
210
 
210
211
  ### Process Map diagrams (process)
211
- Under `## Process Map`, after the numbered stage list and without a subheading, include one Mermaid `flowchart TB` component-view diagram. Sequence belongs in the stage list, not the diagram.
212
-
213
- - Nodes are automation components and queues only: no people or outside systems. One node per queue, never grouped, using cylinder `[( )]` with no number. Component nodes carry their Components-table number in brackets.
214
- - Prefix triggers: ⏰ time, 🔔 queue-consuming component. No mark means invoked by another component; several entry points carry each applicable mark. Mark source-absent schedules `*[Inferred]*`. Legend below names marks and arrows.
215
- - Arrows show data/work direction; never double-headed; draw two. Solid means component→queue, queue→component, or caller→callee. Dotted means file/mail handoff. A queue inside one component is in its label, e.g. `2 InvoiceProcess<br/>Dispatcher → queue → Performer`, never a self-loop.
216
- - Wrap labels with `<br/>` at about 34 characters and edge labels at about 26; never wrap subgraph titles. Test-project components may share a subgraph. If mermaid-cli is installed, render and inspect; otherwise use these widths.
212
+ One Mermaid component-view diagram (`flowchart TB`), kept under `## Process Map` after the numbered stage list, with no subheading above it. Sequence and order live in the stage list, never in the diagram.
213
+ - **Nodes:** the automation's own components and its queues only; no people or outside systems, so no lanes. One node per queue, never a grouped node, drawn as a cylinder `[( )]` with no number. Every component node carries its number from the Components table in brackets.
214
+ - **Trigger marks** prefix a component node: ⏰ time trigger, 🔔 queue trigger (a component that consumes a queue). A component with no mark is invoked by another component; one with several entry points carries the mark of each triggered one. A trigger is *[Inferred]* when the source holds no schedules. A short legend under the diagram names the marks and the arrows.
215
+ - **Arrows** point the way the data or work travels; never a double-headed arrow, draw two. Solid: a component adds to a queue (component → queue), takes from or reads a queue (queue → component), or calls another component (caller → callee). Dotted: a handoff between components through a file or mail rather than a queue or a call. A queue inside one component (the stages a decided split realises) is drawn in that component's label — `2 InvoiceProcess<br/>Dispatcher → queue → Performer` — never as a loop from the component back to itself.
216
+ - **Layout:** wrap node labels with `<br/>` at about 34 characters per line and edge labels at about 26; never put `<br/>` in a subgraph title (a test project's components may share one subgraph). A Mermaid parse success does not catch clipped text: when a renderer (mermaid-cli) is installed, render the diagram and look at it; otherwise keep to the wrap widths above.
217
217
 
218
- Mermaid cannot render BPMN 2.0. For a formal model, add sidecar `<process-slug>-process.bpmn` authored from Process Map; `uipath-maestro-bpmn` knows the format, and link it here.
218
+ Mermaid cannot render BPMN 2.0 itself; when the customer wants a formal model, add a sidecar `<process-slug>-process.bpmn` authored from the Process Map (the `uipath-maestro-bpmn` skill knows the format) and link it from this section.
219
219
 
220
220
  ### Handoffs (process)
221
- Use one row per component edge, giving mechanism (queue item, start job, Flow invoke, event, file drop, Action Center task, a shared store one component writes and another reads when asked — a Data Fabric entity, a database table), schema, and receiving-failure behavior. Component Interface must agree. For a Transactional Shape flow whose producer and consumer are phases of one component that form a flow ([transactional-shape-guide.md](transactional-shape-guide.md) rule 12) exchanging items through a store (a database work table, a folder, an in-memory work list the job reads once and then works item by item), add an intra-component row naming stages/sub-projects from `Decided:`; every shape flow cites its Handoffs row.
222
-
223
- Omit rows for people or systems merely read/acted on; retain human-task rows created by a component. Use one row per queue edge, naming queue(s), never “the queues”, and one per call and file/mail handoff.
221
+ One row per edge between components: mechanism (queue item, start job, Flow invoke, event, file drop, Action Center task, a shared store one component writes and another reads when asked — a Data Fabric entity, a database table), data schema passed, and what happens when the receiving side fails. This table is the data contract; component Interface sections must agree with it. When the Transactional Shape's producer and consumer are two phases of one component that form a flow ([transactional-shape-guide.md](transactional-shape-guide.md) rule 12) exchanging items through a store (a database work table, a folder, an in-memory work list the job reads once and then works item by item), add one row for that edge too, marked as intra-component and naming the stages on each side (the sub-projects a `Decided:` line names): it is the data contract the shape cites. Every flow of the Transactional Shape cites the Handoffs row that carries its items. The table follows the Process Map diagram: no rows for people or systems the automation only reads from or acts on (the diagram omits them), a human task a component creates (an Action Center task) keeps its row because it carries a data contract, one row per queue edge naming the queue(s) by name, never "the queues", and one row per call and per file or mail handoff between components.
224
222
 
225
223
  ### Deployment (process)
226
- State packaging (one solution or independent packages), entry points/triggers, target folders/environments, and every buildable project explicitly. List each library separately with its feed, never as a solution project. With tests, name exactly one test project and one Test Manager test set per test component.
224
+ Packaging (one solution vs independent packages), entry points and triggers, target folders or environments. Name the buildable projects explicitly; a library is listed with the feed it is published to, apart from the solution's projects, since it is never one of them; when test components exist, Deployment names exactly one test project and one Test Manager test set per test component.
227
225
 
228
226
  ## Design Links
229
227
 
230
- After the blueprint blockquote, optionally add one blockquote linking the process genome or standalone component to an existing source document; never invent it:
231
-
232
- `> Designed in: [<SDD title>](<relative path to the SDD>) · sdd-sha256 <SDD_FINGERPRINT>`
233
-
234
- The fingerprint is mandatory. Obtain it only after content is final by running `node "<SKILL_DIR>/scripts/sdd-fingerprint.mjs" "<SDD_PATH>"`, where `<SKILL_DIR>` contains this skill's `SKILL.md`. For a solution, `<SDD_PATH>` is the root SDD and the fingerprint covers root plus every listed child SDD. The SDD's `Genome` row and an older `Tasks file` row do not change it.
235
-
236
- The build builds as written and hands a case SDD unchanged to `uipath-maestro-case`. `uipath-planner` keeps the genome current: an SDD change ends with `edit`'s “The SDD was revised” ([edit-guide.md](../edit/edit-guide.md)) and a new fingerprint ([sdd-writing-guide.md](../design/sdd-writing-guide.md) § Keeping the Genome Current). Strict check fails a `Designed in:` line whose fingerprint no longer matches its SDD (root plus every child for a solution), or whose SDD cannot be read.
228
+ One optional blockquote line after the blueprint blockquote (the process genome's, or a standalone component's) ties a genome to the document it derives from. It is written only when that document exists; it is never invented.
237
229
 
238
- Record SDD decisions—split and queue design, implementation mode, package pins, and refactor answers—in their owning sections: a flow's `Decided:` line, Configuration Questions defaults, or process Deployment. Restate the SDD's products and projects without contradiction; which changes to a designed genome go to `design` first is specified by [edit-guide.md](../edit/edit-guide.md) § Any genome.
230
+ - **`> Designed in: [<SDD title>](<relative path to the SDD>) · sdd-sha256 <SDD_FINGERPRINT>`** — the genome was authored from that agreed SDD. The fingerprint is required on every `Designed in:` line. `<SDD_FINGERPRINT>` is what `node "<SKILL_DIR>/scripts/sdd-fingerprint.mjs" "<SDD_PATH>"` prints once the genome's content is final (`<SKILL_DIR>` is the folder holding this skill's `SKILL.md`); for a solution `<SDD_PATH>` is the root SDD, and the fingerprint covers the root and every child SDD it lists. The SDD's `Genome` row, and an older SDD's `Tasks file` row, do not change it. The build builds the genome as written and hands a case component's SDD to `uipath-maestro-case`. `uipath-planner` keeps the genome current: an SDD change ends with `edit`'s "The SDD was revised" ([edit-guide.md](../edit/edit-guide.md)) and a new fingerprint ([sdd-writing-guide.md](../design/sdd-writing-guide.md) § Keeping the Genome Current). The strict check fails a `Designed in:` line whose fingerprint no longer matches its SDD (root plus every child for a solution) or whose SDD cannot be read, so a stale genome never passes. The SDD's decisions — the split and queue design, the implementation mode, the package pins, the refactor answers — are recorded in the sections that hold them (a flow's `Decided:` line, Configuration Questions defaults, a process genome's Deployment). The genome restates the SDD's products and projects and never contradicts them; which changes to a designed genome go to `design` first: [edit-guide.md](../edit/edit-guide.md) § Any genome.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
- "skillsVersion": "1.207.0-preview.1992",
3
+ "skillsVersion": "1.207.0-preview.1994",
4
4
  "targetCli": "^1.207.0"
5
5
  }