Documentation
¶
Overview ¶
Package doctor runs a set of preflight checks: git state, stack detection, config validity, tool availability. Same output contract as `gauntlet check` — verdict-first, ranked, exit 0/1/2.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check interface {
Name() string
Run(root string) CheckResult
}
Check is the pluggable interface every preflight step satisfies.
type CheckResult ¶
type CheckResult struct {
Name string
Status CheckStatus
Message string
// Fix is a short human-readable next-action if Status != OK.
Fix string
}
CheckResult is what every Check returns.
type CheckStatus ¶
type CheckStatus int
CheckStatus is the outcome of one preflight check.
const ( StatusOK CheckStatus = iota StatusWarn StatusFail )
Click to show internal directories.
Click to hide internal directories.