You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| T1 |TODO| Run `cargo machete --with-metadata` and record the full list of flagged dependencies |Baseline list; confirm each is genuinely unused before removal|
84
-
| T2 |TODO| Update `contrib/dev-tools/git/hooks/pre-commit.sh` to use `cargo machete --with-metadata`| Hook passes with the new flag |
85
-
| T3 |TODO| Update CI workflow(s) that call `cargo machete` without `--with-metadata`|CI step passes with the new flag |
86
-
| T4 |TODO| Remove flagged unused dependencies from all `Cargo.toml` files |`cargo machete --with-metadata` reports clean after removals |
87
-
| T5 |TODO| Run `cargo build --workspace` and `cargo test --workspace`| Clean build; all tests pass |
| T1 |DONE| Run `cargo machete --with-metadata` and record the full list of flagged dependencies |22 unused deps found across 13 packages; 1 false-positive (`serde_bytes`) handled via ignore list |
84
+
| T2 |DONE| Update `contrib/dev-tools/git/hooks/pre-commit.sh` to use `cargo machete --with-metadata`| Hook passes with the new flag|
85
+
| T3 |DONE| Update CI workflow(s) that call `cargo machete` without `--with-metadata`|N/A — only `copilot-setup-steps.yml` exists in this repo and only installs the tool; does not call it|
86
+
| T4 |DONE| Remove flagged unused dependencies from all `Cargo.toml` files |`cargo machete --with-metadata` reports clean after removals|
87
+
| T5 |DONE| Run `cargo build --workspace` and `cargo test --workspace`| Clean build; all tests pass|
88
+
| T6 |DONE| Run `linter all`| Exit code `0`|
89
89
90
90
## Progress Tracking
91
91
92
92
### Workflow Checkpoints
93
93
94
94
-[x] Spec drafted in `docs/issues/drafts/`
95
-
-[] Spec reviewed and approved by user/maintainer
96
-
-[] GitHub issue created and issue number added to this spec
97
-
-[] Spec moved to `docs/issues/open/` with issue number prefix
98
-
-[] Implementation completed
99
-
-[] Automatic verification completed (`linter all`, `cargo test --workspace`)
100
-
-[] Manual verification scenarios executed and recorded (status + evidence)
101
-
-[] Acceptance criteria reviewed after implementation and updated with evidence
95
+
-[x] Spec reviewed and approved by user/maintainer
96
+
-[x] GitHub issue created and issue number added to this spec
97
+
-[x] Spec moved to `docs/issues/open/` with issue number prefix
98
+
-[x] Implementation completed
99
+
-[x] Automatic verification completed (`linter all`, `cargo test --workspace`)
100
+
-[x] Manual verification scenarios executed and recorded (status + evidence)
101
+
-[x] Acceptance criteria reviewed after implementation and updated with evidence
102
102
-[ ] Reviewer validated acceptance criteria and updated checkboxes
103
-
-[] Committer verified spec progress is up to date before commit
103
+
-[x] Committer verified spec progress is up to date before commit
104
104
-[ ] Issue closed and spec moved from `docs/issues/open/` to `docs/issues/closed/`
105
105
106
106
### Progress Log
107
107
108
108
- 2026-05-20 00:00 UTC - josecelano - Spec drafted. Root cause identified: plain `cargo machete`
109
109
has false negatives for dev dependencies; `--with-metadata` mode is accurate. Full list of
110
110
unused deps generated by running `cargo machete --with-metadata` in the workspace.
| M1 | Pre-commit hook uses `--with-metadata`|`grep machete contrib/dev-tools/git/hooks/pre-commit.sh`| Output includes `--with-metadata`|DONE| Line confirms: `cargo machete --with-metadata`|
144
+
| M2 | No unused deps remain after removals |`cargo machete --with-metadata`| "didn't find any unused dependencies. Good job!" |DONE|`cargo-machete didn't find any unused dependencies in this directory. Good job!`|
145
+
| M3 | Workspace builds and tests pass after dep removals |`cargo build --workspace && cargo test --workspace`| Both commands exit `0`|DONE| Both exit `0`; full test suite passes |
0 commit comments