Documentation
¶
Overview ¶
Package doctor diagnoses the seamark installation: binary, git, the index database's schema and integrity, policy and effect-catalogue compilation, hook wiring, agent and gh availability, and gitignore sanity. Every check is read-only and offline — doctor reports exact corrective actions and changes nothing. Semantic health (coverage, confidence, freshness) is `seamark status`'s job; doctor asks whether seamark can run at all.
Index ¶
Constants ¶
View Source
const ( StateOK = "ok" StateInfo = "info" StateWarn = "warn" StateFail = "fail" )
Check states, from healthy to broken. Info is a fact that needs no action; warn degrades a feature; fail means seamark cannot do its job.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check struct {
Name string `json:"name"`
State string `json:"state"`
Detail string `json:"detail"`
// Fix is the exact corrective action; empty when none is needed.
Fix string `json:"fix,omitempty"`
}
Check is one diagnostic finding.
Click to show internal directories.
Click to hide internal directories.