compound-agent 1.2.6 → 1.2.7
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 +14 -1
- package/dist/cli.js +18 -22
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [1.2.7] - 2026-02-17
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **Explicit agent mechanism language in phase skills**: Each phase now clearly distinguishes subagents (Task tool, lightweight research) from AgentTeam teammates (TeamCreate + Task with `team_name`, dedicated role skills). Relative paths to agent definitions and role skill files included in every step.
|
|
17
|
+
- Brainstorm/Plan: "Spawn **subagents** via Task tool" referencing `.claude/agents/compound/*.md`
|
|
18
|
+
- Work/Review/Compound: "Deploy an **AgentTeam** (TeamCreate + Task with `team_name`)" referencing `.claude/skills/compound/agents/*/SKILL.md`
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- **`verify-gates` JSON array unwrap**: `bd show --json` returns an array, not an object. `parseDepsJson()` now unwraps the first element before reading `depends_on`. Previously caused false gate failures on valid epics.
|
|
23
|
+
|
|
12
24
|
## [1.2.6] - 2026-02-16
|
|
13
25
|
|
|
14
26
|
### Changed
|
|
@@ -493,7 +505,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
493
505
|
- Vitest test suite
|
|
494
506
|
- tsup build configuration
|
|
495
507
|
|
|
496
|
-
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.2.
|
|
508
|
+
[Unreleased]: https://github.com/Nathandela/learning_agent/compare/v1.2.7...HEAD
|
|
509
|
+
[1.2.7]: https://github.com/Nathandela/learning_agent/compare/v1.2.6...v1.2.7
|
|
497
510
|
[1.2.6]: https://github.com/Nathandela/learning_agent/compare/v1.2.5...v1.2.6
|
|
498
511
|
[1.2.5]: https://github.com/Nathandela/learning_agent/compare/v1.2.4...v1.2.5
|
|
499
512
|
[1.2.4]: https://github.com/Nathandela/learning_agent/compare/v1.2.1...v1.2.4
|
package/dist/cli.js
CHANGED
|
@@ -3131,10 +3131,10 @@ Explore the problem space before committing to a solution. This phase produces a
|
|
|
3131
3131
|
## Methodology
|
|
3132
3132
|
1. Ask "why" before "how" -- understand the real problem
|
|
3133
3133
|
2. Search memory with \`npx ca search\` for similar past features and known constraints
|
|
3134
|
-
3. Spawn
|
|
3135
|
-
-
|
|
3136
|
-
-
|
|
3137
|
-
-
|
|
3134
|
+
3. Spawn **subagents** via Task tool in parallel for research (lightweight, no inter-agent coordination):
|
|
3135
|
+
- Available agents: \`.claude/agents/compound/repo-analyst.md\`, \`memory-analyst.md\`
|
|
3136
|
+
- Or use \`subagent_type: Explore\` for ad-hoc research
|
|
3137
|
+
- Deploy MULTIPLE when topic spans several domains; synthesize all findings before proceeding
|
|
3138
3138
|
4. Use \`AskUserQuestion\` to clarify scope, constraints, and preferences
|
|
3139
3139
|
5. Divergent phase: generate multiple approaches without filtering
|
|
3140
3140
|
6. Identify constraints and non-functional requirements (performance, security, etc.)
|
|
@@ -3185,9 +3185,9 @@ Create a concrete implementation plan by decomposing work into small, testable t
|
|
|
3185
3185
|
## Methodology
|
|
3186
3186
|
1. Review brainstorm output for decisions and open questions
|
|
3187
3187
|
2. Search memory with \`npx ca search\` for architectural patterns and past mistakes
|
|
3188
|
-
3. Spawn
|
|
3189
|
-
-
|
|
3190
|
-
- For complex features
|
|
3188
|
+
3. Spawn **subagents** via Task tool in parallel for research (lightweight, no inter-agent coordination):
|
|
3189
|
+
- Available agents: \`.claude/agents/compound/repo-analyst.md\`, \`memory-analyst.md\`
|
|
3190
|
+
- For complex features, deploy MULTIPLE analysts per domain area
|
|
3191
3191
|
- Synthesize all findings before decomposing into tasks
|
|
3192
3192
|
4. Synthesize research findings into a coherent approach. Flag conflicts between ADRs and proposed plan.
|
|
3193
3193
|
5. Use \`AskUserQuestion\` to resolve ambiguities, conflicting constraints, or priority trade-offs before decomposing
|
|
@@ -3244,9 +3244,9 @@ Execute implementation through an AgentTeam using adaptive TDD. The lead coordin
|
|
|
3244
3244
|
2. Mark tasks in progress: \`bd update <id> --status=in_progress\`
|
|
3245
3245
|
3. Run \`npx ca search\` per agent/subtask for targeted context. Display results.
|
|
3246
3246
|
4. Assess parallelization: identify independent tasks that can be worked simultaneously
|
|
3247
|
-
5. Deploy an AgentTeam with MULTIPLE test-writers and implementers
|
|
3248
|
-
-
|
|
3249
|
-
-
|
|
3247
|
+
5. Deploy an **AgentTeam** (TeamCreate + Task with \`team_name\`) with MULTIPLE test-writers and implementers:
|
|
3248
|
+
- Role skills: \`.claude/skills/compound/agents/{test-writer,implementer}/SKILL.md\`
|
|
3249
|
+
- Scale teammate count to independent tasks; pairs coordinate via SendMessage on shared interfaces
|
|
3250
3250
|
6. Agents communicate via SendMessage when working on overlapping areas.
|
|
3251
3251
|
7. Lead coordinates: review agent outputs, resolve conflicts, verify tests pass. Do not write code directly.
|
|
3252
3252
|
8. If blocked, use AskUserQuestion to get user direction.
|
|
@@ -3317,9 +3317,9 @@ Perform thorough code review by spawning specialized reviewers in parallel, cons
|
|
|
3317
3317
|
- **Small** (<100 lines): 4 core -- security, test-coverage, simplicity, cct-reviewer
|
|
3318
3318
|
- **Medium** (100-500): add architecture, performance, edge-case (7 total)
|
|
3319
3319
|
- **Large** (500+): all 11 reviewers including docs, consistency, error-handling, pattern-matcher
|
|
3320
|
-
4. Spawn
|
|
3321
|
-
-
|
|
3322
|
-
-
|
|
3320
|
+
4. Spawn reviewers in an **AgentTeam** (TeamCreate + Task with \`team_name\`):
|
|
3321
|
+
- Role skills: \`.claude/skills/compound/agents/{security-reviewer,architecture-reviewer,performance-reviewer,test-coverage-reviewer,simplicity-reviewer}/SKILL.md\`
|
|
3322
|
+
- For large diffs (500+), deploy MULTIPLE instances; split files across instances, coordinate via SendMessage
|
|
3323
3323
|
5. Reviewers communicate findings to each other via \`SendMessage\`
|
|
3324
3324
|
6. Collect, consolidate, and deduplicate all findings
|
|
3325
3325
|
7. Classify by severity: P1 (critical/blocking), P2 (important), P3 (minor)
|
|
@@ -3380,15 +3380,11 @@ Lessons go to \`.claude/lessons/index.jsonl\` through the CLI. MEMORY.md is a di
|
|
|
3380
3380
|
|
|
3381
3381
|
## Methodology
|
|
3382
3382
|
1. Review what happened during this cycle (git diff, test results, plan context)
|
|
3383
|
-
2. Spawn the analysis pipeline in an AgentTeam
|
|
3384
|
-
-
|
|
3385
|
-
-
|
|
3386
|
-
- context-
|
|
3387
|
-
-
|
|
3388
|
-
- docs-reviewer: scans \`docs/\` for outdated content and ADRs that need updating
|
|
3389
|
-
- pattern-matcher: checks \`npx ca search\` for duplicates and related items
|
|
3390
|
-
- solution-writer: drafts final memory items
|
|
3391
|
-
- compounding: synthesizes accumulated lessons into CCT patterns
|
|
3383
|
+
2. Spawn the analysis pipeline in an **AgentTeam** (TeamCreate + Task with \`team_name\`):
|
|
3384
|
+
- Role skills: \`.claude/skills/compound/agents/{context-analyzer,lesson-extractor,pattern-matcher,solution-writer,compounding}/SKILL.md\`
|
|
3385
|
+
- For large diffs, deploy MULTIPLE context-analyzers and lesson-extractors
|
|
3386
|
+
- Pipeline: context-analyzers -> lesson-extractors -> pattern-matcher + solution-writer -> compounding
|
|
3387
|
+
- Agents coordinate via SendMessage throughout the pipeline
|
|
3392
3388
|
3. Agents pass results through the pipeline via \`SendMessage\`. The lead coordinates: context-analyzer and lesson-extractor feed pattern-matcher and solution-writer, which feed compounding.
|
|
3393
3389
|
4. Apply quality filters: novelty check (>0.85 similarity = skip), specificity check
|
|
3394
3390
|
5. Classify each item by type: lesson, solution, pattern, or preference
|