@yemi33/minions 0.1.1669 → 0.1.1670

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,8 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.1669 (2026-05-02)
3
+ ## 0.1.1670 (2026-05-02)
4
4
 
5
5
  ### Features
6
+ - make ADO PR titles authoritative (#1965)
6
7
  - gate pendingFix clear (#1964)
7
8
 
8
9
  ## 0.1.1668 (2026-05-01)
package/engine/ado.js CHANGED
@@ -138,16 +138,7 @@ function clearBuildStatusStale(pr) {
138
138
  if (pr._buildStatusDetail) delete pr._buildStatusDetail;
139
139
  }
140
140
 
141
- function isPlaceholderPrTitle(title, prNum) {
142
- const text = String(title || '').trim();
143
- if (!text) return true;
144
- if (/\bpolling\.\.\./i.test(text)) return true;
145
- if (String(prNum || '') && (text === `PR #${prNum}` || text === `PR-${prNum}`)) return true;
146
- if (/[{}"\[\]]/.test(text)) return true;
147
- return /^[0-9a-f-]{8,}$/i.test(text);
148
- }
149
-
150
- function applyAdoPrMetadata(pr, prData, prNum) {
141
+ function applyAdoPrMetadata(pr, prData) {
151
142
  if (!pr || !prData) return false;
152
143
  let updated = false;
153
144
 
@@ -160,8 +151,9 @@ function applyAdoPrMetadata(pr, prData, prNum) {
160
151
  }
161
152
 
162
153
  const title = String(prData.title || '').trim();
163
- if (title && isPlaceholderPrTitle(pr.title, prNum) && pr.title !== title.slice(0, 120)) {
164
- pr.title = title.slice(0, 120);
154
+ const storedTitle = title.slice(0, 120);
155
+ if (storedTitle && pr.title !== storedTitle) {
156
+ pr.title = storedTitle;
165
157
  updated = true;
166
158
  }
167
159
 
@@ -496,7 +488,7 @@ async function pollPrStatus(config) {
496
488
 
497
489
  const prData = await adoFetch(`${repoBase}?api-version=7.1`, token);
498
490
 
499
- if (applyAdoPrMetadata(pr, prData, prNum)) updated = true;
491
+ if (applyAdoPrMetadata(pr, prData)) updated = true;
500
492
 
501
493
  let newStatus = pr.status;
502
494
  if (prData.status === 'completed') newStatus = PR_STATUS.MERGED;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-02T00:02:47.106Z"
4
+ "cachedAt": "2026-05-02T00:03:38.474Z"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1669",
3
+ "version": "0.1.1670",
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"