@yemi33/minions 0.1.622 → 0.1.624

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.624 (2026-04-08)
4
+
5
+ ### Fixes
6
+ - reorder implement playbook — build & test before push
7
+
8
+ ## 0.1.623 (2026-04-08)
9
+
10
+ ### Fixes
11
+ - reorder fix playbook — build & test before push, add build step
12
+
3
13
  ## 0.1.622 (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.622",
3
+ "version": "0.1.624",
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/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
 
@@ -47,8 +47,27 @@ Use subagents only for genuinely parallel, independent tasks (e.g., editing file
47
47
  ## Git Workflow
48
48
 
49
49
  You are already running in a git worktree on branch `{{branch_name}}`. Do NOT create additional worktrees — the engine pre-created one for you.
50
+ Do NOT remove the worktree — the engine handles cleanup automatically.
51
+
52
+ ## Build & Test (MANDATORY before pushing)
50
53
 
51
- When done:
54
+ After implementation, verify everything works before pushing:
55
+
56
+ 1. **Build** the project using its build system (check CLAUDE.md, package.json, README, Makefile). If the build fails:
57
+ - Read the error, fix the issue, re-build
58
+ - If it fails 3 times, report the errors in your findings and stop
59
+ 2. **Run the full test suite** using whatever command the project specifies (check CLAUDE.md, agent.md, README, or package.json scripts).
60
+ 3. If any tests fail:
61
+ - Determine if YOUR changes caused the failure
62
+ - Fix any regressions you introduced
63
+ - Re-run tests until all pass
64
+ 4. If tests were already failing before your changes (pre-existing), note them in the PR description but do NOT block on them
65
+ 5. **Run any other checks** the repo defines (linting, type checking, formatting) — read project docs for the full list
66
+ 6. Do NOT push code with failing tests or a broken build that you introduced
67
+
68
+ ## Push & Create PR
69
+
70
+ Only after build and tests pass:
52
71
 
53
72
  ```bash
54
73
  git add <specific files>
@@ -56,36 +75,10 @@ git commit -m "{{commit_message}}"
56
75
  git push -u origin {{branch_name}}
57
76
  ```
58
77
 
59
- Do NOT remove the worktree — the engine handles cleanup automatically.
60
-
61
78
  {{pr_section}}
62
79
 
63
- ## Build and Demo Rule
64
-
65
- After implementation:
66
- 1. Build the project using the repo's build system (check CLAUDE.md, package.json, README)
67
- 2. Start if applicable
68
- 3. Include the browser URL and run instructions in the PR description
69
-
70
- After building, verify the build succeeded. If the build fails:
71
- 1. Read the error output carefully
72
- 2. Fix the issue
73
- 3. Re-run the build
74
- 4. If it fails 3 times, report the build errors in your findings file and stop
75
-
76
- ## Test Validation (MANDATORY before PR)
77
-
78
- Before creating a PR, run the project's test suite and ensure all existing tests pass:
79
-
80
- 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.
81
- 2. Run the full test suite using whatever command the project specifies
82
- 3. If any tests fail:
83
- - Determine if YOUR changes caused the failure (compare with the failing test's assertions)
84
- - Fix any regressions you introduced
85
- - Re-run tests until all pass
86
- 4. If tests were already failing before your changes (pre-existing failures), note them in the PR description but do NOT block on them
87
- 5. Do NOT create a PR with failing tests that you introduced
80
+ Include build/test status and run instructions in the PR description. If the project has a runnable app, include the localhost URL.
88
81
 
89
82
  ## When to Stop
90
83
 
91
- Your task is complete once you have: (1) pushed your branch, (2) created the PR, and (3) confirmed the build and tests pass. Do NOT continue exploring, refactoring, or adding features beyond the task description. Stop immediately.
84
+ 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 exploring, refactoring, or adding features beyond the task description. Stop immediately.