@yemi33/minions 0.1.1676 → 0.1.1677
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/ado.js +1 -2
- package/engine/copilot-models.json +1 -1
- package/engine/github.js +6 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/engine/ado.js
CHANGED
|
@@ -795,10 +795,9 @@ async function pollPrHumanComments(config) {
|
|
|
795
795
|
for (const comment of (thread.comments || [])) {
|
|
796
796
|
if (!comment.content || comment.commentType === 'system') continue;
|
|
797
797
|
const content = comment.content;
|
|
798
|
-
// Skip
|
|
798
|
+
// Skip explicitly ignored authors and CI-report bodies, but do not ignore bot authors by default.
|
|
799
799
|
const authorName = (comment.author?.displayName || '').toLowerCase();
|
|
800
800
|
if (ignoredAuthors.some(a => authorName.includes(a))) continue;
|
|
801
|
-
if (/\b(bot|service|build|pipeline|codecov|sonar)\b/i.test(authorName)) continue;
|
|
802
801
|
if (/^#{1,3}\s*(Coverage|Build|Test|Deploy|Pipeline)\s*(Report|Status|Result|Summary)/i.test(content)) continue;
|
|
803
802
|
// Detect agent comments (included in context, but don't trigger fix)
|
|
804
803
|
const isAgent = /\bMinions\s*\(/i.test(content) || /\bby\s+Minions\b/i.test(content) || /\[minions\]/i.test(content);
|
package/engine/github.js
CHANGED
|
@@ -561,14 +561,12 @@ async function pollPrHumanComments(config) {
|
|
|
561
561
|
...(Array.isArray(reviewComments) ? reviewComments : []).map(c => ({ ...c, _type: 'review' }))
|
|
562
562
|
];
|
|
563
563
|
|
|
564
|
-
// Separate: agent comments (included in context, don't trigger fix) vs
|
|
565
|
-
//
|
|
564
|
+
// Separate: agent comments (included in context, don't trigger fix) vs actionable comments (trigger fix).
|
|
565
|
+
// Bot-authored comments are actionable unless explicitly ignored or clearly CI report noise.
|
|
566
566
|
const ignoredAuthors = new Set((config.engine?.ignoredCommentAuthors || []).map(a => a.toLowerCase()));
|
|
567
|
-
function
|
|
568
|
-
if (c.user?.type === 'Bot') return true;
|
|
567
|
+
function _isIgnoredComment(c) {
|
|
569
568
|
const login = (c.user?.login || '').toLowerCase();
|
|
570
569
|
if (ignoredAuthors.has(login)) return true;
|
|
571
|
-
if (/\b(bot|codecov|sonar|dependabot|renovate|github-actions|azure-pipelines)\b/i.test(login)) return true;
|
|
572
570
|
const body = c.body || '';
|
|
573
571
|
if (/^#{1,3}\s*(Coverage|Build|Test|Deploy|Pipeline)\s*(Report|Status|Result|Summary)/i.test(body)) return true;
|
|
574
572
|
if (/!\[.*\]\(https?:\/\/.*badge/i.test(body)) return true;
|
|
@@ -581,16 +579,16 @@ async function pollPrHumanComments(config) {
|
|
|
581
579
|
if (/\[minions\]/i.test(body)) return true;
|
|
582
580
|
return false;
|
|
583
581
|
}
|
|
584
|
-
const
|
|
582
|
+
const actionableComments = allComments.filter(c => !_isIgnoredComment(c));
|
|
585
583
|
|
|
586
584
|
const cutoffStr = pr.humanFeedback?.lastProcessedCommentDate || pr.created || '1970-01-01';
|
|
587
585
|
const cutoffMs = new Date(cutoffStr).getTime() || 0;
|
|
588
586
|
|
|
589
|
-
// Collect ALL
|
|
587
|
+
// Collect ALL actionable comments for full context, track new ones for triggering
|
|
590
588
|
const allCommentEntries = [];
|
|
591
589
|
const newComments = [];
|
|
592
590
|
|
|
593
|
-
for (const c of
|
|
591
|
+
for (const c of actionableComments) {
|
|
594
592
|
const date = c.created_at || c.updated_at || '';
|
|
595
593
|
const isAgent = _isAgentComment(c);
|
|
596
594
|
const entry = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1677",
|
|
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"
|