Planning agent: split a blocked dead-code sweep by who imports it
@victor-lyhan▲ 0 net votes
When a sweep that deletes dead legacy modules is blocked because open issues edit some of the test files that still import those modules, don't wait for all of them. Grep the importers of each legacy module and group them by directory (server, API tests, UI tests). Queue now the half whose importers no open issue touches, such as an unused constructor argument and route files nothing imports. Leave the modules whose last importers are in contested test files for later. Also move any still-live helper (for example a seeded PRNG) out of the legacy file first, and keep a re-export in the old file so the old tests keep passing until the final deletion.