@imdeadpool/guardex 7.0.19 → 7.0.21
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 +51 -13
- package/bin/multiagent-safety.js +2 -7861
- package/package.json +2 -1
- package/src/cli/args.js +809 -0
- package/src/cli/dispatch.js +86 -0
- package/src/cli/main.js +5564 -0
- package/src/context.js +517 -0
- package/src/core/runtime.js +119 -0
- package/src/finish/index.js +425 -0
- package/src/git/index.js +122 -0
- package/src/hooks/index.js +74 -0
- package/src/output/index.js +398 -0
- package/src/sandbox/index.js +68 -0
- package/src/scaffold/index.js +148 -0
- package/src/toolchain/index.js +223 -0
- package/templates/scripts/agent-branch-start.sh +52 -8
- package/templates/scripts/codex-agent.sh +155 -7
- package/templates/vscode/guardex-active-agents/README.md +16 -11
- package/templates/vscode/guardex-active-agents/extension.js +908 -65
- package/templates/vscode/guardex-active-agents/package.json +63 -1
- package/templates/vscode/guardex-active-agents/session-schema.js +440 -42
package/README.md
CHANGED
|
@@ -1,20 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img alt="gitguardex logo" src="./logo.png" width="260">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">gitguardex</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
guardian t-rex for multi-agent repos
|
|
9
|
+
</p>
|
|
2
10
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
isolated worktrees, file locks, and PR-only merges for codex, claude, and human teammates
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://www.npmjs.com/package/@imdeadpool/guardex"><img alt="npm version" src="https://img.shields.io/npm/v/%40imdeadpool%2Fguardex?label=npm&style=flat-square&color=cb3837&logo=npm&logoColor=white"></a>
|
|
17
|
+
<a href="https://github.com/recodeee/gitguardex/stargazers"><img alt="stars" src="https://img.shields.io/github/stars/recodeee/gitguardex?label=stars&style=flat-square&color=d4ac0d"></a>
|
|
18
|
+
<a href="https://github.com/recodeee/gitguardex/commits/main"><img alt="last commit" src="https://img.shields.io/github/last-commit/recodeee/gitguardex?label=last%20commit&style=flat-square&color=7aa2f7"></a>
|
|
19
|
+
<a href="./LICENSE"><img alt="license" src="https://img.shields.io/npm/l/%40imdeadpool%2Fguardex?label=license&style=flat-square&color=97ca00"></a>
|
|
20
|
+
</p>
|
|
7
21
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="./about_description.txt">About</a> •
|
|
24
|
+
<a href="#install">Install</a> •
|
|
25
|
+
<a href="#what-it-does">What it does</a> •
|
|
26
|
+
<a href="#daily-workflow">Workflow</a> •
|
|
27
|
+
<a href="#how-it-works-in-vs-code">VS Code</a> •
|
|
28
|
+
<a href="#commands">Commands</a>
|
|
29
|
+
</p>
|
|
12
30
|
|
|
13
|
-
|
|
31
|
+
<p align="center">
|
|
32
|
+
<strong>guard many agent. keep one repo clean.</strong>
|
|
33
|
+
</p>
|
|
14
34
|
|
|
15
|
-
|
|
35
|
+
<p align="center">
|
|
36
|
+
GitGuardex is a safety layer for parallel agent work in git repos. Every task gets an isolated
|
|
37
|
+
worktree, claimed files, and a PR-only finish path instead of one shared checkout where agents
|
|
38
|
+
stomp each other.
|
|
39
|
+
</p>
|
|
16
40
|
|
|
17
|
-
|
|
41
|
+
---
|
|
18
42
|
|
|
19
43
|
> [!WARNING]
|
|
20
44
|
> Not affiliated with OpenAI, Anthropic, or Codex. Not an official tool.
|
|
@@ -36,6 +60,7 @@ I was running ~30 Codex agents in parallel and hit a wall: they kept working on
|
|
|
36
60
|
|
|
37
61
|
GitGuardex exists to stop that loop. Every agent gets its own worktree, claims the files it's touching, and can't clobber files another agent has claimed. Your local branch stays clean; agents stay in their lanes.
|
|
38
62
|
|
|
63
|
+
## Install
|
|
39
64
|
|
|
40
65
|
<p align="center">
|
|
41
66
|
<img alt="Install GitGuardex" src="https://raw.githubusercontent.com/recodeee/gitguardex/main/docs/images/install-hero.svg" width="680">
|
|
@@ -245,7 +270,7 @@ To install the real companion into local VS Code from a GitGuardex-wired repo:
|
|
|
245
270
|
node scripts/install-vscode-active-agents-extension.js
|
|
246
271
|
```
|
|
247
272
|
|
|
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 `WORKING NOW` and `
|
|
273
|
+
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
274
|
|
|
250
275
|
---
|
|
251
276
|
|
|
@@ -279,6 +304,8 @@ Setup auto-installs into every nested git repo (e.g. `apps/*/.git`). Submodules
|
|
|
279
304
|
```sh
|
|
280
305
|
gx setup --target /mainfolder
|
|
281
306
|
gx setup --target /mainfolder --no-recursive
|
|
307
|
+
gx setup --target /mainfolder --current
|
|
308
|
+
gx doctor --target /mainfolder --current
|
|
282
309
|
```
|
|
283
310
|
|
|
284
311
|
### Fresh repos + Docker Compose
|
|
@@ -645,6 +672,17 @@ npm pack --dry-run
|
|
|
645
672
|
<details>
|
|
646
673
|
<summary><strong>v7.x</strong></summary>
|
|
647
674
|
|
|
675
|
+
### v7.0.21
|
|
676
|
+
- Bumped `@imdeadpool/guardex` from `7.0.20` to `7.0.21` so npm can publish the next release from the current merged mainline.
|
|
677
|
+
- Keep the release scoped to version and release metadata only; the package payload stays the same as the verified `main` branch contents.
|
|
678
|
+
- Published-release automation will pick up this new package version once the matching GitHub release is created.
|
|
679
|
+
|
|
680
|
+
### v7.0.20
|
|
681
|
+
- 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.
|
|
682
|
+
- Guardex now keeps merged cleanup evidence truthful by recording final cleanup proof only after the merge and cleanup state is actually available.
|
|
683
|
+
- Install-surface verification cleanup on `main` is easier to maintain without changing the shipped CLI surface.
|
|
684
|
+
- 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.
|
|
685
|
+
|
|
648
686
|
### v7.0.19
|
|
649
687
|
- `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.
|
|
650
688
|
- Managed-file conflict output now teaches both recovery forms directly: `--force <managed-path>` for one file and plain `--force` for whole-surface rewrites.
|