Design phase improvement #7:
- Add build_planned_test_files_context, which extracts the test_files the
design phase already planned (resume-safe: in-memory then persisted file)
- Inject it into the test-spec phase prompt so TDD reuses the planned test
files and paths instead of independently deciding the test surface, and
flags any deviation
Returns empty (no-op) when there is no plan, no test_files, or jq is absent.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>