@yemi33/minions 0.1.159 → 0.1.161
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 +5 -0
- package/engine/lifecycle.js +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/lifecycle.js
CHANGED
|
@@ -494,12 +494,13 @@ function updateWorkItemStatus(meta, status, reason) {
|
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
function syncPrdItemStatus(itemId, status, sourcePlan) {
|
|
497
|
-
if (!itemId) return;
|
|
497
|
+
if (!itemId || !sourcePlan) return; // sourcePlan required to prevent cross-PRD contamination
|
|
498
498
|
try {
|
|
499
499
|
const prdDir = path.join(MINIONS_DIR, 'prd');
|
|
500
|
-
const files =
|
|
500
|
+
const files = [sourcePlan];
|
|
501
501
|
for (const pf of files) {
|
|
502
502
|
const fpath = path.join(prdDir, pf);
|
|
503
|
+
if (!fs.existsSync(fpath)) continue; // skip archived/deleted PRDs
|
|
503
504
|
mutateJsonFileLocked(fpath, (plan) => {
|
|
504
505
|
if (!plan?.missing_features) return plan;
|
|
505
506
|
const feature = plan.missing_features.find(f => f.id === itemId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.161",
|
|
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"
|