Commit Graph

5 Commits

Author SHA1 Message Date
Caleb 3bad076884 fix(epic-execute): make --skip-done case-insensitive for status matching
The script marks stories with lowercase "done" but was checking for
capitalized "Done", causing --skip-done to never match completed stories.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 13:51:30 -06:00
Caleb 865b904041 feat(epic-execute): add comprehensive quality gates with self-healing
- Add architecture compliance check (per-story) with fix loop
- Add test quality review (per-story) with TEA patterns
- Add requirements traceability (per-epic) with self-healing test generation
- Add --skip-arch, --skip-test-quality, --skip-traceability flags
- Update workflow.md to v2.0 with new flow diagram
- Add step templates for each quality gate phase
- Include improvements doc and execution report

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 13:45:13 -06:00
Caleb 059c1f6e4a feat(epic-execute): integrate BMAD workflows with self-healing fix loop
- Replace inline prompts with actual BMAD workflow files:
  - dev-story workflow (workflow.yaml, instructions.xml, checklist.md)
  - code-review workflow (workflow.yaml, instructions.xml, checklist.md)
  - UAT generation templates (step-04-generate-uat.md, uat-template.md)

- Add workflow validation at startup to ensure all required files exist

- Implement self-healing fix loop for review failures:
  - When review fails, capture HIGH/MEDIUM severity findings
  - Spawn new fix phase using dev-story workflow in targeted fix mode
  - Re-run review after fixes to verify resolution
  - Retry up to 3 times before marking story as failed

- Enhanced metrics tracking:
  - fix_loop.total_fix_attempts: count of all fix phases
  - fix_loop.stories_requiring_fixes: stories needing at least one fix
  - fix_loop.max_retries_hit: stories that failed after 3 attempts
  - story_details: per-story fix attempt outcomes with timestamps

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 06:01:22 -06:00
Caleb 15b7bb1ae6 feat: implement UAT validation with self-healing fix loop
Add complete UAT validation workflow implementation:

- scripts/uat-validate.sh: Core UAT validation script with scenario
  classification, automated execution, and self-healing fix loop
- scripts/epic-execute.sh: Add metrics instrumentation for story
  execution tracking (init, update, finalize metrics)
- scripts/epic-chain.sh: Integrate UAT gate after each epic with
  configurable blocking mode, and add report generation phase

New workflow step documentation:
- step-01-load-uat.md: UAT document loading and parsing
- step-02-classify-scenarios.md: Scenario classification logic
- step-03-execute-scenarios.md: Automated scenario execution
- step-04-evaluate-gate.md: Gate evaluation and fix loop
- step-05-report-results.md: Metrics and signal output

Key features:
- Gate modes: quick (automatable only), full (+ semi-auto), skip
- Self-healing: spawns fresh Claude context for targeted fixes
- Metrics: YAML files track execution stats and UAT results
- Signals: parseable output for orchestration (UAT_GATE_RESULT, etc.)
- Handoffs: include UAT status and fix context references

Also fixes lint/format issues in pre-existing files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 19:24:18 -06:00
Caleb 66186e1438 feat: add epic-execute and epic-chain workflows
Add two new implementation workflows for the Scrum Master agent:
- epic-execute: Sequential story execution with isolated dev/review phases
- epic-chain: Multi-epic execution with dependency detection

Includes orchestration scripts and SM agent menu items.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 11:24:21 -06:00