@nanobpm/nano-workforce 0.200.8 → 0.200.9

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.
@@ -7,6 +7,10 @@
7
7
  <nano:extend name="subjectKey" type="string" />
8
8
  <nano:extend name="status" type="string" optional="true" />
9
9
  <nano:extend name="question" type="string" optional="true" />
10
+ <nano:extend name="summary" type="string" optional="true" />
11
+ <nano:extend name="transcriptUrl" type="string" optional="true" />
12
+ <nano:extend name="pr" type="string" optional="true" />
13
+ <nano:extend name="deliveryVerified" type="boolean" optional="true" />
10
14
  </nano:shape>
11
15
  </nano:shapes>
12
16
  </bpmn:extensionElements>
@@ -21,10 +25,11 @@
21
25
  <zeebe:linkedResource resourceId="prompts/feature.md" bindingType="latest" resourceType="GenericScript" linkName="prompt" />
22
26
  </zeebe:linkedResources>
23
27
  <zeebe:ioMapping>
24
- <zeebe:input source="=&#34;&#10;&#10;---&#10;&#10;&#34; + task.prompt + (if (is defined(baseBranchBrief) and baseBranchBrief != null) then baseBranchBrief else &#34;&#34;) + (if (is defined(blackboardBrief) and blackboardBrief != null) then blackboardBrief else &#34;&#34;) + (if (is defined(resolvedDepsBrief) and resolvedDepsBrief != null) then resolvedDepsBrief else &#34;&#34;) + (if (is defined(resolvedArtifacts) = false or resolvedArtifacts = null or count(resolvedArtifacts[item != null]) = 0) then &#34;&#34; else (&#34;&#10;&#10;---&#10;&#10;**Bound upstream readiness.** Build/install/clone against EXACTLY these resolved published versions (the ones first carrying the awaited capability), and bump the consumer dependency to them — never merely the newest:&#10;&#10;&#34; + string join(resolvedArtifacts[item != null], &#34;&#10;&#34;))) + (if (is defined(customInstructions) = false or customInstructions = null) then &#34;&#34; else &#34;&#10;&#10;---&#10;&#10;## Operator custom instructions&#10;&#10;The operator supplied these instructions for this run — follow them:&#10;&#10;&#34; + customInstructions)" target="appendPrompt" />
28
+ <zeebe:input source="=&#34;&#10;&#10;---&#10;&#10;&#34; + task.prompt + (if (is defined(baseBranchBrief) and baseBranchBrief != null) then baseBranchBrief else &#34;&#34;) + (if (is defined(blackboardBrief) and blackboardBrief != null) then blackboardBrief else &#34;&#34;) + (if (is defined(resolvedDepsBrief) and resolvedDepsBrief != null) then resolvedDepsBrief else &#34;&#34;) + (if (is defined(resolvedArtifacts) = false or resolvedArtifacts = null or count(resolvedArtifacts[item != null]) = 0) then &#34;&#34; else (&#34;&#10;&#10;---&#10;&#10;**Bound upstream readiness.** Build/install/clone against EXACTLY these resolved published versions (the ones first carrying the awaited capability), and bump the consumer dependency to them — never merely the newest:&#10;&#10;&#34; + string join(resolvedArtifacts[item != null], &#34;&#10;&#34;))) + (if (is defined(customInstructions) = false or customInstructions = null) then &#34;&#34; else &#34;&#10;&#10;---&#10;&#10;## Operator custom instructions&#10;&#10;The operator supplied these instructions for this run — follow them:&#10;&#10;&#34; + customInstructions) + (if (is defined(retryNudge) and retryNudge != null) then retryNudge else &#34;&#34;)" target="appendPrompt" />
25
29
  <zeebe:input source="=if (is defined(transcriptUrlBase)) then transcriptUrlBase else null" target="transcriptUrlBase" />
26
30
  <zeebe:output source="=status" target="status" />
27
31
  <zeebe:output source="=question" target="question" />
32
+ <zeebe:output source="=if (is defined(summary)) then summary else null" target="summary" />
28
33
  <zeebe:output source="=if (is defined(transcriptUrl)) then transcriptUrl else null" target="transcriptUrl" />
29
34
  </zeebe:ioMapping>
30
35
  </bpmn:extensionElements>
@@ -50,6 +55,10 @@
50
55
  <zeebe:output source="=reconciled" target="reconciled" />
