compound-agent 2.11.0 → 2.12.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.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,58 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [2.12.1] - 2026-06-15
13
+
14
+ Patch release addressing two issues found by an external codex review of 2.12.0.
15
+
16
+ ### Fixed
17
+ - The agy loop reviewer no longer passes the implementer's `REVIEW_MODEL` to
18
+ `agy --model`. Under a non-agy implementer that value is a claude/codex model
19
+ name agy cannot serve, so the agy reviewer now runs on agy's own configured
20
+ default, symmetric with the codex reviewer.
21
+ - `ca setup --harness agy` now migrates repos that still carry the old antigravity
22
+ groundwork section in AGENTS.md: it replaces the managed marker block when the
23
+ template changed instead of skipping on the header match and leaving stale
24
+ "groundwork only" text.
25
+
26
+ ## [2.12.0] - 2026-06-14
27
+
28
+ Replaces the standalone Google gemini CLI with the Antigravity CLI (`agy`) as the
29
+ loop implementer, reviewer, and `ca setup --harness` target. The `antigravity`
30
+ groundwork target from 2.10.0 is folded into a single functional name: `agy`. The
31
+ default implementer (`claude`) and the `goose`/`codex` paths are unchanged.
32
+
33
+ ### Added
34
+
35
+ - **`ca loop --implementer agy`**: drive the loop with the Antigravity CLI. PID-based,
36
+ in-tree engine. Dispatch uses `agy -p "<prompt>" --dangerously-skip-permissions
37
+ --model "<model>" --print-timeout 1h`; a follow-up cycle continues the same
38
+ conversation via `agy -c -p "<follow-up>" --dangerously-skip-permissions`. Default
39
+ model `gemini-3.1-pro` (override with `--model`). Auth is OAuth via the Antigravity
40
+ app, so there is no API-key env var; preflight only checks `command -v agy`.
41
+ - **`ca setup --harness agy`**: installs the `AGENTS.md` memory file for the Antigravity
42
+ CLI. This is now a functional harness, not groundwork.
43
+ - **`agy` reviewer**: the agy implementer reuses the existing CLI-reviewer dispatch.
44
+ Valid reviewers for the codex and agy implementers are `{codex, agy}`. The first
45
+ review cycle runs `agy -p "$(cat ...)" --dangerously-skip-permissions --model
46
+ "$REVIEW_MODEL" --print-timeout 1h` and resume cycles run `agy -c -p ...`.
47
+
48
+ ### Changed
49
+
50
+ - **`gemini` implementer/harness/reviewer renamed to `agy`** as the canonical name.
51
+ The standalone gemini CLI usage (`gemini -p --yolo`, `GEMINI_API_KEY`,
52
+ `gemini --resume latest`) is removed; the agy dispatch contract above replaces it.
53
+ The `antigravity` groundwork harness target from 2.10.0 is folded into `agy`.
54
+ - **Deprecated aliases**: `gemini` and `antigravity` are still accepted as deprecated
55
+ aliases for both `--implementer` and `--harness`; they normalize to `agy` and emit a
56
+ one-line deprecation warning. Help text, valid-sets, and docs list only `agy`.
57
+
58
+ ### Notes
59
+
60
+ - The standalone gemini CLI is sunset on 2026-06-18. The Antigravity CLI (`agy`) is its
61
+ successor and is now the engine that drives the loop, reviewers, and the harness
62
+ memory file, so the deferred OAuth/stdout blockers noted in 2.10.0 are resolved.
63
+
12
64
  ## [2.11.0] - 2026-06-14
13
65
 
