BMAD-METHOD/scripts/epic-execute-lib
Caleb 33d55f902c feat(epic-execute): deterministic repo map + design critic loop
Design phase improvements #5 and #4:

#5 Deterministic, language-aware exploration:
- Add detect_project_type (node/rust/go/python) and build_repo_map, which
  pre-computes a bounded repository map (project type, top-level structure,
  representative source files) tailored to the detected language
- Inject the map into the design prompt instead of hardcoded JS/TS find
  commands and "hope the model explores" guidance

#4 Critic loop:
- Add run_design_critic: a fresh-context skeptic that checks whether the plan
  maps every acceptance criterion and conforms to the architecture, emitting
  structured gaps
- execute_design_phase now generates -> critiques -> regenerates with gap
  feedback, bounded by MAX_DESIGN_CRITIC_ATTEMPTS (default 2). Design stays
  advisory: it always proceeds with the best plan and records a metric when
  gaps remain
- Add --skip-design-critic flag and document MAX_DESIGN_CRITIC_ATTEMPTS

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 06:04:52 -05:00
..
INIT.md merge: sync with upstream v6.8.0 2026-05-26 06:00:02 -05:00
decision-log.sh feat(epic-execute): add phase 2+3 improvements with modular architecture 2026-01-26 14:23:16 -06:00
design-phase.sh feat(epic-execute): deterministic repo map + design critic loop 2026-06-03 06:04:52 -05:00
json-output.sh feat(epic-execute): structured JSON design plan with AC-coverage check 2026-06-03 05:59:34 -05:00
regression-gate.sh feat(scripts): port memory-safe execution and reliability improvements from revive-dev 2026-04-12 11:52:39 -05:00
tdd-flow.sh feat(scripts): port memory-safe execution and reliability improvements from revive-dev 2026-04-12 11:52:39 -05:00
test-failure-filter.sh feat(epic-execute): add test failure filtering and sync improvements from revive-dev 2026-02-10 13:49:55 -06:00
utils.sh feat(scripts): port memory-safe execution and reliability improvements from revive-dev 2026-04-12 11:52:39 -05:00