@kaddo/cli 3.61.0 → 3.62.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.
Files changed (2) hide show
  1. package/dist/index.js +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11069,6 +11069,7 @@ function buildDeliveryState(dir) {
11069
11069
  refined_draft_ids: wis.filter((w) => w.lifecycle === "draft" && w.rawFrontmatter.refined_by).map((w) => w.id),
11070
11070
  ready_work_items: byState("ready"),
11071
11071
  ready_work_item_ids: wis.filter((w) => w.lifecycle === "ready").map((w) => w.id),
11072
+ ready_multirepo_wi_ids: wis.filter((w) => w.lifecycle === "ready" && Array.isArray(w.rawFrontmatter?.affected_modules) && w.rawFrontmatter.affected_modules.length > 0).map((w) => w.id),
11072
11073
  in_progress_work_items: byState("in-progress"),
11073
11074
  blocked_work_items: byState("blocked"),
11074
11075
  total_work_items: total,
@@ -11261,6 +11262,13 @@ function resolveNextStep(dir, now = /* @__PURE__ */ new Date()) {
11261
11262
  reason: "The roadmap has no candidates yet, but ready Work Items exist."
11262
11263
  });
11263
11264
  }
11265
+ if (st.ready_multirepo_wi_ids.length > 0) {
11266
+ sec.push({
11267
+ id: "validate-work-item-modules",
11268
+ label: "Validate affected modules for multirepo Work Items before implementation.",
11269
+ reason: `${st.ready_multirepo_wi_ids.length} ready Work Item(s) reference affected_modules.`
11270
+ });
11271
+ }
11264
11272
  if (adapters === 0) {
11265
11273
  return {
11266
11274
  id: "prepare-implementation",
@@ -12079,7 +12087,8 @@ function mapNextStepId(id) {
12079
12087
  "implement-work-item": "prepare-implementation",
12080
12088
  "refine-module-context": "refine-work-item",
12081
12089
  "init-module-context": "enable-kaddo",
12082
- "module-ready": "prepare-implementation"
12090
+ "module-ready": "prepare-implementation",
12091
+ "validate-work-item-modules": "prepare-implementation"
12083
12092
  };
12084
12093
  return MAP[id] ?? id;
12085
12094
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaddo/cli",
3
- "version": "3.61.0",
3
+ "version": "3.62.0",
4
4
  "description": "Knowledge Driven Development toolkit",
5
5
  "license": "MIT",
6
6
  "repository": {