compound-agent 1.2.10 → 1.2.11
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 +24 -1
- package/README.md +11 -0
- package/dist/cli.js +478 -70
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +4 -167
- package/dist/index.js +12 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.2.11] - 2026-02-19
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **Git worktree integration** (`ca worktree`): Isolate epic work in separate git worktrees for parallel execution. Five subcommands:
|
|
17
|
+
- `ca worktree create <epic-id>` — Create worktree, install deps, copy lessons, create Merge beads task
|
|
18
|
+
- `ca worktree wire-deps <epic-id>` — Connect Review/Compound tasks as merge blockers (graceful no-op without worktree)
|
|
19
|
+
- `ca worktree merge <epic-id>` — Two-phase merge: resolve conflicts in worktree, then land clean on main
|
|
20
|
+
- `ca worktree list` — Show active worktrees with epic and merge task status
|
|
21
|
+
- `ca worktree cleanup <epic-id>` — Remove worktree, branch, and close Merge task (--force for dirty worktrees)
|
|
22
|
+
- **`/compound:set-worktree` slash command**: Set up a worktree before running `/compound:lfg` for isolated epic execution
|
|
23
|
+
- **Conditional Merge gate in `verify-gates`**: Worktree epics require the Merge task to be closed before epic closure. Non-worktree epics unaffected.
|
|
24
|
+
- **Plan skill wire-deps step**: Plan phase now calls `ca worktree wire-deps` to connect merge dependencies when a worktree is active.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- **Worktree merge safety hardening**: Added branch verification (asserts main repo is on `main`), worktree existence guard, structured error messages with worktree paths for conflict resolution and test failures
|
|
29
|
+
- **JSONL reconciliation**: Switched from ID-based to line-based deduplication to preserve last-write-wins semantics for same-ID updates and deletes
|
|
30
|
+
- **Worktree cleanup safety**: Branch deletion uses `-d` (safe) by default; `-D` (force) only with `--force` flag
|
|
31
|
+
- **Shared beads utilities**: Extracted `validateEpicId`, `parseBdShowDeps`, and `shortId` to `cli-utils.ts`, eliminating duplication between `worktree.ts` and `verify-gates.ts`
|
|
32
|
+
- **Sync API**: All worktree functions are now synchronous (removed misleading `async` wrapper around purely synchronous `execFileSync` calls)
|
|
33
|
+
|
|
12
34
|
## [1.2.10] - 2026-02-19
|
|
13
35
|
|
|
14
36
|
### Fixed
|
|
@@ -534,7 +556,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
534
556
|
- Vitest test suite
|
|
535
557
|
- tsup build configuration
|
|
536
558
|
|
|
537
|
-
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.2.
|
|
559
|
+
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.2.11...HEAD
|
|
560
|
+
[1.2.11]: https://github.com/Nathandela/learning_agent/compare/v1.2.10...v1.2.11
|
|
538
561
|
[1.2.10]: https://github.com/Nathandela/learning_agent/compare/v1.2.9...v1.2.10
|
|
539
562
|
[1.2.9]: https://github.com/Nathandela/learning_agent/compare/v1.2.7...v1.2.9
|
|
540
563
|
[1.2.7]: https://github.com/Nathandela/learning_agent/compare/v1.2.6...v1.2.7
|
package/README.md
CHANGED
|
@@ -175,6 +175,16 @@ The CLI binary is `ca` (alias: `compound-agent`).
|
|
|
175
175
|
| `ca rules check` | Run repository-defined rule checks |
|
|
176
176
|
| `ca test-summary` | Run tests and output a compact summary |
|
|
177
177
|
|
|
178
|
+
### Worktree
|
|
179
|
+
|
|
180
|
+
| Command | Description |
|
|
181
|
+
|---------|-------------|
|
|
182
|
+
| `ca worktree create <epic-id>` | Create isolated worktree for an epic |
|
|
183
|
+
| `ca worktree wire-deps <epic-id>` | Wire Review/Compound as merge blockers |
|
|
184
|
+
| `ca worktree merge <epic-id>` | Two-phase merge back to main |
|
|
185
|
+
| `ca worktree list` | List active worktrees with status |
|
|
186
|
+
| `ca worktree cleanup <epic-id>` | Remove worktree and clean up (--force for dirty) |
|
|
187
|
+
|
|
178
188
|
### Automation
|
|
179
189
|
|
|
180
190
|
| Command | Description |
|
|
@@ -213,6 +223,7 @@ Installed to `.claude/commands/compound/` during setup. Invoked as slash command
|
|
|
213
223
|
| `/compound:review` | Review | Multi-agent review (security, architecture, performance, tests, simplicity) |
|
|
214
224
|
| `/compound:compound` | Compound | Capture lessons, solutions, patterns into memory |
|
|
215
225
|
| `/compound:lfg` | All | Chain all phases sequentially |
|
|
226
|
+
| `/compound:set-worktree` | Setup | Create isolated git worktree for an epic |
|
|
216
227
|
|
|
217
228
|
## Memory Types
|
|
218
229
|
|