@yemi33/minions 0.1.834 → 0.1.836

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,13 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.834 (2026-04-11)
3
+ ## 0.1.836 (2026-04-11)
4
4
 
5
5
  ### Features
6
6
  - stale PRD shows Regenerate PRD + Resume as-is buttons
7
7
 
8
8
  ### Fixes
9
+ - use structured marker for diff-aware PRD update detection
10
+ - match playbook trigger phrase for diff-aware PRD updates
9
11
  - engine only flags stale on plan revision, never auto-regenerates
10
12
  - only 'updated' re-opens done work items, remove 'planned' status
11
13
  - revert doc-chat MAX_HEIGHT to 500px
package/dashboard.js CHANGED
@@ -2250,15 +2250,10 @@ If nothing to do: { "duplicates": [], "reclassify": [], "remove": [] }`;
2250
2250
  diffAwareQueued = shared.queuePlanToPrd({
2251
2251
  planFile: plan.source_plan, prdFile: body.file,
2252
2252
  title: `Update PRD from revised plan: ${plan.source_plan}`,
2253
- description: `Plan file: plans/${plan.source_plan}\nPRD file: prd/${body.file}\n\n` +
2254
- `Source plan was revised. Compare the updated plan against existing PRD and produce an updated version.\n\n` +
2255
- `**Current PRD implementation state:**\n${implContext}\n\n` +
2256
- `**Rules for updating:**\n` +
2257
- `- Items that are done and unchanged in the plan → keep status "done" (preserve their ID)\n` +
2258
- `- Items that are done but modified in the plan (new requirements) → set status "updated" (engine will re-open)\n` +
2259
- `- New items in the plan → set status "missing" (engine will materialize)\n` +
2260
- `- Items removed from the plan → drop from PRD (engine will cancel pending WIs)\n` +
2261
- `- Preserve all existing item IDs for unchanged/modified items — do NOT generate new IDs for them`,
2253
+ description: `mode: diff-aware-update\nPlan file: plans/${plan.source_plan}\nPRD file: prd/${body.file}\n\n` +
2254
+ `Source plan was revised. Read the existing PRD and compare against the updated plan.\n\n` +
2255
+ `**Existing implementation state:**\n${implContext}\n\n` +
2256
+ `Follow the "Updating an Existing PRD" section in the playbook. Items whose requirements changed MUST be set to status "updated" (not "done") so the engine re-opens them.`,
2262
2257
  project: targetProject.name, createdBy: 'dashboard:plan-resume',
2263
2258
  extra: { _existingPrdFile: body.file },
2264
2259
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.834",
3
+ "version": "0.1.836",
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"
@@ -93,7 +93,7 @@ Rules for items:
93
93
 
94
94
  ## Updating an Existing PRD
95
95
 
96
- If the task description mentions **"existing implementation state"**, you are updating an existing PRD, not creating one from scratch. The plan was revised and you need to produce an updated PRD that reflects the changes while preserving existing work.
96
+ If the task description contains `mode: diff-aware-update`, you are updating an existing PRD, not creating one from scratch. The plan was revised and you need to produce an updated PRD that reflects the changes while preserving existing work.
97
97
 
98
98
  **Rules for diff-aware updates:**
99
99
  - **Read the existing PRD file first** — it's at `{{team_root}}/prd/{{prd_filename}}`