Team-based TDD execution with adaptive complexity and agent delegation
Execute implementation through an AgentTeam using adaptive TDD. The lead coordinates and delegates -- agents write code.
bd ready or $ARGUMENTSbd update <id> --status=in_progressbd show <epic>) for spec context -- EARS requirements guide what "done" looks likenpx ca search per agent/subtask for targeted context. Display results.team_name) with MULTIPLE test-writers and implementers:
.claude/skills/compound/agents/{test-writer,implementer}/SKILL.mdbd close <id>npx ca search per delegated subtask with the subtask's specific descriptionnpx ca learn after corrections or novel discoveriesBefore bd close, you MUST:
pnpm test then pnpm lint (quality gates)/implementation-reviewer on changed code -- wait for APPROVED
If REJECTED: fix ALL issues, re-run tests, resubmit. INVIOLABLE per CLAUDE.md.The full 8-step pipeline (invariant-designer through implementation-reviewer) is recommended
for complex changes. For all changes, /implementation-reviewer is the minimum required gate.
bd ready to find available tasksbd update <id> --status=in_progress when startingbd close <id> when all tests passdocs/compound/research/tdd/ for TDD methodology, test-first development evidence, and best practicesdocs/compound/research/property-testing/ for property-based testing theory and invariant designnpx ca knowledge "TDD test-first" for indexed knowledge on testing methodologynpx ca search "testing" for lessons from past TDD cyclesbd)Before starting Review, verify ALL work tasks are closed:
bd list --status=in_progress must return emptybd list --status=open should only have Review and Compound tasks remaining
If any work tasks remain open, DO NOT proceed. Complete them first.