fix: doctor deletions check and onboard docs improvements

- Fix doctor to treat empty deletions.jsonl as valid (0 entries OK status)
- Fix HydrateDeletionsManifest to create empty file when no deletions found
- Add --parent flag documentation to onboard command
- Add CLI --help tip throughout onboard documentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-11-27 13:23:14 -08:00
parent bba6dd1d70
commit 3f609267d4
4 changed files with 32 additions and 4 deletions

View File

@@ -67,7 +67,12 @@ func HydrateDeletionsManifest(path string) error {
}
if len(deletedIDs) == 0 {
fmt.Println(" No new deleted issues found in git history")
// Create empty deletions manifest to signal hydration is complete
// This prevents the check from re-warning after --fix runs
if err := deletions.WriteDeletions(deletionsPath, nil); err != nil {
return fmt.Errorf("failed to create empty deletions manifest: %w", err)
}
fmt.Println(" No deleted issues found in git history (created empty manifest)")
return nil
}