Skip to content

Add dotfiles-doctor read-only health check - #28

Open
technicalpickles wants to merge 2 commits into
mainfrom
rescue-dotfiles-doctor
Open

Add dotfiles-doctor read-only health check#28
technicalpickles wants to merge 2 commits into
mainfrom
rescue-dotfiles-doctor

Conversation

@technicalpickles

Copy link
Copy Markdown
Owner

Summary

  • Adds bin/dotfiles-doctor, a read-only health check for install state: role detection, dotfile symlink health, LaunchAgent symlink health, and tool availability
  • Reuses the existing helpers in functions.sh rather than duplicating them
  • Repairing a dangling LaunchAgent symlink stays symlinks.sh's job; this only reports it as a failure

Test plan

  • Ran it locally: exits 0 with all-pass, exits 1 with --help handled correctly

Rescued from the orphaned launchagent-dangling-symlink-and-doctor-stepB
worktree, whose branch had no unlanded commits of its own but this file
sat there uncommitted. Reports pass/fail for role detection, home/config
symlink health, LaunchAgents symlink health, and git/mise/brew
availability. Read-only -- repairs are symlinks.sh's job.
@technicalpickles
technicalpickles enabled auto-merge (squash) September 8, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant