@yemi33/minions 0.1.1914 → 0.1.1915

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.
@@ -1 +1,19 @@
1
- []
1
+ [
2
+ {
3
+ "id": "config-poll-key-migration",
4
+ "location": "engine/queries.js:123-162",
5
+ "function": "migrateDeprecatedConfigPollKeysOnce",
6
+ "reason": "One-time boot migration that renames legacy engine config keys (adoPollStatusEvery → prPollStatusEvery, adoPollCommentsEvery → prPollCommentsEvery). Keys were renamed on 2026-04-16; this shim ensures any persisted config.json on a long-lived host gets transparently rewritten on next boot.",
7
+ "targetRemovalDate": "2026-08-09",
8
+ "notes": "Safe to delete on or after 2026-08-09 (3 months after the rename) once we are confident every engine has rebooted at least once and the closure-flagged migration (_configPollKeyMigrationChecked at line 123) is no longer reachable on any persisted config. Removal is one function + the call site in getConfig() at engine/queries.js:165."
9
+ },
10
+ {
11
+ "id": "legacy-done-aliases",
12
+ "location": "engine/cleanup.js:799-894",
13
+ "constants": ["LEGACY_DONE_ALIASES", "LEGACY_NEEDS_REVIEW_STATUS"],
14
+ "reason": "Read-side tolerance: cleanup sweep auto-migrates four obsolete work-item / PRD status strings ('in-pr', 'implemented', 'complete', 'needs-human-review') to the canonical 'done' / 'failed' values. The aliases are no longer written anywhere in the engine; the constants exist only to repair stale on-disk values from old engine versions.",
15
+ "targetRemovalDate": null,
16
+ "notes": "Keep indefinitely until telemetry / a sweep log shows zero migrations performed for 30 consecutive days across all known projects (work-items.json + prd/*.json). At that point the constants and both _migrateLegacyItem branches in engine/cleanup.js (definitions at :799-800; usage at :803-815 for work items and :880-887 for PRD missing_features) can be deleted. Total cost on disk today: 4 strings."
17
+ }
18
+ ]
19
+
package/engine/ado.js CHANGED
@@ -714,7 +714,6 @@ async function pollPrStatus(config) {
714
714
  delete pr._buildStatusStale;
715
715
  delete pr._buildStatusDetail;
716
716
  delete pr.buildFixAttempts;
717
- delete pr.buildFixEscalated;
718
717
  }
719
718
  // Cancel any pending review/fix dispatches — they're stale now that the PR is closed
720
719
  try {
@@ -862,8 +861,6 @@ async function pollPrStatus(config) {
862
861
  updated = true;
863
862
  shared.trackReviewMetric(pr, newReviewStatus, config);
864
863
  if (newReviewStatus === 'approved') {
865
- delete pr._reviewFixCycles;
866
- delete pr._evalEscalated;
867
864
  // Teams notification for PR approval — non-blocking, edge-triggered (only on transition)
868
865
  try {
869
866
  const teams = require('./teams');
@@ -975,7 +972,7 @@ async function pollPrStatus(config) {
975
972
  delete pr.buildErrorLog;
976
973
  delete pr.buildFailureSignature;
977
974
  // Reset build fix retry counter on recovery — allows fresh auto-fix cycles if build breaks again
978
- if (pr.buildFixAttempts) { delete pr.buildFixAttempts; delete pr.buildFixEscalated; }
975
+ if (pr.buildFixAttempts) { delete pr.buildFixAttempts; }
979
976
  }
980
977
  }
981
978
  updated = true;
package/engine/github.js CHANGED
@@ -592,7 +592,6 @@ async function pollPrStatus(config) {
592
592
  delete pr.buildFailureSignature;
593
593
  delete pr._buildFailNotified;
594
594
  delete pr.buildFixAttempts;
595
- delete pr.buildFixEscalated;
596
595
  }
597
596
  // Cancel any pending review/fix dispatches — they're stale now that the PR is closed
598
597
  try {
@@ -647,10 +646,7 @@ async function pollPrStatus(config) {
647
646
  pr.reviewStatus = newReviewStatus;
648
647
  updated = true;
649
648
  shared.trackReviewMetric(pr, newReviewStatus, config);
650
- // Reset review→fix cycle counter on approval (loop succeeded)
651
649
  if (newReviewStatus === 'approved') {
652
- delete pr._reviewFixCycles;
653
- delete pr._evalEscalated;
654
650
  // Teams notification for PR approval — non-blocking, edge-triggered (only on transition)
655
651
  try {
656
652
  const teams = require('./teams');
@@ -717,7 +713,7 @@ async function pollPrStatus(config) {
717
713
  delete pr.buildErrorLog;
718
714
  delete pr.buildFailureSignature;
719
715
  // Reset build fix retry counter on recovery — allows fresh auto-fix cycles if build breaks again
720
- if (pr.buildFixAttempts) { delete pr.buildFixAttempts; delete pr.buildFixEscalated; }
716
+ if (pr.buildFixAttempts) { delete pr.buildFixAttempts; }
721
717
  }
722
718
  }
723
719
  updated = true;
package/engine/shared.js CHANGED
@@ -3611,7 +3611,6 @@ module.exports = {
3611
3611
  flushLogs,
3612
3612
  redactSecrets,
3613
3613
  slugify,
3614
- safeSlugComponent,
3615
3614
  getPrAutomationCauses,
3616
3615
  hasPrAutomationCause,
3617
3616
  markPrAutomationCause,
package/engine.js CHANGED
@@ -3058,7 +3058,6 @@ async function discoverFromPrs(config, project) {
3058
3058
  delete target._buildFailNotified;
3059
3059
  if (target.buildFixAttempts) {
3060
3060
  delete target.buildFixAttempts;
3061
- delete target.buildFixEscalated;
3062
3061
  }
3063
3062
  }
3064
3063
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1914",
3
+ "version": "0.1.1915",
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"