@xtalpi/agentic-lab-skills 0.0.10 → 0.0.11
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/README.md +1 -1
- package/package.json +14 -14
- package/skills/lab-flow-designer/SKILL.md +612 -612
- package/skills/lab-flow-designer/embedded-template/SKILL.md +103 -103
- package/skills/lab-flow-designer/embedded-template/pools//345/205/245/345/217/243/346/261/240.md +21 -21
- package/skills/lab-flow-designer/embedded-template/pools//345/207/272/345/217/243/346/261/240.md +21 -21
- package/skills/lab-flow-designer/embedded-template/scripts//347/244/272/344/276/213/346/225/260/346/215/256/344/270/216/346/240/241/351/252/214/351/227/250/346/216/247.js +142 -142
- package/skills/lab-flow-designer/embedded-template/valves//347/244/272/344/276/213/346/225/260/346/215/256/344/270/216/346/240/241/351/252/214/351/227/250/346/216/247.md +114 -114
- package/skills/lab-flow-designer/references/agentic-lab-processer.md +122 -122
- package/skills/lab-flow-designer/references/agentic-lab-sdk.md +534 -361
- package/skills/lab-flow-designer/references/rhea-api/README.md +7 -7
- package/skills/lab-flow-designer/references/rhea-api/execute_process_batch.md +58 -58
- package/skills/lab-flow-designer/references/skill-package-layout.md +268 -268
- package/skills/lab-flow-designer/references//344/270/232/345/212/241/346/265/201/347/250/213/346/226/207/346/241/243/346/240/207/345/207/206.md +216 -216
- package/skills/lab-flow-designer/templates//344/270/232/345/212/241/346/265/201/347/250/213/346/226/207/346/241/243/346/250/241/346/235/277.md +192 -192
- package/skills/lab-flow-designer/templates//344/270/232/345/212/241/346/265/201/347/250/213/346/226/207/346/241/243/347/244/272/344/276/213.md +207 -207
- package/skills/lab-flow-designer/testing/test-processer.mjs +1240 -1240
- package/skills/lab-nocobase-flow-generator/SKILL.md +164 -164
- package/skills/lab-nocobase-flow-generator/examples/setting/350/241/250/350/216/267/345/217/226/345/244/226/351/203/250/346/234/215/345/212/241.js +70 -70
- package/skills/lab-nocobase-flow-generator/examples//346/237/245/350/257/242/345/214/226/345/255/246/345/223/201/344/277/241/346/201/257.js +30 -30
- package/skills/lab-nocobase-flow-generator/references/doc-standard.md +84 -84
- package/skills/lab-nocobase-flow-generator/references/runtime-api.md +224 -224
- package/skills/lab-nocobase-flow-generator/templates//350/204/232/346/234/254/351/200/273/350/276/221/346/226/207/346/241/243/346/250/241/346/235/277.md +121 -121
- package/skills/lab-nocobase-flow-generator/templates//350/204/232/346/234/254/351/200/273/350/276/221/346/226/207/346/241/243/347/244/272/344/276/213.md +67 -67
- package/skills/lab-orbit-component-builder/SKILL.md +353 -353
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/.env.local.example +27 -27
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/.eslintignore +7 -7
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/.eslintrc.cjs +88 -88
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/.nvmrc +1 -1
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/AgenticAppAPI.md +268 -268
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/Jenkinsfile +106 -106
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/OrbitAPI.md +453 -453
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/README.md +176 -176
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/public/index.html +12 -12
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/App.vue +151 -151
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/components/DevOpenerLauncher.vue +143 -143
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/global.d.ts +77 -77
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/main.ts +308 -308
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/mockXNBBitable.ts +119 -119
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/shims-vue.d.ts +6 -6
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/dev/src/utils/devOpenerHost.ts +75 -75
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/index.html +13 -13
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/package.json +60 -60
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/api/agenticlabTickets.ts +110 -110
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/entries/bitable.ts +4 -4
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/entries/custom-page.ts +4 -4
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/index.ts +1 -1
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/styles/orbit-quasar-host.scss +19 -19
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/types/context.ts +15 -15
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/types/xnb-context.ts +70 -70
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/use/useBitablePage.ts +189 -189
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/use/useSuperCellDemo.ts +257 -257
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/use/useSuperTableBitableLifecycle.ts +555 -555
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/openerInitParams.ts +158 -158
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/openerTicketIds.ts +32 -32
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/orbitHttpClient.ts +110 -110
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/utils/request.ts +92 -92
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/views/bitable.vue +67 -67
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/src/views/custom-page.vue +140 -140
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/tsconfig.json +45 -45
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/vite.config.ts +170 -170
- package/skills/lab-orbit-component-builder/examples/xnb-component-template/vite.dev.config.ts +58 -58
- package/skills/lab-orbit-component-builder/references/flow-document-human-ui.md +65 -65
- package/skills/lab-orbit-component-builder/references/orbit-vue-conventions.md +133 -133
- package/skills/lab-orbit-component-builder/references/pool-schema-to-columns.md +67 -67
- package/skills/lab-orbit-component-builder/references/vue-template-checklist.md +179 -179
- package/skills/lab-orbit-component-builder/references/xnb-context-vue-props.md +49 -49
- package/skills/lab-orbit-component-builder/references/xnbitable-vue-parity.md +32 -32
|
@@ -1,192 +1,192 @@
|
|
|
1
|
-
# 业务执行手册描述
|
|
2
|
-
|
|
3
|
-
# (流程名称)
|
|
4
|
-
|
|
5
|
-
***
|
|
6
|
-
|
|
7
|
-
## 1. 流程元信息
|
|
8
|
-
|
|
9
|
-
| 属性 | 值 |
|
|
10
|
-
| ---- | --- |
|
|
11
|
-
| 流程标识 | (机器可读 ID,如 `fragment`,小写字母、数字、下划线) |
|
|
12
|
-
| 流程名称 | (人类可读名称) |
|
|
13
|
-
| 版本 | (如 1.0.0) |
|
|
14
|
-
| 业务摘要 | (1~3 句说明业务目标与边界) |
|
|
15
|
-
|
|
16
|
-
***
|
|
17
|
-
|
|
18
|
-
## 2. 记录(Record)
|
|
19
|
-
|
|
20
|
-
**记录**是沿数据池与门控流转的最小业务单元:一条记录对应(描述最小流转单元,例如「一个化合物的分装任务」)。字段分两类:
|
|
21
|
-
|
|
22
|
-
* **入口字段**:进入流程时即应具备(或由上游写入)。
|
|
23
|
-
* **富化字段**:在特定门控的检查或回填过程中逐步写入;下文按门控分组列出。
|
|
24
|
-
|
|
25
|
-
### 2.1 入口字段(必填与选填)
|
|
26
|
-
|
|
27
|
-
| 字段名 | 类型 | 必填 | 说明 |
|
|
28
|
-
| ----- | ---- | -- | --- |
|
|
29
|
-
| (例:Order ID) | text | Y | (字段说明) |
|
|
30
|
-
| (例:Target Amount) | number | Y | (字段说明,注明单位如 mg) |
|
|
31
|
-
| (例:Status) | text | N | (枚举/布尔字段须列出可选值) |
|
|
32
|
-
|
|
33
|
-
### 2.2 门控「(门控 1 显示名称)」可能写入的字段
|
|
34
|
-
|
|
35
|
-
| 字段名 | 类型 | 说明 |
|
|
36
|
-
| ----- | ---- | --- |
|
|
37
|
-
| (例:Available Amount) | number | (字段含义与来源) |
|
|
38
|
-
| (例:Source Barcode) | text | (字段含义与来源) |
|
|
39
|
-
|
|
40
|
-
### 2.3 门控「(门控 2 显示名称)」可能写入的字段
|
|
41
|
-
|
|
42
|
-
| 字段名 | 类型 | 说明 |
|
|
43
|
-
| ----- | ---- | --- |
|
|
44
|
-
| (按需继续添加...) | | |
|
|
45
|
-
|
|
46
|
-
> **提示**:每个会修改记录的门控都需要一个对应的富化字段小节(§2.x)。若门控不写入新字段,可显式写「无新增字段」。
|
|
47
|
-
|
|
48
|
-
***
|
|
49
|
-
|
|
50
|
-
## 3. 数据池(Stash)
|
|
51
|
-
|
|
52
|
-
数据池是**记录的容器**:记录只在门控驱动下从一个池进入另一个池。
|
|
53
|
-
|
|
54
|
-
| 显示名称 | 逻辑 ID | 角色 | 池中记录的业务含义 |
|
|
55
|
-
| ------- | ------- | --- | ------------- |
|
|
56
|
-
| (例:待处理池) | `stash_input` | 入口池 | (业务含义) |
|
|
57
|
-
| (例:处理中池) | `stash_processing` | 中间池 | (业务含义) |
|
|
58
|
-
| (例:异常池) | `stash_error` | 异常池 | (业务含义) |
|
|
59
|
-
| (例:完成池) | `stash_done` | 终点池 | (业务含义) |
|
|
60
|
-
|
|
61
|
-
> **提示**:显示名称须与门控 YAML 中的 `input`/`output` 池名逐字一致(含标点、中间点「·」等)。逻辑 ID 仅使用小写字母、数字、下划线。
|
|
62
|
-
|
|
63
|
-
### 3.1 数据池模型引用(按需)
|
|
64
|
-
|
|
65
|
-
> 若数据池关联 3D 模型,在此列出模型信息。无关联模型时省略本节。
|
|
66
|
-
|
|
67
|
-
| 池显示名称 | 模型名称 | 模型版本 |
|
|
68
|
-
| --------- | ------- | ------- |
|
|
69
|
-
| (例:待处理池) | (例:reactor_v2) | (例:1.0.0) |
|
|
70
|
-
|
|
71
|
-
***
|
|
72
|
-
|
|
73
|
-
## 4. 池间流转(拓扑)
|
|
74
|
-
|
|
75
|
-
```mermaid
|
|
76
|
-
graph LR
|
|
77
|
-
stash_input["待处理池"]
|
|
78
|
-
gate_1{{"门控 1 名称"}}
|
|
79
|
-
stash_processing["处理中池"]
|
|
80
|
-
|
|
81
|
-
stash_input --> gate_1 --> stash_processing
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
> **提示**:数据池使用矩形 `["..."]`,门控使用六边形 `{{"..."}}`。
|
|
85
|
-
|
|
86
|
-
**文字补充**
|
|
87
|
-
|
|
88
|
-
* **(门控 1 名称)**:入口为「(入口池名)」;出口为(列出各出口分支语义)。
|
|
89
|
-
* **(门控 2 名称)**:(描述入口池集合和出口分支;合流门控须写明多入口来源)。
|
|
90
|
-
|
|
91
|
-
***
|
|
92
|
-
|
|
93
|
-
## 5. 门控(Valve)
|
|
94
|
-
|
|
95
|
-
每个门控是**检查—路由**节点:对输入池中待处理的记录执行业务规则,并依据结果将记录路由到**唯一匹配的输出池**。
|
|
96
|
-
|
|
97
|
-
查询约定:
|
|
98
|
-
- (例:默认最大查询条数 3000,即 limit: 3000)
|
|
99
|
-
|
|
100
|
-
约定字段:
|
|
101
|
-
|
|
102
|
-
* `valve_id`:文档内稳定标识。
|
|
103
|
-
* `order`:建议执行顺序,与拓扑中依赖关系一致。
|
|
104
|
-
* `input`:`primary` 为主输入池;`secondary` 为合流时的第二输入池。
|
|
105
|
-
* `output`:每条包含目标池与路由条件。
|
|
106
|
-
|
|
107
|
-
### 5.1 (门控 1 显示名称)
|
|
108
|
-
|
|
109
|
-
```yaml
|
|
110
|
-
valve_id: valve_1
|
|
111
|
-
name: (门控显示名称,须与拓扑边标签一致)
|
|
112
|
-
order: 1
|
|
113
|
-
input:
|
|
114
|
-
primary: (入口池显示名称)
|
|
115
|
-
output:
|
|
116
|
-
- Stash: (出口池 A 显示名称)
|
|
117
|
-
condition: (路由条件,须引用 §2 中的字段名)
|
|
118
|
-
- Stash: (出口池 B 显示名称)
|
|
119
|
-
condition: (路由条件)
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
#### 触发方式
|
|
123
|
-
|
|
124
|
-
(自动触发 / 人工触发)
|
|
125
|
-
|
|
126
|
-
**化合物数据查询方式**(若本门控需要查询外部数据)
|
|
127
|
-
|
|
128
|
-
(说明查哪类库、用哪些入口字段作键、返回什么、汇总规则等)
|
|
129
|
-
|
|
130
|
-
**字段映射表**(若存在库表/API 列与门控加工字段对应)
|
|
131
|
-
|
|
132
|
-
| 门控加工数据 | 库字段 |
|
|
133
|
-
| --------- | ----- |
|
|
134
|
-
| (例:性状) | (例:chemistProperty) |
|
|
135
|
-
|
|
136
|
-
**数据处理规则**
|
|
137
|
-
|
|
138
|
-
| 序号 | 规则摘要 | 条件要点 | 业务动作或结果 |
|
|
139
|
-
| --- | ------- | ------- | ----------- |
|
|
140
|
-
| 1.1 | (简述) | (条件,须引用字段名) | (动作或路由结果) |
|
|
141
|
-
| 1.2 | (简述) | (条件) | (动作或路由结果) |
|
|
142
|
-
|
|
143
|
-
**操作员步骤**(若为人工门控)
|
|
144
|
-
|
|
145
|
-
1. (步骤描述,可执行、可验收)
|
|
146
|
-
2. (...)
|
|
147
|
-
|
|
148
|
-
**模型引用**(若本门控关联 3D 模型,无则省略)
|
|
149
|
-
|
|
150
|
-
| 属性 | 值 |
|
|
151
|
-
|------|-----|
|
|
152
|
-
| 名称 | (模型名称) |
|
|
153
|
-
| 版本 | (模型版本) |
|
|
154
|
-
|
|
155
|
-
***
|
|
156
|
-
|
|
157
|
-
### 5.2 (门控 2 显示名称)
|
|
158
|
-
|
|
159
|
-
```yaml
|
|
160
|
-
valve_id: valve_2
|
|
161
|
-
name: (门控显示名称)
|
|
162
|
-
order: 2
|
|
163
|
-
input:
|
|
164
|
-
primary: (入口池显示名称)
|
|
165
|
-
secondary: (合流时的第二入口池,无合流则删除此行)
|
|
166
|
-
output:
|
|
167
|
-
- Stash: (出口池显示名称)
|
|
168
|
-
condition: (路由条件)
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
#### 触发方式
|
|
172
|
-
|
|
173
|
-
(自动触发 / 人工触发)
|
|
174
|
-
|
|
175
|
-
**数据处理规则**
|
|
176
|
-
|
|
177
|
-
| 序号 | 规则摘要 | 条件要点 | 业务动作或结果 |
|
|
178
|
-
| --- | ------- | ------- | ----------- |
|
|
179
|
-
| 2.1 | (简述) | (条件) | (动作或路由结果) |
|
|
180
|
-
|
|
181
|
-
> **提示**:按需复制门控子节,每个门控至少包含 YAML 代码块和触发方式。需查询外部数据的加「查询方式」和「字段映射表」,含计算/判定的加「数据处理规则」,人工触发门控加「操作员步骤」,关联 3D 模型的加「模型引用」。
|
|
182
|
-
|
|
183
|
-
***
|
|
184
|
-
|
|
185
|
-
## 6. 知识库 / 外部主数据(按需)
|
|
186
|
-
|
|
187
|
-
> 若门控规则依赖外部主数据(如化合物知识库、设备资源库等),在此列出字段语义。无外部依赖时可写「本流程不依赖外部主数据」。
|
|
188
|
-
|
|
189
|
-
| 逻辑键 | 字段含义 | 类型/取值说明 |
|
|
190
|
-
| ----- | ------- | ----------- |
|
|
191
|
-
| (例:Compound ID) | (含义) | text |
|
|
192
|
-
| (例:latest_amount_mg) | (含义) | number |
|
|
1
|
+
# 业务执行手册描述
|
|
2
|
+
|
|
3
|
+
# (流程名称)
|
|
4
|
+
|
|
5
|
+
***
|
|
6
|
+
|
|
7
|
+
## 1. 流程元信息
|
|
8
|
+
|
|
9
|
+
| 属性 | 值 |
|
|
10
|
+
| ---- | --- |
|
|
11
|
+
| 流程标识 | (机器可读 ID,如 `fragment`,小写字母、数字、下划线) |
|
|
12
|
+
| 流程名称 | (人类可读名称) |
|
|
13
|
+
| 版本 | (如 1.0.0) |
|
|
14
|
+
| 业务摘要 | (1~3 句说明业务目标与边界) |
|
|
15
|
+
|
|
16
|
+
***
|
|
17
|
+
|
|
18
|
+
## 2. 记录(Record)
|
|
19
|
+
|
|
20
|
+
**记录**是沿数据池与门控流转的最小业务单元:一条记录对应(描述最小流转单元,例如「一个化合物的分装任务」)。字段分两类:
|
|
21
|
+
|
|
22
|
+
* **入口字段**:进入流程时即应具备(或由上游写入)。
|
|
23
|
+
* **富化字段**:在特定门控的检查或回填过程中逐步写入;下文按门控分组列出。
|
|
24
|
+
|
|
25
|
+
### 2.1 入口字段(必填与选填)
|
|
26
|
+
|
|
27
|
+
| 字段名 | 类型 | 必填 | 说明 |
|
|
28
|
+
| ----- | ---- | -- | --- |
|
|
29
|
+
| (例:Order ID) | text | Y | (字段说明) |
|
|
30
|
+
| (例:Target Amount) | number | Y | (字段说明,注明单位如 mg) |
|
|
31
|
+
| (例:Status) | text | N | (枚举/布尔字段须列出可选值) |
|
|
32
|
+
|
|
33
|
+
### 2.2 门控「(门控 1 显示名称)」可能写入的字段
|
|
34
|
+
|
|
35
|
+
| 字段名 | 类型 | 说明 |
|
|
36
|
+
| ----- | ---- | --- |
|
|
37
|
+
| (例:Available Amount) | number | (字段含义与来源) |
|
|
38
|
+
| (例:Source Barcode) | text | (字段含义与来源) |
|
|
39
|
+
|
|
40
|
+
### 2.3 门控「(门控 2 显示名称)」可能写入的字段
|
|
41
|
+
|
|
42
|
+
| 字段名 | 类型 | 说明 |
|
|
43
|
+
| ----- | ---- | --- |
|
|
44
|
+
| (按需继续添加...) | | |
|
|
45
|
+
|
|
46
|
+
> **提示**:每个会修改记录的门控都需要一个对应的富化字段小节(§2.x)。若门控不写入新字段,可显式写「无新增字段」。
|
|
47
|
+
|
|
48
|
+
***
|
|
49
|
+
|
|
50
|
+
## 3. 数据池(Stash)
|
|
51
|
+
|
|
52
|
+
数据池是**记录的容器**:记录只在门控驱动下从一个池进入另一个池。
|
|
53
|
+
|
|
54
|
+
| 显示名称 | 逻辑 ID | 角色 | 池中记录的业务含义 |
|
|
55
|
+
| ------- | ------- | --- | ------------- |
|
|
56
|
+
| (例:待处理池) | `stash_input` | 入口池 | (业务含义) |
|
|
57
|
+
| (例:处理中池) | `stash_processing` | 中间池 | (业务含义) |
|
|
58
|
+
| (例:异常池) | `stash_error` | 异常池 | (业务含义) |
|
|
59
|
+
| (例:完成池) | `stash_done` | 终点池 | (业务含义) |
|
|
60
|
+
|
|
61
|
+
> **提示**:显示名称须与门控 YAML 中的 `input`/`output` 池名逐字一致(含标点、中间点「·」等)。逻辑 ID 仅使用小写字母、数字、下划线。
|
|
62
|
+
|
|
63
|
+
### 3.1 数据池模型引用(按需)
|
|
64
|
+
|
|
65
|
+
> 若数据池关联 3D 模型,在此列出模型信息。无关联模型时省略本节。
|
|
66
|
+
|
|
67
|
+
| 池显示名称 | 模型名称 | 模型版本 |
|
|
68
|
+
| --------- | ------- | ------- |
|
|
69
|
+
| (例:待处理池) | (例:reactor_v2) | (例:1.0.0) |
|
|
70
|
+
|
|
71
|
+
***
|
|
72
|
+
|
|
73
|
+
## 4. 池间流转(拓扑)
|
|
74
|
+
|
|
75
|
+
```mermaid
|
|
76
|
+
graph LR
|
|
77
|
+
stash_input["待处理池"]
|
|
78
|
+
gate_1{{"门控 1 名称"}}
|
|
79
|
+
stash_processing["处理中池"]
|
|
80
|
+
|
|
81
|
+
stash_input --> gate_1 --> stash_processing
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
> **提示**:数据池使用矩形 `["..."]`,门控使用六边形 `{{"..."}}`。
|
|
85
|
+
|
|
86
|
+
**文字补充**
|
|
87
|
+
|
|
88
|
+
* **(门控 1 名称)**:入口为「(入口池名)」;出口为(列出各出口分支语义)。
|
|
89
|
+
* **(门控 2 名称)**:(描述入口池集合和出口分支;合流门控须写明多入口来源)。
|
|
90
|
+
|
|
91
|
+
***
|
|
92
|
+
|
|
93
|
+
## 5. 门控(Valve)
|
|
94
|
+
|
|
95
|
+
每个门控是**检查—路由**节点:对输入池中待处理的记录执行业务规则,并依据结果将记录路由到**唯一匹配的输出池**。
|
|
96
|
+
|
|
97
|
+
查询约定:
|
|
98
|
+
- (例:默认最大查询条数 3000,即 limit: 3000)
|
|
99
|
+
|
|
100
|
+
约定字段:
|
|
101
|
+
|
|
102
|
+
* `valve_id`:文档内稳定标识。
|
|
103
|
+
* `order`:建议执行顺序,与拓扑中依赖关系一致。
|
|
104
|
+
* `input`:`primary` 为主输入池;`secondary` 为合流时的第二输入池。
|
|
105
|
+
* `output`:每条包含目标池与路由条件。
|
|
106
|
+
|
|
107
|
+
### 5.1 (门控 1 显示名称)
|
|
108
|
+
|
|
109
|
+
```yaml
|
|
110
|
+
valve_id: valve_1
|
|
111
|
+
name: (门控显示名称,须与拓扑边标签一致)
|
|
112
|
+
order: 1
|
|
113
|
+
input:
|
|
114
|
+
primary: (入口池显示名称)
|
|
115
|
+
output:
|
|
116
|
+
- Stash: (出口池 A 显示名称)
|
|
117
|
+
condition: (路由条件,须引用 §2 中的字段名)
|
|
118
|
+
- Stash: (出口池 B 显示名称)
|
|
119
|
+
condition: (路由条件)
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
#### 触发方式
|
|
123
|
+
|
|
124
|
+
(自动触发 / 人工触发)
|
|
125
|
+
|
|
126
|
+
**化合物数据查询方式**(若本门控需要查询外部数据)
|
|
127
|
+
|
|
128
|
+
(说明查哪类库、用哪些入口字段作键、返回什么、汇总规则等)
|
|
129
|
+
|
|
130
|
+
**字段映射表**(若存在库表/API 列与门控加工字段对应)
|
|
131
|
+
|
|
132
|
+
| 门控加工数据 | 库字段 |
|
|
133
|
+
| --------- | ----- |
|
|
134
|
+
| (例:性状) | (例:chemistProperty) |
|
|
135
|
+
|
|
136
|
+
**数据处理规则**
|
|
137
|
+
|
|
138
|
+
| 序号 | 规则摘要 | 条件要点 | 业务动作或结果 |
|
|
139
|
+
| --- | ------- | ------- | ----------- |
|
|
140
|
+
| 1.1 | (简述) | (条件,须引用字段名) | (动作或路由结果) |
|
|
141
|
+
| 1.2 | (简述) | (条件) | (动作或路由结果) |
|
|
142
|
+
|
|
143
|
+
**操作员步骤**(若为人工门控)
|
|
144
|
+
|
|
145
|
+
1. (步骤描述,可执行、可验收)
|
|
146
|
+
2. (...)
|
|
147
|
+
|
|
148
|
+
**模型引用**(若本门控关联 3D 模型,无则省略)
|
|
149
|
+
|
|
150
|
+
| 属性 | 值 |
|
|
151
|
+
|------|-----|
|
|
152
|
+
| 名称 | (模型名称) |
|
|
153
|
+
| 版本 | (模型版本) |
|
|
154
|
+
|
|
155
|
+
***
|
|
156
|
+
|
|
157
|
+
### 5.2 (门控 2 显示名称)
|
|
158
|
+
|
|
159
|
+
```yaml
|
|
160
|
+
valve_id: valve_2
|
|
161
|
+
name: (门控显示名称)
|
|
162
|
+
order: 2
|
|
163
|
+
input:
|
|
164
|
+
primary: (入口池显示名称)
|
|
165
|
+
secondary: (合流时的第二入口池,无合流则删除此行)
|
|
166
|
+
output:
|
|
167
|
+
- Stash: (出口池显示名称)
|
|
168
|
+
condition: (路由条件)
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
#### 触发方式
|
|
172
|
+
|
|
173
|
+
(自动触发 / 人工触发)
|
|
174
|
+
|
|
175
|
+
**数据处理规则**
|
|
176
|
+
|
|
177
|
+
| 序号 | 规则摘要 | 条件要点 | 业务动作或结果 |
|
|
178
|
+
| --- | ------- | ------- | ----------- |
|
|
179
|
+
| 2.1 | (简述) | (条件) | (动作或路由结果) |
|
|
180
|
+
|
|
181
|
+
> **提示**:按需复制门控子节,每个门控至少包含 YAML 代码块和触发方式。需查询外部数据的加「查询方式」和「字段映射表」,含计算/判定的加「数据处理规则」,人工触发门控加「操作员步骤」,关联 3D 模型的加「模型引用」。
|
|
182
|
+
|
|
183
|
+
***
|
|
184
|
+
|
|
185
|
+
## 6. 知识库 / 外部主数据(按需)
|
|
186
|
+
|
|
187
|
+
> 若门控规则依赖外部主数据(如化合物知识库、设备资源库等),在此列出字段语义。无外部依赖时可写「本流程不依赖外部主数据」。
|
|
188
|
+
|
|
189
|
+
| 逻辑键 | 字段含义 | 类型/取值说明 |
|
|
190
|
+
| ----- | ------- | ----------- |
|
|
191
|
+
| (例:Compound ID) | (含义) | text |
|
|
192
|
+
| (例:latest_amount_mg) | (含义) | number |
|