@yemi33/minions 0.1.1652 → 0.1.1653
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/copilot-models.json +1 -1
- package/engine/lifecycle.js +10 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/lifecycle.js
CHANGED
|
@@ -924,6 +924,15 @@ function isPrAttachmentRequired(type, item, meta = {}) {
|
|
|
924
924
|
|| item.requiresPullRequest === true
|
|
925
925
|
|| item.itemType === 'pr';
|
|
926
926
|
if (meta.branchStrategy === 'shared-branch' && item.itemType !== 'pr' && !explicit) return false;
|
|
927
|
+
|
|
928
|
+
// Fix/test work items dispatched against an existing PR don't produce a new
|
|
929
|
+
// PR — the agent updates meta.pr in place. Only require fresh PR attachment
|
|
930
|
+
// when there's NO existing PR to operate on (rare: standalone fix dispatched
|
|
931
|
+
// from CC without a PR target). The meta.pr short-circuit beats the
|
|
932
|
+
// explicit-flag fallthrough so a legacy requiresPr:true fix doesn't trigger
|
|
933
|
+
// the contract when there's already a PR attached.
|
|
934
|
+
if ((type === WORK_TYPE.FIX || type === WORK_TYPE.TEST) && meta?.pr) return false;
|
|
935
|
+
|
|
927
936
|
return explicit
|
|
928
937
|
|| type === WORK_TYPE.IMPLEMENT
|
|
929
938
|
|| type === WORK_TYPE.IMPLEMENT_LARGE
|
|
@@ -2558,4 +2567,5 @@ module.exports = {
|
|
|
2558
2567
|
diagnoseEmptyOutput,
|
|
2559
2568
|
processPendingRebases,
|
|
2560
2569
|
findDependentActivePrs,
|
|
2570
|
+
isPrAttachmentRequired,
|
|
2561
2571
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1653",
|
|
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"
|