fix(doctor): wire up CheckRedirectNotTracked and FixRedirectTracking

Completes the work from #813 by actually calling the new functions:
- Add Check 14b in doctor.go for redirect file tracking detection
- Add Redirect Not Tracked case in doctor_fix.go switch statement

Without this wiring, bd doctor would not detect or fix already-tracked
redirect files, only prevent new ones via the updated .gitignore template.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/crew/dave
Rig: beads
Role: crew
This commit is contained in:
Steve Yegge
2025-12-30 18:01:58 -08:00
parent c98f5827bf
commit 38a6097512
2 changed files with 7 additions and 0 deletions

View File

@@ -225,6 +225,8 @@ func applyFixList(path string, fixes []doctorCheck) {
switch check.Name {
case "Gitignore":
err = doctor.FixGitignore()
case "Redirect Not Tracked":
err = doctor.FixRedirectTracking()
case "Git Hooks":
err = fix.GitHooks(path)
case "Daemon Health":