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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user