@yemi33/minions 0.1.514 → 0.1.515

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/CHANGELOG.md CHANGED
@@ -1,11 +1,12 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.514 (2026-04-07)
3
+ ## 0.1.515 (2026-04-07)
4
4
 
5
5
  ### Features
6
6
  - PRD view shows decomposed children inline under parent item
7
7
 
8
8
  ### Fixes
9
+ - decomposed dependencies check children status, not just parent
9
10
  - retroactively recover failed work items that have linked PRs
10
11
  - decomposed items count as done in PRD progress and plan status
11
12
 
package/engine.js CHANGED
@@ -834,7 +834,14 @@ function areDependenciesMet(item, config) {
834
834
  return false;
835
835
  }
836
836
  if (depItem.status === WI_STATUS.FAILED) return 'failed';
837
- if (!PRD_MET_STATUSES.has(depItem.status)) return false; // Pending, dispatched, or retrying — wait (legacy aliases accepted)
837
+ if (depItem.status === WI_STATUS.DECOMPOSED) {
838
+ // Decomposed: check if all children are done
839
+ const children = allWorkItems.filter(w => w.parent_id === depId);
840
+ if (children.length > 0 && children.every(c => PRD_MET_STATUSES.has(c.status))) continue; // all children done
841
+ if (children.length > 0) return false; // children still in progress
842
+ continue; // no children found — treat as met (decomposition may be in flight)
843
+ }
844
+ if (!PRD_MET_STATUSES.has(depItem.status)) return false; // Pending, dispatched, or retrying — wait
838
845
  }
839
846
  return true;
840
847
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.514",
3
+ "version": "0.1.515",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"