@yemi33/minions 0.1.1806 → 0.1.1807

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1807 (2026-05-08)
4
+
5
+ ### Other
6
+ - docs: clarify detached process handoff
7
+
3
8
  ## 0.1.1806 (2026-05-08)
4
9
 
5
10
  ### Fixes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "runtime": "copilot",
3
3
  "models": null,
4
- "cachedAt": "2026-05-08T18:43:02.635Z"
4
+ "cachedAt": "2026-05-08T19:31:14.792Z"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1806",
3
+ "version": "0.1.1807",
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"
@@ -25,7 +25,7 @@ Work from the current checkout prepared by the engine. Read the repo's own instr
25
25
 
26
26
  If build or tests fail, report the relevant errors clearly and stop. Do not fix code, push commits, or create PRs from this task.
27
27
 
28
- If a server/app should be run for review, include the URL and a copy-pasteable run command with absolute paths. If the server must survive after the agent exits, start it detached and record the PID, restart command, and stop command; otherwise just provide the command for the user.
28
+ If a server/app should be run for review, include the URL and a copy-pasteable run command with absolute paths. If the server must survive after the agent exits, follow the shared detached-process handoff rules: start it detached with stdio redirected to durable logs, smoke-check it, and record the PID/process identifier, log path, restart command, and stop command; otherwise just provide the command for the user.
29
29
 
30
30
  ## Findings
31
31
 
@@ -35,7 +35,7 @@ Include:
35
35
  - Branch, author, and project
36
36
  - Build status and important warnings/errors
37
37
  - Test status and failed test names if any
38
- - Local server status, URL, run command, PID, restart command, and stop command if applicable
38
+ - Local server status, URL, run command, PID/process identifier, log path, restart command, and stop command if applicable
39
39
  - A short summary of whether the PR is ready to review
40
40
 
41
41
  ## Constraints
@@ -78,6 +78,13 @@ Use `status: "failed"` plus an accurate `failure_class`, `retryable`, and `needs
78
78
 
79
79
  Builds, dependency installs, tests, and local servers can be quiet for long periods. Run the repo's normal CLI commands and let them finish; do not add artificial progress output, heartbeat loops, or command-specific workarounds just to keep Minions active.
80
80
 
81
+ For finite commands, keep them in the foreground and wait for completion. For persistent dev servers, emulators, file watchers, or other apps that must keep running after you exit, start them as an explicit detached handoff instead of an attached tool command:
82
+ - Detach from the agent shell/session and redirect stdin/stdout/stderr to durable log files. Do not leave a background job inheriting the agent's stdio.
83
+ - Use the OS-native detached process mechanism for the current platform, such as PowerShell `Start-Process -PassThru` on Windows or a POSIX `nohup`/`setsid` launch with `</dev/null` and `>log 2>&1 & echo $!` on macOS/Linux.
84
+ - Capture the PID/process identifier, log path, URL or health-check target, restart command, and stop command with absolute paths.
85
+ - Smoke-check that the URL/emulator/app is responsive before reporting success.
86
+ - State clearly that the detached process is intentionally managed outside the agent/engine lifecycle and must be stopped with the recorded stop command.
87
+
81
88
  ## Done = pushed + local validation. Do NOT wait for remote pipelines.
82
89
 
83
90
  Your dispatch is **done** the moment (1) your fix is pushed to the branch and (2) any local validation you ran has finished. Write the completion JSON and exit immediately. **Do not** wait for the remote PR pipeline (Android OCM PR build, Espresso CloudTest, GitHub Actions, etc.) to finish before declaring done.
@@ -41,7 +41,9 @@ List anything that requires human judgment:
41
41
  ## Manual Testing Guide
42
42
 
43
43
  **How to run:** (server URL, emulator command, APK path, or N/A)
44
+ **Detached PID / Log:** (PID and durable log path, or N/A)
44
45
  **Restart Command:** `cd <absolute-worktree-path> && <command>` (if applicable)
46
+ **Stop Command:** (exact command to stop a detached process, or N/A)
45
47
 
46
48
  ### <Feature Name> (Plan Item ID)
47
49
  **What changed:** brief description
package/playbooks/test.md CHANGED
@@ -31,18 +31,20 @@ If the task asks you to add or modify files, commit those focused changes, push
31
31
 
32
32
  If a build or test fails, report the error clearly instead of fixing it unless the task explicitly asks for a fix.
33
33
 
34
- If the task involves a local server or app, report the URL and a ready-to-paste run command with absolute paths:
34
+ If the task involves a local server or app that does not need to stay running after you exit, report the URL and a ready-to-paste run command with absolute paths:
35
35
 
36
36
  ```text
37
37
  ## Run Command
38
38
  cd <absolute-path-to-project-or-worktree> && <exact command to start the server>
39
39
  ```
40
40
 
41
+ If the server/app/emulator must stay running after you exit, follow the shared detached-process handoff rules: start it detached with stdio redirected to durable logs, smoke-check it, and report the PID/process identifier, log path, URL, restart command, and stop command.
42
+
41
43
  ## Findings
42
44
 
43
45
  Write findings to `{{team_root}}/notes/inbox/{{agent_id}}-{{item_id}}-{{date}}.md` only after successful completion.
44
46
 
45
- Include build status, test results, errors or warnings, run command, localhost URL if applicable, and PR URL if file changes were made.
47
+ Include build status, test results, errors or warnings, run command, localhost URL if applicable, detached PID/log/restart/stop details if applicable, and PR URL if file changes were made.
46
48
 
47
49
  ## Constraints
48
50
 
@@ -25,7 +25,7 @@ Use the setup information in the plan details to create or enter the aggregate w
25
25
 
26
26
  For each relevant worktree, follow the repo's own instructions (`CLAUDE.md`, README, package files, Makefiles, project scripts), install/restore dependencies as needed, build, and run tests where they exist. If a project fails, report the error and continue verifying the rest; do not turn this into an implementation/fix task.
27
27
 
28
- If there is a user-facing app, identify the normal command and URL. If the app needs to keep running after the agent exits, start it detached in the worktree, save the PID, verify the URL responds, and include restart/stop commands with absolute paths.
28
+ If there is a user-facing app, identify the normal command and URL. If the app needs to keep running after the agent exits, follow the shared detached-process handoff rules: start it detached in the worktree with stdio redirected to durable logs, save the PID/process identifier and log path, verify the URL responds, and include restart/stop commands with absolute paths.
29
29
 
30
30
  ## Testing Guide
31
31