@yemi33/minions 0.1.512 → 0.1.513

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,8 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.512 (2026-04-07)
3
+ ## 0.1.513 (2026-04-07)
4
4
 
5
5
  ### Fixes
6
+ - retroactively recover failed work items that have linked PRs
6
7
  - decomposed items count as done in PRD progress and plan status
7
8
 
8
9
  ## 0.1.511 (2026-04-07)
package/engine.js CHANGED
@@ -876,6 +876,10 @@ function reconcileItemsWithPrs(items, allPrs, { onlyIds } = {}) {
876
876
  const linkedPrId = Object.keys(prLinks).find(prId => prLinks[prId] === wi.id);
877
877
  if (linkedPrId) exactPr = allPrs.find(pr => pr.id === linkedPrId) || { id: linkedPrId };
878
878
  }
879
+ // Branch-based matching: PR branch contains the work item ID (e.g. work/P-k7m2v9a1)
880
+ if (!exactPr) {
881
+ exactPr = allPrs.find(pr => pr.branch && pr.branch.includes(wi.id));
882
+ }
879
883
  if (exactPr) {
880
884
  wi.status = WI_STATUS.DONE;
881
885
  wi._pr = exactPr.id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.512",
3
+ "version": "0.1.513",
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"