compound-agent 1.6.0 → 1.6.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 +26 -0
- package/README.md +5 -5
- package/dist/cli.js +1050 -822
- package/dist/cli.js.map +1 -1
- package/dist/index.js +21 -10
- package/dist/index.js.map +1 -1
- package/docs/research/spec_design/decision_theory_specifications_and_multi_criteria_tradeoffs.md +0 -0
- package/docs/research/spec_design/design_by_contract.md +251 -0
- package/docs/research/spec_design/domain_driven_design_strategic_modeling.md +183 -0
- package/docs/research/spec_design/formal_specification_methods.md +161 -0
- package/docs/research/spec_design/logic_and_proof_theory_under_the_curry_howard_correspondence.md +250 -0
- package/docs/research/spec_design/natural_language_formal_semantics_abuguity_in_specifications.md +259 -0
- package/docs/research/spec_design/requirements_engineering.md +234 -0
- package/docs/research/spec_design/systems_engineering_specifications_emergent_behavior_interface_contracts.md +149 -0
- package/docs/research/spec_design/what_is_this_about.md +305 -0
- package/llms.txt +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.6.1] - 2026-03-05
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **Renamed brainstorm phase to spec-dev**: The `/compound:brainstorm` slash command is now `/compound:spec-dev`. The phase focuses on structured specification development using EARS notation, Mermaid diagrams, and Socratic dialogue rather than open-ended brainstorming. Old `brainstorm.md` command files are auto-cleaned during upgrade.
|
|
17
|
+
- **Integration test stability**: Reduced integration test parallelism (`maxForks: 1`) and increased timeouts to 60s to eliminate non-deterministic ETIMEDOUT failures under load.
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **Spec reference file**: `.claude/skills/compound/spec-dev/references/spec-guide.md` provides quick-reference material for EARS patterns, Mermaid diagram selection, NL ambiguity detection, and trade-off documentation frameworks. Installed automatically during `ca setup`.
|
|
22
|
+
- **Hook error visibility**: Hook runners now log errors to stderr when `CA_DEBUG` environment variable is set, instead of silently swallowing all failures.
|
|
23
|
+
- **check-plan stdin safety**: `ca check-plan` now enforces a 30-second timeout and 1MB size limit when reading from stdin, preventing hangs in CI/CD environments.
|
|
24
|
+
- **Embed lock expiry**: Embedding lock files now expire after 1 hour as a safety valve against zombie processes holding locks indefinitely.
|
|
25
|
+
- **Phase-state backward compatibility**: Legacy `lfg_active` field in phase state files is automatically migrated to `cookit_active` on read.
|
|
26
|
+
- **clean-lessons scope messaging**: `ca clean-lessons` now reports when non-lesson items are excluded from analysis.
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- **Missing spec-guide.md**: The reference file was declared in skill templates and CHANGELOG but never generated during setup. Now installed alongside phase skills.
|
|
31
|
+
- **Upgrade cleanup for lfg.md**: Added `lfg.md` to deprecated commands list so `ca setup --update` removes stale lfg command files from upgraded repos.
|
|
32
|
+
- **Docs template terminology**: WORKFLOW.md template now uses "Spec Dev" instead of "Brainstorm" for Phase 1.
|
|
33
|
+
- **Test file naming**: Renamed `brainstorm-phase.test.ts` to `spec-dev-phase.test.ts` to match the refactored phase name.
|
|
34
|
+
- **Library bundle cleanup**: Moved CLI-only re-exports (`registerWatchCommand`, `registerLoopCommands`) out of the library barrel to eliminate unused import warnings in `dist/index.js`.
|
|
35
|
+
- **plan.test.ts embedding guard**: Added `skipIf(skipEmbedding)` to unguarded test that calls `retrieveForPlan` without mocking.
|
|
36
|
+
- **Agent template test count**: Updated setup.test.ts to expect 9 agent templates (was 8), matching the actual AGENT_TEMPLATES count after `lessons-reviewer.md` was added.
|
|
37
|
+
|
|
12
38
|
## [1.6.0] - 2026-03-02
|
|
13
39
|
|
|
14
40
|
### Added
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ AI coding agents forget everything between sessions. Compound Agent fixes this w
|
|
|
19
19
|
|
|
20
20
|
```mermaid
|
|
21
21
|
graph LR
|
|
22
|
-
B[
|
|
22
|
+
B[SPEC DEV] --> P[PLAN]
|
|
23
23
|
P --> W[WORK]
|
|
24
24
|
W --> R[REVIEW]
|
|
25
25
|
R --> C[COMPOUND]
|
|
@@ -64,7 +64,7 @@ Preferences survive across sessions and projects. Once captured, they appear at
|
|
|
64
64
|
`ca list` shows all captured knowledge. `ca stats` shows health. `ca wrong <id>` invalidates bad lessons. Everything is git-tracked JSONL -- you can read, diff, and audit it.
|
|
65
65
|
|
|
66
66
|
**"I want structured phases, not just 'go build this'."**
|
|
67
|
-
Five workflow phases (
|
|
67
|
+
Five workflow phases (spec-dev, plan, work, review, compound) with mandatory gates between them. Each phase searches memory and docs for relevant context before starting.
|
|
68
68
|
|
|
69
69
|
**"My agent doesn't read the project docs before making decisions."**
|
|
70
70
|
`ca knowledge "auth flow"` runs hybrid search (vector + keyword) over your indexed docs. Agents query it automatically during planning -- ADRs, specs, and standards surface before code gets written.
|
|
@@ -109,7 +109,7 @@ Then run `pnpm install`.
|
|
|
109
109
|
The five-phase workflow:
|
|
110
110
|
|
|
111
111
|
```
|
|
112
|
-
1. /compound:
|
|
112
|
+
1. /compound:spec-dev --> Develop precise specifications
|
|
113
113
|
2. /compound:plan --> Create tasks enriched by memory search
|
|
114
114
|
3. /compound:work --> Execute with agent teams + TDD
|
|
115
115
|
4. /compound:review --> Multi-agent review with inter-communication
|
|
@@ -119,7 +119,7 @@ The five-phase workflow:
|
|
|
119
119
|
Or run all phases sequentially:
|
|
120
120
|
|
|
121
121
|
```
|
|
122
|
-
/compound:
|
|
122
|
+
/compound:cook-it "Add auth to API"
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
Each phase searches memory for relevant past knowledge and injects it into agent context. The compound phase captures new knowledge, closing the loop.
|
|
@@ -166,7 +166,7 @@ The CLI binary is `ca` (alias: `compound-agent`).
|
|
|
166
166
|
| `ca import <file>` | Import items from JSONL file |
|
|
167
167
|
| `ca prime` | Load workflow context (used by hooks) |
|
|
168
168
|
| `ca verify-gates <epic-id>` | Verify review + compound tasks exist and are closed |
|
|
169
|
-
| `ca phase-check` | Manage
|
|
169
|
+
| `ca phase-check` | Manage cook-it phase state (init/status/clean/gate) |
|
|
170
170
|
| `ca audit` | Run audit checks against the codebase |
|
|
171
171
|
| `ca rules check` | Run repository-defined rule checks |
|
|
172
172
|
| `ca test-summary` | Run tests and output a compact summary |
|