@yemi33/minions 0.1.621 → 0.1.623

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.623 (2026-04-08)
4
+
5
+ ### Fixes
6
+ - reorder fix playbook — build & test before push, add build step
7
+
8
+ ## 0.1.622 (2026-04-08)
9
+
10
+ ### Fixes
11
+ - add 'When to Stop' to all playbooks missing explicit stop conditions
12
+
3
13
  ## 0.1.621 (2026-04-08)
4
14
 
5
15
  ### Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.621",
3
+ "version": "0.1.623",
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"
package/playbooks/ask.md CHANGED
@@ -38,11 +38,13 @@ Keep it concise but complete. Write for a senior engineer who wants the real ans
38
38
 
39
39
  ### 4. Status
40
40
 
41
+ ## When to Stop
42
+
43
+ Your task is complete once you have written your answer to the inbox file. Do NOT modify code, create PRs, or continue exploring beyond the question. Stop after writing.
44
+
41
45
  ## Rules
42
46
  - Do NOT modify any code unless the question explicitly asks you to.
43
47
  - Do NOT create PRs or branches — this is a read-only task.
44
- - Do NOT checkout branches in the main working tree.
45
- - Read `notes.md` for all team rules before starting.
46
48
 
47
49
  ## Team Decisions
48
50
  {{notes_content}}
@@ -62,3 +62,7 @@ Keep the total number of sub-items between 2 and 5. If the task genuinely cannot
62
62
  {{pr_create_instructions}}
63
63
 
64
64
  {{pr_comment_instructions}}
65
+
66
+ ## When to Stop
67
+
68
+ Your task is complete once you have output the JSON decomposition block. The engine parses it from your output. Do NOT begin implementing the sub-items. Stop after outputting the JSON.
package/playbooks/fix.md CHANGED
@@ -31,36 +31,38 @@ Use subagents only for genuinely parallel, independent tasks. For sequential wor
31
31
 
32
32
  2. Fix each issue listed above
33
33
 
34
- 3. Commit and push:
35
- ```bash
36
- git add <specific files>
37
- git commit -m "fix: address review feedback on {{pr_id}}"
38
- git push
39
- ```
34
+ 3. Handle merge conflicts if any:
35
+ - If `git pull` or the PR shows conflicts, resolve them in the worktree
36
+ - Prefer the PR branch changes, commit the resolution
40
37
 
41
- Do NOT remove the worktree the engine handles cleanup automatically.
38
+ ## Build & Test (MANDATORY before pushing)
42
39
 
43
- ## Handling Merge Conflicts
44
- If you encounter merge conflicts (e.g., during `git pull` or when the PR shows conflicts):
45
- 1. Resolve conflicts in the worktree, preferring the PR branch changes. Commit the resolution.
40
+ Before pushing, verify the fix doesn't break anything:
46
41
 
47
- ## Post Response on PR
42
+ 1. **Build** the project using its build system (check CLAUDE.md, README, package.json, Makefile). If the build fails, fix it before proceeding.
43
+ 2. **Run the full test suite** using whatever command the project specifies (check CLAUDE.md, agent.md, README, or package.json scripts).
44
+ 3. If any tests fail due to your changes, fix them before pushing.
45
+ 4. If the build fails 3 times, report the errors in your PR comment and stop.
46
+ 5. Do NOT push code that breaks existing tests or the build.
48
47
 
49
- {{pr_comment_instructions}}
50
- - pullRequestId: `{{pr_number}}`
51
- - content: Explain what was fixed, reference each review finding
52
- - Sign: `Fixed by Minions ({{agent_name}} — {{agent_role}})`
48
+ ## Push & Comment on PR
53
49
 
54
- ## Test Validation (MANDATORY before pushing)
50
+ Only after build and tests pass:
55
51
 
56
- Before pushing your fix, run the project's test suite:
52
+ ```bash
53
+ git add <specific files>
54
+ git commit -m "fix: address review feedback on {{pr_id}}"
55
+ git push
56
+ ```
57
57
 
58
- 1. Find the test command by reading the project's own documentation check CLAUDE.md, agent.md, README, or package.json scripts in the project root. Every project defines its own conventions.
59
- 2. Run the full test suite using whatever command the project specifies
60
- 3. If any tests fail due to your changes, fix them before pushing
61
- 4. Do NOT push code that breaks existing tests
58
+ Do NOT remove the worktree — the engine handles cleanup automatically.
59
+
60
+ {{pr_comment_instructions}}
61
+ - pullRequestId: `{{pr_number}}`
62
+ - content: Explain what was fixed, reference each review finding, include build/test status
63
+ - Sign: `Fixed by Minions ({{agent_name}} — {{agent_role}})`
62
64
 
63
65
  ## When to Stop
64
66
 
65
- Your task is complete once you have: (1) pushed the fix, (2) created or updated the PR, and (3) confirmed tests pass. Do NOT continue exploring unrelated code or making additional improvements. Stop immediately after the fix is verified.
67
+ Your task is complete once you have: (1) confirmed build and tests pass, (2) pushed the fix, and (3) commented on the PR. Do NOT continue exploring unrelated code or making additional improvements. Stop immediately.
66
68
 
@@ -71,5 +71,6 @@ After implementation:
71
71
  - Re-run the build
72
72
  - If it fails 3 times, report the build errors in your findings and stop
73
73
 
74
- ## Signal Completion
74
+ ## When to Stop
75
75
 
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.
@@ -100,5 +100,6 @@ Rules for items:
100
100
  - For `shared-branch`: agents commit to a single branch — one PR is created automatically when all items are done
101
101
  - For `parallel`: each agent creates its own branch and PR
102
102
 
103
- ## Signal Completion
103
+ ## When to Stop
104
104
 
105
+ Your task is complete once you have written the PRD JSON file to `{{team_root}}/prd/{{prd_filename}}`. The engine will detect the file and begin dispatching work. Do NOT create branches, PRs, or modify project code. Stop after writing the JSON file.
package/playbooks/plan.md CHANGED
@@ -91,8 +91,9 @@ High-level design decisions and rationale.
91
91
  - The engine will automatically chain this plan into a PRD conversion step
92
92
  - Focus on being thorough but actionable — the PRD agent needs clear items to convert
93
93
 
94
- ## Signal Completion
94
+ ## When to Stop
95
95
 
96
+ Your task is complete once you have written the plan file to `{{team_root}}/plans/{{plan_file}}`. Do NOT begin implementation. Stop after writing the plan.
96
97
 
97
98
  ## Team Notes
98
99
  {{notes_content}}
package/playbooks/test.md CHANGED
@@ -64,4 +64,8 @@ Include:
64
64
  - Localhost URL if applicable
65
65
 
66
66
 
67
+ ## When to Stop
68
+
69
+ Your task is complete once you have run the tests, written findings to the inbox file, and (if applicable) created a PR with new tests. Stop after writing findings.
70
+
67
71
  Do NOT remove worktrees — the engine handles cleanup automatically.