@yemi33/minions 0.1.725 → 0.1.726

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.726 (2026-04-09)
4
+
5
+ ### Fixes
6
+ - reject JSON/UUID fragments as PR titles, self-heal from platform
7
+
3
8
  ## 0.1.725 (2026-04-09)
4
9
 
5
10
  ### Fixes
package/engine/github.js CHANGED
@@ -229,7 +229,9 @@ async function forEachActiveGhPr(config, callback) {
229
229
  if (pr.title.includes('polling...') || pr.agent === 'human' || pr.description === undefined) {
230
230
  const prData = await ghApi(`/pulls/${prNum}`, slug);
231
231
  if (prData) {
232
- if (pr.title.includes('polling...')) pr.title = (prData.title || pr.title).slice(0, 120);
232
+ if (pr.title.includes('polling...') || /[{}"\[\]]/.test(pr.title) || /^[0-9a-f-]{8,}$/i.test(pr.title)) {
233
+ pr.title = (prData.title || pr.title).slice(0, 120);
234
+ }
233
235
  if (pr.description === undefined) pr.description = (prData.body || '').slice(0, 500);
234
236
  if (pr.agent === 'human' && prData.user?.login) pr.agent = prData.user.login;
235
237
  if (!pr.branch && prData.head?.ref) pr.branch = prData.head.ref;
@@ -657,7 +657,7 @@ function syncPrsFromOutput(output, agentId, meta, config) {
657
657
  let title = meta?.item?.title || '';
658
658
  const titleMatch = output.match(new RegExp(`${prId}[^\\n]*?[—–-]\\s*([^\\n]+)`, 'i'));
659
659
  if (titleMatch) title = titleMatch[1].trim();
660
- if (title.includes('session_id') || title.includes('is_error') || title.includes('uuid') || title.length > 120) {
660
+ if (title.includes('session_id') || title.includes('is_error') || title.includes('uuid') || title.length > 120 || /[{}"\[\]]/.test(title) || /^[0-9a-f-]{8,}$/i.test(title)) {
661
661
  title = meta?.item?.title || '';
662
662
  }
663
663
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.725",
3
+ "version": "0.1.726",
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"