BMAD-METHOD/scripts
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
..
epic-execute-lib feat(epic-execute): deterministic repo map + design critic loop 2026-06-03 06:04:52 -05:00
epic-chain.sh feat(scripts): port memory-safe execution and reliability improvements from revive-dev 2026-04-12 11:52:39 -05:00
epic-execute.sh feat(epic-execute): deterministic repo map + design critic loop 2026-06-03 06:04:52 -05:00
uat-validate.sh feat(scripts): port memory-safe execution and reliability improvements from revive-dev 2026-04-12 11:52:39 -05:00