uipath-maestro-case
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUiPath Case Management Authoring Assistant
UiPath 案例管理创作助手
Build UiPath Case Management definitions from . Generate , then write directly using the applicable per-plugin JSON recipes.
sdd.mdtasks.mdcaseplan.jsonAuthoring invariant: Never use mutatingcommands (uip maestro case, includingcases|stages|tasks|*-conditions ... add|update|remove) or explore them withtasks add-connector. Use the CLI only for scaffolding, metadata reads, validation/debug, runtime operations, and solution sync/upload. Consult case-commands.md only when exact syntax is needed. CLI availability or a final--helprequirement never overrides this rule.validate
When is absent, case design belongs exclusively to , which runs its Case Design Lane in this conversation. This skill never designs independently. The lane uses best-assumption design, Listen → Sketch → full design-time tenant resolution, a mandatory other-path sweep, and one decision-first eight-section Case Review. Its Build answer is consent; it writes template-conformant , then this skill continues immediately with , Phase 1, and later phases. The same handoff applies to finalization. Never overwrite an existing .
sdd.mduipath-plannersdd.mduip solution initsdd.draft.mdsdd.mdScope: greenfield builds from and brownfield targeted edits to an existing ; see references/brownfield.md. For Studio Web cases, pull current server state first with or so publishing cannot clobber server changes.
sdd.mdcaseplan.jsonuip solution downloadsolution projects resync基于构建UiPath案例管理定义。生成,然后使用适用的插件专属JSON规则直接编写。
sdd.mdtasks.mdcaseplan.json创作不变规则: 切勿使用可修改的命令(uip maestro case,包括cases|stages|tasks|*-conditions ... add|update|remove),也不要用tasks add-connector探索这些命令。仅将CLI用于脚手架搭建、元数据读取、验证/调试、运行时操作以及解决方案同步/上传。只有在需要精确语法时才查阅case-commands.md。CLI可用性或最终的--help要求绝不能凌驾于本规则之上。validate
当不存在时,案例设计完全由****负责,它会在本次对话中运行其案例设计流程。本技能绝不会独立进行设计。该流程采用最佳假设设计、Listen → Sketch → 全设计时租户解析、强制的其他路径排查,以及一次以决策为先的八部分案例评审。其构建答复即为同意;它会编写符合模板的,随后本技能立即继续执行、第一阶段及后续阶段。同样的交接规则也适用于的定稿。切勿覆盖已有的。
sdd.mduipath-plannersdd.mduip solution initsdd.draft.mdsdd.md适用范围: 基于的全新构建,以及对现有的针对性编辑;详见references/brownfield.md。对于Studio Web案例,需先通过或拉取当前服务器状态,以免发布操作覆盖服务器端的变更。
sdd.mdcaseplan.jsonuip solution downloadsolution projects resyncWhen to Use This Skill
何时使用本技能
Use for:
- Building a Case Management project from .
sdd.md - Creating a case when no SDD exists; hand design to in this conversation.
uipath-planner - Generating implementation tasks from an SDD.
- Editing an existing by targeted intent: stage/task changes, conditions, or triggers.
caseplan.json - Questions about case JSON schema, nodes, transitions, tasks, rules, SLA, or runtime case instances.
Do not use for → , → , or standalone agents/APIs/processes outside case context.
.xamluipath-rpa.flowuipath-maestro-flow适用于以下场景:
- 基于构建案例管理项目。
sdd.md - 无SDD时创建案例;在本次对话中将设计工作交接给。
uipath-planner - 从SDD生成实施任务。
- 根据目标意图编辑现有:阶段/任务变更、条件或触发器调整。
caseplan.json - 关于案例JSON schema、节点、流转、任务、规则、SLA或运行时案例实例的问题。
不适用于 → 、 → ,或案例上下文之外的独立代理/API/流程。
.xamluipath-rpa.flowuipath-maestro-flowCritical Rules
关键规则
-
Design handoff and SDD authority. Ifis absent, immediately invoke
sdd.md’s Case Design Lane in this conversation, before reading references or running tenant commands. Do not improvise interviews, design subagents, generic Build Plan approvals, or design-only behavior here. The lane’s single Case Review has exactly these sections: Case Snapshot; Primary Journey; Other Paths Considered; SLA and Escalations; Rules and Outcomes; Resources and Integrations with design-time resolutions; Decisions I Made; Review Flags. It names every stage/task, type, activation/grouping, required status, routing/outcome, and SLA context;uipath-plannerseparately contains the complete data contract, variables, and task inputs/outputs. The Build options incorporate Rule 11, and the Build answer is the sole consent. Corrections re-show only changed review sections. Before approval, everysdd.mdselector must resolve to a non-adhoc sibling in the same stage. The lane writesselected-tasks-completedearly, then this skill runssdd.mdand Phase 1 without another prompt unless explicitly requested. If the request asks only foruip solution init <SolutionName>plussdd.md, write compacttasks/tasks.mdafter Save/Build, do not read plugin references or run tenant discovery, and stop beforetasks/tasks.md. Ifcaseplan.jsonis to be finalized, use the lane fast path with target basenamesdd.draft.md. Never overwritesdd.md.sdd.md -
SDD is the sole post-design input, across sessions. Trust user-provided or previously written; do not validate, gap-fill, or silently infer it. In the same conversation as design approval, use the in-memory model that wrote it without rereading. Use AskUserQuestion for build-phase ambiguity. Run a one-Grep receipt spot-check before reading an SDD not watched being written: it must contain
sdd.mdthrough## Section 1: Case Definitionand at least one## Section 4: Integrationsblock. Freeform/summary SDDs go back through the planner template-conformance gate.##### Task -
Phase 1 registry gate. Run, then
uip login status --output json, before cache inspection, carryover, resolution, or Phase 1 writes. Pull at most once per session. If the planner lane ran in this session, its pull succeeded, and it wrote the SDD, reuse the cache. With the lane’s in-context resolution outcomes, use verify-only planning: persist them verbatim touip maestro case registry pull, spot-check cache entries, execute gate decisions, and re-resolve only stale/missing entries. Otherwise run the full gate. Login/pull failure stops Phase 1. Readtasks/registry-resolved.jsondirectly;~/.uip/case-resources/<type>-index.jsonhas known gaps, especially action-apps. Before a successful pull, missing cache files are failed refresh preconditions, never zero matches; only after success may empty exact-name matches or absent indexes enter empty-lookup handling. Trust the SDD; the pull refreshes discovery only. The planner lane owns design-time resolution, lazily starting login/pull when tenant-bound work first appears, resolving identities with one batched Case Review gate, and recording SDD cells plus its resolution ledger. No schema discovery occurs there.registry searchPlan-only exception: when explicitly stopping at,sdd.md, orsdd.draft.mdwithouttasks.md, solution, or build, do not run tenant registry, connection, schema, or user-discovery commands. Preserve intended names, mark identitiescaseplan.json, and report deferred wiring. This exception does not apply when the user requests resource/identity resolution, registry refresh, stale-audit replacement,resolve at build, ortasks/registry-resolved.json; then run the normal gate, resolve identities, emit build-pathtasks/recipients-resolved.json, and stop at the Rule 7 plan gate.tasks.md -
Parsed reads require.
--output json -
Use plugin references. Read the matching pluginduring planning and
planning.mdduring execution; never guess JSON shapes.impl-json.md -
is declarative and lossless. No shell commands. Use plain field identifiers, not CLI flags. Create one T-entry for every SDD stage, task, trigger, condition, SLA rule, variable, and argument, including explicit defaults. Preserve every valid explicit rule/selector exactly; reject and repair invalid
tasks.mdselectors. Preserve stage/task/SLAselected-tasks-completedand condition routing/activation rationales asDesign Rationale. Preserve every Inputs row, binding mode, and value. Preserve JSON object literals exactly: native object or JSON-encoded string inrationale:; addinput.value/=js:only when explicitly present in the SDD. Project Outputs through=jsonString:, preserving operator and operands. SDD output rows requireplugins/variables/io-binding/planning.mdor->; schema-discovered bare outputs are not authored SDD rows. Never simplify equal-name=rows;->differs from schema-discovered baregreeting -> greeting.greetingplaceholders are not operands. AskUserQuestion for unrecognized or ambiguous rows; never omit silently. Regenerate greenfield plans from scratch; brownfield edits preserve IDs. Every §4.6 task entry has its own—andactivation-mode:— repeat this per task, never author it once and drop it for later similar tasks;entry-rule:only warnsvalidate, while a miss hangsTask has no entry rulesindefinitely. Every task heading is exactlycase debug. See references/planning.md §4.0 and the Plan-shape gate.## T<n>: Add <type> task "<name>" to "<stage>" -
Plan gate. Phase 1 auto-proceeds to Phase 2 and treats the plan as approved. Stop afteronly when the request explicitly says plan-only, Phase 1 only, review first, or not to build. Re-read
tasks.mdbefore execution.tasks.md -
Unresolved resources. Never fabricate IDs. Keepin
<UNRESOLVED: ...>. A placeholder task hastasks.md,type, structural fields, anddisplayName; conditions still reference its TaskId. A placeholder event trigger has render fields and onlydata: {}; append itsdata.inputs: { serviceType: "Intsvc.EventTrigger" }entry and create no trigger edge. See references/placeholder-tasks.md and references/plugins/triggers/event/impl-json.md.entry-points.json -
Resolution audit. Persist one object per task inwith exact keys
tasks/registry-resolved.json,stage,task,taskType,cacheFile,searchQuery,matches, andselected, plus resolved I/O/review metadata. Addrationaleonly when the user answered the design-time resource gate; default deferrals have none.gateDecisionis the complete exact-name set from the refreshed cache;matchesis a match orselectedafter a genuine empty lookup. Same-session planner ledgers are persisted verbatim, then verified/extended under Rule 3. The resolution ledger andnullare machine-only — never shown to the user, including in the Case Review.registry-resolved.json -
Cross-task references. Useand the common output-reference-ID algorithm in
"Stage Name"."Task Name".output_name. Use the source output’splugins/variables/io-binding/impl-json.md; only a custom.idoutput without=uses its verified root companion’s.id. Never use a reassigned output’s.id. Discover names with.varfor connector tasks oruip maestro case specfor non-connectors. In largeruip maestro case tasks describeexpressions use=js:, resolved at Step 11.5. See references/bindings-and-expressions.md.vars.$xref('Stage','Task','output') -
Build-review preference. Capture once at journey start. Design handoff folds it into the Case Review Build options (or
Build it — straight through); provided SDD asks once after the roadmap. Non-interactive and resumed runs without a preference default to straight-through. At Phase 2→3, tryBuild it — pause at the build preview; fall back once to legacyvalidate --skeleton-v2only when the response explicitly says v2 is unknown/unsupported, typically invalid_argument/exit 3. Exit 3 alone is insufficient; real v2 failures are reported. Validation findings do not halt this advisory gate. Straight-through continues without prompting. Pause-at-preview follows references/phased-execution.md: AskUserQuestion--skeleton/Publish for review/Skip publish and continue; on publish, refresh resources, upload with the required filter, printAbortbefore the follow-up, then askDesignerUrl/Continue to implementation. Hard stops always remain at Phase 4 retry exhaustion, Phase 5, Phase 6, and Phase 7.Abort -
Never auto-debug or publish to Orchestrator.executes real emails, messages, and API calls. Phase 7 (
uip maestro case debug→case pack→solution pack) ships to the tenant. Each requires its own AskUserQuestion consent.solution publish -
Artifact I/O. For,
caseplan.json,sdd.md,sdd.draft.md,tasks.md,tasks/registry-resolved.json,tasks/trigger-spec-cache.json,tasks/spec-cache.<elementId>.json,bindings_v2.json,id-map.json, andentry-points.json, use only Read and Write/Edit. No Python, Node, jq, sed, awk, scripts, shell redirection,build-issues.md,tee,cp,mv, orinstall; no helper scripts, including underrsync. The/tmpban covers all file reads, includingnode -e ... fs.*; use Read or~/.uip/case-resources/for cache lookup. Ifcat ... | python3 -c ...exceeds about 30KB, use the preview/detail cadence in case-editing-operations.md, never a helper. Bash is allowed only for UUID v4 generation without filesystem access, CLI metadata, validate, debug, and solution scaffold/upload. Prefixed IDs are chosen inline.caseplan.json -
Runnable resources and sidecars. Before Phase 4, run Step 12 Checks 7, 9, 11, and 12 even when publish, debug, or resource refresh is skipped. A non-nullresource must not become a placeholder: retain
selectedanddata.namewith complete root bindings, project it intodata.folderPath, and make itsbindings_v2.json.resources[]self-consistent with its own defaults, never a copied tenant identity/UUID. Checks 9/11 exempt connector nodes; Check 12 covers resolved connector tasks, event triggers, andresourceKeyrules, which require splicedwait-for-connectorplus Connection/Folder root bindings, not degraded typeId/connectionId-only data. CLI validate is insufficient. Repair and recheck mismatches; halt before Phase 4 if they remain. Repeat Check 7 before everycaseShape.context. Refresh before every upload or debug. Every upload usesresources refresh; print the returned DesignerUrl.--output-filter "{Status: Status, SolutionId: SolutionId, DesignerUrl: DesignerUrl}" -
Handoff contract. Invoke’s Case Design Lane in this conversation, never as a subagent. It owns design, resolution, review, and SDD writing; this skill resumes at solution initialization. User-facing language presents one continuous flow and never mentions the handoff. If unavailable, say so in one line, request
uipath-planneror an approved pasted design, and stop. Cross-product planning remains a plain-text suggestion to the planner. Apply the Rule 15 receipt spot-check before unobserved SDD reads.sdd.md -
Closed task types.task
caseplan.jsonmust be exactly one of:type,process,agent,rpa,action,api-workflow,case-management,execute-connector-activity,wait-for-connector. Never use plugin folder or CLI names,wait-for-timer,external-agent,external-workflow,document-extraction,flow-process, or other invented values. The unsupported types remain unsupported. See references/case-schema.md and the Plugin Index.wait-for-event -
Empty lookup gate. If the same-session ledger has a user, execute it without asking again:
gateDecision→ placeholder;resolve-at-build→ inline create;create-during-build→ bind it. A missing decision is a default deferral, not consent; run the full gate. For zero matches, use one batched AskUserQuestion grouped bypick:<name>with:(name,type);Force pull and re-resolve; and, only when creatable resources exist andUse placeholders for allis supported,registry --local. Create only selectedCreate missing resources inlineoragentresources, invokingapi-workfloworuipath-agents; never infer Create from SDD content. Other empty types remain placeholder-only. Selected resources with identical I/O may share one build; differing I/O splits later with the anchor retaining the name, and SDD updates require permission. See registry-discovery.md § 1c, Create-on-Missing, and § MUST Confirm.uipath-api-workflow -
Layout. Emit top-levelonly. Do not emit node
layout: {},position,style,measured,width,height, or edgezIndex; do not compute positions.data.waypoints -
Global output IDs. Run Step 12 Check 8 once at Phase 3 exit. It is mandatory; do not enter Phase 4 until it passes and do not substitute CLI validate.
-
No authored edges. Keepas
schema.edges; never author TriggerEdge/Edge objects. Conditions provide stage flow; the first stage uses[]. Read-only edge shapes are documented in case-schema.md Appendix.case-entered -
Global events and SLA responses. Model a global external event once as an interrupting secondary-stageentry. Choose SLA response explicitly:
wait-for-connector,notify-only,start-task,enter-stage, orexit-stage. Aexit-caseresponse belongs on the follow-up task’s ownstart-taskentry, not a stage entry. Interrupting depends on whether active work stops, pauses, or reroutes; parallel oversight usessla-status-changeand remains secondary.Interrupting: Nonamessla-status-change; addslaIdonly for at-risk responses. Without a stated response, at-risk and breach are notifications. Do not replicate rules across primary stages. See references/sla-response-shapes.md and the SLA Response Map.escalationId -
Formal argument IDs.and
variables.inputs[].idmust be syntheticvariables.outputs[].id+ 8 characters and distinct fromv/name; never copy companion names. Run Step 12 Check 10 once at Phase 3 exit and non-interactively re-mint violations. CLI validate does not check this. See global-vars/impl-json.md § Formal-arg slot ID format.var -
Never run. It may create a second solution and separate manifest. Use
uip maestro case initand the T01 direct-JSON scaffold in implementation.md § Step 6. See case-commands.md § case init.uip solution init <SolutionName> -
Read references to EOF before mutation. Everyends with
references/*.md. Before the first Write/Edit using a shape, procedure, constraint, or verification rule, Read that exact reference until its exact END marker appears in tool output during this session. Ranges, truncation, search hits, tables of contents, memory, and sibling references do not satisfy this. Reopen after compaction or when the prior read is unavailable. Keep reads modest to avoid output truncation. Tail contracts are normative.<!-- END: <filename> --> -
Unique labels and task names. Stagevalues are unique case-wide; task
data.labelvalues are unique across all stages, exact and untrimmed, and contain nodisplayName. A missing display name binds to the resource name and participates in uniqueness. Assign names in Phase 1; later renaming touches the SDD, plan, ID map, and name-keyed references.:
-
设计交接与SDD权威性:如果不存在,在查阅参考文档或运行租户命令前,立即在本次对话中调用
sdd.md的案例设计流程。切勿自行设计访谈、创建设计子代理、进行通用构建计划审批或仅开展设计相关操作。该流程的单次案例评审包含以下固定部分:案例快照;主流程;考虑过的其他路径;SLA与升级机制;规则与结果;资源与集成(含设计时解析);我做出的决策;评审标记。它会明确每个阶段/任务的名称、类型、激活/分组方式、必填状态、路由/结果以及SLA上下文;uipath-planner则单独包含完整的数据契约、变量和任务输入/输出。构建选项需纳入规则11,构建答复即为唯一同意。修改仅需重新展示变更的评审部分。在审批前,每个sdd.md选择器必须解析为同一阶段中的非临时同级任务。该流程会提前编写selected-tasks-completed,随后本技能无需额外提示(除非明确要求)即可运行sdd.md和第一阶段。如果请求仅要求uip solution init <SolutionName>加sdd.md,则在保存/构建后编写简洁的tasks/tasks.md,无需查阅插件参考文档或运行租户发现命令,并在生成tasks/tasks.md前停止操作。如需定稿caseplan.json,请使用该流程的快速路径,目标基准名为sdd.draft.md。切勿覆盖sdd.md。sdd.md -
SDD是设计后的唯一输入(跨会话):信任用户提供或已编写的;切勿验证、填补空白或静默推断。在设计审批的同一会话中,使用编写该文件时的内存模型,无需重新读取。构建阶段若有歧义,请使用AskUserQuestion。在读取未亲眼见证编写过程的SDD前,先进行一次Grep抽查:它必须包含
sdd.md至## Section 1: Case Definition的内容,以及至少一个## Section 4: Integrations块。自由格式/摘要式SDD需重新通过规划器的模板一致性校验。##### Task -
第一阶段注册表校验:在检查缓存、延续操作、解析或第一阶段写入前,先运行,再运行
uip login status --output json。每个会话最多执行一次拉取。如果本次会话中已运行规划器流程,且拉取成功并已编写SDD,则复用缓存。结合流程的上下文解析结果,仅进行验证式规划:将结果原封不动地保存到uip maestro case registry pull,抽查缓存条目,执行校验决策,仅重新解析过期/缺失的条目。否则运行完整的校验流程。登录/拉取失败将终止第一阶段。直接读取tasks/registry-resolved.json;~/.uip/case-resources/<type>-index.json存在已知缺陷,尤其是针对动作应用。在成功拉取前,缺失的缓存文件是刷新失败的前提条件,而非零匹配;仅在拉取成功后,空的精确名称匹配或缺失的索引才进入空查找处理逻辑。信任SDD;拉取仅用于刷新发现结果。规划器流程负责设计时解析,当首次出现租户相关工作时才延迟启动登录/拉取,通过一次批量案例评审校验解析身份,并记录SDD单元格及其解析台账。该流程不进行schema发现。registry search仅规划例外: 当明确要求仅生成、sdd.md或sdd.draft.md,无需tasks.md、解决方案或构建时,请勿运行租户注册表、连接、schema或用户发现命令。保留预期名称,标记身份为caseplan.json,并报告延迟的连接配置。当用户请求资源/身份解析、注册表刷新、过期审计替换、resolve at build或tasks/registry-resolved.json时,本例外不适用;此时需运行正常的校验流程,解析身份,生成构建路径的tasks/recipients-resolved.json,并在规则7的规划校验处停止。tasks.md -
解析读取需使用。
--output json -
使用插件参考文档:规划阶段查阅匹配的插件,执行阶段查阅
planning.md;切勿猜测JSON结构。impl-json.md -
需具备声明性且无信息丢失:不包含Shell命令。使用纯字段标识符,而非CLI标志。为SDD中的每个阶段、任务、触发器、条件、SLA规则、变量和参数创建一个T条目,包括显式默认值。精确保留所有有效的显式规则/选择器;拒绝并修复无效的
tasks.md选择器。保留阶段/任务/SLA的selected-tasks-completed以及条件路由/激活理由,格式为Design Rationale。保留所有Inputs行、绑定模式和值。精确保留JSON对象字面量:rationale:中使用原生对象或JSON编码字符串;仅当SDD中明确存在时才添加input.value/=js:。按照plugins/variables/io-binding/planning.md映射Project Outputs,保留运算符和操作数。SDD输出行需包含=jsonString:或->;通过schema发现的裸输出不属于已创作的SDD行。切勿简化同名的=行;->与通过schema发现的裸greeting -> greeting不同。greeting占位符不属于操作数。对于无法识别或有歧义的行,请使用AskUserQuestion;切勿静默省略。全新规划需从头生成;已有系统编辑需保留ID。每个§4.6任务条目都有自己的—和activation-mode:— 每个任务重复设置,切勿仅设置一次并在后续类似任务中省略;entry-rule:仅会警告validate,而遗漏该设置会导致Task has no entry rules无限挂起。每个任务标题必须严格为case debug。详见references/planning.md §4.0和Plan-shape gate。## T<n>: Add <type> task "<name>" to "<stage>" -
规划校验:第一阶段自动进入第二阶段,并视为规划已获批准。仅当请求明确要求仅做规划、仅执行第一阶段、先评审或不进行构建时,才在生成后停止。执行前需重新读取
tasks.md。tasks.md -
未解析资源:切勿编造ID。在中保留
tasks.md。占位符任务需包含<UNRESOLVED: ...>、type、结构字段和displayName;条件仍需引用其TaskId。占位符事件触发器需包含渲染字段和仅有的data: {};添加其data.inputs: { serviceType: "Intsvc.EventTrigger" }条目,且不创建触发器边。详见references/placeholder-tasks.md和references/plugins/triggers/event/impl-json.md。entry-points.json -
解析审计:在中为每个任务保存一个对象,包含精确的键
tasks/registry-resolved.json、stage、task、taskType、cacheFile、searchQuery、matches和selected,以及已解析的I/O/评审元数据。仅当用户答复了设计时资源校验时才添加rationale;默认延迟处理则不添加。gateDecision是刷新后缓存中的完整精确名称集合;matches是匹配结果,或在真正空查找后为selected。同一会话中的规划器台账需原封不动地保存,然后根据规则3进行验证/扩展。解析台账和null仅用于机器处理 — 切勿展示给用户,包括在案例评审中。registry-resolved.json -
跨任务引用:使用以及plugins/variables/io-binding/impl-json.md中的通用输出引用ID算法。使用源输出的
"Stage Name"."Task Name".output_name;仅当自定义.id输出无=时,才使用其已验证的根伴生对象的.id。切勿使用重新分配的输出的.id。对于连接器任务,通过.var发现名称;对于非连接器任务,通过uip maestro case spec发现名称。在较大的uip maestro case tasks describe表达式中使用=js:,在步骤11.5中解析。详见references/bindings-and-expressions.md。vars.$xref('Stage','Task','output') -
构建评审偏好:在流程开始时捕获一次。设计交接会将其纳入案例评审的构建选项(或
Build it — straight through);若提供了SDD,则在路线图后询问一次。非交互式和无偏好的恢复运行默认采用直通模式。在第二阶段→第三阶段时,尝试Build it — pause at the build preview;仅当响应明确表示v2未知/不支持(通常为invalid_argument/exit 3)时,才回退一次使用旧版validate --skeleton-v2。仅exit 3不足以触发回退;真正的v2失败会有明确报告。验证结果不会终止该咨询性校验。直通模式将继续执行,无需提示。暂停预览模式需遵循references/phased-execution.md:使用AskUserQuestion询问--skeleton/Publish for review/Skip publish and continue;若选择发布,则刷新资源,使用必填过滤器上传,在后续操作前打印Abort,然后询问DesignerUrl/Continue to implementation。硬停止始终发生在第四阶段重试耗尽、第五阶段、第六阶段和第七阶段。Abort -
切勿自动调试或发布到Orchestrator:会执行真实的邮件、消息和API调用。第七阶段(
uip maestro case debug→case pack→solution pack)会部署到租户。每个操作都需要单独的AskUserQuestion同意。solution publish -
工件I/O:对于、
caseplan.json、sdd.md、sdd.draft.md、tasks.md、tasks/registry-resolved.json、tasks/trigger-spec-cache.json、tasks/spec-cache.<elementId>.json、bindings_v2.json、id-map.json和entry-points.json,仅使用Read和Write/Edit操作。禁止使用Python、Node、jq、sed、awk、脚本、Shell重定向、build-issues.md、tee、cp、mv或install;禁止使用辅助脚本,包括rsync下的脚本。/tmp禁令涵盖所有文件读取,包括node -e ... fs.*;缓存查找请使用Read或~/.uip/case-resources/。如果cat ... | python3 -c ...大小超过约30KB,请遵循case-editing-operations.md中的预览/详细流程,切勿使用辅助工具。仅允许Bash用于无文件系统访问的UUID v4生成、CLI元数据操作、验证、调试以及解决方案脚手架搭建/上传。前缀ID需内联选择。caseplan.json -
可运行资源与辅助文件:在第四阶段前,即使跳过发布、调试或资源刷新,也要运行步骤12中的检查7、9、11和12。非空的资源绝不能变为占位符:保留
selected和data.name以及完整的根绑定,将其映射到data.folderPath,并确保其bindings_v2.json.resources[]与自身默认值一致,切勿复制租户身份/UUID。检查9/11豁免连接器节点;检查12涵盖已解析的连接器任务、事件触发器和resourceKey规则,这些需要拼接wait-for-connector以及Connection/Folder根绑定,而非简化的typeId/connectionId-only数据。CLI验证不足以覆盖这些检查。修复并重新检查不匹配项;若问题仍存在,则在进入第四阶段前停止。每次caseShape.context前重复检查7。每次上传或调试前刷新资源。每次上传需使用resources refresh;打印返回的DesignerUrl。--output-filter "{Status: Status, SolutionId: SolutionId, DesignerUrl: DesignerUrl}" -
交接契约:在本次对话中调用的案例设计流程,切勿作为子代理调用。它负责设计、解析、评审和SDD编写;本技能在解决方案初始化后继续执行。面向用户的语言需呈现为一个连续流程,切勿提及交接。若该流程不可用,请用一句话说明,请求提供
uipath-planner或已批准的粘贴设计,然后停止操作。跨产品规划仅作为纯文本建议提交给规划器。在读取未观察编写过程的SDD前,需执行规则15的抽查。sdd.md -
封闭任务类型:中的任务
caseplan.json必须严格为以下类型之一:type、process、agent、rpa、action、api-workflow、case-management、execute-connector-activity、wait-for-connector。切勿使用插件文件夹或CLI名称、wait-for-timer、external-agent、external-workflow、document-extraction、flow-process或其他自创值。不支持的类型仍保持不可用状态。详见references/case-schema.md和插件索引。wait-for-event -
空查找校验:如果同一会话台账中有用户的,则直接执行,无需再次询问:
gateDecision→ 占位符;resolve-at-build→ 内联创建;create-during-build→ 绑定。若缺少决策,则默认延迟处理,而非同意;需运行完整的校验流程。对于零匹配结果,按pick:<name>分组使用一次批量AskUserQuestion,选项包括:(name,type);Force pull and re-resolve;以及仅当存在可创建资源且支持Use placeholders for all时,registry --local。仅创建选中的Create missing resources inline或agent资源,调用api-workflow或uipath-agents;切勿从SDD内容推断创建操作。其他空类型仅使用占位符。具有相同I/O的选中资源可共享一次构建;I/O不同则后续拆分,锚点保留名称,SDD更新需获得许可。详见registry-discovery.md § 1c、Create-on-Missing和§ MUST Confirm。uipath-api-workflow -
布局:仅输出顶层。切勿输出节点的
layout: {}、position、style、measured、width、height,或边的zIndex;切勿计算位置。data.waypoints -
全局输出ID:在第三阶段结束时运行一次步骤12中的检查8。此检查为必填项;未通过前不得进入第四阶段,且不得用CLI验证替代。
-
禁止创作边:保持为
schema.edges;切勿创作TriggerEdge/Edge对象。条件控制阶段流转;第一个阶段使用[]。只读边的结构记录在case-schema.md Appendix中。case-entered -
全局事件与SLA响应:将全局外部事件建模为中断性次级阶段的条目。明确选择SLA响应:
wait-for-connector、notify-only、start-task、enter-stage或exit-stage。exit-case响应需放在后续任务自身的start-task条目上,而非阶段条目。是否中断取决于活动工作是否停止、暂停或重新路由;并行监控使用sla-status-change并保持为次级阶段。Interrupting: No需指定sla-status-change;仅针对风险响应添加slaId。若无明确响应,风险和违约事件默认仅发送通知。切勿在主阶段间复制规则。详见references/sla-response-shapes.md和SLA响应映射表。escalationId -
正式参数ID:和
variables.inputs[].id必须为variables.outputs[].id+ 8个字符,且与synthetic v/name不同;切勿复制伴生名称。在第三阶段结束时运行一次步骤12中的检查10,并以非交互方式重新生成违规ID。CLI验证不会检查此项。详见global-vars/impl-json.md § Formal-arg slot ID format。var -
切勿运行:它可能会创建第二个解决方案和单独的清单。请使用
uip maestro case init以及implementation.md § Step 6中的T01直接JSON脚手架。详见case-commands.md § case init。uip solution init <SolutionName> -
读取参考文档至EOF后再进行修改:每个都以
references/*.md结尾。在首次使用某结构、流程、约束或验证规则进行Write/Edit操作前,需在本次会话中读取对应的参考文档,直到工具输出中出现其精确的END标记。范围读取、截断、搜索结果、目录、记忆或同类参考文档均不满足要求。在压缩后或之前的读取不可用时,需重新打开文档。控制读取内容的大小,避免输出截断。尾部契约为规范性内容。<!-- END: <filename> --> -
唯一标签与任务名称:阶段的值在案例范围内必须唯一;任务的
data.label值在所有阶段中必须唯一,精确且未修剪,且不含displayName。若缺少显示名称,则绑定到资源名称并参与唯一性检查。在第一阶段分配名称;后续重命名需修改SDD、规划、ID映射和按名称键的引用。:
Routing
路由规则
| Condition | Journey |
|---|---|
| New case, SDD provided, no caseplan, or rebuild from spec | Greenfield: handoff if needed, then Phases 1–7 |
| Existing caseplan and targeted edit intent | Brownfield: skip handoff and Phases 1–7; use brownfield.md |
Brownfield still requires latest-state pull, debug consent, and Orchestrator-publish consent, and reuses Phase 5–7 contracts.
| 条件 | 流程 |
|---|---|
| 新案例,提供SDD,无caseplan,或根据规范重建 | 全新构建:必要时进行交接,然后执行第一至第七阶段 |
| 已有caseplan且有针对性编辑意图 | 已有系统编辑:跳过交接和第一至第七阶段;使用brownfield.md |
已有系统编辑仍需拉取最新状态、调试同意和Orchestrator发布同意,并复用第五至第七阶段的契约。
User-Facing Roadmap
面向用户的路线图
Print once, after routing and before detailed work, in five lines or fewer. Do not expose phases, modes, filenames, or implementation mechanics.
- New case without SDD:
1. I read your request and make the design calls, checking your UiPath tenant along the way. 2. One review packet: case snapshot, primary journey, other paths, SLA responses, business rules, resources, and every decision I made — you confirm or correct. 3. Build and validate without interruptions; the full technical design doc is saved alongside for reference. 4. Pause for your call before any run or publish. - New case with SDD:
1. Read the design and verify available UiPath resources. 2. One question: build straight through, or pause at a mid-build preview. 3. Plan, build, and validate without further interruptions. 4. Pause for your call before any run or publish. - Targeted edit:
1. Pull the latest case. 2. Apply the requested change. 3. Validate the updated case. 4. Ask before running or publishing anything.
在路由后、详细工作前打印一次,控制在五行以内。切勿暴露阶段、模式、文件名或实现机制。
- 无SDD的新案例:
1. 我会读取您的需求并做出设计决策,同时检查您的UiPath租户。2. 提供一份评审包:案例快照、主流程、其他路径、SLA响应、业务规则、资源以及我做出的所有决策 — 您可确认或修改。3. 无中断地构建并验证;完整的技术设计文档会一并保存供参考。4. 在任何运行或发布前暂停,等待您的指示。 - 有SDD的新案例:
1. 读取设计并验证可用的UiPath资源。2. 询问一次:直接构建到底,还是在构建中途预览时暂停。3. 无中断地规划、构建并验证。4. 在任何运行或发布前暂停,等待您的指示。 - 针对性编辑:
1. 拉取最新案例。2. 应用您请求的变更。3. 验证更新后的案例。4. 在运行或发布任何内容前询问您的意见。
Workflow
工作流程
Front-load decisions, then run unattended to consent gates:
Design handoff when required → Phase 1 Planning → Phase 2 Prototyping → Phase 3 Implementation → Phase 4 Validate → Phase 5 Publish → Phase 6 Debug → Phase 7 Publish to Orchestrator.
At invocation start, present once the matching kickoff block below, at handoff start or Phase 1 start. Status text must follow the Anti-patterns limits.
Greenfield kickoff:
Here's how I'll build this case, and where I'll stop for your call:
- Planning — I draft a task plan from the spec and continue; ask up front if you want to review it first.
- Prototyping — I build the reviewable case flow (stages, tasks, triggers, rules, SLA/escalation; connector rules use stubs). Whether I pause here for a Studio Web preview is your up-front call — asked once at the start, never mid-build.
- Implementation — I wire task inputs/outputs, connector schemas, and resolved connector-rule details.
- Validate — I run validation and fix errors.
- Publish (optional) — you choose whether to upload to Studio Web.
- Debug (optional) — you choose whether to run the case for real (live emails / API calls).
- Publish to Orchestrator (optional) — you choose whether to publish the case to Orchestrator.
For handoff, prefix:
First I'll design the case from what you've given me — checking your UiPath tenant along the way — and show one decision-first review packet with the case snapshot, primary journey, other paths, SLA responses, business rules, resources, and every decision made — one confirmation, then I build; the full technical design doc (sdd.md) is saved alongside for reference.For brownfield, use the short entry flow in references/brownfield.md.
提前完成决策,然后在无人工干预的情况下运行至同意校验点:
必要时进行设计交接 → 第一阶段规划 → 第二阶段原型制作 → 第三阶段实施 → 第四阶段验证 → 第五阶段发布 → 第六阶段调试 → 第七阶段发布到Orchestrator。
在调用开始时,在交接开始或第一阶段开始时,展示一次匹配的启动块。状态文本必须遵循反模式限制。
全新构建启动块:
以下是我构建此案例的流程,以及我会暂停等待您指示的节点:
- 规划 — 我会根据规范起草任务计划并继续;若您希望先评审计划,请提前告知。
- 原型制作 — 我会构建可评审的案例流程(阶段、任务、触发器、规则、SLA/升级机制;连接器规则使用存根)。是否在此处暂停以进行Studio Web预览由您提前决定 — 仅在开始时询问一次,构建中途不再询问。
- 实施 — 我会绑定任务输入/输出、连接器schema以及已解析的连接器规则细节。
- 验证 — 我会运行验证并修复错误。
- 发布(可选) — 由您选择是否上传到Studio Web。
- 调试(可选) — 由您选择是否实际运行案例(发送真实邮件/调用API)。
- 发布到Orchestrator(可选) — 由您选择是否将案例发布到Orchestrator。
对于交接场景,添加前缀:
首先我会根据您提供的信息设计案例 — 同时检查您的UiPath租户 — 并展示一份以决策为先的评审包,包含案例快照、主流程、其他路径、SLA响应、业务规则、资源以及我做出的所有决策 — 您确认后我再进行构建;完整的技术设计文档(sdd.md)会一并保存供参考。对于已有系统编辑,请使用brownfield.md中的简短进入流程。
Design handoff
设计交接
The trigger is binary: if no whose basename contains exists at the resolved path, hand off. If the prompt names another SDD basename, copy it to using Read + Write; do not invoke the lane. If no is named, use . Do not read planning/plugin references or run tenant commands before the Case Review. For an explicit no-build design+plan request, write and compact after approval, without plugin references, schema, registry, connection, or user discovery, then stop. Planner-owned drafts and stay with the planner. If unavailable, request an SDD and stop.
.mdsdd./sdd.md.md./sdd.mdsdd.mdtasks/tasks.mdsdd-viewer.html触发条件为二元判断:若解析路径下不存在basename包含的文件,则进行交接。若提示中指定了其他SDD基准名,请通过Read + Write操作将其复制到;切勿调用该流程。若未指定文件名,则使用。在案例评审前,切勿查阅规划/插件参考文档或运行租户命令。对于明确要求仅进行设计+规划而不构建的请求,在审批后编写和简洁的,无需查阅插件参考文档、schema、注册表、连接或用户发现,然后停止操作。规划器生成的草稿和由规划器保留。若该流程不可用,请请求提供SDD并停止操作。
sdd.md./sdd.md.md./sdd.mdsdd.mdtasks/tasks.mdsdd-viewer.htmlPhase 1 — Planning
第一阶段 — 规划
Read references/planning.md to produce:
- : T-numbered stages, tasks, conditions, SLA, variables, and arguments.
tasks/tasks.md - : complete resolution audit.
tasks/registry-resolved.json - If Create is selected at Rule 17: build selected agents/API workflows as in-solution siblings through the permitted sub-agent paths, ensure a solution exists, register them, refresh resources, rediscover, and bind them. See registry-discovery.md § Create-on-Missing.
tasks/sdd.mdtasks.md查阅references/planning.md以生成:
- :带T编号的阶段、任务、条件、SLA、变量和参数。
tasks/tasks.md - :完整的解析审计记录。
tasks/registry-resolved.json - 若规则17中选择了Create:通过允许的子代理路径在解决方案内构建选中的代理/API工作流作为同级项目,确保解决方案已存在,注册它们,刷新资源,重新发现并绑定。详见registry-discovery.md § Create-on-Missing。
tasks/sdd.mdtasks.mdPhase 2 — Prototyping
第二阶段 — 原型制作
Read references/implementation.md and references/phased-execution.md. Follow Steps 6–11.9:
- Step 6: , project, and root case (T01 direct-JSON recipe in plugins/case/impl-json.md); never
uip solution init.case init - Step 6.1: manual, timer, and event triggers, including Rule 8 placeholders; capture trigger IDs.
- Step 6.2: global variables and arguments; In-argument references the trigger named by
elementId, or the primary trigger when blank.sourceTriggers - Step 6.3: synchronize from declared In/Out arguments per entry-points-sync.md. Emit the
entry-points.jsonjob-attachmentblock byte-for-byte from that reference — reproduce itsdefinitionsinner quotes exactly (single-MimeType.descriptionescaping); never re-escape (\") or rebalance them, or the JSON breaks.\\" - Step 7: stages.
- Step 9: task shapes; non-connectors get complete with empty values, connectors only
data.inputs[]/typeId, unresolved resources use placeholders.connectionId - Step 11: SLA/escalation objects with stable IDs.
- Step 10: all four condition scopes; connector waits use canonical stubs regardless of resolution.
- Step 11.9: informational skeleton validation with Rule 11 fallback behavior.
- Apply the Phase 2→3 preference. Preview branch uses resource refresh, filtered solution upload, printed DesignerUrl, and the prescribed continuation gate; Abort writes and exits.
build-issues.md
查阅references/implementation.md和references/phased-execution.md。遵循步骤6–11.9:
- 步骤6:、项目和根案例(使用plugins/case/impl-json.md中的T01直接JSON规则);切勿使用
uip solution init。case init - 步骤6.1:手动、计时器和事件触发器,包括规则8中的占位符;捕获触发器ID。
- 步骤6.2:全局变量和参数;In参数的引用
elementId指定的触发器,若为空则引用主触发器。sourceTriggers - 步骤6.3:根据entry-points-sync.md同步与声明的In/Out参数。从该参考文档中逐字节输出
entry-points.json的job-attachment块 — 精确复制其definitions的内部引号(单MimeType.description转义);切勿重新转义(\")或调整引号,否则JSON会损坏。\\" - 步骤7:阶段。
- 步骤9:任务形状;非连接器任务需包含完整的(值为空),连接器任务仅包含
data.inputs[]/typeId,未解析资源使用占位符。connectionId - 步骤11:带稳定ID的SLA/升级对象。
- 步骤10:所有四个条件范围;连接器等待无论是否解析均使用标准存根。
- 步骤11.9:使用规则11的回退行为进行信息性骨架验证。
- 应用第二阶段→第三阶段的偏好。预览分支需进行资源刷新、过滤后的解决方案上传、打印DesignerUrl,并遵循指定的继续校验;选择Abort则写入并退出。
build-issues.md
Phase 3 — Implementation
第三阶段 — 实施
Re-read and (Step 9.6), then follow Steps 9.7, 9.8, 10.5, and 11.5:
tasks.mdcaseplan.json- Resolve connector schemas/defaults with .
uip maestro case spec - Bind I/O for all task classes using io-binding/impl-json.md.
- Upgrade resolved connector-bound condition stubs in place; unresolved connectors retain stubs and are reported.
- Resolve in-expression markers.
vars.$xref - Perform resolved-resource emission, preservation, resourceKey, and connector completeness checks.
Proceed directly to Phase 4 after the Phase 3 checks pass.
重新读取和(步骤9.6),然后遵循步骤9.7、9.8、10.5和11.5:
tasks.mdcaseplan.json- 使用解析连接器schema/默认值。
uip maestro case spec - 使用io-binding/impl-json.md绑定所有任务类的I/O。
- 原地升级已解析的连接器绑定条件存根;未解析的连接器保留存根并报告。
- 解析表达式中的标记。
vars.$xref - 执行已解析资源的输出、保留、resourceKey和连接器完整性检查。
第三阶段检查通过后直接进入第四阶段。
Phase 4 — Validate
第四阶段 — 验证
Run Step 12 once at the Phase 3 boundary. It performs Checks 1–15, including Check 7 sidecar parity, Check 8 global output-ID uniqueness, Check 9 resource emission/preservation, Check 10 formal-arg IDs, Check 11 resourceKey consistency, Check 12 connector completeness, and Check 15 every task carrying a non-empty entry rule ( only warns on a missing one). Then run full . Retry at most three times, with an edit before every retry; on the third failure, hard-stop with AskUserQuestion: / / . Summarize using Step 12.1.
validateuip maestro case validateRetry with fixPause for manual editAbortbuild-issues.md在第三阶段边界运行一次步骤12。它会执行检查1–15,包括检查7的辅助文件一致性、检查8的全局输出ID唯一性、检查9的资源输出/保留、检查10的正式参数ID、检查11的resourceKey一致性、检查12的连接器完整性,以及检查15的每个任务是否包含非空的进入规则(仅会警告缺失该规则)。然后运行完整的。最多重试三次,每次重试前进行编辑;第三次失败则硬停止,使用AskUserQuestion询问: / / 。使用步骤12.1总结。
validateuip maestro case validateRetry with fixPause for manual editAbortbuild-issues.mdPhase 5 — Publish
第五阶段 — 发布
Provide the completion report, then hard-stop AskUserQuestion: / (Step 13). On publish, refresh resources and upload with the mandatory output filter, print DesignerUrl, and continue to Phase 6 either way.
Publish to Studio WebSkip to Debug提供完成报告,然后硬停止并使用AskUserQuestion询问: / (步骤13)。若选择发布,则刷新资源并使用必填过滤器上传,打印DesignerUrl,然后无论选择如何都进入第六阶段。
Publish to Studio WebSkip to DebugPhase 6 — Debug
第六阶段 — 调试
Hard-stop AskUserQuestion (Step 15): / . On Run, refresh resources, run , and loop after completion until . Never run debug automatically.
Run debug sessionContinue to publishuip maestro case debugContinue to publish硬停止并使用AskUserQuestion询问(步骤15): / 。若选择Run,则刷新资源,运行,完成后循环直到选择。切勿自动运行调试。
Run debug sessionContinue to publishuip maestro case debugContinue to publishPhase 7 — Publish to Orchestrator
第七阶段 — 发布到Orchestrator
Hard-stop AskUserQuestion (Step 16): / . On publish, run in order:
Publish to OrchestratorDoneuip solution resources refreshuip maestro case pack <SolutionDir>/<ProjectName> <SolutionDir>/dist --output jsonuip solution pack <SolutionDir> <SolutionDir>/dist --output jsonuip solution publish <packagePath> --wait --output json
case packcaseplan.json.bpmnvalidatesolution pack.zip.nupkg<packagePath>Data.PackagesDone硬停止并使用AskUserQuestion询问(步骤16): / 。若选择发布,则按顺序运行:
Publish to OrchestratorDoneuip solution resources refreshuip maestro case pack <SolutionDir>/<ProjectName> <SolutionDir>/dist --output jsonuip solution pack <SolutionDir> <SolutionDir>/dist --output jsonuip solution publish <packagePath> --wait --output json
case packcaseplan.json.bpmnvalidatesolution pack.zip.nupkgData.Packages<packagePath>DoneReference Navigation
参考文档导航
| Need | Reference |
|---|---|
| Design without SDD | |
| Plan from SDD | references/planning.md |
| Execute plan | references/implementation.md |
| Brownfield edit | references/brownfield.md |
| Phase contracts | references/phased-execution.md |
| Edit mechanics | references/case-editing-operations.md |
| Schema | references/case-schema.md |
| Allowed CLI | references/case-commands.md |
| Troubleshooting | references/troubleshooting-guide.md |
| Registry resolution | references/registry-discovery.md |
| Bindings/expressions | references/bindings-and-expressions.md |
| Connector integration | references/connector-integration.md |
| Case spec input details | references/case-spec-input-details.md |
| Placeholders | references/placeholder-tasks.md |
| Bindings sidecar | references/bindings-v2-sync.md |
| Prune orphaned solution resource | bindings-v2-sync.md § Prune orphaned solution resources |
| Entry points | references/entry-points-sync.md |
| SLA responses | references/sla-response-shapes.md |
| 需求 | 参考文档 |
|---|---|
| 无SDD时进行设计 | |
| 基于SDD进行规划 | references/planning.md |
| 执行规划 | references/implementation.md |
| 已有系统编辑 | references/brownfield.md |
| 阶段契约 | references/phased-execution.md |
| 编辑机制 | references/case-editing-operations.md |
| Schema | references/case-schema.md |
| 允许使用的CLI | references/case-commands.md |
| 故障排除 | references/troubleshooting-guide.md |
| 注册表解析 | references/registry-discovery.md |
| 绑定/表达式 | references/bindings-and-expressions.md |
| 连接器集成 | references/connector-integration.md |
| 案例规范输入细节 | references/case-spec-input-details.md |
| 占位符 | references/placeholder-tasks.md |
| 绑定辅助文件 | references/bindings-v2-sync.md |
| 清理孤立的解决方案资源 | bindings-v2-sync.md § Prune orphaned solution resources |
| 入口点 | references/entry-points-sync.md |
| SLA响应 | references/sla-response-shapes.md |
Plugin Index
插件索引
Structural: case/planning.md, stages/planning.md, sla/planning.md, global-vars/planning.md, io-binding/planning.md, and logging/impl-json.md.
Tasks:
Schema | Plugin planning reference | CLI describe type |
|---|---|---|
| process | |
| agent | |
| rpa | |
| action | |
| api-workflow | |
| case-management | |
| connector-activity | |
| connector-trigger | |
| wait-for-timer | |
Schema-kebab is the only JSON value; plugin and CLI names are not interchangeable. Unsupported types include , , , , and .
external-agentexternal-workflowdocument-extractionflow-processwait-for-eventTriggers: manual, timer, and event.
Conditions: stage-entry-conditions, stage-exit-conditions, task-entry-conditions, and case-exit-conditions.
Connector-bound rules in any condition scope require built from ; bare connector rules are invalid in Studio Web even when CLI validate passes. See connector-trigger-impl.md.
rule.uipathcase spec --type trigger结构类: case/planning.md、stages/planning.md、sla/planning.md、global-vars/planning.md、io-binding/planning.md和logging/impl-json.md。
任务类:
Schema | 插件规划参考文档 | CLI描述类型 |
|---|---|---|
| process | |
| agent | |
| rpa | |
| action | |
| api-workflow | |
| case-management | |
| connector-activity | |
| connector-trigger | |
| wait-for-timer | |
仅Schema短横线格式为有效JSON值;插件和CLI名称不可互换。不支持的类型包括、、、和。
external-agentexternal-workflowdocument-extractionflow-processwait-for-event触发器类: manual、timer和event。
条件类: stage-entry-conditions、stage-exit-conditions、task-entry-conditions和case-exit-conditions。
任何条件范围内的连接器绑定规则都需要基于构建的;即使CLI验证通过,裸连接器规则在Studio Web中也是无效的。详见connector-trigger-impl.md。
case spec --type triggerrule.uipathAnti-patterns
反模式
- Do not leave a regular stage without an entry condition. The first stage uses ; every other regular stage needs a reachable predecessor. Edges are retired.
case-entered - Do not design here, start Phase 1 before Case Review approval, or build from a summary SDD. The planner owns design, other-path analysis, and template conformance.
- Do not validate after each T-entry or validate twice without an intervening edit. Phase 2 validation is informational; Phase 4 validation is authoritative.
- Write with a seeded header and per-section batched Edit-appends: §4.2.1 variables, §4.3 triggers, §4.4 stages, §4.6 tasks, §4.7 conditions, and §4.8 SLA. Never write per T-entry, use a mega-Write, or exceed a 30KB single Edit payload. Recovery re-reads and resumes at the next unapplied entry. See planning.md §4.0a.
tasks.md - Write by section, preserving untouched siblings — never one Write for the whole file. Read once at section entry; use per-entry Edits for fewer than 10 entries, or one Write covering only that section's container (the stages array, or one stage's task array) for 10 or more; gather CLI-gated sections before writing. Cap any single Write at ~15K output tokens / ~40KB; split a case with ≥40 tasks or ≥8 stages across the Phase 2 and Phase 3 writes rather than emitting the fully populated file at once. Re-read both files after interruption. See case-editing-operations.md § Per-section batch write contract.
caseplan.json - Do not emit standalone narration between tool calls. Bundle status with the next tool call; keep ordinary text under 200 tokens and allow-listed kickoff, hard-stop preambles, completion reports, DesignerUrl prints, and validation summaries under 500. Do not announce imminent actions with verbs such as ,
Building,Composing,Writing,Drafting,Generating,Now I'll,Next,Approach,Strategy,Plan, or equivalent.Let me - Preserve ordered task semantics. Sequential mode uses ordered sets and one
data.tasksrule per task; do not addruns-sequentiallyalongside it. Use parallelcurrent-stage-enteredonly for independent work andcurrent-stage-enteredonly for required fan-in. Event-triggered tasks use event/condition rules; manually triggered/adhoc tasks use oneselected-tasks-completedrule,adhoc, and no additional entry event.isRequired: falseis an activation mode, not a task type.adhoc - Model secondary stages as interrupting exception lanes: ,
case-management:Stage,data.stageType: "secondary", andisRequired: falseon stage and entries. UseInterrupting: Yesonly for parallel SLA oversight. UseInterrupting: No; do not connect secondary stages as normal flow or count them in required completion.return-to-origin - Do not replicate global events or SLA rules across primary stages. Case completion requires a root rule with
metadata.caseExitRules[]; stage completion alone is insufficient. Non-completing outcomes usemarksCaseComplete: true.marksCaseComplete: false - Do not edit generated ; do not place
caseplan.json.bpmnundercaseplan.json; do not fabricate conditional-SLA expression syntax; describe conditions naturally until execution resolves them.content/ - Do not place in the solution/project; it stays beside
tasks/.sdd.md - Do not invoke other skills automatically except Rule 15 design handoff and Rule 17’s gate-selected inline creation of agents/API workflows. Do not spawn subagents for design, draft finalization, or plan-only documents.
- Use for trouble.
uipath-feedback
Trouble? Useto send a report./uipath-feedback
- 切勿让常规阶段缺少进入条件。第一个阶段使用;其他每个常规阶段都需要一个可到达的前置阶段。边已不再使用。
case-entered - 切勿在此处进行设计、在案例评审批准前启动第一阶段,或基于摘要式SDD进行构建。规划器负责设计、其他路径分析和模板一致性校验。
- 切勿在每个T条目后进行验证,或在未进行中间编辑的情况下验证两次。第二阶段的验证为信息性验证;第四阶段的验证为权威性验证。
- 编写时需使用预设标题,并按章节批量追加编辑:§4.2.1变量、§4.3触发器、§4.4阶段、§4.6任务、§4.7条件和§4.8 SLA。切勿按每个T条目编写、使用单次大写入操作,或超过30KB的单次编辑负载。恢复时需重新读取并在下一个未应用的条目处继续。详见planning.md §4.0a。
tasks.md - 编写时需按章节进行,保留未修改的同级内容 — 切勿单次写入整个文件。进入章节时读取一次;条目少于10个时使用逐条编辑,条目≥10个时使用一次写入操作覆盖该章节的容器(阶段数组或某阶段的任务数组);写入前收集CLI校验的章节内容。单次写入操作的输出令牌上限约为15K / 40KB;对于包含≥40个任务或≥8个阶段的案例,需拆分到第二阶段和第三阶段写入,而非一次性输出完整文件。中断后需重新读取两个文件。详见case-editing-operations.md § Per-section batch write contract。
caseplan.json - 切勿在工具调用之间添加独立的叙述文本。将状态信息与下一次工具调用捆绑;普通文本控制在200令牌以内,允许的启动块、硬停止前置文本、完成报告、DesignerUrl打印和验证摘要控制在500令牌以内。切勿使用、
Building、Composing、Writing、Drafting、Generating、Now I'll、Next、Approach、Strategy、Plan等动词宣布即将执行的操作。Let me - 保留有序任务语义。顺序模式使用有序的集合,每个任务对应一个
data.tasks规则;切勿同时添加runs-sequentially。仅对独立工作使用并行的current-stage-entered,仅对必要的扇入使用current-stage-entered。事件触发的任务使用事件/条件规则;手动触发/临时任务使用一个selected-tasks-completed规则、adhoc,且无额外进入事件。isRequired: false是激活模式,而非任务类型。adhoc - 将次级阶段建模为中断性异常通道:、
case-management:Stage、data.stageType: "secondary",且阶段和条目设置isRequired: false。仅对并行SLA监控使用Interrupting: Yes。使用Interrupting: No;切勿将次级阶段作为正常流连接,也不要将其计入必填完成项。return-to-origin - 切勿在主阶段间复制全局事件或SLA规则。案例完成需要根规则设置
metadata.caseExitRules[];仅阶段完成不足以结束案例。非完成结果需设置marksCaseComplete: true。marksCaseComplete: false - 切勿编辑生成的;切勿将
caseplan.json.bpmn放在caseplan.json下;切勿编造条件SLA表达式语法;在执行解析前用自然语言描述条件。content/ - 切勿将放在解决方案/项目内部;它需与
tasks/同级。sdd.md - 除规则15的设计交接和规则17中校验选中的内联创建代理/API工作流外,切勿自动调用其他技能。切勿为设计、草稿定稿或仅规划文档生成子代理。
- 如有问题,请使用。
uipath-feedback
遇到问题? 使用提交报告。/uipath-feedback