compound-agent 2.2.0 → 2.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -7,6 +7,23 @@ All notable changes to this project will be documented in this file.
7
7
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
8
8
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
+ ## [2.2.1] - 2026-03-24
11
+
12
+ ### Added
13
+
14
+ - **Loop generator production parity**: Brought the Go `ca loop` script generator to full parity with the hardened production `infinity-loop.sh`. Ported crash handler (EXIT trap with status file logging), 3-layer memory safety (repo-scoped orphan cleanup, memory gate, background watchdog with PID tracking), `parse_json()` with jq/python3 fallback, dependency-aware epic ordering (`check_deps_closed()`), dual-file anchored marker detection, and CLI prerequisite checks.
15
+ - **Loop review and improve phases**: Implemented 8 missing flags from the former TS CLI: `--reviewers`, `--review-every`, `--max-review-cycles`, `--review-blocking`, `--review-model`, `--improve`, `--improve-max-iters`, `--improve-time-budget`. Review phase supports multi-model spawning, session management, and review cycles with implementer fix loop. Improve phase supports topic discovery, iteration with rollback, and time budget.
16
+ - **Field-tested enhancements**: Git status check after epic completion (auto-commits if dirty), git push at loop end (with remote availability check), reviewer availability summary logging.
17
+ - **Infinity-loop reference docs**: Added troubleshooting section and real-world example from compound-agent's own 6-epic loop run.
18
+
19
+ ### Fixed
20
+
21
+ - **Review triggers were dead code**: Review phase triggers were placed after an exit statement and never executed.
22
+ - **Undefined variable in periodic trigger**: `$RESULT` replaced with `$SUCCESS` in periodic review trigger.
23
+ - **Review base SHA reset in loop**: `REVIEW_BASE_SHA` was incorrectly reset inside the while loop on every iteration.
24
+ - **Improve phase stdin piping**: `extract_text` was using file args instead of stdin pipe.
25
+ - **Conditional exit**: Exit line now omitted when improve phase follows review phase.
26
+
10
27
  ## [2.2.0] - 2026-03-23
11
28
 
12
29
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compound-agent",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "type": "module",
5
5
  "description": "Learning system for Claude Code — avoids repeating mistakes across sessions",
6
6
  "bin": {
@@ -50,10 +50,10 @@
50
50
  "knowledge-management"
51
51
  ],
52
52
  "optionalDependencies": {
53
- "@syottos/darwin-arm64": "2.2.0",
54
- "@syottos/darwin-x64": "2.2.0",
55
- "@syottos/linux-arm64": "2.2.0",
56
- "@syottos/linux-x64": "2.2.0"
53
+ "@syottos/darwin-arm64": "2.2.1",
54
+ "@syottos/darwin-x64": "2.2.1",
55
+ "@syottos/linux-arm64": "2.2.1",
56
+ "@syottos/linux-x64": "2.2.1"
57
57
  },
58
58
  "author": "Nathan Delacrétaz",
59
59
  "license": "MIT",