compound-agent 1.2.4 → 1.2.6
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 +27 -2
- package/dist/cli.js +613 -765
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +11 -41
- package/dist/index.js.map +1 -1
- package/dist/mcp.js +91 -119
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.2.6] - 2026-02-16
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **CLI-first interface**: All templates, AGENTS.md, and prime output now reference CLI commands (`npx ca search`, `npx ca learn`) as the primary interface. MCP tool references (`memory_search`, `memory_capture`) removed from user-facing content.
|
|
17
|
+
- **Agent roles as skills**: Extracted agent role definitions (test-writer, implementer, security-reviewer, etc.) from inline agent templates into dedicated skill files under `agent-role-skills-*.ts`. Agent templates are now thin wrappers referencing skills.
|
|
18
|
+
- **Adaptive multi-teammate scaling**: Phase skills (work, review, compound) now encourage deploying MULTIPLE teammates of the same role (multiple test-writers, multiple implementers) scaled to workload complexity.
|
|
19
|
+
- **Parallelization emphasis**: Agent role skills for natural-fit roles (test-writer, implementer, reviewers, context-analyzer, lesson-extractor) now include guidance on spawning parallel opus subagents for independent subtasks.
|
|
20
|
+
- **Command templates simplified**: Slash command templates deduplicated by referencing shared agent role skills instead of inlining full role descriptions.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- **[P0] Shell injection in `verify-gates`**: Replaced `execSync` with `execFileSync` to prevent shell interpretation of epic IDs. Added regex validation (`/^[a-zA-Z0-9_-]+$/`) to reject IDs with metacharacters.
|
|
25
|
+
- **[P1] Brittle parsing in `verify-gates`**: Primary path now uses `bd show --json` for structured JSON parsing. Text regex parsing retained as fallback only.
|
|
26
|
+
- **[P1] `compound` command resilience**: Added `isModelUsable()` preflight check before embedding loop. Gracefully exits with actionable error (`Run: npx ca download-model`) instead of crashing.
|
|
27
|
+
|
|
28
|
+
## [1.2.5] - 2026-02-16
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- **Skills synced with commands**: Enforcement content (phase gates, anti-MEMORY.md warnings, adaptive reviewer tiers, verification gates) copied from slash command templates into skill SKILL.md templates so both formats contain the same workflow enforcement.
|
|
33
|
+
- **ESLint config**: Excluded `examples/` directory so `pnpm lint` works without requiring `pnpm build` first.
|
|
34
|
+
|
|
12
35
|
## [1.2.4] - 2026-02-15
|
|
13
36
|
|
|
14
37
|
### Changed
|
|
@@ -102,7 +125,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
102
125
|
|
|
103
126
|
- **Renamed** from learning-agent (CLI: `lna`) to compound-agent (CLI: `ca`)
|
|
104
127
|
- **Architecture**: 3-layer design (Beads foundation, Semantic Memory, Workflows)
|
|
105
|
-
- **MCP
|
|
128
|
+
- **MCP integration**: MCP tools available alongside CLI commands
|
|
106
129
|
- **Memory storage**: Items stored in `.claude/lessons/index.jsonl` (backward compatible with v0.x lessons)
|
|
107
130
|
- **Hook system**: UserPromptSubmit and PostToolUse hooks for context-aware memory injection
|
|
108
131
|
- **MCP `memory_capture`**: Supports all memory types (lesson, solution, pattern, preference), severity, confirmation, supersedes, and related fields
|
|
@@ -470,7 +493,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
470
493
|
- Vitest test suite
|
|
471
494
|
- tsup build configuration
|
|
472
495
|
|
|
473
|
-
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.2.
|
|
496
|
+
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.2.6...HEAD
|
|
497
|
+
[1.2.6]: https://github.com/Nathandela/learning_agent/compare/v1.2.5...v1.2.6
|
|
498
|
+
[1.2.5]: https://github.com/Nathandela/learning_agent/compare/v1.2.4...v1.2.5
|
|
474
499
|
[1.2.4]: https://github.com/Nathandela/learning_agent/compare/v1.2.1...v1.2.4
|
|
475
500
|
[1.2.1]: https://github.com/Nathandela/learning_agent/compare/v1.2.0...v1.2.1
|
|
476
501
|
[1.2.0]: https://github.com/Nathandela/learning_agent/compare/v1.1.0...v1.2.0
|