@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,221 +1,102 @@
1
1
  ---
2
2
  name: uipath-planner
3
- description: "UiPath solution planner & designer. Always invoke for PDD / SDD files (`pdd.md`, `*-sdd.md`). Authors a Solution Design Document (SDD) from a Process Definition Document (PDD) — or from another process-knowledge source (Confluence page, SOP, BPMN model, meeting transcript) — then derives the multi-skill, multi-project task list from an SDD, emitting live TaskCreate calls. Known-product single-project build, no PDD/SDD→that skill; ambiguous/'what should I build'→here. For `uip solution` lifecycle & `.uipx`→uipath-solution. For non-solution Orchestrator/IS/auth/traces→uipath-platform. For .xaml/.cs→uipath-rpa. For .flow→uipath-maestro-flow. For building/editing .bpmn→uipath-maestro-bpmn (a .bpmn as design input routes here). For agent.json/.py→uipath-agents. Sole case-SDD author. For caseplan.json build→uipath-maestro-case."
4
- when_to_use: "User provides a PDD/SDD (or another process-knowledge source or a prompt — the planner asks clarifying questions), says 'generate SDD'/'analyze this PDD'/design/architect a UiPath solution, OR makes a non-trivial request spanning SEPARATE buildable projects (a Flow orchestrating RPA processes that must be built, 'build a solution from scratch'). A PDD or SDD ALWAYS routes here (Phase D) — author its SDD even for ONE RPA process; never hand a raw PDD to a specialist. Load BEFORE authoring an SDD or deriving tasks. Skip ONLY when no PDD/SDD and the request targets one project — even with inline HITL/script/connector nodes — invoke that specialist directly. Flow calling only existing/deployed processes→uipath-maestro-flow."
5
- allowed-tools: Bash, Read, Write, Glob, Grep, WebFetch, AskUserQuestion, EnterPlanMode, ExitPlanMode, TaskCreate, TaskUpdate, TaskList
3
+ description: "UiPath planner and genome writer: always invoke to extract, author, document, create, update, edit, check or validate an automation genome or blueprint (`*-genome.md`) and for PDD / SDD files (`pdd.md`, `*-sdd.md`). design: PDD or process source (SOP, transcript, .bpmn as design input)→SDD + genome. decompose: multi-project request→plan. author / extract / edit: genome from an idea or SDD, from a UiPath project or solution (.xaml/.cs, .flow, .bpmn, agent.json, caseplan, Workflow.json, uipath.json, .uipx) to document, refactor or migrate, or from another framework's export. Sole case-SDD author. Build from a genome→uipath-genome. `.uipx` lifecycle→uipath-solution. Orchestrator/IS/auth→uipath-platform. Building .xaml/.cs→uipath-rpa; .flow→uipath-maestro-flow; .bpmn→uipath-maestro-bpmn; agent.json/.py→uipath-agents; caseplan.json→uipath-maestro-case. In-place Legacy activity upgrade→uipath-activity-migrator. Quality review→uipath-review."
4
+ when_to_use: "'generate an SDD', 'design/architect a UiPath solution'; 'propose a demo scenario'; reverse-engineer a project; 'refactor this process', 'rebuild it on Maestro or Portable' (extract first); a request spanning separate buildable projects; ambiguous 'what should I build'. A PDD always routes here, even for one RPA process. Skip only with no PDD, SDD, genome or existing automation to document, and one project (inline nodes count as one). Flow calling only deployed processes→uipath-maestro-flow."
5
+ argument-hint: "[design | decompose | author | extract | edit | check] [target]"
6
+ user-invocable: true
7
+ allowed-tools: Bash, Read, Write, Edit, Glob, Grep, WebFetch, WebSearch, AskUserQuestion, Agent, Skill, EnterPlanMode, ExitPlanMode, TaskCreate, TaskUpdate, TaskList
6
8
  ---
7
9
 
8
- # UiPath Planner — Design & Task Derivation
10
+ # UiPath Planner — design, decompose and genome-writing verbs
9
11
 
10
- Two jobs, one entry point:
12
+ One skill, six verbs. It writes the documents — the SDD, the plan and the genome — and checks every genome it writes; `uipath-genome` builds from the genome. The user names a verb (`/uipath-planner author invoice-sdd.md`) or the request implies one (§ Choosing the Verb). This file routes and holds the rules every verb shares; each verb's guide holds its procedure, its own rules and its read plan, and opens only when the verb runs.
11
13
 
12
- 1. **Design** — turn a Process Definition Document (PDD) into an implementation-ready Solution Design Document (SDD). Select scope (single product or multi-project Solution), write the SDD.
13
- 2. **Plan** — derive the per-skill task list from an SDD (or a non-PDD request), route to specialists, emit live `TaskCreate` calls.
14
+ **Host tools.** These names mean whatever your host provides: a **structured question** is the host's multiple-choice question tool — with none, list numbered options in one message and wait for the reply;
15
+ the **task-list tool** creates, updates and lists tasks with blocked-by links — with none, the plan is the task list;
16
+ **plan mode** is the host's review-before-acting mode — with none, present the plan and wait for approval before changing anything.
14
17
 
15
- Never execute the work. Outputs are SDD markdown, plan/tasks markdown, and live tasks — implementation always routes to a specialist.
18
+ ## Setup
16
19
 
