Files
SubMiner/backlog/tasks/task-1.6 - Phase-6-Optional-Reorganize-services-by-domain-directories.md

1.7 KiB

id, title, status, assignee, created_date, updated_date, labels, dependencies, references, parent_task_id
id title status assignee created_date updated_date labels dependencies references parent_task_id
TASK-1.6 Phase 6 (Optional): Reorganize services by domain directories Done
2026-02-10 18:46 2026-02-10 19:41
TASK-1.5
plan.md
TASK-1

Description

If service flattening remains hard to navigate after Phases 1-5, optionally move modules into domain-based folders and update imports.

Acceptance Criteria

  • #1 A clear go/no-go decision for domain restructuring is documented based on post-phase-5 codebase state.
  • #2 If executed, service modules are reorganized into domain folders with no import or runtime breakage.
  • #3 Build and core test commands pass after any directory reorganization.

Implementation Plan

  1. Assess post-phase-5 directory complexity and determine whether domain reorganization is still justified.
  2. If complexity remains acceptable, record a no-go decision and keep current structure stable.
  3. If complexity is still problematic, perform import-safe domain reorganization and re-run build/tests.

Implementation Notes

Decision: no-go on Phase 6 directory reorganization for now. After Phases 1-5, service/module consolidation and test expansion have improved maintainability without introducing a high-risk import churn.

Rationale: preserving path stability now reduces regression risk while Phase 4 smoke validation remains open and large refactor commits are still stabilizing.

Verification baseline remains green (pnpm run test:core) with current structure.