feat: 'claudebox doctor' — the host-health checks as a first-class verb #50
No reviewers
Labels
No labels
blocked
blocker:ci-red
blocker:conflict
blocker:drill-pending
blocker:unrequested
bug
claimed
documentation
enhancement
epic
merge-next
needs-triage
ready
release
scope:cli
scope:drill
scope:host
scope:installer
scope:templates
scope:tiers
stale
state:addressing
state:bots-reviewing
state:building
state:needs-human
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: heavy-duty/box#50
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/doctor-verb"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #46.
Delegation, per the issue: the install tree already ships the whole repo, so the verb is a table row + a function that
execs the installeddrill/doctor.shwith its flags passed through — the doctor's exit code (0 clean / 1 problems) is the verb's. One hardened script, two audiences, and the five-false-alarms lesson (#40/#42/#43) is inherited rather than re-learned.Vocabulary reframed: the verdict now reads
fit to mint boxes (and to drill)— same facts, right audience. The header comment names both callers.The mint-failure path stops freelancing:
cmd_new's cloud-init failure hint — which hand-diagnosed the #33 resolver case inline — now ends withDiagnose it: claudebox doctor, and mentions the two other mint-killers the doctor catches (wedged daemon, dnsmasq not serving).Also:
claudebox help doctorexplains what is checked and why each check exists; README's command table gains the row. Flags after the verb work directly (claudebox doctor --fix) via a one-line parser pass-through, since the doctor's flags belong to the doctor.Not done here, deliberately: splitting the drill-only sections out of the script — the issue leaves placement to the implementer, and the
--fixdrill-leftover checks are harmless (and honest) for a user host. If #17 lands first, this is one more rename site; if this lands first,box doctoris the rename.🤖 Generated with Claude Code