@imdeadpool/guardex 7.0.18 → 7.0.20

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
@@ -49,7 +49,7 @@ npm i -g @imdeadpool/guardex
49
49
 
50
50
  <p align="center">
51
51
  <sub>
52
- Then <code>cd</code> into your repo and run <code>gx setup</code> — hook shims, workflow shims, repo state,
52
+ Then <code>cd</code> into your repo and run <code>gx setup</code> — hook shims, repo state,
53
53
  and OMX&nbsp;/&nbsp;OpenSpec&nbsp;/&nbsp;caveman wiring all scaffold in one go.
54
54
  </sub>
55
55
  </p>
@@ -88,7 +88,7 @@ cd /path/to/your/repo
88
88
  gx setup
89
89
  ```
90
90
 
91
- That's it. Install and update via `@imdeadpool/guardex`. Setup installs the minimal repo footprint: managed hook/workflow shims, lock state, AGENTS wiring, and OpenSpec/caveman/OMX scaffolding. Aliases: `gx` (preferred), `gitguardex` (full), `guardex` (legacy compatibility).
91
+ That's it. Install and update via `@imdeadpool/guardex`. Setup installs the minimal repo footprint: managed hook shims, repo-local state, AGENTS wiring, OpenSpec/caveman/OMX scaffolding, and a small set of repo-local helper assets. Aliases: `gx` (preferred), `gitguardex` (full), `guardex` (legacy compatibility).
92
92
 
93
93
  ---
94
94
 
@@ -178,7 +178,7 @@ Before you branch, repair, or start agents, run plain `gx`. It gives you a one-s
178
178
 
179
179
  ![GitGuardex terminal status output](https://raw.githubusercontent.com/recodeee/gitguardex/main/docs/images/workflow-gx-terminal-status.svg)
180
180
 
181
- Use `gx setup` the first time you wire GitGuardex into a repo. It bootstraps the managed hook/workflow shims, repo state, and optional workspace/OpenSpec wiring. If the repo drifts later, use `gx doctor` as the repair path: it reapplies the managed safety files, verifies the setup, and on protected `main` it auto-sandboxes the repair so your visible base branch stays clean.
181
+ Use `gx setup` the first time you wire GitGuardex into a repo. It bootstraps the managed hook shims, repo-local state, and optional workspace/OpenSpec wiring. If the repo drifts later, use `gx doctor` as the repair path: it reapplies the managed safety files, verifies the setup, and on protected `main` it auto-sandboxes the repair so your visible base branch stays clean.
182
182
 
183
183
  ---
184
184
 
@@ -203,7 +203,7 @@ gx branch finish \
203
203
  --base main --via-pr --wait-for-merge --cleanup
204
204
  ```
205
205
 
206
- If you use the managed Codex launcher shim, the finish flow runs automatically when the Codex session exits — it auto-commits, retries once after syncing if the base moved during the run, then pushes and opens the PR.
206
+ If you launch Codex through Guardex, the finish flow runs automatically when the Codex session exits — it auto-commits, retries once after syncing if the base moved during the run, then pushes and opens the PR.
207
207
 
208
208
  GitGuardex normally prunes merged sandboxes for you as part of the finish flow. If you simply do not want a local sandbox/worktree anymore, remove that worktree directly; delete the branch too only if you are intentionally abandoning that lane:
209
209
 
@@ -245,7 +245,7 @@ To install the real companion into local VS Code from a GitGuardex-wired repo:
245
245
  node scripts/install-vscode-active-agents-extension.js
