@jakobm/peacekeeper 0.24.0 → 0.25.0

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/README.md CHANGED
@@ -394,9 +394,11 @@ Platform-specific `setup.linux.script`, `setup.macos.script`, and
394
394
  `setup.windows.script` overrides, when present, must start with the same prefix.
395
395
  The setup requires Bash and curl, activates or installs Volta, logs tool versions,
396
396
  and runs `npm ci` using the package.json pins. It then runs
397
- `peacekeeper initialize-codex-worktree --sync-primary` before any project-specific
398
- setup, initializing each new linked worktree from the exact commit fetched from
399
- the configured remote default branch and safely synchronizing the primary checkout.
397
+ `peacekeeper initialize-codex-worktree --sync-primary` followed by
398
+ `peacekeeper cleanup-merged-branches --execute` before any project-specific setup,
399
+ initializing each new linked worktree from the exact commit fetched from the
400
+ configured remote default branch, safely synchronizing the primary checkout, and
401
+ removing merged branches and their linked worktrees.
400
402
  A passing check validates the parsed script text; it does not run setup or prove
401
403
  that a fresh environment works. Verify that separately in a new Codex worktree.
402
404
  Prefix changes in future Peacekeeper versions require updating each project's
@@ -410,6 +412,7 @@ script = '''
410
412
  # ...the required Peacekeeper setup prefix...
411
413
  npm ci
412
414
  npm exec --no -- peacekeeper initialize-codex-worktree --sync-primary
415
+ npm exec --no -- peacekeeper cleanup-merged-branches --execute
413
416
  # Add custom project setup below
414
417
  '''
415
418
  ```
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jakobm/peacekeeper",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Shared repository test, Git worktree, and Codex hook commands",
5
5
  "license": "MIT",
6
6
  "author": "Jakob Mattsson",
@@ -20,5 +20,6 @@ npm ci
20
20
 
21
21
  # Initialize the linked worktree and safely synchronize the primary checkout.
22
22
  npm exec --no -- peacekeeper initialize-codex-worktree --sync-primary
23
+ npm exec --no -- peacekeeper cleanup-merged-branches --execute
23
24
 
24
25
  # Add custom project setup below
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jakobm/peacekeeper",
3
- "version": "0.24.0",
3
+ "version": "0.25.0",
4
4
  "description": "Shared repository test, Git worktree, and Codex hook commands",
5
5
  "license": "MIT",
6
6
  "author": "Jakob Mattsson",