@yemi33/minions 0.1.381 → 0.1.383
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 +6 -0
- package/engine/ado.js +2 -2
- package/engine/github.js +1 -1
- package/engine/lifecycle.js +1 -1
- package/engine.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/ado.js
CHANGED
|
@@ -379,8 +379,8 @@ async function reconcilePrs(config) {
|
|
|
379
379
|
const branch = (adoPr.sourceRefName || '').replace('refs/heads/', '');
|
|
380
380
|
const title = adoPr.title || '';
|
|
381
381
|
// Extract item ID from branch name or PR title (e.g., feat(P-2cafdc2a): ...)
|
|
382
|
-
const branchMatch = branch.match(/(P-[a-z0-9]{6,})/i) || branch.match(/(PL-
|
|
383
|
-
const titleMatch = title.match(/\((P-[a-z0-9]{6,})\)/) || title.match(/\((
|
|
382
|
+
const branchMatch = branch.match(/(P-[a-z0-9]{6,})/i) || branch.match(/(W-[a-z0-9]{6,})/i) || branch.match(/(PL-[a-z0-9]{6,})/i);
|
|
383
|
+
const titleMatch = title.match(/\((P-[a-z0-9]{6,})\)/) || title.match(/\((W-[a-z0-9]{6,})\)/) || title.match(/\((W-[a-z0-9]{6,})\)/) || title.match(/\((PL-[a-z0-9]{6,})\)/);
|
|
384
384
|
const linkedItemId = branchMatch?.[1] || titleMatch?.[1] || null;
|
|
385
385
|
const linkedItem = linkedItemId ? allItems.find(i => i.id === linkedItemId) : null;
|
|
386
386
|
const confirmedItemId = linkedItem ? linkedItemId : null;
|
package/engine/github.js
CHANGED
|
@@ -379,7 +379,7 @@ async function reconcilePrs(config) {
|
|
|
379
379
|
for (const ghPr of ghPrs) {
|
|
380
380
|
const prId = `PR-${ghPr.number}`;
|
|
381
381
|
const branch = ghPr.head?.ref || '';
|
|
382
|
-
const wiMatch = branch.match(/(P-[a-z0-9]{6,})/i) || branch.match(/(PL-
|
|
382
|
+
const wiMatch = branch.match(/(P-[a-z0-9]{6,})/i) || branch.match(/(W-[a-z0-9]{6,})/i) || branch.match(/(PL-[a-z0-9]{6,})/i);
|
|
383
383
|
const linkedItemId = wiMatch ? wiMatch[1] : null;
|
|
384
384
|
const linkedItem = linkedItemId ? allItems.find(i => i.id === linkedItemId) : null;
|
|
385
385
|
const confirmedItemId = linkedItem ? linkedItemId : null;
|
package/engine/lifecycle.js
CHANGED
|
@@ -805,7 +805,7 @@ async function handlePostMerge(pr, project, config, newStatus) {
|
|
|
805
805
|
// Resolve linked work item from pr-links or PR branch name
|
|
806
806
|
let mergedItemId = getPrLinks()[pr.id];
|
|
807
807
|
if (!mergedItemId && pr.branch) {
|
|
808
|
-
const branchMatch = pr.branch.match(/(P-[a-z0-9]{6,})/i) || pr.branch.match(/(W-[a-z0-9]
|
|
808
|
+
const branchMatch = pr.branch.match(/(P-[a-z0-9]{6,})/i) || pr.branch.match(/(W-[a-z0-9]{6,})/i) || pr.branch.match(/(PL-[a-z0-9]{6,})/i);
|
|
809
809
|
if (branchMatch) mergedItemId = branchMatch[1];
|
|
810
810
|
}
|
|
811
811
|
|
package/engine.js
CHANGED
|
@@ -2106,7 +2106,7 @@ function discoverWork(config) {
|
|
|
2106
2106
|
// Pipeline orchestration — check stage completions and start ready stages
|
|
2107
2107
|
try {
|
|
2108
2108
|
const { discoverPipelineWork } = require('./engine/pipeline');
|
|
2109
|
-
|
|
2109
|
+
discoverPipelineWork(config).catch(e => log('warn', 'discover pipeline work: ' + e.message));
|
|
2110
2110
|
} catch (e) { log('warn', 'discover pipeline work: ' + e.message); }
|
|
2111
2111
|
|
|
2112
2112
|
// Periodic plan completion sweep — catch PRDs that completed while engine was down
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.383",
|
|
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"
|