compound-agent 2.4.1 → 2.5.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -9,6 +9,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [2.5.0] - 2026-03-27
13
+
14
+ ### Added
15
+
16
+ - **Polish Loop (Phase 6)**: New `ca polish` CLI command generates a standalone bash script for iterative quality refinement. Runs N cycles of: multi-model audit fleet evaluating full implementation against the build-great-things pre-ship checklist (34 quality items + 12 laziness anti-patterns), mini-architect decomposing findings into improvement epics, and inner infinity loop implementing them. Supports claude-opus, claude-sonnet, gemini, and codex as reviewers. Includes dry-run mode, crash handler with status JSON, reviewer CLI detection with graceful degradation, and per-cycle observability (individual reports, synthesized reports, architect logs).
17
+ - **Architect Phase 6**: Opt-in phase in architect SKILL.md that activates after the infinity loop completes. Gate 5 for user confirmation. Generates and launches the polish loop script with monitoring commands.
18
+ - **Polish loop reference docs**: `architect/references/polish-loop/README.md` (configuration reference) and `audit-prompt.md` (audit prompt design explaining how it differs from the review fleet).
19
+
20
+ ### Fixed
21
+
22
+ - **Polish loop: dry-run crash** (P0): `POLISH_EPICS` variable initialized before the loop and at start of each cycle to prevent unbound variable error under `set -u`.
23
+ - **Polish loop: crash handler exit code** (P0): EXIT trap now preserves the original exit code with `exit $exit_code` so callers detect failures.
24
+ - **Polish loop: log() ordering** (P1): `log()` function defined before crash handler in script assembly to prevent `log: command not found` during early failures.
25
+ - **Polish loop: missing ca prerequisite** (P1): Added `command -v ca` check alongside claude and bd.
26
+ - **Polish loop: ARG_MAX risk** (P1): Reviewer prompts piped via stdin (`-p - < file`) instead of command substitution to handle large specs.
27
+ - **Polish loop: architect heredoc expansion** (P1): Mini-architect prompt uses quoted heredoc + file-based injection to prevent shell expansion of report content containing `$` or backticks.
28
+ - **Polish loop: spec file validation** (P1): Script fails fast if spec file doesn't exist at runtime.
29
+ - **Polish loop: git commit before push**: Post-loop commits synthesized reports and status artifacts before pushing.
30
+
12
31
  ## [2.4.1] - 2026-03-26
13
32
 
14
33
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "compound-agent",
3
- "version": "2.4.1",
3
+ "version": "2.5.0",
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.4.1",
54
- "@syottos/darwin-x64": "2.4.1",
55
- "@syottos/linux-arm64": "2.4.1",
56
- "@syottos/linux-x64": "2.4.1"
53
+ "@syottos/darwin-arm64": "2.5.0",
54
+ "@syottos/darwin-x64": "2.5.0",
55
+ "@syottos/linux-arm64": "2.5.0",
56
+ "@syottos/linux-x64": "2.5.0"
57
57
  },
58
58
  "author": "Nathan Delacrétaz",
59
59
  "license": "MIT",