BMAD-METHOD/scripts/epic-execute-lib
Caleb 98a5413926 feat(epic-execute): domain-aware design (frontend/backend/fullstack lenses)
Tailor the design phase to the feature's domain instead of using one generic
(backend-flavored) schema for everything.

- classify_feature_domain: auto-detect frontend/backend/fullstack from an
  explicit story Type:/Domain: field, then heuristic keyword scoring, failing
  safe to fullstack (the superset) when ambiguous
- build_lens_block + build_domain_schema: inject a domain-specific planning
  lens (component states, a11y, responsive / API contract, error handling,
  migrations, concurrency, observability) and matching JSON fields, added to
  the existing core schema (non-breaking)
- run_design_critic is now domain-aware: missing FE component states/a11y or
  BE error paths/status codes are enforced as NEEDS_REVISION gaps via the
  existing revision loop
- validate_domain_completeness: advisory warning + metric for the common
  omissions (FE components without states, BE API without error handling)
- get_result_feature_type getter; TDD reconciliation now hints which test
  kinds to emphasize per domain

Auto-detection only (no manual override flag yet). All additions are advisory
except the critic enforcement, preserving the non-blocking design contract.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 06:25:00 -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): domain-aware design (frontend/backend/fullstack lenses) 2026-06-03 06:25:00 -05:00
json-output.sh feat(epic-execute): domain-aware design (frontend/backend/fullstack lenses) 2026-06-03 06:25:00 -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(epic-execute): reconcile TDD test specs with design plan 2026-06-03 06:05:33 -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