mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
The production dead-code check has been documented rather than enforced since PR #691, because its list mixed real debt with false positives. Triaged against the shipped tree, six of them are genuinely unreachable and go now. Five died when their host was retired and the leaves were left behind: the recommendation card with its confidence meter and feedback control, the grid that mounted them, and the suggested-prompts chip strip that left the hero band in v1.18.7. The sixth, the comparison toggle, has had two regression tests pinning its absence since v1.4.22, because the preference it once set is a Settings concern now. Deleting them freed sixteen translation keys in every locale, a pinned entry in the success-affordance register, and two entries in the Coach gate fixtures. Each of those was found by a guard rather than by reading, which is the point of having them. The adapter under signals/adapters stays: knip reports it as unreachable because only a test imports it, but that test is the registry invariant it exists to prove, and deleting it would remove a check rather than dead weight.