src/project_forge/storage/db.py has 1230 lines
src/project_forge/storage/db.py is 1230 lines — past the 300-line split threshold. Largest top-level blocks (natural split candidates): class Database (1052 lines). class Database alone is 86% of the file — likely its own module. Splitting reduces cognitive load and makes future edits less risky.
Feasibility: 0.70
MVP Scope: Extract the top blocks (Database) into separate modules — e.g. src/project_forge/storage/database.py. Update imports in callers; keep public API unchanged.
src/project_forge/storage/db.py has 1230 lines
src/project_forge/storage/db.py is 1230 lines — past the 300-line split threshold. Largest top-level blocks (natural split candidates): class Database (1052 lines). class Database alone is 86% of the file — likely its own module. Splitting reduces cognitive load and makes future edits less risky.
Feasibility: 0.70
MVP Scope: Extract the top blocks (Database) into separate modules — e.g. src/project_forge/storage/database.py. Update imports in callers; keep public API unchanged.