@yemi33/minions 0.1.625 → 0.1.627

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.627 (2026-04-08)
4
+
5
+ ### Fixes
6
+ - ccAbort clears queue to prevent queued messages firing after stop
7
+ - add test/check steps and stop condition to work-item playbook
8
+
3
9
  ## 0.1.625 (2026-04-08)
4
10
 
5
11
  ### Fixes
@@ -31,6 +31,9 @@ function ccAbort() {
31
31
  _ccAbortController.abort();
32
32
  _ccAbortController = null;
33
33
  }
34
+ // Clear queue so aborted send doesn't drain queued messages
35
+ _ccQueue = [];
36
+ _renderQueueIndicator();
34
37
  }
35
38
 
36
39
  function toggleCommandCenter() {
@@ -158,9 +161,10 @@ async function ccSend() {
158
161
  await _ccDoSend(message);
159
162
 
160
163
  // Drain queue — show each as a fresh user message + process
164
+ // Queue is cleared by ccAbort() if user stops mid-stream
161
165
  while (_ccQueue.length > 0) {
162
166
  const next = _ccQueue.shift();
163
- _renderQueueIndicator(); // update or remove indicator
167
+ _renderQueueIndicator();
164
168
  await _ccDoSend(next);
165
169
  }
166
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.625",
3
+ "version": "0.1.627",
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"
@@ -26,39 +26,35 @@ Keep branch names lowercase, use hyphens, max 60 chars.
26
26
  2. **Navigate** to the correct project directory: `{{project_path}}`
27
27
  3. You are already in a worktree on branch `{{branch_name}}`. Do NOT create additional worktrees.
28
28
  4. **Implement** the changes
29
- 5. **Build and verify** — ensure the build passes. If it fails, fix and retry (up to 3 times)
30
- 6. **Commit and push**:
29
+ 5. **Build** — using the repo's build system (check CLAUDE.md, package.json, README, Makefile). If it fails, fix and retry (up to 3 times).
30
+ 6. **Run the full test suite** — find the test command from project docs. Fix any regressions you introduced. Do NOT push with failing tests.
31
+ 7. **Run any other checks** the repo defines (linting, type checking, formatting)
32
+ 8. **Commit and push** (only after build and tests pass):
31
33
  ```bash
32
34
  git add <specific files>
33
35
  git commit -m "feat({{item_id}}): <description>"
34
36
  git push -u origin {{branch_name}}
35
37
  ```
36
- 7. **Create a PR:**
38
+ 9. **Create a PR:**
37
39
  {{pr_create_instructions}}
38
40
  - sourceRefName: `refs/heads/feat/{{item_id}}-<short-desc>`
39
41
  - targetRefName: `refs/heads/{{main_branch}}`
40
42
  - title: `feat({{item_id}}): <description>`
41
- 8. **Post implementation notes** as a PR thread comment:
42
- {{pr_comment_instructions}}
43
- 9. **Add PR to tracker** — append to `{{team_root}}/projects/{{project_name}}/pull-requests.json`:
44
- ```json
45
- { "id": "PR-<number>", "title": "...", "agent": "{{agent_name}}", "branch": "...", "reviewStatus": "pending", "status": "active", "created": "<date>", "url": "<pr-url>", "prdItems": ["{{item_id}}"] }
46
- ```
47
- 10. Do NOT remove the worktree — the engine handles cleanup automatically.
43
+ 10. **Post implementation notes** as a PR thread comment:
44
+ {{pr_comment_instructions}}
45
+
46
+ Do NOT remove the worktree — the engine handles cleanup automatically.
48
47
 
49
48
  ## After Completion
50
49
 
51
50
  Write your findings to: `{{team_root}}/notes/inbox/{{agent_id}}-{{item_id}}-{{date}}.md`
52
51
 
53
-
54
- ## Rules
55
- - Do not checkout branches in the main working tree — use worktrees
56
- - Use the repo host's MCP tools for PR creation — check available MCP tools before starting
57
- - Use PowerShell for build commands on Windows if applicable
58
- - If you discover a repeatable workflow, output it as a ```skill block (the engine auto-extracts it to ~/.claude/skills/)
59
-
60
52
  ## Handling Merge Conflicts
61
53
  If you encounter merge conflicts during push or PR creation:
62
54
  1. Resolve conflicts in the worktree, preferring your changes
63
55
  2. Commit the resolution
64
56
  3. Push again
57
+
58
+ ## When to Stop
59
+
60
+ Your task is complete once you have: (1) confirmed build and tests pass, (2) pushed your branch, and (3) created the PR. Do NOT continue beyond the task description. Stop immediately.