workflow-ai 1.0.53 → 1.0.54
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/configs/config.yaml +1 -0
- package/configs/pipeline.yaml +22 -1
- package/package.json +1 -1
package/configs/config.yaml
CHANGED
package/configs/pipeline.yaml
CHANGED
|
@@ -121,6 +121,12 @@ pipeline:
|
|
|
121
121
|
workdir: "."
|
|
122
122
|
description: "Скрипт для перемещения завершённых тикетов из in-progress/ в review/"
|
|
123
123
|
|
|
124
|
+
script-check-templates:
|
|
125
|
+
command: "node"
|
|
126
|
+
args: [".workflow/src/scripts/check-plan-templates.js"]
|
|
127
|
+
workdir: "."
|
|
128
|
+
description: "Проверка и активация шаблонов планов по триггерам"
|
|
129
|
+
|
|
124
130
|
|
|
125
131
|
default_agent: qwen-code
|
|
126
132
|
|
|
@@ -185,9 +191,24 @@ pipeline:
|
|
|
185
191
|
stage: move-to-review
|
|
186
192
|
params:
|
|
187
193
|
ticket_id: "$result.ticket_id"
|
|
188
|
-
empty: check-plan-
|
|
194
|
+
empty: check-plan-templates
|
|
189
195
|
error: create-report
|
|
190
196
|
|
|
197
|
+
# -------------------------------------------------------------------------
|
|
198
|
+
# 0a. check-plan-templates
|
|
199
|
+
# Проверяет шаблоны планов в plans/templates/.
|
|
200
|
+
# Если триггер сработал — создаёт план в plans/current/ со статусом approved.
|
|
201
|
+
# Всегда переходит на check-plan-decomposition.
|
|
202
|
+
# -------------------------------------------------------------------------
|
|
203
|
+
check-plan-templates:
|
|
204
|
+
description: "Проверить шаблоны планов и создать планы по триггерам"
|
|
205
|
+
agent: script-check-templates
|
|
206
|
+
goto:
|
|
207
|
+
plan_created: check-plan-decomposition
|
|
208
|
+
no_triggers: check-plan-decomposition
|
|
209
|
+
default: check-plan-decomposition
|
|
210
|
+
error: check-plan-decomposition
|
|
211
|
+
|
|
191
212
|
# -------------------------------------------------------------------------
|
|
192
213
|
# 0b. check-plan-decomposition
|
|
193
214
|
# Если нет тикетов — проверяет, есть ли недекомпозированный план.
|