Phase 1 & 2 improvements to reduce token waste and improve robustness: 1. Complexity scoring in batch-super-dev (step 2.6) - Score stories as micro/standard/complex based on task count + risk keywords - Micro (≤3 tasks, low risk): lightweight path - Standard: full pipeline - Complex (≥16 tasks or high-risk): enhanced validation 2. Lightweight path for micro stories - Skip pre-gap analysis (step 2) for micro complexity - Skip code review (step 5) for micro complexity - Estimated 50-70% token savings on simple stories 3. Smart batching clarification - Fixed contradictory instructions in step-03-implement.md - Default: one task at a time - Exception: batch low-risk patterns (package installs, imports) 4. Gap analysis optimization - dev-story skips step 1.5 if recent gap analysis exists (<24h) - Added skip_gap_analysis flag for pre-validated stories 5. Early bailout pre-flight check (step 4.5) - Bail early if story already complete (all tasks checked) - Bail if no tasks found (malformed story) - Bail if missing required sections - Saves tokens on stories that don't need processing 6. Multi-agent review integration (step 5) - For complex stories: recommend /multi-agent-review - Provides architecture, security, and performance review - Dynamic agent selection based on changed files |
||
|---|---|---|
| .. | ||
| _module-installer | ||
| agents | ||
| gametest | ||
| teams | ||
| workflows | ||
| module.yaml | ||