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.
@@ -124,6 +124,7 @@ paths:
124
124
  tickets: tickets
125
125
  reports: reports
126
126
  templates: templates
127
+ plan_templates: plans/templates
127
128
  archive: archive
128
129
 
129
130
  # Настройки отчётности
@@ -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-decomposition
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
  # Если нет тикетов — проверяет, есть ли недекомпозированный план.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workflow-ai",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "AI Agent Workflow Coordinator — kanban-based pipeline for AI coding agents",
5
5
  "type": "module",
6
6
  "bin": {