51
56
  <zeebe:output source="=status" target="status" />
52
57
  <zeebe:output source="=pr" target="pr" />
58
+ <zeebe:output source="=retry" target="retry" />
59
+ <zeebe:output source="=retryNudge" target="retryNudge" />
60
+ <zeebe:output source="=retried" target="implementRetried" />
61
+ <zeebe:output source="=deliveryVerified" target="deliveryVerified" />
53
62
  </zeebe:ioMapping>
54
63
  </bpmn:extensionElements>
55
64
  <bpmn:incoming>ic_escalate</bpmn:incoming>
@@ -58,6 +67,7 @@
58
67
  <bpmn:exclusiveGateway id="ic_reconcile_gw" name="reconciled?" default="ic_toRecordEscalation">
59
68
  <bpmn:incoming>ic_toReconcileGw</bpmn:incoming>
60
69
  <bpmn:outgoing>ic_reconciled</bpmn:outgoing>
70
+ <bpmn:outgoing>ic_retry</bpmn:outgoing>
61
71
  <bpmn:outgoing>ic_toRecordEscalation</bpmn:outgoing>
62
72
  </bpmn:exclusiveGateway>
63
73
  <bpmn:callActivity id="escalate" name="Human escalation">
@@ -112,8 +122,16 @@
112
122
  <zeebe:properties>
113
123
  <zeebe:property name="io.nanobpm.dataEnvelope.in" value="RecordFeatureImplementingIn" />
114
124
  </zeebe:properties>
125
+ <zeebe:ioMapping>
126
+ <zeebe:output source="=null" target="status" />
127
+ <zeebe:output source="=null" target="question" />
128
+ <zeebe:output source="=null" target="summary" />
129
+ <zeebe:output source="=null" target="transcriptUrl" />
130
+ <zeebe:output source="=null" target="deliveryVerified" />
131
+ </zeebe:ioMapping>
115
132
  </bpmn:extensionElements>
116
133
  <bpmn:incoming>ic_answerLoop</bpmn:incoming>
134
+ <bpmn:incoming>ic_retry</bpmn:incoming>
117
135
  <bpmn:outgoing>ic_reImplement</bpmn:outgoing>
118
136
  </bpmn:serviceTask>
119
137
  <bpmn:endEvent id="ic_end" name="Task done">
@@ -134,6 +152,9 @@
134
152
  <bpmn:sequenceFlow id="ic_toRecordEscalation" name="escalated" sourceRef="ic_reconcile_gw" targetRef="record-escalation" />
135
153
  <bpmn:sequenceFlow id="ic_sla" name="agent SLA elapsed" sourceRef="be_implement_sla" targetRef="record-escalation-sla" />
136
154
  <bpmn:sequenceFlow id="ic_slaToEscalate" sourceRef="record-escalation-sla" targetRef="escalate" />
155
+ <bpmn:sequenceFlow id="ic_retry" name="retry" sourceRef="ic_reconcile_gw" targetRef="record-implementing">
156
+ <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=retry = true</bpmn:conditionExpression>
157
+ </bpmn:sequenceFlow>
137
158
  <bpmn:sequenceFlow id="ic_toEscalate" sourceRef="record-escalation" targetRef="escalate" />
138
159
  <bpmn:sequenceFlow id="ic_toAnswerGw" sourceRef="escalate" targetRef="ic_gw_answer" />
139
160
  <bpmn:sequenceFlow id="ic_answerLoop" name="answer" sourceRef="ic_gw_answer" targetRef="record-implementing">
@@ -156,7 +177,7 @@
156
177
  <bpmndi:BPMNShape id="BPMNShape_ic_gw" bpmnElement="ic_gw" isMarkerVisible="true">
157
178
  <dc:Bounds x="441" y="95" width="50" height="50" />
158
179
  <bpmndi:BPMNLabel>
159
- <dc:Bounds x="391" y="150" width="70" height="28" />
180
+ <dc:Bounds x="431" y="62" width="70" height="28" />
160
181
  </bpmndi:BPMNLabel>
161
182
  </bpmndi:BPMNShape>
162
183
  <bpmndi:BPMNShape id="BPMNShape_reconcile-implement" bpmnElement="reconcile-implement">
@@ -175,7 +196,7 @@
175
196
  <dc:Bounds x="966" y="80" width="100" height="80" />
