@yemi33/minions 0.1.47 → 0.1.48

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.48 (2026-03-30)
4
+
5
+ ### Dashboard
6
+ - dashboard/js/render-plans.js
7
+
3
8
  ## 0.1.47 (2026-03-30)
4
9
 
5
10
  ### Dashboard
@@ -164,11 +164,18 @@ function renderPlans(plans) {
164
164
 
165
165
  function renderPlanCard(p) {
166
166
  const prdFile = planToPrdFile[p.file] || (p.file.endsWith('.json') ? p.file : '');
167
- const rawStatus = p.status || 'active';
168
167
  const isArchived = p.archived;
169
168
 
169
+ // For .md plans with a linked PRD, use the PRD's status as the authoritative intent
170
+ // (p.status for .md is 'draft'/'converted'/'active', not the PRD lifecycle status)
171
+ let prdJsonStatus = p.status || 'active';
172
+ if (prdFile && p.format !== 'prd') {
173
+ const linkedPrd = plans.find(pp => pp.file === prdFile && pp.format === 'prd');
174
+ if (linkedPrd) prdJsonStatus = linkedPrd.status || prdJsonStatus;
175
+ }
176
+
170
177
  // Single source of truth: derive status from work items
171
- const effectiveStatus = isArchived ? 'completed' : derivePlanStatus(prdFile, p.file, rawStatus, allWi);
178
+ const effectiveStatus = isArchived ? 'completed' : derivePlanStatus(prdFile, p.file, prdJsonStatus, allWi);
172
179
 
173
180
  const statusLabelsMap = {
174
181
  'completed': 'Completed', 'in-progress': 'In Progress', 'paused': 'Paused',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
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"