@yemi33/minions 0.1.541 → 0.1.543

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,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.543 (2026-04-07)
4
+
5
+ ### Fixes
6
+ - await checkLiveReviewStatus in pre-dispatch vote check (closes #462) (#469)
7
+
8
+ ## 0.1.542 (2026-04-07)
9
+
10
+ ### Fixes
11
+ - remove double-write in stale PRD flag path
12
+
3
13
  ## 0.1.541 (2026-04-07)
4
14
 
5
15
  ### Fixes
package/engine.js CHANGED
@@ -1104,8 +1104,8 @@ function materializePlansAsWorkItems(config) {
1104
1104
  // Approved/paused/completed PRDs: flag stale — user must click Re-execute to regenerate
1105
1105
  if (prdStatus && prdStatus !== 'awaiting-approval') {
1106
1106
  plan.planStale = true;
1107
- safeWrite(path.join(PRD_DIR, file), plan);
1108
1107
  log('info', `PRD ${file} flagged as stale (plan revised while ${prdStatus}) — user can re-execute from dashboard`);
1108
+ // Falls through to safeWrite below (writes planStale + sourcePlanModifiedAt together)
1109
1109
  }
1110
1110
 
1111
1111
  // Awaiting-approval PRDs: auto-regenerate (no work started yet, safe to replace)
@@ -1396,7 +1396,7 @@ function discoverFromPrs(config, project) {
1396
1396
  // Pre-dispatch live vote check — cached reviewStatus may be stale (poll lag ~6 min)
1397
1397
  try {
1398
1398
  const checkFn = project.repoHost === 'github' ? ghCheckLiveReview : adoCheckLiveReview;
1399
- const liveStatus = checkFn(pr, project);
1399
+ const liveStatus = await checkFn(pr, project);
1400
1400
  if (liveStatus && liveStatus !== 'pending') {
1401
1401
  log('info', `Pre-dispatch vote check: ${pr.id} is ${liveStatus} (cached was pending) — skipping review`);
1402
1402
  pr.reviewStatus = liveStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.541",
3
+ "version": "0.1.543",
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"