@yemi33/minions 0.1.2199 → 0.1.2200

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.
@@ -101,10 +101,8 @@ function _readDispatchJsonFallback() {
101
101
  // Surface to logs the same way the legacy queries.getDispatch path
102
102
  // did via shared.readJsonNoRestore. (Phase 1 contract test
103
103
  // "getDispatch warns on corrupt dispatch.json".)
104
- try {
105
- // eslint-disable-next-line no-console
106
- console.warn(`[dispatch-store] corrupt JSON in ${dispatchPath}: ${e.message}`);
107
- } catch { /* console may be wrapped in tests */ }
104
+ // eslint-disable-next-line no-console
105
+ console.warn(`[dispatch-store] corrupt JSON in ${dispatchPath}: ${e.message}`);
108
106
  return _emptySectioned();
109
107
  }
110
108
  }
package/engine/shared.js CHANGED
@@ -2530,7 +2530,6 @@ const ENGINE_DEFAULTS = {
2530
2530
  assertCleanStatusTimeoutMs: 10000,
2531
2531
  workItemCreateDedupWindowMs: 15 * 60 * 1000, // 15min — collapse duplicate CC/API create races
2532
2532
  idleAlertMinutes: 15,
2533
- fanOutTimeout: null, // falls back to agentTimeout
2534
2533
  restartGracePeriod: 1200000, // 20min
2535
2534
  shutdownTimeout: 300000, // 5min — max wait for active agents during graceful shutdown
2536
2535
  allowTempAgents: false, // opt-in: spawn ephemeral agents when all permanent agents are busy
package/engine.js CHANGED
@@ -6026,6 +6026,8 @@ async function discoverFromPrs(config, project) {
6026
6026
  const autoFixPaused = config.engine?.autoFixPaused === true;
6027
6027
  const autoFixReviewFeedback = !autoFixPaused && (config.engine?.autoFixReviewFeedback ?? ENGINE_DEFAULTS.autoFixReviewFeedback);
6028
6028
  const autoFixHumanComments = !autoFixPaused && (config.engine?.autoFixHumanComments ?? ENGINE_DEFAULTS.autoFixHumanComments);
6029
+ const autoFixBuilds = !autoFixPaused && (config.engine?.autoFixBuilds ?? ENGINE_DEFAULTS.autoFixBuilds);
6030
+ const autoFixConflicts = !autoFixPaused && (config.engine?.autoFixConflicts ?? ENGINE_DEFAULTS.autoFixConflicts);
6029
6031
 
6030
6032
  // Collect active PR dispatches to prevent simultaneous review+fix on same PR
6031
6033
  const dispatch = getDispatch();
@@ -6407,7 +6409,6 @@ async function discoverFromPrs(config, project) {
6407
6409
  const gracePeriodMs = config.engine?.buildFixGracePeriod ?? ENGINE_DEFAULTS.buildFixGracePeriod;
6408
6410
  if (Date.now() - new Date(pr._buildFixPushedAt).getTime() < gracePeriodMs) continue;
6409
6411
  }
6410
- const autoFixBuilds = !autoFixPaused && (config.engine?.autoFixBuilds ?? ENGINE_DEFAULTS.autoFixBuilds);
6411
6412
  if (pollEnabled && autoFixBuilds && pr.status === PR_STATUS.ACTIVE && pr.buildStatus === 'failing'
6412
6413
  && !fixDispatched
6413
6414
  && !isPrNoOpFixCauseSuppressed(pr, shared.PR_FIX_CAUSE.BUILD_FAILURE)) {
@@ -6568,7 +6569,6 @@ async function discoverFromPrs(config, project) {
6568
6569
  }
6569
6570
 
6570
6571
  // PRs with merge conflicts — dispatch fix to resolve (gated by provider polling + autoFixConflicts)
6571
- const autoFixConflicts = !autoFixPaused && (config.engine?.autoFixConflicts ?? ENGINE_DEFAULTS.autoFixConflicts);
6572
6572
  if (pollEnabled && autoFixConflicts && pr.status === PR_STATUS.ACTIVE && pr._mergeConflict && !fixDispatched
6573
6573
  && !isPrNoOpFixCauseSuppressed(pr, shared.PR_FIX_CAUSE.MERGE_CONFLICT)) {
6574
6574
  // W-mpritzcr0004afc5 (#2955): "don't fan out a parallel conflict-fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.2199",
3
+ "version": "0.1.2200",
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"