@cleocode/core 2026.6.18 → 2026.6.19

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.
@@ -136,9 +136,9 @@ export function fetchEpicProgressBatch(db, epicIds) {
136
136
  SELECT
137
137
  p.task_id AS task_id,
138
138
  SUM(CASE WHEN g.result != 'pass' THEN 1 ELSE 0 END) AS pending_count
139
- FROM lifecycle_pipelines p
140
- LEFT JOIN lifecycle_stages s ON s.pipeline_id = p.id
141
- LEFT JOIN lifecycle_gate_results g ON g.stage_id = s.id
139
+ FROM tasks_lifecycle_pipelines p
140
+ LEFT JOIN tasks_lifecycle_stages s ON s.pipeline_id = p.id
141
+ LEFT JOIN tasks_lifecycle_gate_results g ON g.stage_id = s.id
142
142
  WHERE p.task_id IN (${placeholders})
143
143
  GROUP BY p.task_id
144
144
  `;
@@ -156,9 +156,9 @@ function fetchPassedGateNames(taskIds) {
156
156
  SELECT DISTINCT
157
157
  p.task_id AS task_id,
158
158
  g.gate_name AS gate_name
159
- FROM lifecycle_gate_results g
160
- INNER JOIN lifecycle_stages s ON s.id = g.stage_id
161
- INNER JOIN lifecycle_pipelines p ON p.id = s.pipeline_id
159
+ FROM tasks_lifecycle_gate_results g
160
+ INNER JOIN tasks_lifecycle_stages s ON s.id = g.stage_id
161
+ INNER JOIN tasks_lifecycle_pipelines p ON p.id = s.pipeline_id
162
162
  WHERE p.task_id IN (${placeholders})
163
163
  AND g.result = 'pass'
164
164
  ORDER BY g.gate_name ASC
@@ -1914,6 +1914,7 @@ var init_tasks = __esm({
1914
1914
  severity: { type: "string", enum: ["P0", "P1", "P2", "P3"] },
1915
1915
  reason: { type: "string" },
1916
1916
  dependsWaiver: { type: "string" },
1917
+ blockedBy: { type: "string" },
1917
1918
  clearBlockedBy: { type: "boolean" },
1918
1919
  relates: {
1919
1920
  type: "array",
@@ -4613,6 +4614,12 @@ var init_operations_registry = __esm({
4613
4614
  required: false,
4614
4615
  description: "Justification to waive the critical-priority --depends requirement"
4615
4616
  },
4617
+ {
4618
+ name: "blockedBy",
4619
+ type: "string",
4620
+ required: false,
4621
+ description: "Set the free-text blockedBy reason (gh#1106)"
4622
+ },
4616
4623
  {
4617
4624
  name: "clearBlockedBy",
4618
4625
  type: "boolean",