fix(doctor): make --fix automatically migrate tombstones
When bd doctor detects legacy deletions.jsonl, --fix now runs the tombstone migration automatically instead of requiring users to manually run bd migrate-tombstones. This makes the migration smoother for multi-clone scenarios where only one clone needs to do the actual migration, but other clones may still have local deletions.jsonl files that need cleanup. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -384,7 +384,7 @@ func applyFixList(path string, fixes []doctorCheck) {
|
||||
case "JSONL Config":
|
||||
err = fix.LegacyJSONLConfig(path)
|
||||
case "Deletions Manifest":
|
||||
err = fix.HydrateDeletionsManifest(path)
|
||||
err = fix.MigrateTombstones(path)
|
||||
case "Untracked Files":
|
||||
err = fix.UntrackedJSONL(path)
|
||||
case "Sync Branch Health":
|
||||
|
||||
Reference in New Issue
Block a user