@yemi33/minions 0.1.793 → 0.1.794

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,6 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.793 (2026-04-10)
3
+ ## 0.1.794 (2026-04-10)
4
4
 
5
5
  ### Features
6
6
  - add open-source community sources to agentic research pipeline
@@ -8,6 +8,7 @@
8
8
  - cap review→fix cycles at evalMaxIterations (default 3)
9
9
 
10
10
  ### Fixes
11
+ - include PR title in all dispatch labels and escalation alerts
11
12
  - never downgrade reviewStatus from 'approved' unless explicitly rejected
12
13
  - warn on invalid pipeline JSON instead of silently dropping + add test
13
14
  - repair invalid JSON in daily-arch-improvement pipeline
package/engine.js CHANGED
@@ -1582,7 +1582,7 @@ async function discoverFromPrs(config, project) {
1582
1582
  const evalEscalated = evalCycles >= evalMax;
1583
1583
  if (evalEscalated && !pr._evalEscalated) {
1584
1584
  writeInboxAlert(`eval-escalated-${pr.agent || 'unassigned'}-${pr.id}`,
1585
- `# Review Loop Escalation\n\n**PR ${pr.id}** on branch \`${pr.branch || 'unknown'}\` has gone through **${evalCycles}** review→fix cycles without approval.\n\n` +
1585
+ `# Review Loop Escalation\n\n**PR ${pr.id}**: ${pr.title || ''} on branch \`${pr.branch || 'unknown'}\` has gone through **${evalCycles}** review→fix cycles without approval.\n\n` +
1586
1586
  `Last review: ${pr.minionsReview?.note ? pr.minionsReview.note.slice(0, 200) : 'See PR thread'}\n\n` +
1587
1587
  `Auto-dispatch of reviews and fixes has been suspended. Please review the PR manually.`);
1588
1588
  try {
@@ -1643,7 +1643,7 @@ async function discoverFromPrs(config, project) {
1643
1643
  const item = buildPrDispatch(agentId, config, project, pr, 'fix', {
1644
1644
  pr_id: pr.id, pr_branch: pr.branch || '',
1645
1645
  review_note: pr.minionsReview?.note || pr.reviewNote || 'See PR thread comments',
1646
- }, `Fix PR ${pr.id} review feedback`, { dispatchKey: key, source: 'pr', pr, branch: pr.branch, project: projMeta });
1646
+ }, `Fix PR ${pr.id}: ${pr.title || ''} — review feedback`, { dispatchKey: key, source: 'pr', pr, branch: pr.branch, project: projMeta });
1647
1647
  if (item) {
1648
1648
  newWork.push(item); setCooldown(key); fixDispatched = true;
1649
1649
  // Increment review→fix cycle counter
@@ -1682,7 +1682,7 @@ async function discoverFromPrs(config, project) {
1682
1682
  pr_id: pr.id, pr_number: prNumber, pr_title: pr.title || '', pr_branch: pr.branch || '',
1683
1683
  reviewer: 'Human Reviewer',
1684
1684
  review_note: reviewNote,
1685
- }, `Fix PR ${pr.id} — human feedback`, { dispatchKey: key, source: 'pr-human-feedback', pr, branch: pr.branch, project: projMeta });
1685
+ }, `Fix PR ${pr.id}: ${pr.title || ''} — human feedback`, { dispatchKey: key, source: 'pr-human-feedback', pr, branch: pr.branch, project: projMeta });
1686
1686
  if (item) { newWork.push(item); setCooldown(key); fixDispatched = true; }
1687
1687
  }
1688
1688
 
@@ -1701,7 +1701,7 @@ async function discoverFromPrs(config, project) {
1701
1701
  if (!pr.buildFixEscalated) {
1702
1702
  writeInboxAlert(`build-fix-escalated-${pr.agent || 'unassigned'}-${pr.id}`,
1703
1703
  `# Build Fix Escalation\n\n` +
1704
- `**PR ${pr.id}** on branch \`${pr.branch || 'unknown'}\` has failed **${pr.buildFixAttempts}** consecutive auto-fix attempts.\n` +
1704
+ `**PR ${pr.id}**: ${pr.title || ''} on branch \`${pr.branch || 'unknown'}\` has failed **${pr.buildFixAttempts}** consecutive auto-fix attempts.\n` +
1705
1705
  `**Last failure:** ${pr.buildFailReason || 'Check CI pipeline for details'}\n\n` +
1706
1706
  `Auto-fix dispatch has been suspended. Please investigate manually.\n`
1707
1707
  );
@@ -1730,7 +1730,7 @@ async function discoverFromPrs(config, project) {
1730
1730
  const item = buildPrDispatch(agentId, config, project, pr, 'fix', {
1731
1731
  pr_id: pr.id, pr_branch: pr.branch || '',
1732
1732
  review_note: reviewNote,
1733
- }, `Fix build failure on PR ${pr.id}`, { dispatchKey: key, source: 'pr', pr, branch: pr.branch, project: projMeta });
1733
+ }, `Fix build failure on PR ${pr.id}: ${pr.title || ''}`, { dispatchKey: key, source: 'pr', pr, branch: pr.branch, project: projMeta });
1734
1734
  if (item) {
1735
1735
  newWork.push(item); setCooldown(key);
1736
1736
  // Increment build fix attempts counter
@@ -1749,7 +1749,7 @@ async function discoverFromPrs(config, project) {
1749
1749
  // Notify the author agent about the build failure
1750
1750
  if (pr.agent && !pr._buildFailNotified) {
1751
1751
  let alertBody = `# Build Failure Notification\n\n` +
1752
- `**Your PR ${pr.id}** on branch \`${pr.branch || 'unknown'}\` has a failing build.\n` +
1752
+ `**Your PR ${pr.id}**: ${pr.title || ''} on branch \`${pr.branch || 'unknown'}\` has a failing build.\n` +
1753
1753
  `**Reason:** ${pr.buildFailReason || 'Check CI pipeline for details'}\n\n`;
1754
1754
  if (pr.buildErrorLog) {
1755
1755
  // Include first 30 lines of error log in notification (full log in fix agent prompt)
@@ -1780,7 +1780,7 @@ async function discoverFromPrs(config, project) {
1780
1780
  const item = buildPrDispatch(agentId, config, project, pr, 'fix', {
1781
1781
  pr_id: pr.id, pr_branch: pr.branch || '',
1782
1782
  review_note: `This PR has merge conflicts with the target branch. Resolve the conflicts:\n\n1. Pull latest from main/master\n2. Resolve all conflicts (prefer PR branch changes unless main has critical fixes)\n3. Build and test after resolving\n4. Push the resolved branch`,
1783
- }, `Fix merge conflicts on PR ${pr.id}`, { dispatchKey: key, source: 'pr', pr, branch: pr.branch, project: projMeta });
1783
+ }, `Fix merge conflicts on PR ${pr.id}: ${pr.title || ''}`, { dispatchKey: key, source: 'pr', pr, branch: pr.branch, project: projMeta });
1784
1784
  if (item) { newWork.push(item); setCooldown(key); }
1785
1785
  }
1786
1786
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.793",
3
+ "version": "0.1.794",
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"