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> |
||
|---|---|---|
| .. | ||
| INIT.md | ||
| decision-log.sh | ||
| design-phase.sh | ||
| json-output.sh | ||
| regression-gate.sh | ||
| tdd-flow.sh | ||
| test-failure-filter.sh | ||
| utils.sh | ||