package infra

// CheckResult is the output of executing a single E2ECheck.
// It captures the status, timing, exit code, and any captured output.
type CheckResult struct {
	ID         string `json:"id"`
	Status     string `json:"status"`     // pass|fail|skip
	Severity   string `json:"severity"`   // critical|warning
	DurationMs int64  `json:"duration_ms"`
	ExitCode   int    `json:"exit_code"`
	Stdout     string `json:"stdout,omitempty"`
	Stderr     string `json:"stderr,omitempty"`
	Error      string `json:"error,omitempty"`
}