246
246
  ```
247
247
 
248
- It adds an `Active Agents` view to the Source Control container, groups each live repo into `ACTIVE AGENTS` and `CHANGES` sections, reads `.omx/state/active-sessions/*.json`, derives `thinking` versus `working` from each live sandbox worktree, and uses VS Code's native `loading~spin` codicon for the running-state affordance. Reload the VS Code window after install.
248
+ It adds an `Active Agents` view to the Source Control container, groups each live repo into `ACTIVE AGENTS` and `CHANGES` sections, splits `ACTIVE AGENTS` into `BLOCKED`, `WORKING NOW`, `IDLE`, `STALLED`, and `DEAD` when those states are present, reads `.omx/state/active-sessions/*.json`, derives session state from git conflict markers, dirty worktree status, PID liveness, and recent file mtimes, and surfaces working/dead counts in the repo/header affordances. Reload the VS Code window after install.
249
249
 
250
250
  ---
251
251
 
@@ -542,7 +542,7 @@ Expanded flow:
542
542
 
543
543
  ### OpenSpec in agent sub-branches
544
544
 
545
- - The managed Codex launcher shim enforces OpenSpec workspaces before launching Codex.
545
+ - The Guardex Codex launcher enforces OpenSpec workspaces before launching Codex.
546
546
  - `gx branch start` can scaffold both `openspec/changes/<slug>/` and `openspec/plan/<slug>/` when `GUARDEX_OPENSPEC_AUTO_INIT=true`.
547
547
  - The collaboration section in `tasks.md` is there for real cleanup handoffs too. If the first Codex/Claude session finishes the implementation work but hits a usage limit before `agent-branch-finish --cleanup`, hand the same sandbox to another agent, let that agent finish cleanup, and record the join/handoff in the change task.
548
548
 
@@ -560,26 +560,29 @@ Environment variables:
560
560
  ## Files installed by setup
561
561
 
562
562
  ```text
563
+ AGENTS.md # managed multi-agent block appended/refreshed in place
563
564
  .githooks/pre-commit # shim -> gx hook run pre-commit
564
565
  .githooks/pre-push # shim -> gx hook run pre-push
565
566
  .githooks/post-merge # shim -> gx hook run post-merge
566
567
  .githooks/post-checkout # shim -> gx hook run post-checkout
567
- scripts/agent-branch-start.sh # shim -> gx branch start
568
- scripts/agent-branch-finish.sh # shim -> gx branch finish
569
- scripts/agent-branch-merge.sh # shim -> gx branch merge
570
- scripts/agent-worktree-prune.sh # shim -> gx worktree prune
571
- scripts/agent-file-locks.py # shim -> gx locks ...
572
- scripts/codex-agent.sh # shim -> CLI-owned Codex launcher
573
- scripts/review-bot-watch.sh # shim -> CLI-owned review bot
574
- scripts/openspec/init-plan-workspace.sh # shim -> CLI-owned OpenSpec init
575
- scripts/openspec/init-change-workspace.sh # shim -> CLI-owned OpenSpec init
576
- .omc/agent-worktrees
577
- .omx/state/agent-file-locks.json
568
+ scripts/guardex-env.sh # repo toggle + hook/helper env bridge
569
+ scripts/guardex-docker-loader.sh # compose env/loader helper
570
+ scripts/agent-session-state.js # active-session state helper
571
+ scripts/install-vscode-active-agents-extension.js
572
+ .omc/agent-worktrees # Claude sandbox root
573
+ .omx/agent-worktrees # Codex sandbox root
574
+ .omx/state/agent-file-locks.json # file-lock registry
578
575
  .github/pull.yml.example
579
576
  .github/workflows/cr.yml
577
+ vscode/guardex-active-agents/package.json
578
+ vscode/guardex-active-agents/extension.js
579
+ vscode/guardex-active-agents/session-schema.js
580
+ vscode/guardex-active-agents/README.md
580
581
  ```
581
582
 
582
- Repo-local Codex/Claude helper files are no longer copied into the repo. Install the optional user-level companions with `gx install-agent-skills`.
583
+ Legacy compatibility note: older repos may still contain repo-local workflow scripts under `scripts/`. Direct `gx branch ...`, `gx locks ...`, `gx finish`, `gx cleanup`, `gx merge`, and `gx migrate` do not require them. `gx migrate` removes those leftover workflow shims by default. The CLI still honors repo-local `scripts/review-bot-watch.sh` and `scripts/codex-agent.sh` when they are already present so older repos can keep working during migration.
584
+
585
+ Optional Codex/Claude user-level companions still install with `gx install-agent-skills`; they are not copied into each repo.
583
586
 
584
587
  ---
585
588
 
@@ -642,10 +645,22 @@ npm pack --dry-run
642
645
  <details>
643
646
  <summary><strong>v7.x</strong></summary>
644
647
 
648
+ ### v7.0.20
649
+ - The VS Code Active Agents tree now exposes worktree-owned SCM changes and lock ownership directly, so operators can see which sandbox owns a dirty file before they act.
650
+ - Guardex now keeps merged cleanup evidence truthful by recording final cleanup proof only after the merge and cleanup state is actually available.
651
+ - Install-surface verification cleanup on `main` is easier to maintain without changing the shipped CLI surface.
652
+ - Bumped the release from `7.0.19` → `7.0.20` so the shipped Active Agents visibility and cleanup-evidence refinements land on a fresh publishable npm version.
653
+
654
+ ### v7.0.19
655
+ - `gx setup` and `gx doctor` now accept targeted managed-file recovery after `--force`, so `gx doctor --force scripts/review-bot-watch.sh` repairs the named managed file instead of failing on an unknown argument.
656
+ - Managed-file conflict output now teaches both recovery forms directly: `--force <managed-path>` for one file and plain `--force` for whole-surface rewrites.
657
+ - GitGuardex now keeps small-task routing caveman-only by default and makes working VS Code agent lanes easier to spot at a glance while keeping the CLI-owned install-surface rollout intact.
658
+ - Bumped the release from `7.0.18` → `7.0.19` so the shipped setup/doctor recovery and UX refinements land on a fresh publishable npm version.
659
+
645
660
  ### v7.0.18
646
661
  - GitGuardex now keeps the install workflow in `gx` itself: `gx branch ...`, `gx locks ...`, `gx worktree prune`, `gx migrate`, and user-level agent-skill install now own the agent lifecycle instead of teaching pasted repo scripts as the primary surface.
647
662
  - Fresh installs switch repo hooks to tiny `gx hook run ...` shims, stop copying repo-local workflow implementations and repo-local skills, and stop injecting Guardex-managed `agent:*` package scripts into consumer repos.
648
- - `gx migrate` can move older repos onto the smaller CLI-owned install surface while preserving the managed AGENTS block, lock registry state, repo-local dispatch shims, and required gitignore entries.
663
+ - `gx migrate` can move older repos onto the smaller CLI-owned install surface while preserving the managed AGENTS block, lock registry state, hook shims, required gitignore entries, and the repo-local helper assets that still carry local state.
649
664
  - Bumped the release from `7.0.17` → `7.0.18` so the shipped CLI-owned install-surface changes land on a fresh publishable npm version.
650
665
 
651
666
  ### v7.0.17