compound-agent 1.0.0 → 1.2.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/CHANGELOG.md +44 -1
- package/README.md +12 -0
- package/dist/cli.js +782 -206
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +105 -1
- package/dist/mcp.js.map +1 -1
- package/package.json +21 -12
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.2.0] - 2026-02-15
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **`ca loop` command**: Generate autonomous infinity loop scripts that process beads epics end-to-end via chained Claude Code sessions
|
|
17
|
+
- **HUMAN_REQUIRED marker**: Loop detects human-blocking issues, logs reason to beads, skips epic without stopping the loop
|
|
18
|
+
- **Review+compound blocking tasks**: Plan phase now creates review and compound beads issues with dependencies, ensuring these phases survive context compaction and surface via `bd ready`
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **Loop script `set -u` crash**: `LOOP_DRY_RUN` now uses safe expansion (`${VAR:-}`) for `set -u` compatibility
|
|
23
|
+
- **Infinite reprocessing**: Loop tracks processed epics to prevent re-selecting the same epic in dry-run or human-required paths
|
|
24
|
+
- **Input validation**: `--max-retries` rejects non-integer values; epic IDs validated against safe pattern to prevent shell injection
|
|
25
|
+
- **Exit codes**: `ca loop` now returns non-zero on errors (overwrite refusal, invalid options)
|
|
26
|
+
|
|
27
|
+
## [1.1.0] - 2026-02-15
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
|
|
31
|
+
- **External reviewer integration**: Optional Gemini CLI and Codex CLI as headless cross-model reviewers. Enable with `ca reviewer enable gemini`. Advisory only, non-blocking.
|
|
32
|
+
- **`ca reviewer` command**: `ca reviewer enable|disable|list` to manage external reviewers
|
|
33
|
+
- **`ca doctor` command**: Verifies external dependencies (bd, embedding model, hooks, MCP server) with actionable fix hints
|
|
34
|
+
- **Dynamic reviewer selection**: Review workflow scales agent count with diff size — 4 core reviewers for small diffs, 7 for medium, full 11 for large
|
|
35
|
+
- **Auto-sync on session start**: `ca prime` now syncs the SQLite index before loading lessons, ensuring MCP searches have fresh data after `git pull`
|
|
36
|
+
- **Config system**: `.claude/compound-agent.json` for user-editable settings (not overwritten by `setup --update`)
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- **Workflow commands**: Moved slash commands into `compound/` subfolder with legacy cleanup migration
|
|
41
|
+
- **Review template**: Tiered reviewer selection replaces fixed 11-reviewer spawn
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
|
|
45
|
+
- **Safe legacy migration**: `setup --update` and `--uninstall` now check for `GENERATED_MARKER` before deleting root-level commands — user-authored files preserved
|
|
46
|
+
- **Config robustness**: Malformed `.claude/compound-agent.json` no longer crashes reviewer commands
|
|
47
|
+
- **Consistent error handling**: `reviewer disable` and `list` now wrapped in try/catch matching `enable`
|
|
48
|
+
- **Template numbering**: Fixed duplicate step numbers in work.md workflow
|
|
49
|
+
|
|
50
|
+
## [1.0.0] - 2026-02-15
|
|
51
|
+
|
|
12
52
|
### Added
|
|
13
53
|
|
|
14
54
|
- **Unified memory types**: lesson, solution, pattern, preference -- all share one store, schema, and search mechanism
|
|
@@ -398,7 +438,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
398
438
|
- Vitest test suite
|
|
399
439
|
- tsup build configuration
|
|
400
440
|
|
|
401
|
-
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/
|
|
441
|
+
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.2.0...HEAD
|
|
442
|
+
[1.2.0]: https://github.com/Nathandela/learning_agent/compare/v1.1.0...v1.2.0
|
|
443
|
+
[1.1.0]: https://github.com/Nathandela/learning_agent/compare/v1.0.0...v1.1.0
|
|
444
|
+
[1.0.0]: https://github.com/Nathandela/learning_agent/compare/v0.2.9...v1.0.0
|
|
402
445
|
[0.2.9]: https://github.com/Nathandela/learning_agent/compare/v0.2.8...v0.2.9
|
|
403
446
|
[0.2.8]: https://github.com/Nathandela/learning_agent/compare/v0.2.7...v0.2.8
|
|
404
447
|
[0.2.7]: https://github.com/Nathandela/learning_agent/compare/v0.2.6...v0.2.7
|
package/README.md
CHANGED
|
@@ -170,6 +170,18 @@ The CLI binary is `ca` (alias: `compound-agent`).
|
|
|
170
170
|
| `ca rules check` | Run repository-defined rule checks |
|
|
171
171
|
| `ca test-summary` | Run tests and output a compact summary |
|
|
172
172
|
|
|
173
|
+
### Automation
|
|
174
|
+
|
|
175
|
+
| Command | Description |
|
|
176
|
+
|---------|-------------|
|
|
177
|
+
| `ca loop` | Generate infinity loop script for autonomous epic processing |
|
|
178
|
+
| `ca loop --epics <ids...>` | Target specific epic IDs |
|
|
179
|
+
| `ca loop -o <path>` | Custom output path (default: `./infinity-loop.sh`) |
|
|
180
|
+
| `ca loop --max-retries <n>` | Max retries per epic on failure (default: 1) |
|
|
181
|
+
| `ca loop --force` | Overwrite existing script |
|
|
182
|
+
|
|
183
|
+
Generated scripts detect three markers: `EPIC_COMPLETE` (success), `EPIC_FAILED` (retry then stop), `HUMAN_REQUIRED: <reason>` (skip and continue). Run with `LOOP_DRY_RUN=1` to preview.
|
|
184
|
+
|
|
173
185
|
### Setup
|
|
174
186
|
|
|
175
187
|
| Command | Description |
|