.vbw-planning/milestones/03-coverage-analysis-quick-wins-critical-path-test-co/ROADMAP.md
This roadmap focuses on stabilizing and improving the existing SourceMonitor codebase through test coverage improvements and refactoring for maintainability. 4 phases progressing from analysis to coverage to refactoring to cleanup.
Goal: Analyze the coverage baseline, identify the highest-impact gaps, and close easy coverage wins (frozen_string_literal, small utility classes). Depends on: None
Requirements:
Success Criteria:
Plans:
Goal: Close the major test coverage gaps in the most critical business logic -- feed fetching, item creation, configuration, dashboard queries, and broadcasting. Depends on: Phase 1
Requirements:
Success Criteria:
Plans:
Goal: Break down the three largest files (FeedFetcher, Configuration, ImportSessionsController) into focused, single-responsibility modules while maintaining all existing tests. Depends on: Phase 2
Requirements:
Success Criteria:
Plans:
Goal: Final pass to ensure all code follows Rails best practices and conventions, clean up any remaining debt. Depends on: Phase 3
Requirements:
Success Criteria:
Plans:
| Phase | Plans Complete | Status | Completed |
|---|---|---|---|
| 1 - Coverage Analysis & Quick Wins | 2/2 | complete | 2026-02-09 |
| 2 - Critical Path Test Coverage | 5/5 | complete | 2026-02-09 |
| 3 - Large File Refactoring | 4/4 | complete | 2026-02-10 |
| 4 - Code Quality & Conventions Cleanup | 3/3 | complete | 2026-02-10 |
Last updated: 2026-02-10 after Phase 4 completion