mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
Collapse src/config/resolve.ts into an orchestrated pipeline over domain modules, wire launcher regression coverage into test scripts, and sync backlog/subagent tracking artifacts for completed TASK-74/TASK-96/TASK-98 follow-up planning.
1.7 KiB
1.7 KiB
id, title, status, assignee, created_date, updated_date, labels, dependencies, priority
| id | title | status | assignee | created_date | updated_date | labels | dependencies | priority | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TASK-100 | Run post-refactor dead code prune and cleanup | To Do | 2026-02-21 07:15 | 2026-02-21 07:15 |
|
|
medium |
Description
Major refactors likely left unused exports/helpers and stale compatibility code. Perform a deliberate dead-code sweep with regression safety.
Action Steps
- Run unused-export scans (
ts-pruneor equivalent) and collect candidate list. - Manually verify each candidate to avoid false positives from dynamic loading/IPC wiring.
- Remove or inline confirmed dead code; simplify import surfaces/barrels accordingly.
- Delete stale helper paths retained only for pre-composer wiring.
- Add or update regression tests where removal could alter behavior.
- Run verification gate:
bun run build,bun run test:config:dist,bun run test:core:dist. - Publish cleanup report: removed files/exports, kept exceptions, and rationale.
Acceptance Criteria
- #1 Confirmed dead code removed without behavior regressions.
- #2 Remaining flagged candidates either resolved or documented with justification.
- #3 Build and core/config suites pass after cleanup.
- #4 Import graph complexity reduced (fewer exports/entrypoints where applicable).
Definition of Done
- #1 Dead-code report attached in task notes.
- #2 Regression test updates included for risky removals.
- #3 Verification gate commands complete successfully.