@yemi33/minions 0.1.624 → 0.1.626

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,8 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.624 (2026-04-08)
3
+ ## 0.1.626 (2026-04-08)
4
4
 
5
5
  ### Fixes
6
+ - add test/check steps and stop condition to work-item playbook
7
+
8
+ ## 0.1.625 (2026-04-08)
9
+
10
+ ### Fixes
11
+ - reorder implement-shared playbook — build & test before push
6
12
  - reorder implement playbook — build & test before push
7
13
 
8
14
  ## 0.1.623 (2026-04-08)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.624",
3
+ "version": "0.1.626",
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"
@@ -31,13 +31,7 @@ Check what's already on this branch:
31
31
  git log --oneline {{main_branch}}..HEAD
32
32
  ```
33
33
 
34
- Do ALL work in the worktree. When done:
35
-
36
- ```bash
37
- git add <specific files>
38
- git commit -m "{{commit_message}}"
39
- git push origin {{branch_name}}
40
- ```
34
+ Do ALL work in the worktree.
41
35
 
42
36
  **Do NOT:**
43
37
  - Create a new branch — use `{{branch_name}}`
@@ -60,17 +54,27 @@ Use subagents only for genuinely parallel, independent tasks. For sequential wor
60
54
  3. Follow existing patterns exactly — check `CLAUDE.md` for conventions
61
55
  4. Build on existing work — don't duplicate or conflict with prior commits
62
56
 
63
- ## Build and Verify
57
+ ## Build & Test (MANDATORY before pushing)
64
58
 
65
- After implementation:
66
- 1. Build the project using the repo's build system (check CLAUDE.md, package.json, README)
59
+ After implementation, verify everything works:
60
+
61
+ 1. **Build** the project using its build system (check CLAUDE.md, package.json, README, Makefile)
67
62
  2. Verify the build succeeds with your changes AND all prior commits on this branch
68
- 3. If the build fails:
69
- - Read the error output carefully
70
- - Fix the issue (including issues from prior commits if needed)
71
- - Re-run the build
72
- - If it fails 3 times, report the build errors in your findings and stop
63
+ 3. **Run the full test suite** — fix any regressions you introduced
64
+ 4. **Run any other checks** the repo defines (linting, type checking, formatting)
65
+ 5. If the build fails 3 times, report the errors in your findings and stop
66
+ 6. Do NOT push code with a broken build or failing tests that you introduced
67
+
68
+ ## Push
69
+
70
+ Only after build and tests pass:
71
+
72
+ ```bash
73
+ git add <specific files>
74
+ git commit -m "{{commit_message}}"
75
+ git push origin {{branch_name}}
76
+ ```
73
77
 
74
78
  ## When to Stop
75
79
 
76
- Your task is complete once you have committed and pushed your changes to the shared branch. Do NOT create a PR — the engine creates one when all plan items are done. Stop after pushing.
80
+ Your task is complete once you have: (1) confirmed build and tests pass, and (2) pushed to the shared branch. Do NOT create a PR — the engine creates one when all plan items are done. Stop after pushing.
@@ -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.