@yemi33/minions 0.1.1863 → 0.1.1865

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.1865 (2026-05-11)
4
+
5
+ ### Fixes
6
+ - put hard-stop rule at top of shared-rules.md so agents can't miss it
7
+
8
+ ## 0.1.1864 (2026-05-11)
9
+
10
+ ### Fixes
11
+ - apply targeted-only-test rule to fix/implement-shared/docs playbooks
12
+
3
13
  ## 0.1.1863 (2026-05-11)
4
14
 
5
15
  ### Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1863",
3
+ "version": "0.1.1865",
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/docs.md CHANGED
@@ -63,8 +63,7 @@ If the doc describes vapor, delete the section. If real features are missing, ad
63
63
 
64
64
  - Re-read the changed doc end-to-end after editing — does it still flow?
65
65
  - If the project has doc-validation tests (lint, link-check, snippet-execution), run
66
- them. Otherwise run `npm test` (or the project's documented test command) to make
67
- sure nothing else broke.
66
+ them. **Use direct binary invocations** (`node test/<file>.test.js`, `python -m pytest`, etc.) — do NOT use package-manager wrappers (`npm test`, `yarn test`) and do NOT run the full-project suite. See shared-rules.md's CRITICAL RULE on test invocation.
68
67
  - For docs with embedded code samples, mentally execute each sample against current
69
68
  code — stale samples are worse than missing ones.
70
69
 
package/playbooks/fix.md CHANGED
@@ -57,15 +57,17 @@ Handle this like the PR author responding directly from a CLI:
57
57
  - Handle merge conflicts when needed, preserving the PR's intended changes while keeping the branch reviewable.
58
58
  - Do not add unrelated cleanups or broaden the PR beyond the review feedback unless that is necessary to make the fix correct.
59
59
 
60
- ## Validation
60
+ ## Validation — TARGETED ONLY, before publish
61
61
 
62
- Before pushing, prove the review fix did not break the branch:
62
+ Prove the review fix did not break the branch, BUT keep verification narrow:
63
63
 
64
64
  - Use the project's source of truth for commands: `CLAUDE.md`, README, package scripts, Makefile, or equivalent build config.
65
- - Run checks that are relevant to the addressed findings. Prefer the full suite when practical.
66
- - Capture the exact commands run and meaningful results in the PR comment and completion report.
65
+ - **Run only TARGETED tests covering the code you changed.** A single test file or a single test name is enough. Examples: `node test/unit/<my-file>.test.js`, `python -m pytest tests/test_my_module.py::test_my_case`, `cargo test --test my_test`.
66
+ - **Do NOT run the full project test suite (`node test/unit.test.js`, `npm test`, `yarn test`, etc.) as a verification step.** The full-suite run in a long agent session is the primary trigger for the runtime CLI crash documented in shared-rules.md. The engine and PR CI handle full-suite regression detection — your job is to verify the code you wrote works, not to re-prove the entire suite.
67
+ - Use a quick `node --check <file>` (or equivalent) for syntax validation — cheap and never crashes.
68
+ - Capture the exact targeted commands run and the meaningful result in the PR comment and completion report.
67
69
  - Fix regressions you introduced. If failures are pre-existing or unrelated, capture the evidence and include it in the PR comment.
68
- - Do not push code that breaks existing tests or the build because of your changes.
70
+ - Do not push code that breaks existing tests or the build because of your changes; if your targeted check fails, fix it before pushing.
69
71
 
70
72
  Long builds, dependency installs, and tests may be quiet for several minutes. Let the normal CLI command run naturally; do not add artificial heartbeat output or split commands just to show progress.
71
73
 
@@ -62,7 +62,7 @@ Deliver this as if the user asked you directly in a CLI, with the added constrai
62
62
  Before publishing, prove the shared branch still works with your change included:
63
63
 
64
64
  - Use the project's source of truth for commands: `CLAUDE.md`, README, package scripts, Makefile, or equivalent build config.
65
- - Run checks that are relevant to this item and to the integrated branch state. Prefer the full suite when practical.
65
+ - **Run only TARGETED tests covering the code you changed.** Do NOT run the full project test suite (`node test/unit.test.js`, `npm test`, `yarn test`, etc.) as a verification step — the full-suite run in a long agent session deterministically crashes the runtime CLI (see shared-rules.md). Use single test files or test names instead. The engine and PR CI handle full-suite regression detection.
66
66
  - Fix regressions you introduced. If failures are pre-existing or caused by earlier branch work, capture the evidence and say so clearly.
67
67
  - Do not push code with a broken build or failing tests that you introduced.
68
68
 
@@ -1,3 +1,35 @@
1
+ ## ⚠️ HARD STOP — read this first
2
+
3
+ **You will silently crash the runtime CLI (Copilot or Claude Code) on
4
+ Windows if you run a full-project test suite from your shell tool.**
5
+ This is a deterministic native-level fault — no error message, no result
6
+ event, just exit code 1. Your work is lost (worktree wiped) and the WI
7
+ hard-fails. Repro confirmed 2026-05-11 across both runtimes, multiple
8
+ attempts, with full memory dumps.
9
+
10
+ **Forbidden** — never run these as agent shell commands:
11
+
12
+ - `npm test`, `npm run <anything>`, `yarn test`, `yarn <script>`, `pnpm test`, `pnpm <script>`, `npx mocha`, `npx jest`, `npx vitest`
13
+ - `node test/unit.test.js` (this repo's full unit suite)
14
+ - ANY command that invokes the project's "run all tests" path
15
+
16
+ **Allowed** — single-file or single-test invocations:
17
+
18
+ - `node test/unit/<one-file>.test.js`
19
+ - `node node_modules/<runner>/bin/<runner>.js <one-file>`
20
+ - `python -m pytest tests/test_one_file.py`
21
+ - `cargo test --test one_test`
22
+ - `dotnet test path/to/Project.Tests.csproj --filter "FullyQualifiedName~OneTest"`
23
+
24
+ **Rules that follow from this:**
25
+
26
+ 1. Run only targeted tests for the code YOU changed. The engine and PR CI handle full-suite regression detection — that is not your job.
27
+ 2. If your targeted test fails, fix the code and re-run *the targeted test*. Never expand to the full suite as a sanity check.
28
+ 3. Push the branch and open the PR as early as possible — before any final verification you might be tempted to run. If you do crash on a later command, the work survives on the remote and the engine can auto-link.
29
+ 4. This rule overrides any contradictory guidance in playbooks or task descriptions. If a playbook section says "prefer the full suite", that section is outdated — ignore it and use targeted tests.
30
+
31
+ If a project genuinely requires the wrapper (env vars in a hook, etc.), use the closest direct equivalent anyway and note the deviation in your completion block. Verification you don't get because you crashed is worse than verification you skipped deliberately.
32
+
1
33
  ## Operating Principle
2
34
 
3
35
  Treat a Minions assignment like the user typed the same task directly into a capable CLI agent. Optimize for the requested outcome and use the repo's own tools, conventions, and acceptance criteria.