Issue 728
Audit: remove dead and unwanted code before the knowledge notes describe it
Back to our planOpen
toolingtech-debtpriority: high
Summary
Before the knowledge layer describes the code, find what nobody uses or the owner no longer wants, and remove it, so the notes never document dead or unwanted code.
Details
Summary of the owner's request (2026-11-06, Claude session, text, recorded on #712): review the knowledge layer for code that is unused, dead, or added to the repo and no longer wanted, and clean it up.
- Run knip (
npm run knip) and list unused files, exports and packages. - List every module, collection, global, route, plugin and job with one line on what it does and whether anything reaches it (a route, a menu link, a block in use, a job schedule).
- Post the list on this issue for the owner to mark keep or drop. Agents decide clear dead code themselves (unreachable, unused); a working feature is dropped only when the owner says so.
- Remove what is dropped in its own PRs, one area per PR, each with its migration if a collection or field goes.
Acceptance criteria
- Not done: The knip report and the feature list are posted here.
- Not done: The owner has marked each feature keep or drop, recorded as a summary with the date.
- Not done: Dead code and dropped features are removed, each in its own reviewed PR, before #719 writes their notes.
- Not done: knip reports nothing unused at the end.
Files likely touched: found by the audit; one PR per area. Must not touch: the notes (#715, #719) until the area is settled.
Size not set: a cloud session can't read the board.
Generated by Claude Code, opens in a new tab