BMAD-METHOD/scripts
Caleb 5c63f31c0e feat(epic-execute): add JSON output parsing and TDD workflow phases
Implements the final two improvements from bmad_improvements_v2.md:

## Structured JSON Output (Improvement #6)
- New module: scripts/epic-execute-lib/json-output.sh
- Functions for extracting and parsing JSON from Claude output
- Unified check_phase_completion() with JSON + text fallback
- Updated prompts to request JSON result blocks
- Added --legacy-output flag to disable JSON parsing

## Test-First Flow (Improvement #7)
- New module: scripts/epic-execute-lib/tdd-flow.sh
- execute_test_spec_phase() - Generates BDD specs from acceptance criteria
- execute_test_impl_phase() - Creates failing tests from specs
- execute_test_verification_phase() - Verifies tests fail correctly
- Integration with dev phase for TDD context
- Added --skip-tdd, --skip-test-spec, --skip-test-impl flags

All 7 improvements from the analysis are now complete.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 14:33:25 -06:00
..
epic-execute-lib feat(epic-execute): add JSON output parsing and TDD workflow phases 2026-01-26 14:33:25 -06:00
epic-chain.sh feat: implement UAT validation with self-healing fix loop 2026-01-05 19:24:18 -06:00
epic-execute.sh feat(epic-execute): add JSON output parsing and TDD workflow phases 2026-01-26 14:33:25 -06:00
uat-validate.sh feat(uat-validate): add human intervention detection and enhanced fix context 2026-01-19 04:37:29 -06:00