17
- The skill has three paths, decided by the **Entry Guard**:
20
+ 1. **A genome is in play** (a path given, or one this run wrote) **and the verb is `author`, `extract`, `edit` or `check`**: read its first line and its section headings once. They answer every read-plan condition about the genome: its level (the first-line marker), whether it is extracted (a Source Map with a step table, not a stub), its source framework (the Source Map's `Source framework` row), whether it is transactional (a Transactional Shape that is not the stub), its SDD (the `Designed in:` line) and, for a process genome, its components (the Components table). A genome handed on for a build skips this step: `uipath-genome` reads it.
21
+ 2. **Open the verb's guide** (§ Verbs) and read it whole. Its § Read Plan names every other file the verb reads, the phase that opens it and the condition that must hold; a file no condition reached stays closed. A file the plan reads whole is read whole — not grepped or skimmed; a pointer that names a section (`guide.md § Section`) is a read of that whole section; a catalog file (a framework selectors guide) is read by its heading list, then by the sections in play. Never work from memory of a guide.
18
22
 
19
- - **Phase D — Design.** Input is a PDD, or an explicit "design / architect this" request. Author the SDD; the SDD write ends the turn, and Lane A continues on the next turn. See [sdd-generation-guide.md](references/sdd-generation-guide.md). **Case Management designs run through Phase D's Case Design Lane** ([case-design-lane-guide.md](references/case/case-design-lane-guide.md)) — a conversational design ending in ONE Case Review confirmation.
20
- - **Lane A — PDD-driven.** Input is an SDD with the `## Planner Handoff` marker (written by Phase D, or hand-written). Read it, derive tasks, emit live tasks. Zero to two user prompts. See [pdd-driven-lane-guide.md](references/pdd-driven-lane-guide.md).
21
- - **Lane B — Non-PDD.** No SDD; a non-PDD multi-project request. Elicit preferences, detect project type, write a plan, emit live tasks. 0–3 prompts (5-call cap). See [non-pdd-lane-guide.md](references/non-pdd-lane-guide.md).
23
+ ## Verbs
22
24
 
23
- ## When to Use This Skill
24
-
25
- - User provides a **PDD or any process-knowledge source** — a PDD, Confluence page, BPMN model, meeting/Zoom transcript, SOP, or requirements doc (as PDF / Word / Markdown / `.txt` / `.bpmn` / pasted) — and asks to design or build from it → Phase D
26
- - User asks to **design / architect / generate an SDD** for a UiPath automation → Phase D
27
- - User provides an **SDD path** → Lane A
28
- - The request is **non-trivial** — spans **separate buildable projects** that each need their own specialist (a Flow orchestrating standalone RPA processes or agents that must themselves be built) → Lane B
29
- - The request is **ambiguous** — no single specialist clearly matches, or "what can I build?"
30
-
31
- **Skip this skill for single-project tasks** — load the specialist directly. A request is **single-project** (one specialist owns it end-to-end) even when it bundles several things *inside one project*: a Flow with script nodes plus an inline HITL approval step plus its own solution wrapper is **one** `uipath-maestro-flow` task. Inline nodes (HITL QuickForm, script, connector, inline agent) and solution scaffolding are author sub-steps the specialist performs itself — not separate skills to orchestrate. Counting them as distinct skills and emitting a plan is the most common mis-trigger. This skill is only for work spanning **separate buildable projects** (distinct `.uipx` projects), or for turning a PDD into an architecture.
32
-
33
- ## Critical Rules
34
-
35
- 1. **Plan & design only — never author automation code.** Outputs: SDD markdown (Phase D), plan/tasks markdown (Lanes A/B), and live `TaskCreate` calls. NEVER write XAML, C#, Python, JSON, or project/scaffold files. Implementation always routes to a specialist. (SDD/plan authoring is the *only* file authoring this skill does.)
36
- 2. **Run the Entry Guard first.** Inspect the input and route to Phase D / Lane A / Lane B before anything else.
37
- 3. **Select scope before designing architecture (Phase D) — and gate every product by platform constraints.** Single product (RPA Process/Library/Test Auto, Maestro Flow, Maestro BPMN, Case, Agents, Coded Apps, API Workflows) vs multi-project Solution determines the template(s) and project structure. Use the [Product Selection Guide](references/product-selection-guide.md): Constraint Gate → Level 1 → 1.5 (RPA sub-type) → 1.75 (Solution composition) → 2.5 (project decomposition). The delivery model (Cloud / Automation Suite / standalone — asked at Phase D entry) blocks unavailable products via [platform-availability-guide.md](references/platform-availability-guide.md); user-excluded products are never re-offered.
38
- 4. **The SDD is architecture only — no task lists.** Phase D produces the SDD (Project Structure, Data Definitions, Testing Strategy, …). Task derivation is Lane A's job. Never put Task 1 / Task N templates or *implementation* `TaskCreate` calls in the SDD. End the SDD with a `## Next Steps` section. (Progress-tracking `TaskCreate` calls are a separate, allowed use.)
39
- 5. **Write the `## Planner Handoff` header AND the `<!-- planner-handoff:v1 -->` marker into every SDD.** Load-bearing detection contract — the Entry Guard detects either signal (redundant on purpose). `Generated by: uipath-planner`. Fields: Status (draft → ready), Execution autonomy, Delivery model, SDD scope, the solution-root block (solution scope only: Solution root SDD, Solution ID, Project SDD role root|child, Independently executable: no on children — the root's Project Inventory + SDD Index are the sole executable entry; children and root share ONE canonical tasks file), Project list section, Tasks file, Generated by, Generation date, Template validation. The first incremental write stamps `Status: draft`; only after SME resolution AND the template-superset check does Phase D flip it to `ready` (+ `Template validation: passed`) — the marker identifies a planner SDD, the Status field says whether it is consumable. Lane A derives tasks from `ready` only (missing field = legacy → treat as ready). Every template places the header after `## Document History`.
40
- 6. **Honour the template section structure as a hard superset contract.** Write single-product scope to `<PROCESS_NAME_KEBAB>-sdd.md`; write Solution scope to a `<SOLUTION_NAME_KEBAB>-solution-sdd.md` overview plus one `<PROJECT_NAME_KEBAB>-sdd.md` per project. If the user specifies an output path for the SDD, use it instead of these defaults. After writing, diff the generated H2/H3 headings against the template TOC — the generated set MUST be a superset. A missing template-required H2/H3 is an SDD defect, not an `[SME REVIEW]` item — regenerate it.
41
- 7. **Testing is mandatory and thorough — never offer "happy path only".** Phase D writes a full Testing Strategy section (happy path, edge cases, error scenarios, e2e for Master Projects). The plan adds a mandatory Testing task **per generation skill**, routing to that specialist's testing references — never describing the procedure inline. Implementation specialists may scope down at execution time; the SDD and plan do not.
42
- 8. **Route — do not redescribe.** The plan says WHICH skill to load and IN WHAT ORDER. It does NOT describe specialist-internal flows (target configuration, OR registration, XAML pipelines, HITL field/outcome schema, auth, testing procedures). For a HITL step, pass business intent only ("manager approves or rejects an expense; can add a reason if rejected") — never a field-level spec; the HITL specialist chooses the schema shape.
43
- 9. **Per-phase prompt budget.** Phase D runs under its own checkpoint model (see [sdd-generation-guide.md](references/sdd-generation-guide.md)) — no hard numeric cap. Lanes A and B each cap at **5 `AskUserQuestion` calls**. Ask **execution autonomy exactly once** (Phase D entry) and write it into the handoff header; Lane A reads it and never re-asks. Scope/UI answers resolved in Phase D flow forward via the SDD.
44
- 10. **Fill gaps with `[DEFAULT]` or `[SME REVIEW]` — never silently invent business rules.** `[DEFAULT]` for industry-standard patterns (retry counts, timeouts); `[SME REVIEW]` for business-knowledge gaps. Resolve `[SME REVIEW]` items with the user before finalizing (they gate the `Status: ready` flip, not the Phase 3 Step 0 skeleton write). For Agent/Coded App gaps, use `AskUserQuestion` (proceed-with-gap-filling vs different product) — never auto-fallback.
45
- - **These two tokens are the entire gap vocabulary, and their exact string is load-bearing.** Every downstream consumer — the `Action Required — SME Review Items` block, the gap counts, the `Status: ready` flip, Lane A's assumption carry-over, and any reviewer grepping the file — finds these items by exact match on `[SME REVIEW]` / `[DEFAULT]`.
46
- - **Write the marker verbatim, with nothing else inside the brackets.** The explanatory note goes *after* the closing bracket: `| UiPath version | [SME REVIEW] not recorded in the PDD |`. Never fold the note inside (`[SME REVIEW — not recorded]`) and never substitute another word (`[PLACEHOLDER]`, `[TBD]`, `[TODO]`, `<fill in>`, `N/A`, prose like "to be confirmed"). A decorated or renamed marker is invisible to every consumer above — the gap silently disappears.
47
- - **When you map or copy content out of another document** (a source SDD into a client template, a PDD into an SDD, one SDD section into another), **carry its markers through byte-for-byte.** Re-wording a marker you did not author destroys a gap someone else recorded. Add new markers for the gaps *you* find; never edit the ones already there.
48
- 11. **The terminal artefact of a Solution build is a packed `.uipx`.** The SDD's `## Next Steps` section points the user at the `uipath-solution` skill (`uip solution init` → `project add` per project → `resources refresh` → `pack`). A bare project folder is not the deliverable. Exception: when the Constraint Gate blocks Solutions for the delivery model — standalone, Automation Suite older than 2.2510, or a user exclusion — rewrite Next Steps to per-package Orchestrator publish routed via `uipath-platform`.
49
- 12. **Never copy SDD architecture into the plan, and never invent selectors or UI targets.** The plan references SDD section paths in skill prompts; it does not duplicate architecture content. Selectors require application inspection at development time — leave them for the specialist.
50
- 13. **Sole author of Case Management SDDs.** Every case design path — conversational, build handoff from `uipath-maestro-case`, draft finalization, PDD-driven — runs the Case Design Lane ([case-design-lane-guide.md](references/case/case-design-lane-guide.md)), which owns the conversation, the one confirmation, and the write; the case model and its defaults live in [case-design-layers-guide.md](references/case/case-design-layers-guide.md) and the render contract in the case SDD template. Design time resolves identities only — never schema discovery, project scaffolding, or create-on-missing; those are build concerns, recorded as gate decisions. **Open the lane's files with the Read tool, never `cat`.** **The design reading set is exactly three files** — the lane guide, the layers guide, and the case SDD template. `case-sdd-conformance-checklist.md` is NOT one of them: it belongs to the gate subagent at the end. **A design-only request (stops before `caseplan.json`) seeds `sdd.md` to disk as the FIRST tool call after the reading set**, before any design reasoning — the seed's content depends on none of it — then appends section by section. The lane's § Sketch bounded no-build item 0 owns the cadence.
51
-
52
- ## Entry Guard
53
-
54
- Run this guard before anything else.
55
-
56
- ```text
57
- 0. Product design-lane signals — checked first. Some products register a
58
- dedicated Phase D design lane (today: Case Management —
59
- references/case/case-design-lane-guide.md). Route to Phase D — Design through
60
- the product's lane when any of these fire (the path taxonomy stays the three
61
- paths above; a lane is Phase D's product-specific entrance):
62
- - a build request handed off by that product's build skill because its
63
- design input is missing (same conversation) → the lane's Build
64
- handoff mode,
65
- - a design request for that product with no PDD → the lane, direct,
66
- - the product's design draft exists (or is named) and the user asks to
67
- finalize it → the lane, draft finalization.
68
-
69
- 1. No document path?
70
- - Explicit design/architect language ("design this", "architect this",
71
- "generate an SDD"), OR an inline-described process with enough detail to
72
- substitute for a PDD (process steps + applications + exceptions) → Phase D — Design.
73
- A design/SDD request that is thin on process detail still routes to Phase D —
74
- elicit the missing steps/applications/exceptions via `AskUserQuestion`
75
- (Phase 1) rather than degrading to a Lane B plan.
76
- - Otherwise → Lane B — Non-PDD. Lane B is the default for document-less
77
- multi-project requests.
78
-
79
- 2. Document path → read its first ~50 lines.
80
- - Contains `## Planner Handoff` OR `<!-- planner-handoff:v1 -->` → Lane A — PDD-driven.
81
- (Either signal alone is sufficient — redundant on purpose.)
82
- - Reads as a PDD **or any process-knowledge source** — a process
83
- description (steps + applications + exceptions) in a PDD, Confluence
84
- page, BPMN model, meeting/Zoom transcript, SOP, or requirements doc;
85
- or a binary .pdf/.docx the user calls a PDD → Phase D — Design. Less-structured
86
- sources (transcripts, thin wikis) still route to Phase D but trigger
87
- heavier Phase 1 elicitation.
88
-
89
- 3. Otherwise (no marker, ambiguous, or unparseable) — ask via AskUserQuestion:
90
-
91
- > What is the document at <path>?
92
- > 1. Process Definition Document (PDD) — author the SDD (Phase D — Design), then derive tasks
93
- > 2. Solution Design Document (SDD) — proceed with task generation (Lane A — PDD-driven)
94
- > 3. Other context — read it; use its content to resolve Lane B elicitation
95
- > questions (skip any question it answers) and as plan input (Lane B — Non-PDD)
96
-
97
- 4. Route per the choice. For an SDD with no handoff header, proceed with safe
98
- defaults — see pdd-driven-lane-guide.md Step 1 for the default set and how
99
- defaults are surfaced to the user.
25
+ | Verb | Input | Output | Guide |
26
+ |---|---|---|---|
27
+ | `design` | A PDD or any process-knowledge source, or "design / architect this" | SDD markdown (`*-sdd.md`) with the `## Planner Handoff` header, then the genome of the agreed design (`author`, [genome-from-sdd-guide.md](references/author/genome-from-sdd-guide.md)) | [design-guide.md](references/design/design-guide.md), then [sdd-writing-guide.md](references/design/sdd-writing-guide.md) for Phase 3 |
28
+ | `decompose` | A request spanning separate buildable projects, with no SDD | A dated plan and live tasks created with the task-list tool | [decompose-guide.md](references/decompose/decompose-guide.md) |
29
+ | `author` | An idea, description, SOP, transcript, PDD, TO-BE or agreed SDD, when a genome or blueprint is asked for; an SDD to build that has no genome yet; an agreed SDD `design` just wrote; a workshop or demo goal that needs a scenario | `*-genome.md` | [author-guide.md](references/author/author-guide.md) |
30
+ | `extract` | A UiPath project or solution with its deployed state, or another automation or test framework's export | `*-genome.md` with its Source Map | [extract-guide.md](references/extract/extract-guide.md) |
31
+ | `edit` | A `*-genome.md` and a change: add, split, remove, re-extract what changed | The same genome, edited in place | [edit-guide.md](references/edit/edit-guide.md) |
32
+ | `check` | A `*-genome.md` to check or validate | One `FAIL:` line per finding, reported; the genome unchanged | § Check |
33
+ | *build* | A `*-genome.md` | Not this skill: hand the genome path to `uipath-genome` | — |
34
+
35
+ ## Choosing the Verb
36
+
37
+ Checked in order; the first match decides. Do not pattern-match on a filename or extension alone: the first-line genome marker, the `## Planner Handoff` heading and the `<!-- planner-handoff:v1 -->` marker are the load-bearing signals.
38
+
39
+ 1. **The user named a verb** → that verb.
40
+ 2. **A genome** — a `*-genome.md`, or a file whose first line is `<!-- UIPATH-AUTOMATION-GENOME` — to build, execute, implement or follow → invoke `uipath-genome` with `build "<GENOME_MD>"` and the user's request quoted verbatim, then stop; to change, split or re-extract → `edit`, or `design` for a change to what the SDD holds on a genome with a `Designed in:` line ([edit-guide.md § Any genome](references/edit/edit-guide.md)); to check or validate → `check`.
41
+ 3. **A design handed back by a build skill** — a build skill (`uipath-maestro-case`) found no SDD to build from — or **an SDD draft to finalize** (`*.draft.md`) → `design`; [sdd-writing-guide.md](references/design/sdd-writing-guide.md) § Design Handed Over by a Build Skill and Step 2 item 6 state what changes. **A caller's design request** — a fenced block whose first line is `planner-design-request: v1` → `design`; [caller-request-guide.md](references/design/caller-request-guide.md) states what changes.
42
+ 4. **An existing automation** — a UiPath project or solution, or another framework's export — to document, reverse-engineer, size or blueprint → `extract`; to refactor or migrate → `extract`, then `uipath-genome` (§ Chaining). A Windows-Legacy project whose activities are upgraded in place → `uipath-activity-migrator`.
43
+ 5. **A genome or blueprint asked for** from a description, an SOP, a transcript, a PDD, a TO-BE or an SDD, or an explicit workshop, demo or scenario request ("propose a demo scenario with X") → `author`. An explicit genome request outranks Critical Rule 4's PDD → SDD default. A request for an SDD *and* a genome or blueprint is `design`, which writes both.
44
+ 6. **A document path** → read its first ~50 lines. The `## Planner Handoff` heading or the `<!-- planner-handoff:v1 -->` marker (either alone suffices) marks an SDD: its handoff's `Genome` row names a genome that exists on disk → that genome, routed by item 2; otherwise → `author` from the SDD ([genome-from-sdd-guide.md](references/author/genome-from-sdd-guide.md)), then `uipath-genome` when the request's intent is to build (§ Chaining). A PDD or any process-knowledge source — steps, applications and exceptions in a PDD, Confluence page, BPMN model, meeting transcript, SOP or requirements doc, or a document the user calls a PDD → `design`; a less structured source still goes to `design`, with heavier elicitation. Anything else → ask once with a structured question: *PDD → `design`*, *SDD → `author`* (as for an SDD with the handoff header), *other context → `decompose`*, reading the document as its context.
45
+ 7. **No document** → explicit design language ("design this", "architect this", "generate an SDD"), or a process described inline with enough detail to stand in for a PDD (process steps + applications + exceptions) → `design`. A design request thin on detail still goes to `design`, which elicits what is missing through structured questions in Phase 1 rather than degrading to a `decompose` plan. Otherwise → `decompose`: a request spanning separate buildable projects, or one still ambiguous after detection ("what should I build?", "automate our invoice handling, not sure with what") — its Step 2 exits single-project requests to the specialist.
46
+ 8. **One project one specialist owns end to end, with no PDD, SDD or genome** → not this skill: load that specialist directly. A Flow with script nodes, an inline HITL step and its own solution wrapper is one `uipath-maestro-flow` project — inline nodes and solution scaffolding are steps the specialist performs, never separate skills to orchestrate. Counting them as skills and writing a plan is the most common mis-trigger.
47
+
48
+ ## Chaining
49
+
50
+ A verb hands its output to the next one only along these edges:
51
+
52
+ - **`design` → `author` → `uipath-genome`, one turn each.** A `ready` SDD gets its genome on the next turn, then the genome goes to `uipath-genome` when the request's intent is to build; a `draft` SDD waits. An SDD handed in with no genome takes the same path from `author`. A design a build skill handed over goes back to that skill instead, with no genome; a caller's request with `stop-after: sdd` ends at its result ([caller-request-guide.md](references/design/caller-request-guide.md)). The sequence and every condition: [sdd-writing-guide.md](references/design/sdd-writing-guide.md) § Step 3.
53
+ - **`extract` → `uipath-genome`** for a refactor or migration request, in the same session, once the user's edits are in; an unattended run hands the genome over without asking.
54
+ - **`design` revise → `edit`, same run.** An SDD change on an SDD whose `Genome` row names a genome on disk ends with that genome updated and given the strict check ([sdd-writing-guide.md](references/design/sdd-writing-guide.md) § Keeping the Genome Current).
55
+ - **`uipath-genome` → `edit` → `uipath-genome`.** A deviation the build reports in the genome comes back here as an `edit`, then the build runs again; the builder never changes the genome.
56
+ - **`uipath-genome` not installed** (it is absent from the session's list of available skills) → the genome verbs still write and check genomes, and `design` still writes the genome; say that building them needs `uipath-genome`.
57
+ - **Build → publish, only when asked.** The build is local and writes nothing to a tenant.
58
+ When the request asks to publish, deploy or go live, the publish follows the build's hand-off: through `uipath-solution`, or per package to Orchestrator through `uipath-platform` when Solutions (`.uipx`) are blocked for the SDD's `Delivery model` — standalone, Automation Suite older than 2.2510, or a user exclusion ([platform-availability-guide.md](references/shared/platform-availability-guide.md)).
59
+
60
+ ## Check
61
+
62
+ ```bash
63
+ node "<SKILL_DIR>/scripts/check-genome.mjs" <component|process> "<GENOME_MD>" --profile strict
100
64
  ```
101
65
 
102
- Do not pattern-match on filename or extension alone; those are unreliable. The `## Planner Handoff` heading and the `<!-- planner-handoff:v1 -->` marker are the load-bearing detection contract — Phase D writes both deterministically; the guard detects either.
103
-
104
- ## Phase D — Design (summary)
105
-
106
- When triggered: input is a PDD, or an explicit design/architect request. Three phases; full detail in [sdd-generation-guide.md](references/sdd-generation-guide.md). All user questions use numbered-choice format.
107
-
108
- 1. **Phase 1 — PDD Analysis & Scope Selection.** Ask execution mode (Autonomous or Interactive) and delivery model (Cloud / Automation Suite / standalone) in one batched call — skip the delivery question when the PDD or request states it, or when the `uip login status` preflight resolves it from the session `BaseUrl`. Read the full PDD, extract structured information (including environment & constraint signals, as-is/to-be), synthesize the need profile (Step 3.5 — product picks reason from the need, not keywords), then run Constraint Gate → Level 1 (primary scope) → Level 1.5 (RPA sub-type) → Level 1.75 (Solution composition) → Level 2.5 (project decomposition). Step 2.5 runs an authenticated `uip` library search (CLI auth required). In Interactive mode, present a summary with the recommended scope at the top and alternatives below; in Autonomous mode, proceed.
109
- 2. **Phase 2 — Architecture Review.** Load the product-specific template. Generate the architectural core sections. Present for review in Interactive mode.
110
- 3. **Phase 3 — Full SDD Generation.** **Step 0 is a hard gate — write the SDD skeleton to disk (header + `## Planner Handoff` header/marker with `Status: draft` + `## Decisions Made` / `## Recommended Scope` + the Phase 1/2 sections) BEFORE generating any Phase 3 section**, then append each remaining section as you generate it, so a watchdog kill still leaves a gradeable file. The disk write is progress task 4, never the last task. Generate all remaining sections including the thorough Testing Strategy. Resolve `[SME REVIEW]` items before finalizing (unresolved items carry recorded defaults and do not block `ready`; only architecture-blocking items keep `draft`). The LAST write flips `Status` to `ready` after the superset check passes. The SDD write is a **turn boundary**: in autonomous mode, end the turn after the SDD summary and continue into Lane A on the next turn (do not stack both phases in one turn).
66
+ `<SKILL_DIR>` is the folder holding this `SKILL.md`; the level argument is the one the genome's first-line marker names. A process genome's check covers every component genome its Components table links. An extracted genome checked against its source export adds `--processes "<INVENTORY_JSON>" --recordsets "<RECORDSETS_JSON>"` (both together; the two files the framework migration pack's `data` command writes). Exit 0 passes; exit 1 prints one `FAIL:` line per finding; exit 2 is a usage error — fix the command, never the genome. A hand-run check whose level argument is not the marker's level reports the marker as missing: run it again with the marker's level — that `FAIL` is not a genome finding. `node` missing → say the check did not run.
111
67
 
112
- ## Lane A — PDD-driven (summary)
68
+ - **`check`** runs it and reports each `FAIL` with the section it names; it changes nothing. A fix the user then asks for is an `edit`.
69
+ - **`author`, `extract` and `edit`** run it on every genome they wrote or changed, fix every `FAIL` and run it again — at most three rounds; a `FAIL` left after the third is named in the closing summary.
113
70
 
114
- When triggered: an SDD with the `Planner Handoff` marker is detected (or Phase D just wrote one).
115
-
116
- 1. Read the SDD's `## Planner Handoff` header. **`Status: draft` → refuse task derivation** (unfinished Phase D or a blocking SME item — offer resume or regenerate; missing field = legacy → ready; open default-carried SME items on a `ready` SDD travel into tasks as assumptions). Reuse the execution autonomy chosen in Phase D — do not re-ask. If `SDD scope: solution`, run the root algorithm: resolve the Solution root, verify every indexed child (exists, same Solution ID, ready), read every child's architecture, merge shared resources, emit ONE canonical tasks file (see pdd-driven-lane-guide Step 3).
117
- 2. If `<process>-tasks.md` already exists, ask `continue / regenerate` (1 prompt). See [plan-and-tasks-format.md → Regenerate logic](references/plan-and-tasks-format.md#regenerate-logic-pdd-driven-lane-only).
118
- 3. Parse the SDD project list section. Pick the multi-skill pattern.
119
- 4. Ask the UI batch (3 questions, 1 call) only if the SDD's Application Inventory lists UI applications and the answers aren't already resolved.
120
- 5. Derive tasks. Write `<process>-tasks.md`.
121
- 6. If `Execution autonomy: interactive` → `EnterPlanMode` for review. If `autonomous` → emit live tasks directly.
122
- 7. Emit `TaskCreate` calls + `addBlockedBy` edges. Hand off.
123
-
124
- Full procedure: [pdd-driven-lane-guide.md](references/pdd-driven-lane-guide.md).
125
-
126
- ## Lane B — Non-PDD (summary)
127
-
128
- When triggered: no SDD; a document-less multi-project request (the default route when no explicit design/architect language or inline-described process points to Phase D).
129
-
130
- 1. Step 1 — detect before asking (no prompts): read any provided context doc, filesystem detection (`Glob`/`Read`/`Grep` — cross-platform), multi-skill pattern classification, need-driven project-type inference, delivery-model resolution.
131
- 2. Step 2 — single-skill exit: one project owned end-to-end by one specialist → **stop Lane B**, load that specialist directly with the detected context (no plan file, no tasks).
132
- 3. Step 3 — batched elicitation: generation approach + execution autonomy + project-type fallback (when still vague) + delivery model (when a gated product is a candidate) in **one** `AskUserQuestion` call. Drop any question already resolved.
133
- 4. Step 4 UI batch — only when the plan includes UI automation in `uipath-rpa`.
134
- 5. Write `YYYY-MM-DD-<feature>.md` to `docs/plans/` (project) or `./plans/` (no project). Every task prompt embeds the plan path.
135
- 6. If explore-first → `EnterPlanMode`. If simultaneous → emit plan as text + live tasks.
136
-
137
- Full procedure: [non-pdd-lane-guide.md](references/non-pdd-lane-guide.md).
138
-
139
- ## Skill capability map
71
+ ## Critical Rules
140
72
 
141
- High-level view of what each specialist owns. **Do not describe internal flows of any specialist in your plan** — each skill documents its own procedures and will drift out of sync if duplicated here.
73
+ Every verb obeys these; each verb's guide adds its own under § Verb Rules.
142
74
 
143
- | Skill | What it owns | Handles auth? | Handles deploy? |
144
- |---|---|---|---|
145
- | `uipath-rpa` | RPA workflows (XAML and C# coded): create, edit, build, run, debug. Owns **all** UI automation authoring end-to-end, including live-app exploration and probing. | No (relies on Studio) | **No** — defer to `uipath-solution` for `.uipx` multi-project, `uipath-platform` for single non-solution packages |
146
- | `uipath-agents` | AI agents — code-based (LangGraph / LlamaIndex / OpenAI Agents) and low-code (`agent.json`) | Yes (`uip login`) | **Yes** — end-to-end |
147
- | `uipath-coded-apps` | Web apps (`.uipath/` dir): build, sync, package, publish, deploy | Yes (`uip login`) | **Yes** — end-to-end |
148
- | `uipath-functions` | Coded Functions — Python (`uip function new -l py`; Pydantic typed I/O) or TypeScript/JavaScript (`-l ts / js`, TypeScript default; `defineFunction` + schema-first typed I/O) — atomic deterministic logic: transforms, custom-auth API calls, ERP/IS-connection queries. Runs serverless or on an RPA robot; a JS/TS function is delivered as a run-as-job function or an HTTP endpoint (Coded App backends) — one calling mode per function. Invoked from Maestro (Flow/BPMN), agents-as-tools, Orchestrator API, or its HTTP trigger. No LLM/agent loop (that → `uipath-agents`) | Yes (`uip login`) | **Yes** — `uip function pack/publish` |
149
- | `uipath-rules` | Business Rules projects — one `.dmn` decision table (DMN 1.5) per project: `uip rules init`, `refresh`, `validate`, `debug`. Called by BPMN business rule tasks, Case `business-rule` tasks, and RPA | Yes (`uip login` for `debug`) | **No** — `uip solution pack/publish/deploy` via `uipath-solution` |
150
- | `uipath-maestro-flow` | `.flow` files orchestrating RPA, agents, apps | Yes (`uip login`) | **Partial** — Orchestrator deploy of `.uipx`-wrapped solutions → `uipath-solution`; non-solution single package → `uipath-platform` |
151
- | `uipath-maestro-bpmn` | `.bpmn` files — standards-based BPMN 2.0 process orchestration (gateways, events, boundary timeouts, subprocesses, multi-instance) over RPA, agents, APIs, HITL. Authors its own inline userTask/HITL nodes. | Yes (`uip login`) | **Yes** — packages, uploads, publishes/deploys, and runs via `uip maestro bpmn`; Orchestrator deploy of `.uipx`-wrapped solutions → `uipath-solution` |
152
- | `uipath-maestro-case` | Case Management authoring — `caseplan.case` from an SDD (`case pack` compiles it to `caseplan.case.bpmn`; authoring `.bpmn` directly is `uipath-maestro-bpmn`) | Yes (`uip login`) | **Partial** — publishes to Studio Web and Orchestrator itself; `.uipx` solution deploy → `uipath-solution` |
153
- | `uipath-api-workflow` | API Workflows (JSON `document.dsl`): author, run locally (`uip api-workflow run`), connector activities | Yes (`uip login`) | **No** — `uip solution pack/publish` via `uipath-solution` |
154
- | `uipath-human-in-the-loop` | HITL node authoring — approval gates, escalations, write-back validation inside **Flow** projects. Coded-agent HITL → `uipath-agents`; BPMN / Case / RPA own theirs inline (userTask / task type / Action Center) | No (authoring only) | **No** — ships inside the host project |
155
- | `uipath-platform` | Auth (`uip login`), Orchestrator (folders, processes, jobs, machines, users, roles), resources (assets, queues, storage buckets + bucket files, libraries, webhooks, triggers), Integration Service (connectors, connections, activities, IS triggers), Data Fabric entities/records/files/choice-sets (`uip df`), traces, licensing | Yes (auth hub) | **Yes** — for non-solution single packages and Orchestrator-side post-deploy ops |
156
- | `uipath-ixp` | Document Understanding / IXP — extraction from semi-structured documents (invoices, forms): taxonomy, model, classify / extract / validate. Standalone project, or the extraction step a primary consumes | Yes (`uip login`) | **Partial** — model publish/tag via `uip ixp`; consumed by the host project |
157
- | `uipath-connector-builder` | Integration Service **custom connector** authoring (REST+JSON) on disk via `uip is connectors builder` — build a connector when the catalog has none for a required integration (needed by API Workflows / Maestro / Agents; RPA can call the API directly instead) | Yes (`uip login`) | **Yes** — import/publish is deployment (`uip is connectors`) |
158
- | `uipath-mcp-servers` | UiPath AgentHub MCP server registration (6 types: `uipath`, `coded`, `command`, `remote`, `swagger`, `platform`) and resource-tool authoring on `uipath`-type servers (`automation`, `agent`, `agentic-process`, `api-workflow`). Wraps Orchestrator resources, external HTTP MCP endpoints, OpenAPI specs, published coded agents, local subprocess commands, or first-party UiPath services as MCP tools. NOT for FastMCP / Python `mcp` SDK work. | Yes (`uip login`) | **Yes** — registration is deployment (posts directly to AgentHub) |
159
- | `uipath-solution` | `uip solution` lifecycle (init, pack, publish, deploy, activate) for `.uipx` solutions. Runs as the final skill in PDD-driven flows (deploy of `.uipx` solutions). | Yes (`uip login`) | **Yes** — for multi-project Solution (`.uipx`) deploys |
75
+ 1. **Plan, design and specify — never author automation code yourself.** `design`, `decompose`, `author`, `extract` and `edit` deliver only SDD, plan and genome markdown,
76
+ plus live tasks created with the task-list tool;
77
+ they NEVER write automation code (XAML, C#, Python) or project or scaffold files. Extraction's working files — inventory JSON under the work dir, part briefs and ledgers — are not deliverables and are exempt. Implementation always routes to a specialist, and every genome build to `uipath-genome`.
78
+ 2. **Choose the verb first** (§ Choosing the Verb) and run § Setup, before anything else. Every verb then reads by its guide's § Read Plan, in at most three turns — never file by file as each file names the next.
79
+ 3. **One writer, one builder, one handoff.** `author`, `extract` and `edit` write every genome and end with its strict check (§ Check); `uipath-genome` builds every genome as written and never changes one — not even a one-line fix the user names. The genome is what passes to `uipath-genome`; for a designed genome the agreed SDD is its source ([genome-format-guide.md § Design Links](references/shared/genome-format-guide.md)).
80
+ 4. **The output follows the input.** A PDD or process source gets an **SDD, then the genome of the agreed SDD** (§ Chaining); an SDD to build gets a **genome**, then the build; a request spanning separate buildable projects with no SDD gets a **dated plan**; a genome or blueprint request, a refactor or a migration gets a **genome**; a **PDD** is never written — it is input only.
81
+ 5. **Route — do not redescribe.** An SDD, a plan and a genome say WHICH skill builds each part and IN WHAT ORDER. They never describe a specialist's internal flow (target configuration, Object Repository registration, XAML pipelines, scaffolding, pack/publish, HITL field or outcome schema, auth, testing procedures). For a HITL step, pass business intent only ("manager approves or rejects an expense; can add a reason if rejected") — the HITL specialist chooses the schema.
82
+ 6. **Fill gaps with markers — never silently invent business rules.** SDDs and plans use `[DEFAULT]` for industry-standard patterns (retry counts, timeouts) and `[SME REVIEW]` for business-knowledge gaps; resolve `[SME REVIEW]` items with the user before finalizing — they gate the `Status: ready` flip, not the skeleton write. Genomes use the best interpretation plus `*[Inferred]*` ([genome-format-guide.md § Ambiguity Marker](references/shared/genome-format-guide.md)). For an Agent or Coded App gap, ask with a structured question (proceed with gap filling, or a different product) — never fall back on your own. Exact tokens, nothing inside the brackets, byte-for-byte carry-over: [sdd-writing-guide.md § Gap Markers](references/design/sdd-writing-guide.md#gap-markers).
83
+ 7. **Never invent selectors or UI targets.** Selectors need the application inspected at development time; an SDD, a plan and an authored genome leave them to the specialist. A target carried over from the source is not invented: `extract` records where the source's targets live (objects, ids, counts) in the Source Map, and `uipath-genome` migrates them at build.
84
+ 8. **Gate every product by the platform.** The delivery model (Automation Cloud, Automation Suite, standalone Orchestrator) blocks unavailable products through [platform-availability-guide.md](references/shared/platform-availability-guide.md), in every verb that chooses a product (`design`, `decompose`, `author` without an SDD, `extract` for its targets); a product the user excluded is never offered again in the session.
85
+ 9. **Prompt budget.** `design` runs its own checkpoint model ([design-guide.md](references/design/design-guide.md)); `decompose` caps at **5 structured questions**. Ask execution autonomy **exactly once**, at `design` entry — never when a caller's request carries `execution` — and write it into the handoff header; `author` on an SDD reads it and never asks again. Scope and UI answers resolved in `design` flow forward through the SDD.
160
86
 
161
87
  ## Reference Navigation
162
88
 
163
- ### Phase D — Design
164
-
165
- | File | Purpose |
166
- |------|---------|
167
- | [SDD Generation Guide](references/sdd-generation-guide.md) | Phase orchestrator — Phase 1, 2, 3 step-by-step instructions |
168
- | [Case Design Lane Guide](references/case/case-design-lane-guide.md) | The case design conversation — entry, tenant grounding, authoring policy, the one Case Review, and the write |
169
- | [Case Design Layers Guide](references/case/case-design-layers-guide.md) | The case model and every design **Default** — skeleton (triggers, stages, the ten task types), gates (lifecycle rules, exits, sequencing, secondary lanes), data (variables, outputs, expressions), time (SLAs, escalations, responses), naming rules, and the closure checklist |
170
- | [PDD Analysis Guide](references/pdd-analysis-guide.md) | How to extract structured data from PDDs in any format |
171
- | [Business Rules Guide](references/business-rules-guide.md) | Validation vs decision vs reasoning rules; DMN-style decision tables; reasoning list. Load when filling RPA §4 or BPMN §5. |
172
- | [Product Selection Guide](references/product-selection-guide.md) | **Constraint Gate** (delivery model + exclusions filter), **Level 1** (primary scope), **Level 1.75** (Solution composition), **Level 2.5 Part B** (cross-product project list merge), **Level 3** (capability add-ons), template mapping |
173
- | [Platform Availability Guide](references/platform-availability-guide.md) | Product × delivery-model availability matrix (Cloud / Automation Suite / standalone), alternatives for blocked products, verification rule for uncertain cells. Load whenever the Constraint Gate runs — every delivery model: "Cloud is not uniform", variants (GovCloud / Dedicated / Test Cloud) and per-tenant entitlements can block products inside the Cloud column. |
174
- | [RPA Product Guide](references/rpa-product-guide.md) | RPA **Level 1.5** (sub-type), **Level 2** (authoring mode), **Level 2.5 Part A** (RPA decomposition), R-07 naming, REFramework. Load when Level 1 = RPA or a Solution includes RPA. |
175
- | [Package Selection Guide](references/package-selection-guide.md) | NuGet package selection; Integration Service vs NuGet rules; per-product dependency manager. Load when filling §14 Packages or equivalent. |
176
- | [Tenant Library Search Guide](references/tenant-library-search-guide.md) | Step 2.5 procedure for discovering deployed libraries via `uip or libraries list` + JMESPath filtering — auth preflight, ranking, zero-results branch, manual fallback. |
177
- | [Attended Re-auth Pattern Guide](references/attended-reauth-pattern-guide.md) | Design contract for portal automations with a human-only login (hardware 2FA token, smart card, biometric): handoff point, state-verified resume, attended robot, routing to `uipath-rpa`. Load when the PDD signals a non-scriptable interactive sign-in. |
178
- | [ASDD Crosswalk Guide](references/asdd-crosswalk-guide.md) | Generate the client-facing Word SDD/ASDD: warn the user for the template path, match the markdown SDD into its sections, compute missing pieces. Includes the crosswalk for the standard UiPath SDD template. Load at Step 2.5 when the user wants the official document. |
179
-
180
- ### SDD templates
181
-
182
- | File | Purpose |
183
- |------|---------|
184
- | [RPA Template](assets/templates/rpa-sdd-template.md) | SDD template for RPA Process / Library / Test Automation |
185
- | [Flow Template](assets/templates/flow-sdd-template.md) | SDD template for Maestro Flow |
186
- | [BPMN Template](assets/templates/bpmn-sdd-template.md) | SDD template for Maestro BPMN |
187
- | [Case Management Template](assets/templates/case/case-sdd-template.md) | SDD template for Case Management (downstream Case Definition Blueprint shape) |
188
- | [Agent Template](assets/templates/agent-sdd-template.md) | SDD template for UiPath Agents |
189
- | [Coded App Template](assets/templates/coded-app-sdd-template.md) | SDD template for Coded Apps (web) |
190
- | [API Workflow Template](assets/templates/api-workflow-sdd-template.md) | SDD template for API Workflows |
191
-
192
- ### Scripts (Phase D)
193
-
194
- | Script | Purpose |
195
- |------|---------|
196
- | `scripts/docx-extract.{sh,ps1}` | .docx PDD → UTF-8 markdown + extracted screenshots (pandoc). Run at Phase D Step 1 when a Word PDD renders garbled — never drive Word via COM. **Cross-platform twins:** `bash …/docx-extract.sh` on macOS/Linux/Git-Bash; `pwsh -File …/docx-extract.ps1` (or `powershell -File …` for Windows PowerShell 5.1) on Windows. Keep the two files behaviorally identical. |
197
- | `scripts/sdd-to-docx.{sh,ps1}` | Generated SDD markdown → styled .docx, optional corporate `--reference-doc`. Run at Phase D Step 2.5 only when the user asks for Word output. Same cross-platform twin invocation (`bash` `.sh` / `pwsh -File` `.ps1`). |
198
-
199
- ### Lanes A & B — Planning
200
-
201
- | File | Purpose |
202
- |------|---------|
203
- | [PDD-driven Lane Guide](references/pdd-driven-lane-guide.md) | Lane A end-to-end — read SDD header, parse project list, derive tasks, write tasks.md, emit live tasks |
204
- | [Non-PDD Lane Guide](references/non-pdd-lane-guide.md) | Lane B end-to-end — elicitation, project-type inference, filesystem detection, UI batch, write plan.md |
205
- | [Multi-skill Patterns Guide](references/multi-skill-patterns-guide.md) | The named multi-skill patterns (RPA build+deploy, Flow with local/deployed resources, Agent with RPA tools, etc.). Used by both lanes. |
206
- | [Plan and Tasks Format](references/plan-and-tasks-format.md) | Header schema, task row schema, identity tuple, status states, regenerate-with-preservation algorithm, TaskCreate mapping, anti-hallucination rule, quality rules |
89
+ | Verb | Guides it may read (its § Read Plan decides when) |
90
+ |---|---|
91
+ | `design` | [design-guide.md](references/design/design-guide.md) whole — its § Read Plan names every other guide (Phase 3: [sdd-writing-guide.md](references/design/sdd-writing-guide.md)) and the SDD templates in `assets/templates/`; [asdd-crosswalk-guide.md](references/design/asdd-crosswalk-guide.md) with `scripts/sdd-to-docx.mjs` (client Word SDD, on request) |
92
+ | `decompose` | [decompose-guide.md](references/decompose/decompose-guide.md), [multi-skill-patterns-guide.md](references/shared/multi-skill-patterns-guide.md) |
93
+ | `decompose`: format | [plan-and-tasks-format.md](references/shared/plan-and-tasks-format.md) — header schema, task row schema, identity tuple, status states, regenerate-with-preservation algorithm, task-list tool mapping, anti-hallucination rule, quality rules |
94
+ | `author`, `extract`, `edit` | [author-guide.md](references/author/author-guide.md), [genome-from-sdd-guide.md](references/author/genome-from-sdd-guide.md), [scenario-proposal-guide.md](references/author/scenario-proposal-guide.md), [extract-guide.md](references/extract/extract-guide.md), [edit-guide.md](references/edit/edit-guide.md), [genome-format-guide.md](references/shared/genome-format-guide.md), [extracted-genome-guide.md](references/shared/extracted-genome-guide.md), [transactional-shape-guide.md](references/shared/transactional-shape-guide.md), [skill-mapping-guide.md](references/shared/skill-mapping-guide.md), [uipath-source-guide.md](references/extract/uipath-source-guide.md) with [uipath-rpa-signals-guide.md](references/extract/uipath-rpa-signals-guide.md) and [uipath-non-rpa-signals-guide.md](references/extract/uipath-non-rpa-signals-guide.md), [source-frameworks-guide.md](references/extract/source-frameworks-guide.md), [defect-verification-guide.md](references/shared/defect-verification-guide.md), [extraction-parts-guide.md](references/shared/extraction-parts-guide.md); the genome templates in `assets/templates/` |
207
95
 
208
96
  ## Anti-patterns
209
97
 
210
- 1. **Skipping the entry guard.** Always inspect the input first. A PDD silently treated as a generic doc produces a degraded deliverable.
211
- 2. **Writing automation code or modifying the project.** SDD and plan/tasks markdown only. In explore-first Lane B mode, non-mutating `uip` discovery is the upper limit.
212
- 3. **Treating a single-project request as a plan** — the most common mis-trigger. The inline-nodes rule lives in the Skip paragraph under When to Use This Skill.
213
- 4. **Copying the PDD structure into the SDD.** The SDD reorganizes content for implementation — it does not mirror the PDD's document flow.
214
- 5. **Defaulting to RPA Process when the need profile points elsewhere.** Use the Product Selection Guide decision tree on the synthesized need, not keywords: genuine judgment/reasoning → Agents; stages/SLA/approval lifecycle → Case Management ("AI" over a rule-expressible decision is still RPA). Forcing single-product scope when the PDD describes multiple coordinated projects is the same mistake — offer Solution.
215
- 6. **Generating an Implementation Plan / task list inside the SDD.** Architecture only; the SDD ends with `## Next Steps`. Task derivation is Lane A's job.
216
- 7. **Describing specialist-internal flows in the plan or SDD.** Target configuration, OR registration, scaffolding, auth, pack/publish, testing procedures, HITL field schema — all owned by the specialist's own docs. Inlining creates drift.
217
- 8. **Asking about test coverage depth.** Testing is always thorough. The implementation specialist scopes down at execution time if the user wants a quick MVP; the planner does not offer the option.
218
- 9. **Recommending a skill that contradicts filesystem signals.** `.flow` → `uipath-maestro-flow`, not `uipath-rpa`.
219
- 10. **Inventing selectors from screenshots,** or asking the user what the planner / library / filesystem can already answer. Default first; spend a prompt only on decisions only the user can make.
220
- 11. **Renaming the `## Planner Handoff` heading or stripping the `<!-- planner-handoff:v1 -->` marker.** Either signal alone is sufficient for detection, but both should remain — removing both breaks Lane A detection silently.
221
- 12. **Recommending a product the customer's platform cannot run, or re-offering an excluded one.** Defaulting to cloud-modern picks (Maestro, Coded Apps, Document Understanding) on an Automation Suite engagement is the most expensive design error — every blocked product survives review only to fail at delivery. Run the Constraint Gate; once a user says "we don't want X", X stays blocked for the whole session.
98
+ 1. **Skipping § Choosing the Verb.** A PDD silently treated as a generic document produces a degraded deliverable.
99
+ 2. **Writing automation code or changing a project.** SDD, plan and genome markdown only; a build goes to `uipath-genome`. In explore-first `decompose`, non-mutating `uip` discovery is the upper limit.
100
+ 3. **Recommending a skill that contradicts filesystem signals.** `.flow` → `uipath-maestro-flow`, not `uipath-rpa`.
101
+ 4. **Asking what the source, the SDD, a library or the filesystem can already answer.** Default first; spend a prompt only on a decision only the user can make.
102
+ 5. **Recommending a product the customer's platform cannot run, or re-offering an excluded one.** Defaulting to cloud-modern picks (Maestro, Coded Apps, Document Understanding) on an Automation Suite engagement is the most expensive design error — every blocked product survives review only to fail at delivery.
@@ -1,6 +1,6 @@
1
1
  # Solution Design Document — <AGENT_NAME>
2
2
 
3
- > **Template:** UiPath Agents (Python/coded or low-code). If chosen when the PDD lacked AI-specific details, gap-filling Q&A in Phase 1 should have filled: framework choice, tools, memory/RAG, evaluation criteria.
3
+ > **Template:** UiPath Agents (Python/coded or low-code). If chosen when the PDD lacked AI-specific details, Phase 1 gap-filling Q&A fills: framework choice, tools, memory/RAG, evaluation criteria.
4
4
  > **Phase 2 sections:** §2, §3, §4, §6, §9. **Phase 3 sections:** all others.
5
5
 
6
6
  ---
@@ -19,27 +19,27 @@
19
19
 
20
20
  | Field | Value |
21
21
  |---|---|
22
- | **Status** | <draft \| ready — Lane A derives tasks only from ready> |
22
+ | **Status** | <draft \| ready — the genome is written only from ready> |
23
23
  | **Execution autonomy** | <autonomous \| interactive> |
24
24
  | **Delivery model** | <cloud \| automation-suite <VERSION_IF_KNOWN> \| standalone \| unspecified> |
25
25
  | **SDD scope** | <single-product \| solution> |
26
26
  | **Solution root SDD** | <PATH_TO_SOLUTION_ROOT_SDD — solution scope only; omit all four solution rows for single-product> |
27
27
  | **Solution ID** | <SOLUTION_NAME_KEBAB> |
28
28
  | **Project SDD role** | child |
29
- | **Independently executable** | no — Lane A derives tasks only via the Solution root |
30
- | **Project list section** | §9 Project Structure |
31
- | **Tasks file** | `<AGENT_NAME_KEBAB>-tasks.md` |
29
+ | **Independently executable** | no — built only through the Solution root |
30
+ | **Project list section** | §9 Project Structure + §3 Tools |
32
31
  | **Generated by** | uipath-planner |
33
32
  | **Generation date** | <YYYY-MM-DD> |
34
- | **Template validation** | <pending \| passed — set to passed with the ready flip> |
33
+ | **Template validation** | <pending \| passed — set to passed when the template check passes, whatever the Status> |
34
+ | **Genome** | <path — written by the genome turn; omit this row in the SDD write> |
35
35
 
36
36
  ---
37
37
 
38
38
  <!--
39
39
  EMIT THIS BLOCK ONLY when Execution autonomy: autonomous.
40
40
  Skip entirely in interactive mode (decisions were checkpoint-reviewed).
41
- See sdd-generation-guide.md Phase 3 Step 2 item 3 for the format spec.
42
- Non-RPA scope: rows collapse to scope + product-specific Level-1.5-equivalent.
41
+ See sdd-writing-guide.md Step 2 item 3 for the format spec.
42
+ Non-RPA scope: Platform constraints, Scope and the product row.
43
43
  -->
44
44
  ## Decisions Made
45
45
 
@@ -47,15 +47,16 @@ Non-RPA scope: rows collapse to scope + product-specific Level-1.5-equivalent.
47
47
 
48
48
  | # | Decision | Picked | One-sentence reason |
49
49
  |---|---|---|---|
50
- | 1 | **Scope** (Level 1) | <SINGLE_PRODUCT_OR_SOLUTION_COMPOSITION> | <REASON> |
51
- | 2 | **Agent framework** | <LANGGRAPH_OR_LLAMAINDEX_OR_OPENAI_AGENTS_OR_SIMPLE_FUNCTION> | <REASON_FROM_PDD> |
50
+ | 1 | **Platform constraints** (Constraint Gate) | <DELIVERY_MODEL; BLOCKED_PRODUCTS_OR_NONE> | <REASON> |
51
+ | 2 | **Scope** (Level 1) | <SINGLE_PRODUCT_OR_SOLUTION_COMPOSITION> | <REASON> |
52
+ | 3 | **Agent framework** | <LANGGRAPH_OR_LLAMAINDEX_OR_OPENAI_AGENTS_OR_SIMPLE_FUNCTION> | <REASON_FROM_PDD> |
52
53
 
53
54
  ---
54
55
 
55
56
  <!--
56
57
  EMIT THIS BLOCK ALWAYS (both execution modes).
57
58
  Durable copy of the Phase 1 Recommended Scope summary — the SDD record of the
58
- Constraint Gate outcome. See product-selection-guide.md → Summary block for the full format.
59
+ Constraint Gate outcome. See scope-recommendation-guide.md → Summary block for the full format.
59
60
  -->
60
61
  ## Recommended Scope
61
62
 
@@ -69,7 +70,7 @@ Constraint Gate outcome. See product-selection-guide.md → Summary block for th
69
70
  <!--
70
71
  EMIT THIS BLOCK ONLY when at least one [SME REVIEW] item remains after Step 1.5 resolution.
71
72
  Skip entirely when no review items are open.
72
- See sdd-generation-guide.md Phase 3 Step 2 item 4 for the format spec.
73
+ See sdd-writing-guide.md Step 2 item 4 for the format spec.
73
74
  -->
74
75
  ## Action Required — SME Review Items
75
76
 
@@ -97,6 +98,7 @@ See sdd-generation-guide.md Phase 3 Step 2 item 4 for the format spec.
97
98
 
98
99
  ---
99
100
 
101
+ <!-- planner-sdd-body:v1 -->
100
102
  ## 1. Agent Overview
101
103
 
102
104
  | Field | Value |
@@ -265,8 +267,6 @@ flowchart LR
265
267
  |---|---|---|
266
268
  | <SCENARIO — e.g., "low confidence on decision"> | <ESCALATION_VIA_SDK> | <ROLE_OR_USER> |
267
269
 
268
- **Note:** HITL escalation will be wired up by the `uipath-human-in-the-loop` skill during implementation.
269
-
270
270
  ---
271
271
 
272
272
  ## 8. Integrated Components
@@ -411,13 +411,13 @@ flowchart LR
411
411
 
412
412
  ## 11. Next Steps
413
413
 
414
- This SDD captures architecture and decisions. To generate the implementation task list and execute the build, load `uipath-planner` with this SDD path:
414
+ This SDD captures architecture and decisions. To build it, load `uipath-planner` with this SDD path:
415
415
 
416
416
  > Load `uipath-planner`. SDD path: `<this-file>`.
417
417
 
418
- The planner detects the `## Planner Handoff` header, parses the project structure, derives the per-skill task list (routing each task to `uipath-agents`, `uipath-rpa`, `uipath-platform`, etc.), writes `<AGENT_NAME_KEBAB>-tasks.md` alongside this SDD, and emits live `TaskCreate` calls. If `Execution autonomy: interactive`, it enters plan mode for task review before execution.
418
+ **Build from the genome.** On the turn after this SDD is `Status: ready`, `uipath-planner` writes its genome beside it (`author`) and records the path in the `Genome` row of the Planner Handoff. `uipath-genome` builds every component from that genome through each component's owning skill. Without `uipath-genome` installed, the genome stays on disk for a later build.
419
419
 
420
- Implementation tasks **do not live in this SDD** — they live in the planner's output.
420
+ Implementation steps **do not live in this SDD** — the genome carries them.
421
421
 
422
422
  ---
423
423