This commit refactors the monolithic implement-story-with-review.md into focused, reusable task components to address context window concerns and improve maintainability.
New modular task structure:
- story-analysis.md (40 lines): Handles codebase search, dependency analysis, and complexity assessment
- internal-review-process.md (30 lines): Manages 6-criteria code review workflow
- memory-synthesis.md (50 lines): Extracts and validates learnings into project memory
- implement-story-with-review.md (40 lines): Simplified orchestrator that coordinates sub-tasks
Key benefits:
- Minimal context loading: Each task loads only necessary information
- Reusability: Sub-tasks can be used independently or in other workflows
- Maintainability: Easier to update individual components without affecting others
- IDE compatibility: Better support for tools with short context windows like Cursor
- Separation of concerns: Clear boundaries between analysis, review, and synthesis phases
Updated dev agent dependencies to include all new modular tasks while maintaining full workflow functionality and backward compatibility.