@imdeadpool/guardex 5.0.12 → 5.0.15

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
@@ -62,14 +62,14 @@ python3 scripts/agent-file-locks.py claim --branch "$(git rev-parse --abbrev-ref
62
62
  npm test
63
63
 
64
64
  # 4) Finish (commit/push/PR/merge flow)
65
- bash scripts/agent-branch-finish.sh --branch "$(git rev-parse --abbrev-ref HEAD)"
65
+ bash scripts/agent-branch-finish.sh --branch "$(git rev-parse --abbrev-ref HEAD)" --base dev --via-pr --wait-for-merge
66
66
 
67
67
  # 5) Optional cleanup after merge
68
68
  gx cleanup --branch "$(git rev-parse --abbrev-ref HEAD)"
69
69
  ```
70
70
 
71
71
  If you use `scripts/codex-agent.sh`, the finish flow is auto-run after the Codex session exits.
72
- It auto-commits sandbox changes, retries once after syncing if the branch moved behind base during the run, then pushes/opens PR merge flow against the current base branch.
72
+ It auto-commits sandbox changes, retries once after syncing if the branch moved behind base during the run, then pushes/opens PR merge flow against `dev`.
73
73
 
74
74
  If you run Codex in multiple existing agent worktrees directly (for example from VS Code Source Control), finalize all completed branches with:
75
75
 
@@ -111,6 +111,11 @@ gx doctor
111
111
  # setup + repair another repo without switching your current repo checkout
112
112
  gx setup --target /path/to/repo
113
113
  gx doctor --target /path/to/repo
114
+ # optional: from parent folder, generate VS Code workspace view for repo + agent worktrees
115
+ cd /path/to
116
+ gx setup --target ./repo --parent-workspace-view
117
+ # open this in VS Code to manage both base repo and .omx/agent-worktrees
118
+ code ./repo-branches.code-workspace
114
119
 
115
120
  # protected branch management
116
121
  gx protect list
@@ -198,6 +203,7 @@ gx agents stop
198
203
  - `gx init` is alias of `gx setup`.
199
204
  - Setup/doctor can install missing global OMX/OpenSpec/codex-auth with explicit Y/N confirmation.
200
205
  - `gx setup` checks GitHub CLI (`gh`) and prints install guidance if missing.
206
+ - Optional parent-folder VS Code Source Control view: `gx setup --target /path/to/repo --parent-workspace-view` creates `../<repo>-branches.code-workspace`.
201
207
  - Interactive self-update prompt defaults to **No** (`[y/N]`).
202
208
  - In initialized repos, `setup`/`install`/`fix` block protected-base writes unless explicitly overridden.
203
209
  - Direct commits/pushes to protected branches are blocked by default.
@@ -342,10 +348,12 @@ openspec update
342
348
 
343
349
  ### OpenSpec in agent sub-branches
344
350
 
345
- - `scripts/codex-agent.sh` enforces an OpenSpec workspace before it launches Codex in each sandbox branch/worktree.
346
- - `scripts/agent-branch-start.sh` can also scaffold `openspec/plan/<agent-branch-slug>/` when you set `MUSAFETY_OPENSPEC_AUTO_INIT=true`.
351
+ - `scripts/codex-agent.sh` enforces OpenSpec workspaces before it launches Codex in each sandbox branch/worktree.
352
+ - `scripts/agent-branch-start.sh` can scaffold both `openspec/changes/<agent-branch-slug>/` and `openspec/plan/<agent-branch-slug>/` when you set `MUSAFETY_OPENSPEC_AUTO_INIT=true`.
347
353
  - Set `MUSAFETY_OPENSPEC_AUTO_INIT=false` (default for `agent-branch-start`) to skip branch-start auto-bootstrap.
348
354
  - Set `MUSAFETY_OPENSPEC_PLAN_SLUG=<kebab-case-slug>` to force a specific plan workspace name.
355
+ - Set `MUSAFETY_OPENSPEC_CHANGE_SLUG=<kebab-case-slug>` to force a specific change workspace name.
356
+ - Set `MUSAFETY_OPENSPEC_CAPABILITY_SLUG=<kebab-case-slug>` to override the default capability folder used for `spec.md` scaffolding.
349
357
 
350
358
  ## Security and maintenance posture
351
359
 
@@ -364,6 +372,22 @@ npm pack --dry-run
364
372
 
365
373
  ## Release notes
366
374
 
375
+ ### v5.0.15
376
+
377
+ - Added `gx setup --parent-workspace-view` to generate a parent-folder VS Code workspace (`../<repo>-branches.code-workspace`) that shows both the base repo and `.omx/agent-worktrees` in Source Control.
378
+ - Added dry-run-safe parent workspace operations (`would-create` / `would-update`) and setup output that prints the created workspace path.
379
+ - Added regression coverage for parent workspace generation and dry-run behavior.
380
+ - Bumped package version from `5.0.14` to `5.0.15`.
381
+
382
+ ### v5.0.14
383
+
384
+ - Changed release metadata for the next npm publish by bumping package version from `5.0.13` to `5.0.14`.
385
+ - Kept Guardex release notes synchronized with the published package version.
386
+
387
+ ### v5.0.13
388
+
389
+ - Bumped package version from `5.0.12` to `5.0.13` for the next npm publish.
390
+
367
391
  ### v5.0.12
368
392
 
369
393
  - Bumped package version from `5.0.11` to `5.0.12` for the next npm publish.