@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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1677 (2026-05-02)
4
+
5
+ ### Fixes
6
+ - process bot PR comments as actionable
7
+
3
8
  ## 0.1.1676 (2026-05-02)
4
9
 
5
10
  ### Other
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 bots, CI noise, and ignored authors
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);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-02T04:37:01.667Z"
4
+ "cachedAt": "2026-05-02T05:19:51.665Z"
5
5
  }
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 human comments (trigger fix)
565
- // All non-bot, non-CI comments go into context. Only non-agent comments trigger pendingFix.
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 _isBot(c) {
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 humanComments = allComments.filter(c => !_isBot(c));
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 human comments for full context, track new ones for triggering
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 humanComments) {
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.1676",
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"