@yemi33/minions 0.1.702 → 0.1.703

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.703 (2026-04-09)
4
+
5
+ ### Other
6
+ - refactor: move buildFixGracePeriod to ENGINE_DEFAULTS (no magic numbers)
7
+
3
8
  ## 0.1.702 (2026-04-09)
4
9
 
5
10
  ### Fixes
package/engine/shared.js CHANGED
@@ -544,6 +544,7 @@ const ENGINE_DEFAULTS = {
544
544
  lockRetries: 2, // retry lock acquisition this many times after initial timeout (total attempts = 1 + lockRetries)
545
545
  lockRetryBackoffMs: 500, // base backoff between lock retries (doubles each attempt: 500ms, 1s, 2s, ...)
546
546
  maxBuildFixAttempts: 3, // max consecutive auto-fix dispatch cycles per PR before escalation to human
547
+ buildFixGracePeriod: 600000, // 10min — wait for CI to run after build fix before re-dispatching
547
548
  ccModel: 'sonnet', // model for Command Center and doc-chat (sonnet, haiku, opus)
548
549
  ccEffort: null, // effort level for CC/doc-chat (null, 'low', 'medium', 'high')
549
550
  };
package/engine.js CHANGED
@@ -1604,7 +1604,7 @@ async function discoverFromPrs(config, project) {
1604
1604
  // Grace period: after a build fix push, wait for CI to run before re-dispatching
1605
1605
  // Skip if build hasn't transitioned since last fix (still showing the old failure)
1606
1606
  if (pr._buildFixPushedAt && pr.buildStatus === 'failing') {
1607
- const gracePeriodMs = config.engine?.buildFixGracePeriod ?? 600000; // 10 min default
1607
+ const gracePeriodMs = config.engine?.buildFixGracePeriod ?? ENGINE_DEFAULTS.buildFixGracePeriod;
1608
1608
  if (Date.now() - new Date(pr._buildFixPushedAt).getTime() < gracePeriodMs) continue;
1609
1609
  }
1610
1610
  if (pr.status === PR_STATUS.ACTIVE && pr.buildStatus === 'failing') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.702",
3
+ "version": "0.1.703",
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"