176
197
  </bpmndi:BPMNShape>
177
198
  <bpmndi:BPMNShape id="BPMNShape_record-escalation-sla" bpmnElement="record-escalation-sla">
178
- <dc:Bounds x="416" y="240" width="100" height="80" />
199
+ <dc:Bounds x="416" y="400" width="100" height="80" />
179
200
  </bpmndi:BPMNShape>
180
201
  <bpmndi:BPMNShape id="BPMNShape_ic_gw_answer" bpmnElement="ic_gw_answer" isMarkerVisible="true">
181
202
  <dc:Bounds x="1366" y="95" width="50" height="50" />
@@ -239,12 +260,20 @@
239
260
  <dc:Bounds x="1456" y="98" width="53" height="14" />
240
261
  </bpmndi:BPMNLabel>
241
262
  </bpmndi:BPMNEdge>
263
+ <bpmndi:BPMNEdge id="BPMNEdge_ic_retry" bpmnElement="ic_retry">
264
+ <di:waypoint x="841" y="145" />
265
+ <di:waypoint x="841" y="280" />
266
+ <di:waypoint x="1516" y="280" />
267
+ <bpmndi:BPMNLabel>
268
+ <dc:Bounds x="846" y="223" width="39" height="14" />
269
+ </bpmndi:BPMNLabel>
270
+ </bpmndi:BPMNEdge>
242
271
  <bpmndi:BPMNEdge id="BPMNEdge_ic_answerLoop" bpmnElement="ic_answerLoop">
243
272
  <di:waypoint x="1391" y="145" />
244
273
  <di:waypoint x="1391" y="280" />
245
274
  <di:waypoint x="1516" y="280" />
246
275
  <bpmndi:BPMNLabel>
247
- <dc:Bounds x="1337" y="206" width="49" height="14" />
276
+ <dc:Bounds x="1396" y="206" width="49" height="14" />
248
277
  </bpmndi:BPMNLabel>
249
278
  </bpmndi:BPMNEdge>
250
279
  <bpmndi:BPMNEdge id="BPMNEdge_ic_done" bpmnElement="ic_done">
@@ -266,27 +295,23 @@
266
295
  </bpmndi:BPMNLabel>
267
296
  </bpmndi:BPMNEdge>
268
297
  <bpmndi:BPMNEdge id="BPMNEdge_ic_slaToEscalate" bpmnElement="ic_slaToEscalate">
269
- <di:waypoint x="516" y="300" />
270
- <di:waypoint x="536" y="300" />
271
- <di:waypoint x="536" y="340" />
272
- <di:waypoint x="1436" y="340" />
273
- <di:waypoint x="1436" y="220" />
274
- <di:waypoint x="1604" y="220" />
275
- <di:waypoint x="1604" y="82" />
298
+ <di:waypoint x="516" y="440" />
299
+ <di:waypoint x="1636" y="440" />
300
+ <di:waypoint x="1636" y="82" />
276
301
  <di:waypoint x="1266" y="82" />
277
302
  </bpmndi:BPMNEdge>
278
303
  <bpmndi:BPMNEdge id="BPMNEdge_ic_sla" bpmnElement="ic_sla">
279
304
  <di:waypoint x="266" y="178" />
280
- <di:waypoint x="266" y="280" />
281
- <di:waypoint x="416" y="280" />
305
+ <di:waypoint x="266" y="440" />
306
+ <di:waypoint x="416" y="440" />
282
307
  <bpmndi:BPMNLabel>
283
- <dc:Bounds x="271" y="215" width="70" height="28" />
308
+ <dc:Bounds x="271" y="295" width="70" height="28" />
284
309
  </bpmndi:BPMNLabel>
285
310
  </bpmndi:BPMNEdge>
286
311
  <bpmndi:BPMNEdge id="BPMNEdge_ic_reImplement" bpmnElement="ic_reImplement">
287
- <di:waypoint x="1616" y="280" />
288
- <di:waypoint x="1636" y="280" />
289
- <di:waypoint x="1636" y="60" />
312
+ <di:waypoint x="1516" y="280" />
313
+ <di:waypoint x="60" y="280" />
314
+ <di:waypoint x="60" y="60" />
290
315
  <di:waypoint x="266" y="60" />
291
316
  <di:waypoint x="266" y="80" />
292
317
  </bpmndi:BPMNEdge>