@ai-dossier/worktree-pool 0.7.6-next.575.1 → 0.7.6-next.578.1

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -89,7 +89,7 @@ Claim and return only re-run the warm commands when the project's lockfile chang
89
89
 
90
90
  ## Process cleanup
91
91
 
92
- A dev server, jest run, or vite server started inside a worktree by a verification step does not stop on its own when the worktree it was started in is recycled or removed. Left unaddressed, these outlive the worktree, the branch and the issue that spawned them — a real sweep on hcc found 13 such processes across four merged worktrees, one holding open connections to a shared test database for 10 days.
92
+ A dev server, jest run, or vite server started inside a worktree by a verification step does not stop on its own when the worktree it was started in is recycled or removed. Left unaddressed, these outlive the worktree, the branch and the issue that spawned them — a real sweep on a dev host found 13 such processes across four merged worktrees, one holding open connections to a shared test database for 10 days.
93
93
 
94
94
  - **`return` and `gc` kill first.** Before recycling or removing a worktree, both send SIGTERM to every process whose cwd or command line is rooted under that exact worktree path, wait up to 5 seconds, then SIGKILL anything still alive. The kill is scoped to that one worktree — a sibling worktree sharing the same pool directory is never touched — and the killed pids are printed and included in `return --json`'s `killedProcesses` / `gc`'s `killedProcesses` field.
95
95
  - **`reap` is the sweep for what got away** — a process from a worktree that was removed by something other than this tool, or that is otherwise no longer `assigned`:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-dossier/worktree-pool",
3
- "version": "0.7.6-next.575.1",
3
+ "version": "0.7.6-next.578.1",
4
4
  "description": "Pre-warmed Git worktree pool for agent orchestration: instant, isolated checkouts for coding agents running signed, versioned agent skills in parallel.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",