@zh-xx/antu 0.9.0
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/LICENSE +661 -0
- package/README.md +11 -0
- package/THIRD-PARTY-NOTICES.md +739 -0
- package/assets/viewer.html +1503 -0
- package/bin/antu-mcp.mjs +1549 -0
- package/bin/antu.mjs +1494 -0
- package/examples/agent/fact/1-minimal.en.json +57 -0
- package/examples/agent/fact/1-minimal.zh-CN.json +29 -0
- package/examples/agent/fact/2-single-actor.en.json +66 -0
- package/examples/agent/fact/2-single-actor.zh-CN.json +28 -0
- package/examples/agent/fact/3-groups.en.json +34 -0
- package/examples/agent/fact/3-groups.zh-CN.json +34 -0
- package/examples/agent/fact/4-views.en.json +44 -0
- package/examples/agent/fact/4-views.zh-CN.json +44 -0
- package/examples/agent/fact/5-duration.en.json +28 -0
- package/examples/agent/fact/5-duration.zh-CN.json +28 -0
- package/examples/agent/fact/6-sources.en.json +30 -0
- package/examples/agent/fact/6-sources.zh-CN.json +30 -0
- package/examples/agent/fact/7-undated.en.json +34 -0
- package/examples/agent/fact/7-undated.zh-CN.json +34 -0
- package/examples/agent/justification/1-minimal.en.json +83 -0
- package/examples/agent/justification/1-minimal.zh-CN.json +83 -0
- package/examples/agent/justification/2-against-and-rejected.en.json +82 -0
- package/examples/agent/justification/2-against-and-rejected.zh-CN.json +82 -0
- package/examples/agent/justification/3-issues.en.json +107 -0
- package/examples/agent/justification/3-issues.zh-CN.json +107 -0
- package/examples/agent/justification/4-shared-fact.en.json +111 -0
- package/examples/agent/justification/4-shared-fact.zh-CN.json +111 -0
- package/examples/agent/justification/5-sources.en.json +97 -0
- package/examples/agent/justification/5-sources.zh-CN.json +97 -0
- package/examples/agent/justification/6-all-or-any.en.json +98 -0
- package/examples/agent/justification/6-all-or-any.zh-CN.json +98 -0
- package/examples/agent/procedure/1-minimal.en.json +15 -0
- package/examples/agent/procedure/1-minimal.zh-CN.json +15 -0
- package/examples/agent/procedure/2-decision.en.json +17 -0
- package/examples/agent/procedure/2-decision.zh-CN.json +17 -0
- package/examples/agent/procedure/3-branches.en.json +22 -0
- package/examples/agent/procedure/3-branches.zh-CN.json +22 -0
- package/examples/agent/procedure/4-stages.en.json +34 -0
- package/examples/agent/procedure/4-stages.zh-CN.json +34 -0
- package/examples/agent/procedure/5-inferred-spine.en.json +21 -0
- package/examples/agent/procedure/5-inferred-spine.zh-CN.json +21 -0
- package/examples/agent/procedure/6-merged-edges.en.json +19 -0
- package/examples/agent/procedure/6-merged-edges.zh-CN.json +19 -0
- package/examples/agent/procedure/7-rules.en.json +30 -0
- package/examples/agent/procedure/7-rules.zh-CN.json +30 -0
- package/examples/agent/relationship/1-minimal.en.json +28 -0
- package/examples/agent/relationship/1-minimal.zh-CN.json +28 -0
- package/examples/agent/relationship/2-equity.en.json +59 -0
- package/examples/agent/relationship/2-equity.zh-CN.json +59 -0
- package/examples/agent/relationship/3-guarantee.en.json +51 -0
- package/examples/agent/relationship/3-guarantee.zh-CN.json +51 -0
- package/examples/agent/relationship/4-groups.en.json +68 -0
- package/examples/agent/relationship/4-groups.zh-CN.json +68 -0
- package/examples/agent/relationship/5-kinship.en.json +69 -0
- package/examples/agent/relationship/5-kinship.zh-CN.json +69 -0
- package/examples/fact/fang-yuan-loan-and-conflict.en.json +330 -0
- package/examples/fact/fang-yuan-loan-and-conflict.zh-CN.json +237 -0
- package/examples/fact/gym-membership-face-scan.en.json +181 -0
- package/examples/fact/gym-membership-face-scan.zh-CN.json +181 -0
- package/examples/fact/lin-fang-v-zhao-lei-private-lending.en.json +122 -0
- package/examples/fact/lin-fang-v-zhao-lei-private-lending.zh-CN.json +122 -0
- package/examples/fact/marketplace-platform-liability.en.json +192 -0
- package/examples/fact/marketplace-platform-liability.zh-CN.json +192 -0
- package/examples/fact/neighbour-corridor-charging.en.json +201 -0
- package/examples/fact/neighbour-corridor-charging.zh-CN.json +201 -0
- package/examples/fact/sample-construction-payment.en.json +220 -0
- package/examples/fact/sample-construction-payment.zh-CN.json +139 -0
- package/examples/fact/sample-four-parties-four-slots.en.json +202 -0
- package/examples/fact/sample-four-parties-four-slots.zh-CN.json +121 -0
- package/examples/fact/sample-no-groups.en.json +100 -0
- package/examples/fact/sample-no-groups.zh-CN.json +100 -0
- package/examples/fact/sample-three-slots.en.json +102 -0
- package/examples/fact/sample-three-slots.zh-CN.json +102 -0
- package/examples/fact/sample-two-actors-one-side.en.json +143 -0
- package/examples/fact/sample-two-actors-one-side.zh-CN.json +143 -0
- package/examples/fact/sample-two-parties-each-side.en.json +183 -0
- package/examples/fact/sample-two-parties-each-side.zh-CN.json +183 -0
- package/examples/justification/fang-yuan-defense-excess.en.json +636 -0
- package/examples/justification/fang-yuan-defense-excess.zh-CN.json +636 -0
- package/examples/justification/neighbour-corridor-liability.en.json +571 -0
- package/examples/justification/neighbour-corridor-liability.zh-CN.json +571 -0
- package/examples/procedure/01-software-development-contract.en.json +290 -0
- package/examples/procedure/01-software-development-contract.zh-CN.json +290 -0
- package/examples/procedure/02-purchase-contract.en.json +46 -0
- package/examples/procedure/02-purchase-contract.zh-CN.json +46 -0
- package/examples/procedure/03-labour-outsourcing-contract.en.json +251 -0
- package/examples/procedure/03-labour-outsourcing-contract.zh-CN.json +251 -0
- package/examples/procedure/04-non-disclosure-agreement.en.json +79 -0
- package/examples/procedure/04-non-disclosure-agreement.zh-CN.json +79 -0
- package/examples/procedure/05-premises-lease.en.json +344 -0
- package/examples/procedure/05-premises-lease.zh-CN.json +344 -0
- package/examples/procedure/06-epc-general-contract.en.json +375 -0
- package/examples/procedure/06-epc-general-contract.zh-CN.json +375 -0
- package/examples/procedure/07-share-acquisition-agreement.en.json +368 -0
- package/examples/procedure/07-share-acquisition-agreement.zh-CN.json +368 -0
- package/examples/raw//351/207/207/350/264/255/345/220/210/345/220/214-PO-2026-088.md +31 -0
- package/examples/raw//357/274/2102031/357/274/211/347/244/272/345/210/221/345/210/2353/345/217/267-/350/231/232/346/236/204/347/275/221/347/273/234/345/225/206/345/237/216/346/241/210-/344/270/200/345/256/241.md +36 -0
- package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2351/345/217/267-/346/260/221/351/227/264/345/200/237/350/264/267/346/241/210-/344/270/200/345/256/241.md +31 -0
- package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2352/345/217/267-/345/201/245/350/272/253/346/210/277/345/210/267/350/204/270/345/205/245/345/234/272/346/241/210-/344/270/200/345/256/241.md +40 -0
- package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/347/273/2101/345/217/267-/346/245/274/351/201/223/345/205/205/347/224/265/345/212/235/351/230/273/346/241/210-/344/272/214/345/256/241.md +38 -0
- package/examples/raw//357/274/2102032/357/274/211/347/244/272/345/210/221/347/273/2101/345/217/267-/346/226/271/350/277/234/346/241/210-/344/272/214/345/256/241.md +49 -0
- package/examples/relationship/fang-yuan-parties.en.json +226 -0
- package/examples/relationship/fang-yuan-parties.zh-CN.json +226 -0
- package/examples/relationship/lin-fang-v-zhao-lei-parties.en.json +140 -0
- package/examples/relationship/lin-fang-v-zhao-lei-parties.zh-CN.json +140 -0
- package/examples/relationship/marketplace-parties.en.json +259 -0
- package/examples/relationship/marketplace-parties.zh-CN.json +259 -0
- package/examples/relationship/sample-group-guarantee.en.json +138 -0
- package/examples/relationship/sample-group-guarantee.zh-CN.json +138 -0
- package/examples/relationship/sample-loan-guarantee.en.json +122 -0
- package/examples/relationship/sample-loan-guarantee.zh-CN.json +122 -0
- package/package.json +35 -0
- package/server.json +20 -0
- package/spec/agent/fact/guide.md +114 -0
- package/spec/agent/justification/guide.md +100 -0
- package/spec/agent/procedure/guide.md +109 -0
- package/spec/agent/relationship/guide.md +92 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "procedure",
|
|
3
|
+
"specVersion": 1,
|
|
4
|
+
"title": "Software Development Services Contract · Performance Flow",
|
|
5
|
+
"domain": "contract-performance",
|
|
6
|
+
"actors": [
|
|
7
|
+
{
|
|
8
|
+
"id": "a-1",
|
|
9
|
+
"name": "Party A",
|
|
10
|
+
"role": "Client"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "a-2",
|
|
14
|
+
"name": "Party B",
|
|
15
|
+
"role": "Developer"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"stages": [
|
|
19
|
+
{
|
|
20
|
+
"id": "st-1",
|
|
21
|
+
"label": "Signing"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "st-2",
|
|
25
|
+
"label": "Requirements confirmation"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "st-3",
|
|
29
|
+
"label": "System prototype"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "st-4",
|
|
33
|
+
"label": "System delivery"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "st-5",
|
|
37
|
+
"label": "Closing"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"sources": [
|
|
41
|
+
{
|
|
42
|
+
"id": "s-1",
|
|
43
|
+
"type": "contract",
|
|
44
|
+
"name": "Software Development Services Contract",
|
|
45
|
+
"loc": {
|
|
46
|
+
"file": "软件开发服务合同.docx"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"nodes": [
|
|
51
|
+
{
|
|
52
|
+
"id": "n-1",
|
|
53
|
+
"kind": "start",
|
|
54
|
+
"label": "Contract signed and effective",
|
|
55
|
+
"stageId": "st-1"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "n-2",
|
|
59
|
+
"kind": "step",
|
|
60
|
+
"label": "Party A pays first installment",
|
|
61
|
+
"detail": "CNY 360,000",
|
|
62
|
+
"actorIds": [
|
|
63
|
+
"a-1"
|
|
64
|
+
],
|
|
65
|
+
"stageId": "st-1",
|
|
66
|
+
"sourceIds": [
|
|
67
|
+
"s-1"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "n-3",
|
|
72
|
+
"kind": "step",
|
|
73
|
+
"label": "Requirements confirmation",
|
|
74
|
+
"detail": "Due by 2026-06-30",
|
|
75
|
+
"actorIds": [
|
|
76
|
+
"a-2"
|
|
77
|
+
],
|
|
78
|
+
"stageId": "st-2"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "n-4",
|
|
82
|
+
"kind": "decision",
|
|
83
|
+
"label": "Requirements confirmed?",
|
|
84
|
+
"stageId": "st-2"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "n-5",
|
|
88
|
+
"kind": "step",
|
|
89
|
+
"label": "Prototype development",
|
|
90
|
+
"detail": "Due by 2026-08-31",
|
|
91
|
+
"actorIds": [
|
|
92
|
+
"a-2"
|
|
93
|
+
],
|
|
94
|
+
"stageId": "st-3"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "n-6",
|
|
98
|
+
"kind": "decision",
|
|
99
|
+
"label": "Prototype accepted?",
|
|
100
|
+
"stageId": "st-3"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "n-7",
|
|
104
|
+
"kind": "step",
|
|
105
|
+
"label": "Party A pays second installment",
|
|
106
|
+
"detail": "CNY 480,000",
|
|
107
|
+
"actorIds": [
|
|
108
|
+
"a-1"
|
|
109
|
+
],
|
|
110
|
+
"stageId": "st-3",
|
|
111
|
+
"sourceIds": [
|
|
112
|
+
"s-1"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "n-8",
|
|
117
|
+
"kind": "step",
|
|
118
|
+
"label": "Party B rectifies",
|
|
119
|
+
"actorIds": [
|
|
120
|
+
"a-2"
|
|
121
|
+
],
|
|
122
|
+
"outcome": "negative",
|
|
123
|
+
"stageId": "st-3"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "n-9",
|
|
127
|
+
"kind": "step",
|
|
128
|
+
"label": "System delivery",
|
|
129
|
+
"detail": "Due by 2026-11-30",
|
|
130
|
+
"actorIds": [
|
|
131
|
+
"a-2"
|
|
132
|
+
],
|
|
133
|
+
"stageId": "st-4"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "n-10",
|
|
137
|
+
"kind": "decision",
|
|
138
|
+
"label": "Final acceptance passed?",
|
|
139
|
+
"stageId": "st-4"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "n-11",
|
|
143
|
+
"kind": "step",
|
|
144
|
+
"label": "Party A pays final installment",
|
|
145
|
+
"detail": "CNY 360,000",
|
|
146
|
+
"actorIds": [
|
|
147
|
+
"a-1"
|
|
148
|
+
],
|
|
149
|
+
"stageId": "st-4",
|
|
150
|
+
"sourceIds": [
|
|
151
|
+
"s-1"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "n-12",
|
|
156
|
+
"kind": "step",
|
|
157
|
+
"label": "Party B rectifies unconditionally",
|
|
158
|
+
"actorIds": [
|
|
159
|
+
"a-2"
|
|
160
|
+
],
|
|
161
|
+
"outcome": "negative",
|
|
162
|
+
"stageId": "st-4"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "n-13",
|
|
166
|
+
"kind": "step",
|
|
167
|
+
"label": "Project complete",
|
|
168
|
+
"outcome": "positive",
|
|
169
|
+
"stageId": "st-5"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "n-26",
|
|
173
|
+
"kind": "end",
|
|
174
|
+
"label": "Contract terminated",
|
|
175
|
+
"stageId": "st-5"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"edges": [
|
|
179
|
+
{
|
|
180
|
+
"from": "n-1",
|
|
181
|
+
"to": "n-2",
|
|
182
|
+
"main": true
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"from": "n-2",
|
|
186
|
+
"to": "n-3",
|
|
187
|
+
"main": true
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"from": "n-3",
|
|
191
|
+
"to": "n-4",
|
|
192
|
+
"main": true
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"from": "n-4",
|
|
196
|
+
"to": "n-5",
|
|
197
|
+
"condition": "Confirmed",
|
|
198
|
+
"main": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"from": "n-4",
|
|
202
|
+
"to": "n-3",
|
|
203
|
+
"condition": "Not confirmed"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"from": "n-5",
|
|
207
|
+
"to": "n-6",
|
|
208
|
+
"main": true
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"from": "n-6",
|
|
212
|
+
"to": "n-7",
|
|
213
|
+
"condition": "Accepted",
|
|
214
|
+
"main": true
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"from": "n-6",
|
|
218
|
+
"to": "n-8",
|
|
219
|
+
"condition": "Rejected"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"from": "n-8",
|
|
223
|
+
"to": "n-6"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"from": "n-7",
|
|
227
|
+
"to": "n-9",
|
|
228
|
+
"main": true
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"from": "n-9",
|
|
232
|
+
"to": "n-10",
|
|
233
|
+
"main": true
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"from": "n-10",
|
|
237
|
+
"to": "n-11",
|
|
238
|
+
"condition": "Passed",
|
|
239
|
+
"main": true
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"from": "n-10",
|
|
243
|
+
"to": "n-12",
|
|
244
|
+
"condition": "Failed"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"from": "n-12",
|
|
248
|
+
"to": "n-10"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"from": "n-11",
|
|
252
|
+
"to": "n-13",
|
|
253
|
+
"main": true
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"from": "n-13",
|
|
257
|
+
"to": "n-26",
|
|
258
|
+
"main": true
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"rules": [
|
|
262
|
+
{
|
|
263
|
+
"id": "r-1",
|
|
264
|
+
"when": "Delay caused by Party A",
|
|
265
|
+
"then": "The schedule is extended accordingly",
|
|
266
|
+
"stageIds": [
|
|
267
|
+
"st-2",
|
|
268
|
+
"st-3",
|
|
269
|
+
"st-4"
|
|
270
|
+
],
|
|
271
|
+
"sourceIds": [
|
|
272
|
+
"s-1"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": "r-2",
|
|
277
|
+
"when": "Delay caused by Party B",
|
|
278
|
+
"then": "Party B pays a penalty: 0.1% per day, capped at 5%",
|
|
279
|
+
"outcome": "negative",
|
|
280
|
+
"stageIds": [
|
|
281
|
+
"st-2",
|
|
282
|
+
"st-3",
|
|
283
|
+
"st-4"
|
|
284
|
+
],
|
|
285
|
+
"sourceIds": [
|
|
286
|
+
"s-1"
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
}
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "procedure",
|
|
3
|
+
"specVersion": 1,
|
|
4
|
+
"title": "软件开发服务合同 · 履行流程",
|
|
5
|
+
"domain": "contract-performance",
|
|
6
|
+
"actors": [
|
|
7
|
+
{
|
|
8
|
+
"id": "a-1",
|
|
9
|
+
"name": "甲方",
|
|
10
|
+
"role": "委托方"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "a-2",
|
|
14
|
+
"name": "乙方",
|
|
15
|
+
"role": "开发方"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"stages": [
|
|
19
|
+
{
|
|
20
|
+
"id": "st-1",
|
|
21
|
+
"label": "签约"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "st-2",
|
|
25
|
+
"label": "需求确认"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "st-3",
|
|
29
|
+
"label": "系统原型"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "st-4",
|
|
33
|
+
"label": "系统交付"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "st-5",
|
|
37
|
+
"label": "收尾"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"sources": [
|
|
41
|
+
{
|
|
42
|
+
"id": "s-1",
|
|
43
|
+
"type": "contract",
|
|
44
|
+
"name": "软件开发服务合同",
|
|
45
|
+
"loc": {
|
|
46
|
+
"file": "软件开发服务合同.docx"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"nodes": [
|
|
51
|
+
{
|
|
52
|
+
"id": "n-1",
|
|
53
|
+
"kind": "start",
|
|
54
|
+
"label": "合同签署生效",
|
|
55
|
+
"stageId": "st-1"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "n-2",
|
|
59
|
+
"kind": "step",
|
|
60
|
+
"label": "甲方支付首期款",
|
|
61
|
+
"detail": "360,000 元",
|
|
62
|
+
"actorIds": [
|
|
63
|
+
"a-1"
|
|
64
|
+
],
|
|
65
|
+
"stageId": "st-1",
|
|
66
|
+
"sourceIds": [
|
|
67
|
+
"s-1"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "n-3",
|
|
72
|
+
"kind": "step",
|
|
73
|
+
"label": "需求确认",
|
|
74
|
+
"detail": "2026-06-30 前完成",
|
|
75
|
+
"actorIds": [
|
|
76
|
+
"a-2"
|
|
77
|
+
],
|
|
78
|
+
"stageId": "st-2"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "n-4",
|
|
82
|
+
"kind": "decision",
|
|
83
|
+
"label": "需求确认是否通过",
|
|
84
|
+
"stageId": "st-2"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "n-5",
|
|
88
|
+
"kind": "step",
|
|
89
|
+
"label": "系统原型开发",
|
|
90
|
+
"detail": "2026-08-31 前完成",
|
|
91
|
+
"actorIds": [
|
|
92
|
+
"a-2"
|
|
93
|
+
],
|
|
94
|
+
"stageId": "st-3"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "n-6",
|
|
98
|
+
"kind": "decision",
|
|
99
|
+
"label": "原型验收是否合格",
|
|
100
|
+
"stageId": "st-3"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "n-7",
|
|
104
|
+
"kind": "step",
|
|
105
|
+
"label": "甲方支付二期款",
|
|
106
|
+
"detail": "480,000 元",
|
|
107
|
+
"actorIds": [
|
|
108
|
+
"a-1"
|
|
109
|
+
],
|
|
110
|
+
"stageId": "st-3",
|
|
111
|
+
"sourceIds": [
|
|
112
|
+
"s-1"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "n-8",
|
|
117
|
+
"kind": "step",
|
|
118
|
+
"label": "乙方整改",
|
|
119
|
+
"actorIds": [
|
|
120
|
+
"a-2"
|
|
121
|
+
],
|
|
122
|
+
"outcome": "negative",
|
|
123
|
+
"stageId": "st-3"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "n-9",
|
|
127
|
+
"kind": "step",
|
|
128
|
+
"label": "系统交付",
|
|
129
|
+
"detail": "2026-11-30 前完成",
|
|
130
|
+
"actorIds": [
|
|
131
|
+
"a-2"
|
|
132
|
+
],
|
|
133
|
+
"stageId": "st-4"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "n-10",
|
|
137
|
+
"kind": "decision",
|
|
138
|
+
"label": "最终验收是否通过",
|
|
139
|
+
"stageId": "st-4"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "n-11",
|
|
143
|
+
"kind": "step",
|
|
144
|
+
"label": "甲方支付尾款",
|
|
145
|
+
"detail": "360,000 元",
|
|
146
|
+
"actorIds": [
|
|
147
|
+
"a-1"
|
|
148
|
+
],
|
|
149
|
+
"stageId": "st-4",
|
|
150
|
+
"sourceIds": [
|
|
151
|
+
"s-1"
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "n-12",
|
|
156
|
+
"kind": "step",
|
|
157
|
+
"label": "乙方无条件整改",
|
|
158
|
+
"actorIds": [
|
|
159
|
+
"a-2"
|
|
160
|
+
],
|
|
161
|
+
"outcome": "negative",
|
|
162
|
+
"stageId": "st-4"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "n-13",
|
|
166
|
+
"kind": "step",
|
|
167
|
+
"label": "项目完成",
|
|
168
|
+
"outcome": "positive",
|
|
169
|
+
"stageId": "st-5"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "n-26",
|
|
173
|
+
"kind": "end",
|
|
174
|
+
"label": "合同终止",
|
|
175
|
+
"stageId": "st-5"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"edges": [
|
|
179
|
+
{
|
|
180
|
+
"from": "n-1",
|
|
181
|
+
"to": "n-2",
|
|
182
|
+
"main": true
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"from": "n-2",
|
|
186
|
+
"to": "n-3",
|
|
187
|
+
"main": true
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"from": "n-3",
|
|
191
|
+
"to": "n-4",
|
|
192
|
+
"main": true
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"from": "n-4",
|
|
196
|
+
"to": "n-5",
|
|
197
|
+
"condition": "通过",
|
|
198
|
+
"main": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"from": "n-4",
|
|
202
|
+
"to": "n-3",
|
|
203
|
+
"condition": "未通过"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"from": "n-5",
|
|
207
|
+
"to": "n-6",
|
|
208
|
+
"main": true
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"from": "n-6",
|
|
212
|
+
"to": "n-7",
|
|
213
|
+
"condition": "合格",
|
|
214
|
+
"main": true
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"from": "n-6",
|
|
218
|
+
"to": "n-8",
|
|
219
|
+
"condition": "不合格"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"from": "n-8",
|
|
223
|
+
"to": "n-6"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"from": "n-7",
|
|
227
|
+
"to": "n-9",
|
|
228
|
+
"main": true
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"from": "n-9",
|
|
232
|
+
"to": "n-10",
|
|
233
|
+
"main": true
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"from": "n-10",
|
|
237
|
+
"to": "n-11",
|
|
238
|
+
"condition": "通过",
|
|
239
|
+
"main": true
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"from": "n-10",
|
|
243
|
+
"to": "n-12",
|
|
244
|
+
"condition": "未通过"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"from": "n-12",
|
|
248
|
+
"to": "n-10"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"from": "n-11",
|
|
252
|
+
"to": "n-13",
|
|
253
|
+
"main": true
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"from": "n-13",
|
|
257
|
+
"to": "n-26",
|
|
258
|
+
"main": true
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"rules": [
|
|
262
|
+
{
|
|
263
|
+
"id": "r-1",
|
|
264
|
+
"when": "甲方原因导致延期",
|
|
265
|
+
"then": "工期相应顺延",
|
|
266
|
+
"stageIds": [
|
|
267
|
+
"st-2",
|
|
268
|
+
"st-3",
|
|
269
|
+
"st-4"
|
|
270
|
+
],
|
|
271
|
+
"sourceIds": [
|
|
272
|
+
"s-1"
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"id": "r-2",
|
|
277
|
+
"when": "乙方原因导致延期",
|
|
278
|
+
"then": "乙方支付违约金:每日 0.1%,总额不超 5%",
|
|
279
|
+
"outcome": "negative",
|
|
280
|
+
"stageIds": [
|
|
281
|
+
"st-2",
|
|
282
|
+
"st-3",
|
|
283
|
+
"st-4"
|
|
284
|
+
],
|
|
285
|
+
"sourceIds": [
|
|
286
|
+
"s-1"
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "procedure",
|
|
3
|
+
"specVersion": 1,
|
|
4
|
+
"title": "Purchase Contract · Performance Flow",
|
|
5
|
+
"domain": "contract-performance",
|
|
6
|
+
"actors": [
|
|
7
|
+
{ "id": "a-1", "name": "Party A", "role": "Buyer" },
|
|
8
|
+
{ "id": "a-2", "name": "Party B", "role": "Seller" }
|
|
9
|
+
],
|
|
10
|
+
"sources": [
|
|
11
|
+
{ "id": "s-1", "type": "contract", "name": "Purchase Contract", "loc": { "file": "采购合同.docx" } }
|
|
12
|
+
],
|
|
13
|
+
"stages": [
|
|
14
|
+
{ "id": "st-1", "label": "Ordering and delivery" },
|
|
15
|
+
{ "id": "st-2", "label": "Inspection and payment" },
|
|
16
|
+
{ "id": "st-3", "label": "Quality dispute" }
|
|
17
|
+
],
|
|
18
|
+
"nodes": [
|
|
19
|
+
{ "id": "n-1", "kind": "start", "label": "Contract signed", "stageId": "st-1", "detail": "PO-2026-088 · total price ≈ ¥80,000", "sourceIds": ["s-1"] },
|
|
20
|
+
{ "id": "n-2", "kind": "step", "label": "Party A places order", "stageId": "st-1", "actorIds": ["a-1"] },
|
|
21
|
+
{ "id": "n-3", "kind": "step", "label": "Party B ships goods", "stageId": "st-1", "actorIds": ["a-2"] },
|
|
22
|
+
{ "id": "n-4", "kind": "step", "label": "Party A receives goods", "stageId": "st-1", "actorIds": ["a-1"] },
|
|
23
|
+
{ "id": "n-5", "kind": "decision", "label": "Goods quality conforming?", "stageId": "st-2" },
|
|
24
|
+
{ "id": "n-6", "kind": "step", "label": "Party A pays", "stageId": "st-2", "actorIds": ["a-1"] },
|
|
25
|
+
{ "id": "n-7", "kind": "step", "label": "Party A raises quality objection", "stageId": "st-3", "actorIds": ["a-1"] },
|
|
26
|
+
{ "id": "n-8", "kind": "step", "label": "Both parties negotiate", "stageId": "st-3", "actorIds": ["a-1", "a-2"] },
|
|
27
|
+
{ "id": "n-9", "kind": "decision", "label": "Negotiation successful?", "stageId": "st-3" },
|
|
28
|
+
{ "id": "n-10", "kind": "step", "label": "Breach handling", "stageId": "st-3", "detail": "Breaching party compensates losses", "outcome": "negative" },
|
|
29
|
+
{ "id": "n-11", "kind": "end", "label": "Performance complete", "stageId": "st-2", "outcome": "positive" },
|
|
30
|
+
{ "id": "n-12", "kind": "end", "label": "Contract terminated", "stageId": "st-3", "outcome": "negative" }
|
|
31
|
+
],
|
|
32
|
+
"edges": [
|
|
33
|
+
{ "from": "n-1", "to": "n-2", "main": true },
|
|
34
|
+
{ "from": "n-2", "to": "n-3", "main": true },
|
|
35
|
+
{ "from": "n-3", "to": "n-4", "main": true },
|
|
36
|
+
{ "from": "n-4", "to": "n-5", "main": true },
|
|
37
|
+
{ "from": "n-5", "to": "n-6", "condition": "Conforming", "main": true },
|
|
38
|
+
{ "from": "n-5", "to": "n-7", "condition": "Non-conforming" },
|
|
39
|
+
{ "from": "n-7", "to": "n-8" },
|
|
40
|
+
{ "from": "n-8", "to": "n-9" },
|
|
41
|
+
{ "from": "n-9", "to": "n-6", "condition": "Yes" },
|
|
42
|
+
{ "from": "n-9", "to": "n-10", "condition": "No" },
|
|
43
|
+
{ "from": "n-6", "to": "n-11", "main": true },
|
|
44
|
+
{ "from": "n-10", "to": "n-12" }
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "procedure",
|
|
3
|
+
"specVersion": 1,
|
|
4
|
+
"title": "采购合同 · 履行流程",
|
|
5
|
+
"domain": "contract-performance",
|
|
6
|
+
"actors": [
|
|
7
|
+
{ "id": "a-1", "name": "甲方", "role": "买方" },
|
|
8
|
+
{ "id": "a-2", "name": "乙方", "role": "卖方" }
|
|
9
|
+
],
|
|
10
|
+
"sources": [
|
|
11
|
+
{ "id": "s-1", "type": "contract", "name": "采购合同", "loc": { "file": "采购合同.docx" } }
|
|
12
|
+
],
|
|
13
|
+
"stages": [
|
|
14
|
+
{ "id": "st-1", "label": "订货与交付" },
|
|
15
|
+
{ "id": "st-2", "label": "验收与付款" },
|
|
16
|
+
{ "id": "st-3", "label": "质量争议" }
|
|
17
|
+
],
|
|
18
|
+
"nodes": [
|
|
19
|
+
{ "id": "n-1", "kind": "start", "label": "合同签订", "stageId": "st-1", "detail": "PO-2026-088 · 总价款约 ¥80,000", "sourceIds": ["s-1"] },
|
|
20
|
+
{ "id": "n-2", "kind": "step", "label": "甲方下单", "stageId": "st-1", "actorIds": ["a-1"] },
|
|
21
|
+
{ "id": "n-3", "kind": "step", "label": "乙方发货", "stageId": "st-1", "actorIds": ["a-2"] },
|
|
22
|
+
{ "id": "n-4", "kind": "step", "label": "甲方收货", "stageId": "st-1", "actorIds": ["a-1"] },
|
|
23
|
+
{ "id": "n-5", "kind": "decision", "label": "货物质量是否合格", "stageId": "st-2" },
|
|
24
|
+
{ "id": "n-6", "kind": "step", "label": "甲方付款", "stageId": "st-2", "actorIds": ["a-1"] },
|
|
25
|
+
{ "id": "n-7", "kind": "step", "label": "甲方提出质量异议", "stageId": "st-3", "actorIds": ["a-1"] },
|
|
26
|
+
{ "id": "n-8", "kind": "step", "label": "双方协商解决", "stageId": "st-3", "actorIds": ["a-1", "a-2"] },
|
|
27
|
+
{ "id": "n-9", "kind": "decision", "label": "协商是否成功", "stageId": "st-3" },
|
|
28
|
+
{ "id": "n-10", "kind": "step", "label": "违约处理", "stageId": "st-3", "detail": "违约方赔偿损失", "outcome": "negative" },
|
|
29
|
+
{ "id": "n-11", "kind": "end", "label": "合同履行完毕", "stageId": "st-2", "outcome": "positive" },
|
|
30
|
+
{ "id": "n-12", "kind": "end", "label": "合同终止", "stageId": "st-3", "outcome": "negative" }
|
|
31
|
+
],
|
|
32
|
+
"edges": [
|
|
33
|
+
{ "from": "n-1", "to": "n-2", "main": true },
|
|
34
|
+
{ "from": "n-2", "to": "n-3", "main": true },
|
|
35
|
+
{ "from": "n-3", "to": "n-4", "main": true },
|
|
36
|
+
{ "from": "n-4", "to": "n-5", "main": true },
|
|
37
|
+
{ "from": "n-5", "to": "n-6", "condition": "合格", "main": true },
|
|
38
|
+
{ "from": "n-5", "to": "n-7", "condition": "不合格" },
|
|
39
|
+
{ "from": "n-7", "to": "n-8" },
|
|
40
|
+
{ "from": "n-8", "to": "n-9" },
|
|
41
|
+
{ "from": "n-9", "to": "n-6", "condition": "是" },
|
|
42
|
+
{ "from": "n-9", "to": "n-10", "condition": "否" },
|
|
43
|
+
{ "from": "n-6", "to": "n-11", "main": true },
|
|
44
|
+
{ "from": "n-10", "to": "n-12" }
|
|
45
|
+
]
|
|
46
|
+
}
|