More detail on the issues: Claim Audit (grounded)
mypy config drift exists
Type: Objective fact
Evidence: pyproject.toml (line 82) references cmd.py (missing), and pyproject.toml (line 89) references scan_reporting_subjective_paths.py (missing). Running mypy fails immediately on the missing file.
Confidence: High
Lint debt is significant right now
Type: Objective fact
Evidence: ruff check reports hundreds of issues (I001, UP017, F401, etc.) across source and tests; ruff --statistics shows heavy concentration in import ordering.
Confidence: High
Some modules are overloaded (single-file responsibility is broad)
Type: Objective evidence + subjective interpretation
Evidence:
phases.py (line 1) is 675 LOC and combines structural, coupling, naming, pattern, and React smell phase logic.
batch_core.py (line 1) is 669 LOC and combines payload parsing, validation, scoring penalty math, merge policy, and prompt generation ( (line 80), (line 225), (line 445), (line 591)).
Interpretation: this increases cognitive load and change risk.
Confidence: Medium-High
Private/internal boundaries are somewhat leaky
Type: Objective fact
Evidence: init.py (line 40) imports private phase* symbols; phases.py (line 356) exports private phase* names in all.
Confidence: High
Test maintainability pressure is real in a few giant files
Type: Objective evidence + subjective interpretation
Evidence: test_review.py (line 1) is 2587 LOC and spans many unrelated concerns (context, staleness, CLI integration, import behavior, auto-resolve flows).
Interpretation: high coverage, but navigation/refactor cost is high.
Confidence: Medium-High
There are genuinely strong architecture choices
Type: Objective fact
Evidence:
State façade is clear in state.py (line 1).
Canonical detector registry in registry.py (line 1).
Explicit dependency contracts declared in .importlinter (line 4).
Confidence: High
Basic CLI behavior is not obviously broken
Type: Objective fact (limited scope)
Evidence: sampled test test_cli.py passed in isolation.
Confidence: Medium (sampled, not full-suite)