@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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/CODEOWNERS +34 -7
- package/README.md +2 -2
- package/package.json +2 -2
- package/skills/uipath-genome/SKILL.md +35 -88
- package/skills/uipath-genome/references/build-guide.md +61 -0
- package/skills/uipath-genome/references/completion-report-guide.md +93 -0
- package/skills/uipath-genome/references/composite-interactions-guide.md +39 -0
- package/skills/uipath-genome/references/configuration-questions-guide.md +68 -0
- package/skills/uipath-genome/references/execution-guide.md +45 -166
- package/skills/uipath-genome/references/execution-parts-guide.md +84 -17
- package/skills/uipath-genome/references/genome-reading-guide.md +153 -0
- package/skills/uipath-genome/references/live-application-guide.md +23 -9
- package/skills/uipath-genome/references/offline-definition-workarounds-guide.md +4 -4
- package/skills/uipath-genome/references/open-items-guide.md +3 -3
- package/skills/uipath-genome/references/package-doc-errata-guide.md +8 -0
- package/skills/uipath-genome/references/refactor-guide.md +38 -39
- package/skills/uipath-genome/references/selector-matching-guide.md +59 -0
- package/skills/uipath-genome/references/selector-translation-guide.md +13 -66
- package/skills/uipath-genome/references/selector-translation-sap-guide.md +7 -5
- package/skills/uipath-genome/references/selector-translation-web-guide.md +2 -2
- package/skills/uipath-genome/references/source-frameworks-guide.md +21 -0
- package/skills/uipath-genome/references/source-migration-guide.md +48 -19
- package/skills/uipath-genome/references/test-execution-guide.md +8 -7
- package/skills/uipath-genome/references/transactional-execution-guide.md +41 -13
- package/skills/uipath-genome/references/ui-target-migration-guide.md +12 -49
- package/skills/uipath-genome/references/ui-verification-guide.md +9 -1
- package/skills/uipath-maestro-case/SKILL.md +7 -7
- package/skills/uipath-maestro-case/references/evals/evals.json +5 -5
- package/skills/uipath-maestro-case/references/planning.md +5 -5
- package/skills/uipath-maestro-case/references/plugins/conditions/task-entry-conditions/planning.md +2 -2
- package/skills/uipath-maestro-case/references/plugins/sla/planning.md +1 -1
- package/skills/uipath-maestro-case/references/registry-discovery.md +3 -3
- package/skills/uipath-planner/SKILL.md +80 -199
- package/skills/uipath-planner/assets/templates/agent-sdd-template.md +17 -17
- package/skills/uipath-planner/assets/templates/api-workflow-sdd-template.md +15 -13
- package/skills/uipath-planner/assets/templates/bpmn-sdd-template.md +19 -19
- package/skills/uipath-planner/assets/templates/case-sdd-task-details-template.md +173 -0
- package/skills/uipath-planner/assets/templates/{case/case-sdd-template.md → case-sdd-template.md} +51 -229
- package/skills/uipath-planner/assets/templates/coded-app-sdd-template.md +16 -14
- package/skills/{uipath-genome → uipath-planner}/assets/templates/component-genome-template.md +9 -5
- package/skills/uipath-planner/assets/templates/flow-sdd-template.md +17 -15
- package/skills/{uipath-genome → uipath-planner}/assets/templates/process-genome-template.md +11 -7
- package/skills/uipath-planner/assets/templates/rpa-sdd-template.md +50 -73
- package/skills/uipath-planner/references/author/author-guide.md +119 -0
- package/skills/uipath-planner/references/author/genome-from-sdd-guide.md +36 -0
- package/skills/uipath-planner/references/author/scenario-proposal-guide.md +30 -0
- package/skills/uipath-planner/references/decompose/decompose-guide.md +223 -0
- package/skills/uipath-planner/references/{asdd-crosswalk-guide.md → design/asdd-crosswalk-guide.md} +6 -4
- package/skills/uipath-planner/references/{business-rules-guide.md → design/business-rules-guide.md} +3 -3
- package/skills/uipath-planner/references/design/caller-request-guide.md +92 -0
- package/skills/uipath-planner/references/design/case-data-and-time-guide.md +292 -0
- package/skills/uipath-planner/references/design/case-product-guide.md +243 -0
- package/skills/uipath-planner/references/design/case-review-and-conformance-guide.md +166 -0
- package/skills/uipath-planner/references/design/design-guide.md +296 -0
- package/skills/uipath-planner/references/{package-selection-guide.md → design/package-selection-guide.md} +16 -13
- package/skills/uipath-planner/references/{rpa-product-guide.md → design/rpa-product-guide.md} +23 -53
- package/skills/uipath-planner/references/design/scope-recommendation-guide.md +134 -0
- package/skills/uipath-planner/references/design/sdd-writing-guide.md +235 -0
- package/skills/uipath-planner/references/design/solution-composition-guide.md +153 -0
- package/skills/uipath-planner/references/edit/edit-guide.md +66 -0
- package/skills/uipath-planner/references/extract/extract-guide.md +230 -0
- package/skills/uipath-planner/references/extract/source-frameworks-guide.md +22 -0
- package/skills/uipath-planner/references/extract/uipath-non-rpa-signals-guide.md +121 -0
- package/skills/uipath-planner/references/extract/uipath-rpa-signals-guide.md +88 -0
- package/skills/uipath-planner/references/extract/uipath-source-guide.md +193 -0
- package/skills/uipath-planner/references/shared/component-placement-guide.md +99 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/defect-verification-guide.md +4 -4
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/extracted-genome-guide.md +15 -14
- package/skills/uipath-planner/references/shared/extraction-parts-guide.md +66 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/genome-format-guide.md +63 -34
- package/skills/uipath-planner/references/{multi-skill-patterns-guide.md → shared/multi-skill-patterns-guide.md} +28 -27
- package/skills/uipath-planner/references/{pdd-analysis-guide.md → shared/pdd-analysis-guide.md} +27 -72
- package/skills/uipath-planner/references/{plan-and-tasks-format.md → shared/plan-and-tasks-format.md} +43 -67
- package/skills/uipath-planner/references/{platform-availability-guide.md → shared/platform-availability-guide.md} +56 -1
- package/skills/uipath-planner/references/shared/product-selection-guide.md +202 -0
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/skill-mapping-guide.md +24 -4
- package/skills/uipath-planner/references/{tenant-library-search-guide.md → shared/tenant-library-search-guide.md} +10 -8
- package/skills/{uipath-genome/references → uipath-planner/references/shared}/transactional-shape-guide.md +39 -8
- package/skills/uipath-planner/scripts/check-genome.mjs +801 -0
- package/skills/uipath-planner/scripts/sdd-fingerprint.mjs +71 -0
- package/skills/uipath-planner/scripts/sdd-to-docx.mjs +87 -0
- package/skills/uipath-test/SKILL.md +3 -3
- package/version-manifest.json +1 -1
- package/skills/uipath-genome/CLAUDE.md +0 -85
- package/skills/uipath-genome/assets/examples/artemis-2-mission-monitor-genome.md +0 -126
- package/skills/uipath-genome/assets/examples/classify-document-and-create-validation-genome.md +0 -117
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/exception-triage-agent-genome.md +0 -96
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-extraction-genome.md +0 -128
- package/skills/uipath-genome/assets/examples/invoice-processing-genome/invoice-orchestration-genome.md +0 -115
- package/skills/uipath-genome/assets/examples/invoice-processing-genome.md +0 -136
- package/skills/uipath-genome/assets/examples/purchase-requisition-entry-genome.md +0 -224
- package/skills/uipath-genome/assets/examples/salesforce-accounts-and-contacts-genome.md +0 -151
- package/skills/uipath-genome/references/authoring-guide.md +0 -98
- package/skills/uipath-genome/references/editing-guide.md +0 -57
- package/skills/uipath-genome/references/extraction-guide.md +0 -166
- package/skills/uipath-genome/references/extraction-parts-guide.md +0 -45
- package/skills/uipath-genome/references/parts-guide.md +0 -22
- package/skills/uipath-genome/references/uipath-source-guide.md +0 -404
- package/skills/uipath-genome/scripts/check-genome.py +0 -670
- package/skills/uipath-planner/assets/templates/case/sdd-viewer.html +0 -1530
- package/skills/uipath-planner/references/case/case-design-lane-guide.md +0 -327
- package/skills/uipath-planner/references/case/case-design-layers-guide.md +0 -503
- package/skills/uipath-planner/references/case/case-sdd-conformance-checklist.md +0 -123
- package/skills/uipath-planner/references/non-pdd-lane-guide.md +0 -196
- package/skills/uipath-planner/references/pdd-driven-lane-guide.md +0 -210
- package/skills/uipath-planner/references/product-selection-guide.md +0 -673
- package/skills/uipath-planner/references/sdd-generation-guide.md +0 -613
- package/skills/uipath-planner/scripts/docx-extract.ps1 +0 -59
- package/skills/uipath-planner/scripts/docx-extract.sh +0 -54
- package/skills/uipath-planner/scripts/sdd-to-docx.ps1 +0 -74
- package/skills/uipath-planner/scripts/sdd-to-docx.sh +0 -76
- /package/skills/uipath-planner/references/{attended-reauth-pattern-guide.md → design/attended-reauth-pattern-guide.md} +0 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
# Authoring Guide — genome from an idea, a PDD, a TO-BE or an SDD
|
|
2
|
+
|
|
3
|
+
The `author` verb writes a genome — the coding-agent spec `uipath-genome` builds from — when no source automation exists. Input: a free-form description, an SOP or transcript, a PDD, a change proposal's TO-BE, an agreed SDD, or a goal the planner proposes scenarios for. User describes or picks; the planner infers, selects the products, fills UiPath specifics, writes. Content rules and templates: [genome-format-guide.md](../shared/genome-format-guide.md).
|
|
4
|
+
|
|
5
|
+
`author` never builds: the written genome goes to `uipath-genome` (Step 9). Inside `design`, `author` runs Step 1b on the `ready` SDD: [sdd-writing-guide.md](../design/sdd-writing-guide.md) § Step 3.
|
|
6
|
+
|
|
7
|
+
## Verb Rules
|
|
8
|
+
|
|
9
|
+
The writing rules of [genome-format-guide.md § Writing Rules](../shared/genome-format-guide.md) and the Critical Rules in [SKILL.md](../../SKILL.md) apply; `author` adds:
|
|
10
|
+
|
|
11
|
+
1. **Every authored genome rests on the planner's product selection.** Without an SDD, Step 5 runs it: Constraint Gate, platform availability, Maestro disambiguation, Integration Service reuse and tenant library search. An agreed SDD has already made it ([genome-from-sdd-guide.md](genome-from-sdd-guide.md)).
|
|
12
|
+
2. **Follow-ups are bounded** (Step 6): one round for the largest gaps, then write.
|
|
13
|
+
|
|
14
|
+
## Read Plan
|
|
15
|
+
|
|
16
|
+
| Phase | Condition | Read |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| start | — | this guide; [genome-format-guide.md](../shared/genome-format-guide.md) every section before § Process Genome Sections |
|
|
19
|
+
| start | the input is not an agreed SDD | [skill-mapping-guide.md](../shared/skill-mapping-guide.md) whole |
|
|
20
|
+
| the input is received | the input is an agreed SDD (Step 1b) | [genome-from-sdd-guide.md](genome-from-sdd-guide.md) whole; its § Read Plan names the rest of this path's reads |
|
|
21
|
+
| the input is received | the input is a goal, not a process (Step 1a) | [scenario-proposal-guide.md](scenario-proposal-guide.md) whole; its § Read Plan names the rest of this path's reads |
|
|
22
|
+
| the input is received | the input is a PDD (not an agreed SDD — inside `design` the input is the SDD) | [pdd-analysis-guide.md](../shared/pdd-analysis-guide.md) by section — every section except § Accepted process-knowledge sources and § Gap Detection Checklist; the genome's gaps follow genome-format-guide.md |
|
|
23
|
+
| the level is chosen (Step 2) | — | the template of that level ([component](../../assets/templates/component-genome-template.md), [process](../../assets/templates/process-genome-template.md)) |
|
|
24
|
+
| the level is chosen (Step 2) | a process genome | [genome-format-guide.md](../shared/genome-format-guide.md) § Process Genome Sections |
|
|
25
|
+
| products are selected (Step 5) | no SDD | [product-selection-guide.md](../shared/product-selection-guide.md) § Constraint Gate and [component-placement-guide.md](../shared/component-placement-guide.md) § Per-task component placement, opened by name (no heading list); [platform-availability-guide.md](../shared/platform-availability-guide.md) (both not re-read when scenario-proposal-guide.md already opened them); § Maestro disambiguation — BPMN vs Flow vs Case only when the genome has two or more components or a coordinator; component-placement-guide.md § Integration Service only when a step acts on a SaaS system |
|
|
26
|
+
| products are selected (Step 5) | no SDD, a step repeats behaviour a deployed library may already hold, and the tenant is reachable | [tenant-library-search-guide.md](../shared/tenant-library-search-guide.md) |
|
|
27
|
+
| the unit of work is assessed | no SDD, and the description iterates over items | [transactional-shape-guide.md](../shared/transactional-shape-guide.md) |
|
|
28
|
+
|
|
29
|
+
Each phase's reads go out in at most three turns: turn 1 every file read whole, every section this plan names, and the heading list of every other file read by section; turn 2 the sections chosen; turn 3 only what turn 2 routed to.
|
|
30
|
+
|
|
31
|
+
## Step 1 — Receive the input
|
|
32
|
+
|
|
33
|
+
Accept anything from one sentence to several pages. Do not ask the user to elaborate before attempting extraction.
|
|
34
|
+
|
|
35
|
+
- **One sentence:** infer what you can, then ask one focused round of follow-ups for the largest gaps.
|
|
36
|
+
- **Several paragraphs:** extract methodically; follow-ups often unnecessary.
|
|
37
|
+
- **Contradictions:** name the specific conflict in the follow-up round. Do not guess which requirement wins.
|
|
38
|
+
- **Existing documents (SOP, PDD, process map, transcript, TO-BE):** treat the document as the description. A PDD is read with the [pdd-analysis-guide.md](../shared/pdd-analysis-guide.md) sections § Read Plan names; it is input only — the planner never writes a PDD.
|
|
39
|
+
- **An agreed SDD** (`## Planner Handoff` with `Status: ready`): the SDD is the design — Step 1b.
|
|
40
|
+
- **A goal, not a process** (a self-paced workshop, a demo, trying a product or an application): propose scenarios first (Step 1a); the picked scenario is the description.
|
|
41
|
+
|
|
42
|
+
## Step 1a — Propose scenarios for a goal
|
|
43
|
+
|
|
44
|
+
Run [scenario-proposal-guide.md](scenario-proposal-guide.md); the picked scenario is the description, and authoring continues at Step 2.
|
|
45
|
+
|
|
46
|
+
## Step 1b — Author from an agreed SDD
|
|
47
|
+
|
|
48
|
+
Run [genome-from-sdd-guide.md](genome-from-sdd-guide.md); it continues at Step 2.
|
|
49
|
+
|
|
50
|
+
## Step 2 — Choose the level
|
|
51
|
+
|
|
52
|
+
Count the buildable projects the description implies and apply [genome-format-guide.md § Two Levels](../shared/genome-format-guide.md). From an SDD, the count is [genome-from-sdd-guide.md](genome-from-sdd-guide.md) item 3's. Process-genome signals for a description: "end-to-end", "across departments", "the flow kicks off the robot then the agent", "human approval for days", separate schedules or triggers for different parts, more than one deployable unit named.
|
|
53
|
+
|
|
54
|
+
## Step 3 — Infer complexity
|
|
55
|
+
|
|
56
|
+
Never ask ([genome-format-guide.md § Complexity](../shared/genome-format-guide.md)). Signals:
|
|
57
|
+
|
|
58
|
+
| Signal | Complexity |
|
|
59
|
+
|---|---|
|
|
60
|
+
| One target app, straightforward input-to-output, single sentence or paragraph | simple |
|
|
61
|
+
| Multiple systems, field mappings, business rules, conditional logic, explicit "retry" or "exception handling", scheduled or event trigger, "multiple departments" | medium |
|
|
62
|
+
| Multi-phase workflow, human approval or escalation, several integrations, orchestration, multiple deployable units | complex |
|
|
63
|
+
|
|
64
|
+
"Read Excel, fill a web form" stays simple even when described in detail. A human approval step weighs toward complex without deciding the level alone: the level is where most signals land. It forces a process genome when the approval lives outside the automation.
|
|
65
|
+
|
|
66
|
+
## Step 4 — Extract
|
|
67
|
+
|
|
68
|
+
From the description, extract: target applications, human actors, workflow steps in order, business rules, error scenarios, input and output data, triggers and schedules, hardcoded values (paths, addresses, thresholds, names), and:
|
|
69
|
+
|
|
70
|
+
- **Who signs in.** Every persona or account that logs into a target system (administrator, recruiter, integration user, a proxied approver) is one credential asset in Platform Dependencies ([genome-format-guide.md § Platform Dependencies](../shared/genome-format-guide.md)).
|
|
71
|
+
- **What varies per scenario.** When the description implies data-driven runs (per country, per organisation type, per integration, per worker), separate the fields that change per row from the constants; the row schema is what the Interface of a test component lists ([genome-format-guide.md § Interface](../shared/genome-format-guide.md)), the constants go to configuration.
|
|
72
|
+
- **What the unit of work is.** When the description iterates over items (each invoice, each row, each ticket, each file), name the item, its identifying reference, the daily volume, what produces the items and what consumes them as described, where they live, whether several robots or several sources are involved, and which other granularities are viable; when items are handed on again as items of their own (a second stage, on its own schedule or robot, consumes what the first produces) or several independent item streams exist, each is its own flow — an item's children (a mail's attachments, a file's rows) are a level of that item, not a flow; this is the Transactional Shape ([transactional-shape-guide.md](../shared/transactional-shape-guide.md)) — it describes the as-is and lists the split options with their evidence; the split itself is chosen at build, or recorded by the SDD ([genome-from-sdd-guide.md](genome-from-sdd-guide.md)). A run that succeeds or fails as one has none — the stub.
|
|
73
|
+
|
|
74
|
+
## Step 5 — Select the products
|
|
75
|
+
|
|
76
|
+
Without an SDD, this step runs the planner's product selection, so a genome never names a product the customer's platform cannot run. With an SDD, skip it ([genome-from-sdd-guide.md](genome-from-sdd-guide.md) item 3). Without one, place them:
|
|
77
|
+
|
|
78
|
+
1. **Constraint Gate** — [product-selection-guide.md § Constraint Gate](../shared/product-selection-guide.md#constraint-gate), with the delivery model from [platform-availability-guide.md](../shared/platform-availability-guide.md). Ask the delivery model only when the request, the PDD or the SDD does not state it; a prototype on an unknown tenant takes Automation Cloud as its default, written as `*[Inferred]*` in Deployment.
|
|
79
|
+
2. **Per-step placement** — [component-placement-guide.md § Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step); orchestration through [§ Maestro disambiguation](../shared/product-selection-guide.md#maestro-disambiguation--bpmn-vs-flow-vs-case).
|
|
80
|
+
3. **Integration Service reuse** — [component-placement-guide.md § Integration Service](../shared/component-placement-guide.md#integration-service) before any UI step on a SaaS system.
|
|
81
|
+
4. **Tenant libraries** — [tenant-library-search-guide.md](../shared/tenant-library-search-guide.md) when a step repeats behaviour a deployed library may already hold and the tenant is reachable.
|
|
82
|
+
|
|
83
|
+
Then add these capabilities even when the user did not name them:
|
|
84
|
+
|
|
85
|
+
| User mentions | Add |
|
|
86
|
+
|---|---|
|
|
87
|
+
| PDFs, scanned documents, forms | Document Understanding activities in `uipath-rpa` step; `uipath-ixp` component when custom extraction model needed |
|
|
88
|
+
| Clicking, typing, reading a screen, desktop app | UI automation in `uipath-rpa` |
|
|
89
|
+
| REST APIs, connectors, SaaS systems | Integration Service connector activities (`uipath-rpa`) or `uipath-api-workflow` component when no UI involved |
|
|
90
|
+
| Many items processed independently, retries, resilience, several robots | Transactional Shape with the As-is, the split options and the evidence ([transactional-shape-guide.md](../shared/transactional-shape-guide.md)); an Orchestrator queue under Platform Dependencies only when the description itself shares items across robots or runs — otherwise the store follows the split chosen at execution, not imposed |
|
|
91
|
+
| Coordinating several automations, waiting on events | `uipath-maestro-flow` (short-lived) or `uipath-maestro-bpmn` (long-running, human lanes) coordinator component |
|
|
92
|
+
| Judgement, classification, summarisation, free-text decisions | `uipath-agents` component |
|
|
93
|
+
| Human review, approval, sign-off | Human-in-the-loop checkpoint in coordinator; actor row in Actors and Systems |
|
|
94
|
+
| Screen for end users, dashboard | `uipath-coded-apps` component |
|
|
95
|
+
| Several automations or test suites drive the same application's screens | One `uipath-rpa` library component (screens and shared actions, Interface as per-workflow argument tables) plus consumer components; process genome states the library builds and packs first |
|
|
96
|
+
| Regression or test scenarios, "per release", "verify that", data-driven cases | One `uipath-rpa` test-case-group component per business area with data variations, all folders of the single test project ([genome-format-guide.md § Two Levels](../shared/genome-format-guide.md) rule 1); Test Manager under Platform Dependencies (`uipath-test`), never in Build With |
|
|
97
|
+
| Approvals performed as another user, "proxy as", "impersonate", "on behalf of" | Library step that switches user and stops the switch afterwards; one credential asset per persona that can be proxied |
|
|
98
|
+
|
|
99
|
+
## Step 6 — Ask follow-ups (bounded)
|
|
100
|
+
|
|
101
|
+
Group every gap into one message per round. State what you already know so the user does not repeat it. Rounds by complexity: simple 0-1, medium 1-2, complex 2-3. A scenario picked from proposals (Step 1a) gets none: the agent invented every detail, so no gap is left that only the user can fill, and the values left open are Configuration Questions. An SDD's rounds: [genome-from-sdd-guide.md](genome-from-sdd-guide.md) items 2 and 5. After the last round, generate with defaults and stubs; never loop.
|
|
102
|
+
|
|
103
|
+
Ask only for gaps that change the build: missing target system, unknown trigger, undefined decision outcome, unspecified failure behaviour for a critical step, unclear ownership of a handoff, which persona signs in for a scenario when several are implied, whether items must be shared across robots or survive a run failure when the description leaves it open (evidence for the Transactional Shape's split options; the split itself is chosen at build). Do not ask for values a Configuration Question can carry as a default.
|
|
104
|
+
|
|
105
|
+
## Step 7 — Generate
|
|
106
|
+
|
|
107
|
+
Populate every template section per the format guide's population matrix. Build With rows come from Step 5 and the skill mapping guide, one skill per step. Business rules and error handling attach to the step where they fire. The Transactional Shape classifies those rules and handlers into per-item outcomes, describes the as-is roles, store and coordination, and lists the split options for the unit of work and each alternative unit, with what each requires and changes and the evidence — or carries its stub ([transactional-shape-guide.md](../shared/transactional-shape-guide.md)). Acceptance criteria derive one-to-one from steps, rules, transformations, and handlers.
|
|
108
|
+
|
|
109
|
+
Process genomes: write the process file first (Components table, Process Map, Handoffs), then each component genome with its `Part of:` line and an Interface matching the Handoffs row.
|
|
110
|
+
|
|
111
|
+
Interface by component type ([genome-format-guide.md § Interface](../shared/genome-format-guide.md)): a library component gets one argument table per public workflow; a test component gets its per-scenario row schema and, separately, its constants; credentials appear as asset names, never values. Deployment records the environment the UI targets come from ("UI targets: <environment>") and that libraries pack before their consumers; a component genome, which has no Deployment, records the environment in its Target Applications row's Notes cell, so the build can offer it.
|
|
112
|
+
|
|
113
|
+
## Step 8 — Write, then offer edits
|
|
114
|
+
|
|
115
|
+
Write the file named by the slug rule ([genome-format-guide.md § File Naming and Location](../shared/genome-format-guide.md)), then review it, and every component genome a process genome links, against [genome-format-guide.md § Writing Rules](../shared/genome-format-guide.md) and fix what breaks a rule. Then run the strict check on the genome ([SKILL.md](../../SKILL.md) § Check) — `node "<SKILL_DIR>/scripts/check-genome.mjs" <component|process> "<GENOME_MD>" --profile strict` — fix every `FAIL` and run it again, at most three rounds. Then offer edits ([genome-format-guide.md § Write, Then Offer Edits](../shared/genome-format-guide.md)), naming what is left, every `FAIL` left after the third round included. From an SDD whose `Execution autonomy` is `autonomous`, the edits are offered in the closing summary without waiting for them ([genome-from-sdd-guide.md](genome-from-sdd-guide.md) item 2). Edits: [edit-guide.md](../edit/edit-guide.md).
|
|
116
|
+
|
|
117
|
+
## Step 9 — Hand the genome to the build
|
|
118
|
+
|
|
119
|
+
When the request asks for a build ("build", "implement", "create the automation"), invoke `uipath-genome` with `build "<GENOME_MD>"` and the user's build request quoted verbatim on the next turn, once the user's edits are in; an unattended run hands it over straight away. `author` never writes a workflow file. When `uipath-genome` is not installed, stop after Step 8 and say that the build needs it. A genome written from an SDD inside `design` follows [sdd-writing-guide.md](../design/sdd-writing-guide.md) § Step 3 item 4 instead.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Genome From SDD Guide — the genome of an agreed SDD
|
|
2
|
+
|
|
3
|
+
`author` reads this guide when the input is an agreed SDD (`## Planner Handoff` with `Status: ready`): inside `design`, on the turn after the SDD is `ready` ([sdd-writing-guide.md](../design/sdd-writing-guide.md) § Step 3), or when a request hands over an agreed SDD. The SDD decided the architecture; the genome restates it as the coding-agent spec and adds what only the genome holds (replication-grade substeps, composite UI contracts, the configuration questions, numbered acceptance criteria).
|
|
4
|
+
|
|
5
|
+
## Read Plan
|
|
6
|
+
|
|
7
|
+
These rows add to the rows of [author-guide.md § Read Plan](author-guide.md) that hold for every input.
|
|
8
|
+
|
|
9
|
+
| Phase | Condition | Read |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| the input is received | — | this guide whole; the SDD whole, with every child SDD a solution root lists; [skill-mapping-guide.md](../shared/skill-mapping-guide.md) § Rules, § Build Skills and § Platform Dependencies (not Build With) only — never § Decision Tree for Ambiguous Steps or § Common Combinations, because the SDD placed every project's skill. Nothing else: product-selection-guide.md, platform-availability-guide.md and pdd-analysis-guide.md stay closed, because the SDD decided what they decide |
|
|
12
|
+
| the input is received | the SDD has a queue or a per-item loop | [transactional-shape-guide.md](../shared/transactional-shape-guide.md) § Layout and, under § Rules, § Applicability and roles, § Item store, § Outcomes, step groups, configuration and traceability and § Split options and evidence; § Levels when the genome is a process genome; § Flows and levels of items when the SDD hands items on from one stage to the next or its items nest |
|
|
13
|
+
| the genome is written (item 7) | — | [genome-format-guide.md § Design Links](../shared/genome-format-guide.md) |
|
|
14
|
+
|
|
15
|
+
## Author from an agreed SDD
|
|
16
|
+
|
|
17
|
+
1. **Read the SDD whole**, with its Planner Handoff, and for a solution SDD (the root `*-solution-sdd.md`, `Project SDD role: root`) every child SDD it lists. A child SDD given as input (`Project SDD role: child`) resolves to the root its `Solution root SDD` row names: read that root and write the genome for the whole solution from it, saying so in one line ("<CHILD> is part of <ROOT>; writing the solution's genome from the root."). Then stop without writing when any of these holds:
|
|
18
|
+
- **A `draft` SDD** — `Status: draft`, with blocking SME items. Name the blocking items; the genome is written once the SDD is `ready`.
|
|
19
|
+
- **A missing root** — the `Solution root SDD` row names a path that does not exist. Name the path and ask for the root SDD.
|
|
20
|
+
- **A missing or `draft` child** — a child SDD the root lists does not exist, or is not `Status: ready`. Name the child and, for a draft, its blocking SME items; the genome is written once every child is `ready`.
|
|
21
|
+
2. **Read `Execution autonomy` from the Planner Handoff.** It decides how the genome is finished:
|
|
22
|
+
- **`autonomous`** — no follow-up rounds ([author-guide.md](author-guide.md) Step 6): every gap is written with `*[Inferred]*`, or carried as a Configuration Question with its default. After the review ([author-guide.md](author-guide.md) Step 8), the edits are offered in the closing summary, and the run does not wait for them.
|
|
23
|
+
- **`interactive`, or no row** — [author-guide.md](author-guide.md) Steps 6 and 8 as written.
|
|
24
|
+
3. **The SDD's products and projects are the genome's.** Every resource the SDD's integrated-components tables mark for the build to create (an IXP model, an agent, an API workflow, a function, a custom connector) is a component of its own; a resource that already exists is a Platform Dependency. Its project list sets the level ([author-guide.md](author-guide.md) Step 2) and the Build With / Components rows; Steps 3–5 never re-select a product the SDD placed. Its delivery model holds for every row. Two projects that are the producer and the consumer of one flow — a dispatcher that adds items to a queue and a performer that works them — are one `uipath-rpa` component: they are the split the SDD chose for that flow ([skill-mapping-guide.md](../shared/skill-mapping-guide.md) rule 3), recorded as item 4 states, never two components. An RPA Master Project is therefore one `uipath-rpa` component: the flows are the ones [transactional-shape-guide.md](../shared/transactional-shape-guide.md) rule 12 finds — a hand-off of the same item to its next stage stays one flow unless a person decides between the stages — and each flow's `Decided:` line names the split and, when the SDD names the sub-projects, their chain in hand-off order under the SDD's project names ([transactional-shape-guide.md](../shared/transactional-shape-guide.md) rule 8: `B, one PO — the SDD §10: Dispatcher → DUPerformer → OutputPerformer`), and the process genome's Deployment lists the SDD's project names, so nothing the SDD decided is lost.
|
|
25
|
+
- **A Case Management SDD** (its first section is `## Section 1: Case Definition`) is one component whose Build With is `uipath-maestro-case`. Its Interface names that SDD's path, relative to the genome, as the component's build input: `uipath-genome` hands the SDD to `uipath-maestro-case`, which builds the case from it. The genome restates the case as the SDD designed it and never redesigns it. Standalone, it is a component genome named after the SDD — unless its Section 4 marks resources the build creates (a new agent, API workflow, function or IXP model): each is a component of its own, so the genome is a process genome named after the SDD, the case component beside them. A solution child is one component of the solution's process genome.
|
|
26
|
+
4. **The SDD's decisions are recorded, not reopened.** The split it chose is each flow's `Decided:` line with the SDD section as its source ([transactional-shape-guide.md](../shared/transactional-shape-guide.md) rule 8): a single project with no queue is A; a dispatcher and a performer project is B; one project that fills and works its own queue is C. The delivery model goes to Platform Dependencies' lead-in (component genome) or Deployment (process genome); the implementation mode, the package versions and the queue design go into the sections that hold them (Build With rationale, Configuration Questions defaults, a process genome's Deployment), so `uipath-genome` takes them as answered.
|
|
27
|
+
5. **Gaps carry over, marker and all, once.** Every `[SME REVIEW]` or `[DEFAULT]` item of the SDD that touches a section is written once — in the one genome file and section its decision lives in, across a process genome and its components — as `*[Inferred]*` followed by the item's text with its marker verbatim — `*[Inferred]* (SDD [SME REVIEW]: <note>)`, `*[Inferred]* (SDD [DEFAULT]: <note>)`. [author-guide.md](author-guide.md) Step 6 asks nothing the SDD already left to an SME. Other sections that depend on it name the genome section that holds it. An item that touches no genome section (an SDD-only deployment or test-environment detail) stays in the SDD. An SDD default an operator sets per environment (a host, mailbox, folder, cap) becomes a Configuration Question with that default; one the design fixed (a timeout, an attempt count) is a fact in its step ([genome-format-guide.md](../shared/genome-format-guide.md) § Configuration Questions).
|
|
28
|
+
6. **Apart from the `Genome` handoff row (item 7), the SDD is never edited.** A contradiction between the SDD and what the genome needs is named when edits are offered ([author-guide.md](author-guide.md) Step 8). Before offering edits, compare the genome with the SDD — every skill the SDD routes work to is in Build With or Components, every resource it names is in Platform Dependencies, and every error behaviour, split and integration agrees — and fix the genome wherever it disagrees.
|
|
29
|
+
7. **Name the genome after the SDD and record it in one handoff.**
|
|
30
|
+
- **A single-product SDD:** `<PROCESS_NAME_KEBAB>-genome.md` beside the SDD.
|
|
31
|
+
- **A solution SDD** (a root `<SOLUTION_NAME_KEBAB>-solution-sdd.md` and its child SDDs): ONE genome for the whole solution, named after the root — `<SOLUTION_NAME_KEBAB>-genome.md` beside the root SDD. It is a process genome with its component genomes in `<SOLUTION_NAME_KEBAB>-genome/` when Step 2 counts two or more projects, and a component genome otherwise ([genome-format-guide.md § File Naming and Location](../shared/genome-format-guide.md)). Never write one genome per child SDD.
|
|
32
|
+
|
|
33
|
+
Write the `Designed in:` line, linking the SDD the genome is named after and carrying its fingerprint — for a solution, `sdd-fingerprint.mjs` run on the root, which covers the root and every child it lists ([genome-format-guide.md § Design Links](../shared/genome-format-guide.md)) — and record the genome as `| **Genome** | <path> |`, the last row of that SDD's Planner Handoff table — for a solution, the ROOT SDD's handoff only; the child SDDs are not edited. The strict check of [author-guide.md](author-guide.md) Step 8 runs once the `Designed in:` line is written, so it verifies the fingerprint.
|
|
34
|
+
8. **The genome write is a turn boundary.** What follows it: [sdd-writing-guide.md](../design/sdd-writing-guide.md) § Step 3 item 4 when `design` ran; otherwise [SKILL.md](../../SKILL.md) § Chaining.
|
|
35
|
+
|
|
36
|
+
Continue at [author-guide.md](author-guide.md) Step 2.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Scenario Proposal Guide — scenarios for a goal
|
|
2
|
+
|
|
3
|
+
`author` reads this guide when the input is a goal, not a process: a self-paced workshop, a demo, trying a product or an application. The planner proposes scenarios; the scenario the user picks is the description `author` continues from at [author-guide.md](author-guide.md) Step 2.
|
|
4
|
+
|
|
5
|
+
## Read Plan
|
|
6
|
+
|
|
7
|
+
These rows add to the rows of [author-guide.md § Read Plan](author-guide.md) that hold for every input; a goal has no SDD, so that plan's Step 5 rows hold too.
|
|
8
|
+
|
|
9
|
+
| Phase | Condition | Read |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| the input is received | — | this guide whole |
|
|
12
|
+
| the products are asked (item 1) | the delivery model is known | [product-selection-guide.md § Constraint Gate](../shared/product-selection-guide.md#constraint-gate); [platform-availability-guide.md](../shared/platform-availability-guide.md) |
|
|
13
|
+
|
|
14
|
+
## Propose scenarios for a goal
|
|
15
|
+
|
|
16
|
+
1. **Ask one round:** one batch of two multi-select structured questions, each skipped when the request already answers it.
|
|
17
|
+
- **Products to exercise:** RPA, agents, orchestration (Maestro Flow, BPMN, Case), document extraction, human review and apps.
|
|
18
|
+
- **Systems within reach, grouped by the setup they need:** none (local files, Excel, public APIs); a tenant connection (mail, chat, a SaaS system); an application installed or hosted for the user (SAP, an internal web application).
|
|
19
|
+
|
|
20
|
+
Group the systems by setup because every connection, account or installation is one more thing that can fail before the scenario runs; the grouping lets the user trade reach against setup. When the delivery model is known, run the [Constraint Gate](../shared/product-selection-guide.md#constraint-gate) on the products picked; a blocked product is not offered.
|
|
21
|
+
2. **Propose up to three scenarios** built for the answers, using only the systems within reach plus sources that need no setup. Each is a card:
|
|
22
|
+
- storyline, one sentence: what arrives, what is decided or done, where the result lands
|
|
23
|
+
- Components table, `# | Component | Type | Skill | Summary`, skills per [author-guide.md](author-guide.md) Step 5 and [skill-mapping-guide.md](../shared/skill-mapping-guide.md); one row makes a component genome
|
|
24
|
+
- applications and the setup each needs (connection, account, installation)
|
|
25
|
+
- input source (item 3)
|
|
26
|
+
- what it exercises: products and skills
|
|
27
|
+
|
|
28
|
+
Cover different shapes of [skill-mapping-guide.md § Common Combinations](../shared/skill-mapping-guide.md) where the answers allow — one skill on one application, no UI application, several skills across applications — so the pick sets the scope while complexity is still inferred ([author-guide.md](author-guide.md) Step 3). Invent the storyline for the answers: the combinations give shapes, the templates the depth, not stories. Present the cards as one single-select structured question, one card per option; the user merges or amends cards in a free-text answer.
|
|
29
|
+
3. **An invented scenario names where its input comes from:** a public source, sample files the build writes as data files, or a generator component in the Components table. A described process brings its inputs; an invented one has none until the scenario gives them. The genome names the source in Target Applications (Actors and Systems in a process genome), and the acceptance criteria take their inputs from it.
|
|
30
|
+
4. **The pick is the description.** Continue at [author-guide.md](author-guide.md) Step 2 with the chosen, merged or amended card. A prototype or workshop has no sign-off, so it gets no SDD.
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Decompose Guide
|
|
2
|
+
|
|
3
|
+
When the planner is invoked without an SDD (§ Choosing the Verb found no `## Planner Handoff` marker, or the user picked "Other context" at its prompt), it runs `decompose` — detect context, elicit preferences, write a plan, hand off to specialists. This guide covers `decompose` end-to-end.
|
|
4
|
+
|
|
5
|
+
> `decompose` is for non-trivial UiPath requests without a PDD: multi-project orchestration, or requests still ambiguous after detection. Single-project requests exit at Step 2 — the specialist is loaded directly, no plan is written.
|
|
6
|
+
|
|
7
|
+
Steps run in this order — **detection before elicitation** — so every skip-rule input exists before the question batch is built.
|
|
8
|
+
|
|
9
|
+
## Verb Rules
|
|
10
|
+
|
|
11
|
+
These add to the Critical Rules in [SKILL.md](../../SKILL.md).
|
|
12
|
+
|
|
13
|
+
1. **Detection before elicitation**: Step 1 runs without prompts, so every skip-rule input exists before the question batch is built.
|
|
14
|
+
2. **A single-project request leaves here** at Step 2: the specialist is loaded directly, no plan is written.
|
|
15
|
+
3. **Testing is mandatory** — [plan-and-tasks-format.md § Testing task is mandatory](../shared/plan-and-tasks-format.md#testing-task-is-mandatory).
|
|
16
|
+
|
|
17
|
+
## Read Plan
|
|
18
|
+
|
|
19
|
+
| Phase | Condition | Read |
|
|
20
|
+
|---|---|---|
|
|
21
|
+
| start | — | this guide whole |
|
|
22
|
+
| Step 1 sub-step 3 | — | [multi-skill-patterns-guide.md](../shared/multi-skill-patterns-guide.md) whole (patterns and § Skill capability map) |
|
|
23
|
+
| Step 1 sub-step 4 | no filesystem signal or explicit naming decides the project type | [product-selection-guide.md](../shared/product-selection-guide.md) § Level 1 — Primary Scope Selection and § Maestro disambiguation |
|
|
24
|
+
| Step 1 sub-step 5 | the delivery model must be resolved, or a delivery-gated product is a candidate | [platform-availability-guide.md](../shared/platform-availability-guide.md) § Resolving the Delivery Model; [product-selection-guide.md](../shared/product-selection-guide.md) § Constraint Gate; [platform-availability-guide.md](../shared/platform-availability-guide.md) |
|
|
25
|
+
| Step 3 | a generation skill is in the plan | [product-selection-guide.md](../shared/product-selection-guide.md) § How selection works — four layers (Packaging) |
|
|
26
|
+
| Step 5 | — | [plan-and-tasks-format.md](../shared/plan-and-tasks-format.md) whole |
|
|
27
|
+
|
|
28
|
+
## Step 1 — Detect before asking (no prompts)
|
|
29
|
+
|
|
30
|
+
All sub-steps are non-interactive. Run them first; their outputs drive the Step 2 exit and the Step 3 skip rules.
|
|
31
|
+
|
|
32
|
+
1. **Provided context document** — if § Choosing the Verb classified a document as "Other context", read it now. Any question its content answers counts as resolved; its content feeds the plan.
|
|
33
|
+
|
|
34
|
+
2. **Filesystem detection** — use the file search and file-read tools (cross-platform) in current directory, then in the parent, NEVER shell-specific pipelines (`ls` globs, `grep` over pipes, `/dev/null` fail on native PowerShell):
|
|
35
|
+
- File patterns: `project.json`, `*.xaml`, `*.cs`, `*.flow`, `flow_files/*.flow`, `*.bpmn`, `caseplan.case`, `caseplan.json`, `case.stage.json`, `default.stage.json`, `agent.json`, `pyproject.toml`, `uipath.json`, `package.json`, `.uipath/*`, `app.config.json`, `*.uipx`, `element.json`, `*.py`.
|
|
36
|
+
- `project.json` found → read it and check `targetFramework` and dependencies structurally (no regex-over-cat).
|
|
37
|
+
- `pyproject.toml` found → read it and disambiguate: an agent-framework dependency (`langgraph`, `llamaindex`, `openai-agents`) or a sibling `agent.json` → **Agents**; a sibling `uipath.json` with a `functions` map (or `entry-points.json` from `uip function init`) → **Functions**; a bare `uipath` dependency with neither → inspect further or ask (a `.venv/` directory is NOT required and proves nothing).
|
|
38
|
+
- Root-level `*.json` with none of the above → search their content for `"document.dsl"` (API Workflow project).
|
|
39
|
+
|
|
40
|
+
| Filesystem signal | Plan skill |
|
|
41
|
+
|---|---|
|
|
42
|
+
| `.xaml` and/or `.cs` files + `project.json` | `uipath-rpa` |
|
|
43
|
+
| `*.flow` (usually under `flow_files/`) | `uipath-maestro-flow` |
|
|
44
|
+
| `*.bpmn` (no case plan file) | `uipath-maestro-bpmn` |
|
|
45
|
+
| `caseplan.case` / `caseplan.json` / `case.stage.json` / `default.stage.json` | `uipath-maestro-case` |
|
|
46
|
+
| `agent.json` | `uipath-agents` (low-code) |
|
|
47
|
+
| `pyproject.toml` + agent-framework dependency (langgraph / llamaindex / openai-agents) | `uipath-agents` (coded) |
|
|
48
|
+
| `pyproject.toml` + `uipath.json` with a `functions` map | `uipath-functions` |
|
|
49
|
+
| `package.json` + `uipath.json` with a `functions` map | `uipath-functions` |
|
|
50
|
+
| JSON containing `document.dsl` | `uipath-api-workflow` |
|
|
51
|
+
| `*.dmn` + `project.uiproj` with `"ProjectType": "BusinessRules"` | `uipath-rules` |
|
|
52
|
+
| `.uipath/` or `app.config.json` | `uipath-coded-apps` |
|
|
53
|
+
| `element.json` (+ `element-metadata.json`) | `uipath-connector-builder` |
|
|
54
|
+
| `*.uipx` | `uipath-solution` (deploy/lifecycle ops) |
|
|
55
|
+
| `project.json` only (no `.cs`/`.xaml`) | `uipath-rpa` |
|
|
56
|
+
|
|
57
|
+
Multiple signals → the request likely spans projects; classify with the multi-skill patterns below.
|
|
58
|
+
|
|
59
|
+
No signals → greenfield request (the normal planning-phase case); project type comes from sub-step 4 inference.
|
|
60
|
+
|
|
61
|
+
3. **Multi-skill classification** — check the request against the named patterns in [multi-skill-patterns-guide.md](../shared/multi-skill-patterns-guide.md) ("build"+"deploy", "build"+"verify", one product depending on another), and the owner of each part against its [§ Skill capability map](../shared/multi-skill-patterns-guide.md#skill-capability-map--which-specialist-owns-what) (its "Handles deploy?" column decides whether a deploy task goes to a separate skill). Record the matched pattern, if any.
|
|
62
|
+
|
|
63
|
+
4. **Product/project-type inference — need-driven, not keyword.** When no filesystem signal or explicit naming decides it, type the request with the [Product Selection Guide → Level 1](../shared/product-selection-guide.md#level-1--primary-scope-selection) need bullets, not surface keywords:
|
|
64
|
+
- Explicit naming still wins ("xaml workflow", "coded workflow", ".cs file", "low-code") → record `Project type: XAML` or `Project type: C# coded`.
|
|
65
|
+
- "AI"/"agent" wording does NOT force an Agent — apply the **determinism gate**: rule-expressible decisions → RPA/API; genuine judgment → Agent.
|
|
66
|
+
- "flow"/"process"/"orchestrate" resolves via the [Maestro disambiguation](../shared/product-selection-guide.md#maestro-disambiguation--bpmn-vs-flow-vs-case) (Flow vs BPMN vs Case) — never assume Flow from the word alone.
|
|
67
|
+
- Headless system-to-system → API Workflow; document extraction → IXP; user-facing screen → Coded Apps; reusable component → RPA Library; regression pack → Test Automation; tenant/resource ops only → `uipath-platform`.
|
|
68
|
+
- Default when nothing contradicts it → **RPA workflow (XAML)** — the most common case for UI / Excel / email / file work.
|
|
69
|
+
|
|
70
|
+
5. **Delivery-model resolution** — explicit signals ("Automation Suite", "on-prem", "self-hosted", "air-gapped") → record `Delivery model: <value>`. Otherwise run the best-effort `uip login status` preflight and map the host per [platform-availability-guide.md § Resolving the Delivery Model](../shared/platform-availability-guide.md#resolving-the-delivery-model). Still unresolved AND any candidate product is delivery-gated (anything beyond core RPA + Orchestrator: Maestro, Agents, Coded Apps, API Workflows, Solutions `.uipx`) → add the delivery-model question to the Step 3 batch. If the user answers "not sure" (or cannot be asked), record `Delivery model: unspecified — assumed cloud [SME REVIEW]` in the plan header plus which products the assumption gates — never omit the field when a gated product is in play. Apply the [Constraint Gate](../shared/product-selection-guide.md#constraint-gate) against [platform-availability-guide.md](../shared/platform-availability-guide.md) before recommending any product.
|
|
71
|
+
|
|
72
|
+
## Step 2 — Single-skill exit (stop `decompose`)
|
|
73
|
+
|
|
74
|
+
If Step 1 resolves the request to **one project owned end-to-end by one specialist** — even when it bundles inline HITL / script / connector nodes or its own solution wrapper (author sub-steps, per SKILL.md § Choosing the Verb item 8) — **stop `decompose`**:
|
|
75
|
+
|
|
76
|
+
1. Do NOT write a plan file. Do NOT create tasks with the task-list tool. Do NOT ask the Step 3 batch.
|
|
77
|
+
2. Say which specialist owns it and why ("Single-project `.flow` build — loading `uipath-maestro-flow` directly").
|
|
78
|
+
3. Hand off the Step 1 context (detected paths, delivery model, any resolved answers) so the specialist does not re-discover it.
|
|
79
|
+
|
|
80
|
+
`decompose` continues past this step ONLY for multi-project requests (a matched multi-skill pattern, multiple filesystem signals, or separate buildable projects) or requests still genuinely ambiguous after Step 1 inference and the Q3 fallback.
|
|
81
|
+
|
|
82
|
+
## Step 3 — Upfront elicitation (batched)
|
|
83
|
+
|
|
84
|
+
Bundle every unresolved question from the table below into **one** structured prompt. Do not ask one at a time; do not split across turns. If a question is already resolved (user's request, context doc, Step 1 detection), omit it from the batch. If **all** are resolved, do not ask at all and record the inferred values in the plan header with a one-line note in Decisions & Trade-offs.
|
|
85
|
+
|
|
86
|
+
Question phrasing rules (govern every user-facing question in `decompose`):
|
|
87
|
+
|
|
88
|
+
1. **No internal jargon** (snapshot, hand-wire, AutomationId, selector candidate, autonomous capture, target configuration) — plain developer language only.
|
|
89
|
+
2. **No domain or app names in question text** ("What kind of application", not "What kind of HR application") — domain lives in the plan header.
|
|
90
|
+
3. **Never invent a third option for the Step 4 targeting question** — its two options are the contract.
|
|
91
|
+
|
|
92
|
+
### Skip-rules table (apply before building the batch)
|
|
93
|
+
|
|
94
|
+
All inputs below are known by the end of Step 1/2 — no skip rule depends on a later step.
|
|
95
|
+
|
|
96
|
+
| Question | Skip when | Default if skipped |
|
|
97
|
+
|---|---|---|
|
|
98
|
+
| Q1 Generation approach | Request is simple and well-defined; the user is modifying an existing automation. | `simultaneous` |
|
|
99
|
+
| Q2 Execution autonomy | The user already stated it ("autonomous", "check with me"). Never inferred from Q1 — planning approach and execution autonomy are separate decisions. | `interactive` |
|
|
100
|
+
| Q3 Project type fallback | Step 1 resolved the type (explicit naming, need-driven inference, or filesystem). | `RPA workflow (XAML)` |
|
|
101
|
+
| Delivery model | Resolved at Step 1.5 (explicit, preflight); or no delivery-gated product is a candidate. | `unspecified — assumed cloud [SME REVIEW]` + affected products note |
|
|
102
|
+
|
|
103
|
+
### Question 1 — Generation approach
|
|
104
|
+
|
|
105
|
+
> How would you like me to work?
|
|
106
|
+
>
|
|
107
|
+
> 1. **Explore first, then plan** — analyze the project and requirements, run non-mutating discovery, then present a plan for approval before any project changes *(recommended for non-trivial requests)*
|
|
108
|
+
> 2. **Explore, plan, and execute simultaneously** — emit the plan as text and the main agent starts executing right away
|
|
109
|
+
|
|
110
|
+
**If "explore first, then plan":**
|
|
111
|
+
- You may run non-mutating discovery: `uip rpa analyze`, `uip rpa get-errors`, reading `project.json`.
|
|
112
|
+
- Do NOT run commands that mutate the project (create files, register targets, install packages) — those belong to execution.
|
|
113
|
+
- After Steps 4–5, enter plan mode with the plan. User approves → exit plan mode.
|
|
114
|
+
|
|
115
|
+
**If "explore, plan, and execute simultaneously":**
|
|
116
|
+
- Emit the plan as text in Step 5. The main agent loads the first specialist skill immediately and follows that skill's own workflow.
|
|
117
|
+
- Do NOT enter plan mode (`EnterPlanMode`).
|
|
118
|
+
|
|
119
|
+
### Question 2 — Execution autonomy
|
|
120
|
+
|
|
121
|
+
Asked in the same batch as Q1 — choosing explore-first does NOT imply autonomous execution afterwards; they are independent decisions.
|
|
122
|
+
|
|
123
|
+
> Once execution starts, how should I handle ambiguity or scope concerns?
|
|
124
|
+
>
|
|
125
|
+
> 1. **Autonomous to completion** *(recommended)* — follow the plan end-to-end without stopping for confirmation. Specialist skills handle their own pause points (auth failure, UI capture limits, etc.).
|
|
126
|
+
> 2. **Interactive** — pause and confirm on structural decisions, scope concerns, or side-effect actions during execution.
|
|
127
|
+
|
|
128
|
+
Record the answer in the plan header as `Execution autonomy: autonomous | interactive`. Task prompts carry the plan path (Step 5), so specialists can recover this and other decisions at runtime — in autonomous mode they do NOT re-ask decisions the plan already makes.
|
|
129
|
+
|
|
130
|
+
### Question 3 — Project type fallback (only when Step 1 could not infer)
|
|
131
|
+
|
|
132
|
+
> Q3 — What kind of project should I scaffold?
|
|
133
|
+
>
|
|
134
|
+
> 1. **RPA workflow** — UI automation, Excel / email / file work *(recommended default)*
|
|
135
|
+
> 2. **AI Agent** — genuine judgment/reasoning over ambiguous input, LLM tool use
|
|
136
|
+
> 3. **Orchestration** — coordinate multiple automations (Maestro Flow / BPMN / Case — disambiguated by the need)
|
|
137
|
+
> 4. **Headless / other** — API Workflow, custom web app, document extraction (IXP), reusable Library, Test Automation — say which
|
|
138
|
+
|
|
139
|
+
(The question UI always offers free-text "Other" — a specific answer there overrides the options.) If the user picks **RPA workflow**, record `Project type: XAML` and move on. **Never follow up with "XAML or C#?"** — that authoring-mode decision belongs to `uipath-rpa`, not the planner. Coded mode is set only when the user independently says "coded workflow" or ".cs file"; never as a follow-up, and never surface C# coded as a top-level recommendation for routine UI automation.
|
|
140
|
+
|
|
141
|
+
### Authoring surface — never a planner concern
|
|
142
|
+
|
|
143
|
+
Studio, Studio Web, VS Code — presentation layers over the same artifacts. The planner never asks about, derives, records, or conditions on them; each specialist owns its own surface. User words mentioning a surface travel as ordinary requirement prose in the task prompt, like any other stated preference. Invariant: in explore-first mode, nothing syncs to the tenant before plan approval. The only environment input the planner models is the **delivery model** (Automation Cloud / cloud variant / Automation Suite / standalone).
|
|
144
|
+
|
|
145
|
+
### Packaging (derived — no standing question)
|
|
146
|
+
|
|
147
|
+
For every plan with a generation skill, record `Packaging: standalone | solution` in the plan header per [Product Selection Guide → layer 4](../shared/product-selection-guide.md#how-selection-works--four-layers): single project → `standalone` (default); multi-project / cross-product / team standardization → `solution` (`.uipx` via `uipath-solution`). This is the deploy-skill decision — `uipath-solution` for `solution`, `uipath-platform` for `standalone` non-solution publishes. Ask only if the user's own words conflict with the derivation.
|
|
148
|
+
|
|
149
|
+
### Default — Expression language
|
|
150
|
+
|
|
151
|
+
Always use **VB.NET** for XAML workflows. Note this in the plan. Do not ask.
|
|
152
|
+
|
|
153
|
+
## Step 4 — UI element targeting (only when the plan includes UI automation)
|
|
154
|
+
|
|
155
|
+
If the plan loads `uipath-rpa` for a workflow that clicks, types into, or reads elements in a desktop or browser app, ask the three UI questions in **one batched** structured prompt:
|
|
156
|
+
|
|
157
|
+
> *Question 1 — App type:* What kind of application are we automating?
|
|
158
|
+
> 1. Web / browser app
|
|
159
|
+
> 2. Desktop app
|
|
160
|
+
> 3. Citrix / remote session
|
|
161
|
+
>
|
|
162
|
+
> *Question 2 — Targeting approach:* How should I handle the UI elements?
|
|
163
|
+
> 1. **I build it, you review it** *(recommended)*
|
|
164
|
+
> 2. **You indicate each element** in Studio's Selector editor
|
|
165
|
+
>
|
|
166
|
+
> *Question 3 — App state:* Is the app open on your machine?
|
|
167
|
+
> 1. **Yes, it's open and ready**
|
|
168
|
+
> 2. **No, I'll open it first** — tell me when ready
|
|
169
|
+
> 3. **Skip discovery for now** — scaffold with placeholder selectors
|
|
170
|
+
|
|
171
|
+
Skip individual questions:
|
|
172
|
+
|
|
173
|
+
- **Skip Q1** if the request or a context document names the app kind (web / desktop / Citrix).
|
|
174
|
+
- **Skip Q2** only if the user explicitly asked for one targeting approach.
|
|
175
|
+
- **Skip Q3** if the user already stated the app is running, not yet open, or asked to skip discovery.
|
|
176
|
+
|
|
177
|
+
**Resumed session:** Q2 and Q3 are session-bound — re-ask them when the current conversation lacks their answers.
|
|
178
|
+
|
|
179
|
+
Skip the entire batch for non-UI plans (pure data processing, API calls, agent-only, flow-only).
|
|
180
|
+
|
|
181
|
+
Record the answers in the plan header AND summarize them in the relevant task's Skill prompt. The task prompt also carries the plan path (Step 5), so a resumed or separately-executed task can recover the full decision set from the file.
|
|
182
|
+
|
|
183
|
+
## Step 5 — Write the plan
|
|
184
|
+
|
|
185
|
+
Compose the plan per the schema in [plan-and-tasks-format.md → `decompose`](../shared/plan-and-tasks-format.md#decompose-featuremd). Plan body holds the task list in the task row schema.
|
|
186
|
+
|
|
187
|
+
**Every task's Skill prompt embeds the plan path** — the exact relative or absolute path of `<feature>.md`, written below. Live tasks copy prompts verbatim; a bare "this plan" leaves a resumed task with no way to find its values.
|
|
188
|
+
|
|
189
|
+
### Self-review before saving
|
|
190
|
+
|
|
191
|
+
Check the plan against [plan-and-tasks-format.md § Quality rules](../shared/plan-and-tasks-format.md#quality-rules-applied-during-self-review-before-saving), and:
|
|
192
|
+
|
|
193
|
+
- **Plan path present** — every Skill prompt names the plan file path (not "this plan").
|
|
194
|
+
|
|
195
|
+
Fix issues before saving.
|
|
196
|
+
|
|
197
|
+
### Save location
|
|
198
|
+
|
|
199
|
+
Save as `YYYY-MM-DD-<feature-name>.md`:
|
|
200
|
+
|
|
201
|
+
- **Project directory exists** (`project.json`, `flow_files/`, `.uipath/`, or `pyproject.toml`) → save to `docs/plans/` within the project. Create the directory if needed.
|
|
202
|
+
- **No project directory** → save to `./plans/` (relative to the current working directory). Create the directory if needed.
|
|
203
|
+
|
|
204
|
+
### Resume handling
|
|
205
|
+
|
|
206
|
+
If a plan file already exists at the target path, ask the user with a structured question:
|
|
207
|
+
|
|
208
|
+
> A plan file already exists at `<path>`. How should I proceed?
|
|
209
|
+
>
|
|
210
|
+
> 1. **Continue with the current plan** *(recommended)* — pick up where you left off; checkbox state preserved
|
|
211
|
+
> 2. **Regenerate from the current request** — discard the current plan and rebuild
|
|
212
|
+
|
|
213
|
+
Option 1: read existing plan → recreate the live tasks with the task-list tool, status preserved → done.
|
|
214
|
+
Option 2: parse the request fresh, run identity-matching against the old file (preserve completed work), write the new plan, emit live tasks, per [plan-and-tasks-format.md → Regenerate logic](../shared/plan-and-tasks-format.md#regenerate-logic).
|
|
215
|
+
|
|
216
|
+
## Step 6 — Present the plan
|
|
217
|
+
|
|
218
|
+
- **Explore first, then plan:** enter plan mode with the plan content. User approves → exit plan mode → create the live tasks with the task-list tool.
|
|
219
|
+
- **Explore, plan, and execute simultaneously:** emit the plan as text. Then immediately create the live tasks with the task-list tool. Main agent starts executing.
|
|
220
|
+
|
|
221
|
+
## `decompose` budget
|
|
222
|
+
|
|
223
|
+
Structured prompts: **0** on the Step 2 single-skill exit; Step 3 is **one** batch (Q1 + Q2 + optional Q3 / delivery model, at most 4 questions), **0** when context resolves it; **+1** for the Step 4 UI batch when the plan has UI automation; **+1** on a resume. Cap: Critical Rule 9.
|
package/skills/uipath-planner/references/{asdd-crosswalk-guide.md → design/asdd-crosswalk-guide.md}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SDD / ASDD (Client Deliverable) Generation
|
|
2
2
|
|
|
3
|
-
The markdown SDD this skill writes is the **agent-first** artifact: implementation-oriented, the input to
|
|
3
|
+
The markdown SDD this skill writes is the **agent-first** artifact: implementation-oriented, the input to the genome. The official Word **SDD / ASDD** is the **client-facing** deliverable, in the customer's own section structure. Generate the client document only when the user asks for it (client doc, "official template", `.docx`). The markdown SDD already exists and stays as-is — do not restructure it.
|
|
4
4
|
|
|
5
5
|
## Procedure
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ The markdown SDD this skill writes is the **agent-first** artifact: implementati
|
|
|
11
11
|
Stop and wait for the path. Do not assume or invent the official section layout.
|
|
12
12
|
|
|
13
13
|
2. **Read the template's section structure:**
|
|
14
|
-
- `.docx` → run `
|
|
14
|
+
- `.docx` → run `node "<SKILL_DIR>/scripts/sdd-to-docx.mjs" --headings "<TEMPLATE>.docx"` and take the heading list it prints. `<SKILL_DIR>` is the folder holding planner's `SKILL.md`.
|
|
15
15
|
- `.md` → read the headings directly.
|
|
16
16
|
|
|
17
17
|
Match against the standard layout in the crosswalk below. The user's file wins on any naming or ordering difference — follow its sections.
|
|
@@ -20,14 +20,16 @@ The markdown SDD this skill writes is the **agent-first** artifact: implementati
|
|
|
20
20
|
|
|
21
21
|
4. **Compute missing pieces.** For a template section with no direct SDD source, derive it from SDD data when present; when it needs information the SDD does not hold, write the literal marker `[SME REVIEW]` followed by what is needed, and add the item to a list the user must fill. Never fabricate.
|
|
22
22
|
|
|
23
|
-
> **Marker discipline (
|
|
23
|
+
> **Marker discipline (SKILL.md § Critical Rules, gap markers).** `[SME REVIEW]` and `[DEFAULT]` are the only gap markers, written verbatim with nothing else inside the brackets — the note goes after the closing bracket (`[SME REVIEW] repository not recorded in the source SDD`). Do not invent a second vocabulary (`[PLACEHOLDER]`, `[TBD]`, `<fill in>`) and do not decorate the marker (`[SME REVIEW — …]`); both are invisible to the reviewer grepping the client document for open items. **Markers already in the source SDD copy through byte-for-byte** — this crosswalk relocates content, it never re-words a gap the SDD author recorded.
|
|
24
24
|
|
|
25
25
|
5. **Assemble** the matched + computed content into the template's section order, then convert:
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
|
|
28
|
+
node "<SKILL_DIR>/scripts/sdd-to-docx.mjs" "<ASSEMBLED>.md" "<OUTPUT>.docx" --reference-doc "<TEMPLATE>.docx"
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
+
Exit `2`: pandoc is not installed — keep the assembled `.md` and tell the user the conversion needs pandoc. Exit `3`: pandoc could not convert — keep the `.md` and report the error. Never hand-build a `.docx`. Mermaid blocks stay as code in the `.docx`; say so when the SDD has diagrams.
|
|
32
|
+
|
|
31
33
|
## Default crosswalk — standard UiPath SDD/ASDD template
|
|
32
34
|
|
|
33
35
|
RPA / Master-Project oriented. Left column = the template's sections; fill each from the markdown SDD (RPA template section numbers shown).
|
package/skills/uipath-planner/references/{business-rules-guide.md → design/business-rules-guide.md}
RENAMED
|
@@ -55,8 +55,8 @@ Cells (FEEL unary-test subset):
|
|
|
55
55
|
- **Design intent, not proof.** Hit policy and completeness describe what the table must do. Do not certify a table overlap-free or complete by reading it: the build proves it (see Proof).
|
|
56
56
|
- **Traceable.** Every row cites its BR in `Rule`; a row that only completes the table cites `[DEFAULT]` or `[SME REVIEW]` instead. Every decision BR appears in at least one row.
|
|
57
57
|
- **Independent test cases.** Write one test case per row in the Testing Strategy (RPA §17; BPMN §13 Gateway / Branch Coverage). Take its inputs and expected output from a PDD example or an SME-confirmed value, never from the row itself: a case derived from the row passes even when the row is wrong. When neither source gives one, write the case with `[SME REVIEW]` in place of the expected output.
|
|
58
|
-
- **Proof.** The
|
|
59
|
-
- **Runs in.** BPMN: the `businessRuleTask` node key; gateways route on its output. RPA: the step, and the coded logic or lookup that evaluates it. Placement: [
|
|
58
|
+
- **Proof.** The genome component that hosts the decision (the BPMN or RPA component) carries its test cases as acceptance criteria, and the build proves the table with tools. For a `.dmn` business rule: `uip rules validate <PROJECT_DIR> --output json`, then `uip rules debug <PROJECT_DIR> --inputs '<INPUTS_JSON>' --output json` once per test case. For coded logic in an RPA process: one unit test per test case. A failing case is a defect in the row or in the test case's source; resolve it with the SME, never by editing the expected output to match.
|
|
59
|
+
- **Runs in.** BPMN: the `businessRuleTask` node key; gateways route on its output. RPA: the step, and the coded logic or lookup that evaluates it. Placement: [Component Placement Guide → Per-task component placement](../shared/component-placement-guide.md#per-task-component-placement-the-to-be-per-step).
|
|
60
60
|
- **No decision rules:** write `None. No rule decides an outcome.`
|
|
61
61
|
|
|
62
62
|
## 3. Rules that need reasoning
|
|
@@ -76,7 +76,7 @@ List every `Reasoning` rule. Example:
|
|
|
76
76
|
|
|
77
77
|
## 4. Coverage
|
|
78
78
|
|
|
79
|
-
Number BRs `BR-01`, `BR-02`, … across every home. A decision-table row or reasoning row is the rule's definition; no separate register repeats it. In BPMN, a validation rule goes in the variable's `Description` in §7, prefixed with its BR ID.
|
|
79
|
+
Number BRs `BR-01`, `BR-02`, … in source order across every home. A decision-table row or reasoning row is the rule's definition; no separate register repeats it — so the definition carries the rule itself: the row's `Rule` cell reads `BR-12: a blocked vendor's invoice is rejected`, in the source's words, never the ID alone. A home's IDs skip the ones defined in another home; that gap is expected. In BPMN, a validation rule goes in the variable's `Description` in §7, prefixed with its BR ID.
|
|
80
80
|
|
|
81
81
|
Before closing the section, run this mechanical check:
|
|
82
82
|
1. List the BR IDs extracted from the PDD.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# Caller Request Guide — `design` run for a calling skill
|
|
2
|
+
|
|
3
|
+
Read this when the request carries a `planner-design-request: v1` block. Another skill has already held the business conversation (a business-analysis skill that wrote the PDD) and settled with the user what the block states. Take those answers as given, run `design` with the changes below, and end with one result block. Ask the user nothing the block answers, and expose none of this skill's guides, phases or templates in what you show them. A change to a field, to the result or to the SDD signals below bumps the version.
|
|
4
|
+
|
|
5
|
+
A build skill that hands over a request with no SDD to build from is a different case: [sdd-writing-guide.md](sdd-writing-guide.md) § Design Handed Over by a Build Skill.
|
|
6
|
+
|
|
7
|
+
## The Request
|
|
8
|
+
|
|
9
|
+
Read the block one `key: value` per line:
|
|
10
|
+
|
|
11
|
+
```text
|
|
12
|
+
planner-design-request: v1
|
|
13
|
+
source: <PDD_PATH>
|
|
14
|
+
facts: <PATH>, <PATH>
|
|
15
|
+
output: <SDD_PATH>
|
|
16
|
+
product: <PRODUCT>
|
|
17
|
+
execution: <interactive | autonomous>
|
|
18
|
+
language: <LANGUAGE>
|
|
19
|
+
audience: business
|
|
20
|
+
open-item-marker: <LITERAL_PREFIX>
|
|
21
|
+
existing-output: replace
|
|
22
|
+
stop-after: sdd
|
|
23
|
+
traceability: required
|
|
24
|
+
frames: <FRAMES_FOLDER>
|
|
25
|
+
diagram: <DIAGRAM_FILE>
|
|
26
|
+
client-template: <TEMPLATE_DOCX_PATH>
|
|
27
|
+
client-output: <CLIENT_DOCX_PATH>
|
|
28
|
+
revise: <SECTION_HEADING> — <CHANGE>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
| Key | Required | What to do with it |
|
|
32
|
+
|---|---|---|
|
|
33
|
+
| `source` | yes | Read it as the PDD or process source in Phase 1 Step 1. |
|
|
34
|
+
| `output` | yes | Write the SDD here. Solution scope: write the overview here and each per-project SDD beside it as `<PROJECT_NAME_KEBAB>-sdd.md`. |
|
|
35
|
+
| `facts` | no | Comma-separated files or folders of facts the user confirmed. Read them after the source and rank them as "what the user said" in Verb Rule 11, above the source document and every default. Never ask what they answer. |
|
|
36
|
+
| `product` | no | The product the user chose: `case`, `bpmn`, `flow`, `rpa`, `agent`, `coded-app`, `api-workflow`. Treat it as a product the user named (Verb Rule 12). `automation-task` names no product: the scope is one bounded task, so select the product at Level 1 as usual. |
|
|
37
|
+
| `execution` | no | The execution mode the user chose: `interactive` → stop once, for the Phase 2 Step 5 review; `autonomous` → no review stop, the picks go to Decisions Made and only a hard blocker stops the run. Missing → ask it once, as the Step 0 question, in the audience's terms. Record it as `Execution autonomy` in the handoff. |
|
|
38
|
+
| `language` | no | Write the SDD's prose in it and skip the Phase 1 Step 1 language question. Keep headings, section numbers, identifiers (`BR-01`, `E1`) and handoff fields in English: build skills parse them verbatim. |
|
|
39
|
+
| `audience` | no | `business` → word every question, the review and the result's prose in the user's business terms: no verb, guide, file path, template, `[SME REVIEW]`, `[DEFAULT]`, genome or handoff field names. Default `technical`. |
|
|
40
|
+
| `open-item-marker` | no | The literal prefix the source uses for an open item (`==TBD:`). Turn each occurrence into one `[SME REVIEW]` item and put the source's reason after the closing bracket (`[SME REVIEW] retention period not confirmed`). Never copy the source's marker into the SDD. This is the one exception to Critical Rule 6's byte-for-byte carry-over: the gap is kept, only its vocabulary changes. |
|
|
41
|
+
| `existing-output` | no | `replace` → regenerate without the sdd-writing-guide.md Step 2 item 6 question; the user already chose to. Without it, ask that question as usual. |
|
|
42
|
+
| `stop-after` | no | `sdd` → end the run at the result: no genome, no build, no Step 3 turn boundary, no genome progress task. Without it, § Chaining in [SKILL.md](../../SKILL.md) applies. |
|
|
43
|
+
| `traceability` | no | `required` → add two sections after Testing Strategy (extra sections; the template-superset check allows them). `## Alternatives Considered`: every solution alternative `facts` records, with its stable ID, fit, risks, tradeoffs and status; a rejected one keeps its rejection reason. `## Requirements Traceability`: one row per requirement or business rule — its stable ID linked to the exact source heading it comes from, the source section, then the technical decision, interface or data contract, NFR and acceptance criterion it leads to, and any open gap. Cite IDs and links exactly as the source gives them; never invent an ID, and write a missing link as an open gap. |
|
|
44
|
+
| `frames` | no | The folder holding the source's screen frames. Every UI step a robot drives gets its frame beside the step's specification, where the SDD specifies that step (RPA: its `#### Step` block under Step Details; a BPMN or Case design: the RPA process it invokes): a bold step line, the specification as bullets, then the frame at full width, no caption. Reuse the image reference the source already embeds for that screen, unchanged, so it resolves from the SDD's own folder; embed the `annotated/` copy whenever one exists beside a frame; never re-annotate. No frame for a screen → a `[SME REVIEW]` screenshot item. API, agent and orchestration steps get no frames. |
|
|
45
|
+
| `diagram` | no | A file whose fenced ```mermaid block is the agreed process map. Use that block verbatim as the SDD's process map (RPA §2 Process Map, Flow §2 Flow Diagram and their equivalents) instead of drawing one; every other diagram is yours to draw. |
|
|
46
|
+
| `client-template`, `client-output` | no, together | Once the SDD is finished, produce the client Word document: [asdd-crosswalk-guide.md](asdd-crosswalk-guide.md) from its step 2, with this template, written to `client-output`. Never ask for the template. |
|
|
47
|
+
| `revise` | no | Change one section of the existing `output` SDD: skip Phases 1 and 2, apply the change to that section only, run sdd-writing-guide.md Step 2 items 8 and 9, then write the result. Without `stop-after: sdd`, a genome the SDD's `Genome` row names on disk is then updated and checked (sdd-writing-guide.md § Keeping the Genome Current). A change that moves a process fact belongs in the source, and the request then comes without `revise`. |
|
|
48
|
+
|
|
49
|
+
Ignore a key you do not know. A missing required key, an unreadable `source`, or a `revise` with no `output` on disk → write the result with `status: failed` and the reason, and nothing else.
|
|
50
|
+
|
|
51
|
+
## The Run
|
|
52
|
+
|
|
53
|
+
The user is present in this session: ask in the host's own question tool, and do any subagent work inline. Change these steps and nothing else:
|
|
54
|
+
|
|
55
|
+
1. **Phase 1 Step 0.** Take the execution mode from `execution`; ask it only when the key is missing. Ask the delivery model only when its skip rule cannot resolve it from `source` and `facts`.
|
|
56
|
+
2. **Phase 1 Step 6.** Present the scope recommendation only when no `product` was given and the choice is genuinely ambiguous (product-selection-guide.md); otherwise take the recommendation and record it in Decisions Made.
|
|
57
|
+
3. **Phase 2 Step 5 — the one review, interactive only.** `interactive`: present the architecture review and wait for approval, in its own structure (a case: case-review-and-conformance-guide.md § Presenting the Case Design); it is the run's only checkpoint. `autonomous`: present nothing and wait for nothing.
|
|
58
|
+
4. **Phase 3 Step 1.5.** Ask nothing. Keep every item's default and class in the Action Required table; a `blocking` item keeps `Status: draft` — name it in the result, where the user's answer comes back through a later request.
|
|
59
|
+
5. **Decisions Made.** Write the block (sdd-writing-guide.md Step 2 item 3) in both modes: the decisions you took without a question must stay scannable.
|
|
60
|
+
6. **End.** Write the result below. With `stop-after: sdd`, end the run there, in the same turn; otherwise § Chaining applies.
|
|
61
|
+
|
|
62
|
+
Still ask the Agent / Coded App gap question (Phase 1 Step 5): never fill a product gap silently.
|
|
63
|
+
|
|
64
|
+
## The Result
|
|
65
|
+
|
|
66
|
+
Make your last message one fenced block, after any prose the audience needs:
|
|
67
|
+
|
|
68
|
+
```text
|
|
69
|
+
planner-design-result: v1
|
|
70
|
+
status: ready | draft | failed
|
|
71
|
+
complete: yes | no
|
|
72
|
+
documents: <PRIMARY_SDD_PATH>, <PER_PROJECT_SDD_PATH>, ...
|
|
73
|
+
blocking: <ITEM>; <ITEM> | none
|
|
74
|
+
client-document: <CLIENT_DOCX_PATH> | none | unavailable — <REASON>
|
|
75
|
+
reason: <WHY_IT_FAILED>
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
- Write `complete: yes` only when `Template validation: passed` — every required section is present. A `draft` can be complete: it waits on `blocking`.
|
|
79
|
+
- List the overview first in `documents`; a single-product SDD has one path.
|
|
80
|
+
- Word `blocking` in the audience's terms.
|
|
81
|
+
- Write `reason` only with `status: failed`.
|
|
82
|
+
|
|
83
|
+
## SDD Signals a Caller's Host May Read
|
|
84
|
+
|
|
85
|
+
Write these into every SDD, and change them only with a version bump — the calling skill's host reads them to register the SDD:
|
|
86
|
+
|
|
87
|
+
| Signal | Meaning |
|
|
88
|
+
|---|---|
|
|
89
|
+
| `<!-- planner-handoff:v1 -->` and `## Planner Handoff` | The file is a planner SDD. |
|
|
90
|
+
| `\| **Template validation** \| pending \|` | The run did not finish; the file must not be presented as a finished design. |
|
|
91
|
+
| `\| **Status** \| draft \|` | Blocking review items are open. |
|
|
92
|
+
| `<!-- planner-sdd-body:v1 -->` | Every H2 above this line is front matter (history, handoff, decisions, review items, table of contents); the body starts below it. |
|