Context
From the Rhiza quality assessment. src/rhiza/models/_git_utils.py is 1011 LOC — the single outsized module (next largest are commands/init.py 703 and commands/summarise.py 692). The package split is otherwise clean.
Subcategory / score
Code structure & readability 8 → 9.
Where
src/rhiza/models/_git_utils.py — split into cohesive submodules along functional seams (e.g. sparse-checkout, diff/merge, ref resolution) behind the existing public surface.
Acceptance criterion
Done when no single module exceeds ~500 LOC, the public import path is unchanged, and all 646 tests + the coverage gate still pass.
Scope: locally-owned (src/).
Context
From the Rhiza quality assessment.
src/rhiza/models/_git_utils.pyis 1011 LOC — the single outsized module (next largest arecommands/init.py703 andcommands/summarise.py692). The package split is otherwise clean.Subcategory / score
Code structure & readability 8 → 9.
Where
src/rhiza/models/_git_utils.py— split into cohesive submodules along functional seams (e.g. sparse-checkout, diff/merge, ref resolution) behind the existing public surface.Acceptance criterion
Done when no single module exceeds ~500 LOC, the public import path is unchanged, and all 646 tests + the coverage gate still pass.
Scope: locally-owned (
src/).