- Remove committed test_reports/ CI artifacts (summary.txt, test_results.json)
- Add test_reports/ to .gitignore to prevent future commits
- Update CHANGELOG.md with Fixed entry for #9401 under [Unreleased]
- Update CONTRIBUTORS.md with credit for directory clustering fix (#9401)
- Add BDD test scenarios for absolute path clustering in
features/large_project_decomposition.feature:
* Directory clustering works correctly with absolute file paths
* _directory_key returns correct key for absolute path with root
* Directory clustering does not collapse all absolute paths into one bucket
- Add corresponding step implementations in
features/steps/large_project_decomposition_coverage_steps.py
All 38 scenarios pass (including 3 new absolute path scenarios).
Lint and typecheck pass.
ISSUES CLOSED: #9401
Updated _directory_key() in decomposition_clustering.py to accept an optional root parameter and, when provided, compute relative paths before deriving the directory key. This allows proper clustering even for absolute file paths.
ClusterByDirectory updated to accept and propagate the root parameter to _directory_key().
DecompositionService._build_hierarchy() now determines a common root with _common_prefix() and passes it to cluster_by_directory(), ensuring directory clustering groups paths by their actual directory hierarchy rather than absolute paths.
These changes fix ineffective directory clustering for absolute paths in production.
ISSUES CLOSED: #9401