@yemi33/minions 0.1.22 → 0.1.24
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 +10 -0
- package/engine.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine.js
CHANGED
|
@@ -2522,11 +2522,11 @@ function discoverFromPrs(config, project) {
|
|
|
2522
2522
|
if (item) { newWork.push(item); setCooldown(key); }
|
|
2523
2523
|
}
|
|
2524
2524
|
|
|
2525
|
-
// PRs with build failures —
|
|
2525
|
+
// PRs with build failures — route to author (has session context from implementing)
|
|
2526
2526
|
if (pr.status === 'active' && pr.buildStatus === 'failing') {
|
|
2527
2527
|
const key = `build-fix-${project?.name || 'default'}-${pr.id}`;
|
|
2528
2528
|
if (isAlreadyDispatched(key) || isOnCooldown(key, cooldownMs)) continue;
|
|
2529
|
-
const agentId = resolveAgent('fix', config);
|
|
2529
|
+
const agentId = resolveAgent('fix', config, pr.agent);
|
|
2530
2530
|
if (!agentId) continue;
|
|
2531
2531
|
|
|
2532
2532
|
const item = buildPrDispatch(agentId, config, project, pr, 'fix', {
|
package/package.json
CHANGED