BMAD-METHOD/scripts/epic-execute-lib
Caleb a58fb564d1 feat(scripts): add env isolation, incremental logging, and test timeouts
- Wrap all Claude CLI subprocess calls with `env -u CLAUDECODE` to prevent
  parent env var interference with child processes (17 sites across 7 files)
- Add `flush_log_to_repo()` to epic-execute.sh for incremental log persistence
  after each story completes or fails (prevents log loss on interruption)
- Add portable `run_with_timeout` utility to utils.sh and wrap all test
  invocations in epic-execute.sh and regression-gate.sh with configurable
  timeout (default 120s via REGRESSION_TEST_TIMEOUT)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 05:19:53 -06:00
..
INIT.md merge: sync with upstream/main (v6.0.0-Beta.8) 2026-02-10 14:09:21 -06: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(scripts): add env isolation, incremental logging, and test timeouts 2026-02-14 05:19:53 -06:00
json-output.sh feat(epic-execute): implement medium-priority reliability fixes (M1-M5) 2026-01-26 15:11:41 -06:00
regression-gate.sh feat(scripts): add env isolation, incremental logging, and test timeouts 2026-02-14 05:19:53 -06:00
tdd-flow.sh feat(scripts): add env isolation, incremental logging, and test timeouts 2026-02-14 05:19:53 -06: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): add env isolation, incremental logging, and test timeouts 2026-02-14 05:19:53 -06:00