14
66
  Two additive workflow changes: per-epic specs become file-backed (the spec file
package/README.md CHANGED
@@ -145,7 +145,7 @@ ca loop --reviewers claude-sonnet --review-every 3
145
145
 
146
146
  `ca loop` generates a bash script that processes your beads epics sequentially, running the full cook-it cycle on each one. No human intervention required between epics.
147
147
 
148
- `--implementer` selects the engine that runs each epic: **claude** (default), **goose**, **codex**, or **gemini**. With the default claude implementer, the backend is `claude --bg` (subscription-billed; requires accepting the bypass-permissions disclaimer once: `claude --dangerously-skip-permissions`); use `--backend p` or `CA_BACKEND=p` for the legacy `claude -p` (pay-per-token) path. **goose** runs open/local models via Goose (e.g. `--model ollama/qwen2.5-coder:14b` or `deepseek/deepseek-chat`; for the ollama provider the loop auto-exports `GOOSE_TOOLSHIM=1`). **codex** drives the OpenAI Codex CLI (default model `gpt-5.5-codex`, dispatched via `codex exec`). **gemini** drives the Gemini CLI (default model `gemini-3.1-pro`, dispatched via `gemini -p --yolo`). For the codex and gemini implementers, valid `--reviewers` are `codex` and `gemini`.
148
+ `--implementer` selects the engine that runs each epic: **claude** (default), **goose**, **codex**, or **agy**. With the default claude implementer, the backend is `claude --bg` (subscription-billed; requires accepting the bypass-permissions disclaimer once: `claude --dangerously-skip-permissions`); use `--backend p` or `CA_BACKEND=p` for the legacy `claude -p` (pay-per-token) path. **goose** runs open/local models via Goose (e.g. `--model ollama/qwen2.5-coder:14b` or `deepseek/deepseek-chat`; for the ollama provider the loop auto-exports `GOOSE_TOOLSHIM=1`). **codex** drives the OpenAI Codex CLI (default model `gpt-5.5-codex`, dispatched via `codex exec`). **agy** drives the Antigravity CLI (default model `gemini-3.1-pro`, dispatched via `agy -p --dangerously-skip-permissions --model`; OAuth auth, no API-key env var). For the codex and agy implementers, valid `--reviewers` are `codex` and `agy`.
149
149
 
150
150
  ```bash
151
151
  # Generate script for all ready epics (bg backend by default)
@@ -284,7 +284,7 @@ The CLI binary is `ca` (alias: `compound-agent`).
284
284
  | Command | Description |
285
285
  |---------|-------------|
286
286
  | `ca loop` | Generate infinity loop script (default: `claude --bg`, subscription-billed) |
287
- | `ca loop --implementer <name>` | Engine that runs each epic: `claude` (default), `goose`, `codex`, `gemini` |
287
+ | `ca loop --implementer <name>` | Engine that runs each epic: `claude` (default), `goose`, `codex`, `agy` |
288
288
  | `ca loop --model <model>` | Implementer model (e.g. `ollama/qwen2.5-coder:14b`, `gpt-5.5-codex`, `gemini-3.1-pro`) |
289
289
  | `ca loop --backend bg` | Default bg backend: `claude --bg` (subscription-billed) |
290
290
  | `ca loop --backend p` | Legacy p backend: `claude -p` (pay-per-token) |
@@ -292,7 +292,7 @@ The CLI binary is `ca` (alias: `compound-agent`).
292
292
  | `ca loop -o <path>` | Custom output path (default: `./.compound-agent/infinity-loop.sh`) |
293
293
  | `ca loop --max-retries <n>` | Max retries per epic on failure (default: 1) |
294
294
  | `ca loop --force` | Overwrite existing script |
295
- | `ca loop --reviewers <names...>` | Enable review phase with specified reviewers (claude-sonnet, claude-opus, gemini, codex) |
295
+ | `ca loop --reviewers <names...>` | Enable review phase with specified reviewers (claude-sonnet, claude-opus, agy, codex) |
296
296
  | `ca loop --review-every <n>` | Review every N completed epics (0 = end-only, default: 0) |
297
297
  | `ca loop --max-review-cycles <n>` | Max review/fix iterations (default: 3) |
298
298
  | `ca loop --review-blocking` | Fail loop if review not approved after max cycles |
@@ -325,7 +325,7 @@ The CLI binary is `ca` (alias: `compound-agent`).
325
325
  | Command | Description |
326
326
  |---------|-------------|
327
327
  | `ca setup` | One-shot setup (hooks + templates) |
328
- | `ca setup --harness antigravity` | Groundwork: install an `AGENTS.md` for the `agy` CLI (the Gemini CLI successor); no functional antigravity loop/reviewer yet |
328
+ | `ca setup --harness agy` | Install an `AGENTS.md` for the Antigravity CLI (`agy`), the functional loop engine that replaces the standalone gemini CLI |
329
329
  | `ca setup --skip-hooks` | Setup without installing hooks |
330
330
  | `ca setup --json` | Output result as JSON |
331
331
  | `ca setup claude` | Install Claude Code hooks only |
@@ -372,7 +372,7 @@ A: Yes, completely. Embeddings run locally via the `ca-embed` Rust daemon (nomic
372
372
  A: ~278MB for the embedding model (one-time download, shared across projects) plus negligible space for lessons.
373
373
 
374
374
  **Q: Can I use it with other AI coding tools?**
375
- A: The CLI (`ca`) works standalone with any tool. Full hook integration is available for Claude Code and Gemini CLI. The Gemini CLI is being sunset (~2026-06-18) in favor of Antigravity; `ca setup --harness antigravity` installs groundwork (an `AGENTS.md` for the `agy` CLI) ahead of that migration.
375
+ A: The CLI (`ca`) works standalone with any tool. Full hook integration is available for Claude Code. The Antigravity CLI (`agy`) is now the engine that replaces the standalone gemini CLI (whose usage was removed); `ca setup --harness agy` installs an `AGENTS.md` for it and `ca loop --implementer agy` drives the loop with it.
376
376
 
377
377
  **Q: What happens if the embedding model isn't available?**
378
378
  A: Search gracefully falls back to keyword-only mode. Other commands that require embeddings will tell you what's missing. Run `ca doctor` to diagnose issues.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compound-agent",
3
- "version": "2.11.0",
3
+ "version": "2.12.1",
4
4
  "type": "module",
5
5
  "description": "Learning system for Claude Code — avoids repeating mistakes across sessions",
6
6
  "bin": {
@@ -51,12 +51,12 @@
51
51
  "knowledge-management"
52
52
  ],
53
53
  "optionalDependencies": {
54
- "@syottos/darwin-arm64": "2.11.0",
55
- "@syottos/darwin-x64": "2.11.0",
56
- "@syottos/linux-arm64": "2.11.0",
57
- "@syottos/linux-x64": "2.11.0",
58
- "@syottos/win32-x64": "2.11.0",
59
- "@syottos/win32-arm64": "2.11.0"
54
+ "@syottos/darwin-arm64": "2.12.1",
55
+ "@syottos/darwin-x64": "2.12.1",
56
+ "@syottos/linux-arm64": "2.12.1",
57
+ "@syottos/linux-x64": "2.12.1",
58
+ "@syottos/win32-x64": "2.12.1",
59
+ "@syottos/win32-arm64": "2.12.1"
60
60
  },
61
61
  "author": "Nathan Delacrétaz",
62
62
  "license": "MIT",