@yemi33/minions 0.1.1790 → 0.1.1791

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.1791 (2026-05-08)
4
+
5
+ ### Features
6
+ - isolate pipeline read-only worktrees (#2204)
7
+
3
8
  ## 0.1.1790 (2026-05-08)
4
9
 
5
10
  ### Fixes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-08T07:51:34.436Z"
4
+ "cachedAt": "2026-05-08T08:36:09.130Z"
5
5
  }
package/engine.js CHANGED
@@ -102,6 +102,11 @@ const mutatePullRequests = shared.mutatePullRequests;
102
102
  const withFileLock = shared.withFileLock;
103
103
 
104
104
  const CHECKPOINT_CAP_FAIL_REASON = 'Exceeded 3 checkpoint-resumes; manual intervention required';
105
+ const READ_ONLY_ROOT_TASK_TYPES = new Set(['meeting', 'ask', 'explore', 'plan-to-prd', 'plan']);
106
+
107
+ function isPipelineBranchName(branchName) {
108
+ return typeof branchName === 'string' && branchName.startsWith('pipeline/');
109
+ }
105
110
 
106
111
  // ─── Dispatch Management (extracted to engine/dispatch.js) ───────────────────
107
112
 
@@ -631,7 +636,7 @@ async function spawnAgent(dispatchItem, config) {
631
636
  // (orphan/timeout retry before first push) would otherwise emit a
632
637
  // "couldn't find remote ref" warn pair on every reuse.
633
638
  await syncReusedWorktree(rootDir, existingWt, branchName, _gitOpts);
634
- } else if (['meeting', 'ask', 'explore', 'plan-to-prd', 'plan'].includes(type)) {
639
+ } else if (READ_ONLY_ROOT_TASK_TYPES.has(type) && !isPipelineBranchName(branchName)) {
635
640
  // Read-only tasks — no worktree needed, run in rootDir
636
641
  log('info', `${type}: read-only task, no worktree needed — running in rootDir`);
637
642
  branchName = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1790",
3
+ "version": "0.1.1791",
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"