mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-17 15:34:54 +00:00
1.1 KiB
1.1 KiB
code-rs Dead-Code Sweep Plan
We now carry the upstream tree side-by-side. To keep code-rs/ lean while
we bridge to the upstream crates, run focused dead-code sweeps on a schedule.
Cadence
| Window | Focus areas | Owner |
|---|---|---|
| 2025-10-20 → 2025-10-24 | code-rs/tui/* legacy render helpers, unused history cell modules. |
TUI pod |
| 2025-11-17 → 2025-11-21 | code-rs/core/* legacy executor adapters after the upstream router lands. |
Core runtime pod |
| 2025-12-15 → 2025-12-19 | Remaining crates (CLI, browser, app-server) post-executor migration. | Repo maintainers |
Add follow-up rows as additional migrations finish.
Sweep checklist
- Run
rg --files-without-matchpatterns to detect unused modules (e.g.moddeclarations). - Confirm no crate-level
pub useexposes the target symbol externally. - Delete the dead module/file and rerun
./build-fast.sh --workspace code. - If the removal mirrors an upstream deletion, record it in
docs/subsystem-migration-status.mdso future merges know the fork matches upstream.
Track outcomes in PR descriptions so we know which areas are already cleaned.