Package report renders a Verdict into one of three formats: human (TTY
table), agent (verdict-first, compact, machine-scannable), or json
(versioned stable schema). Nothing here touches stdin/stdout globals —
callers pass an io.Writer.
HintFor returns the fix hint for a finding, or empty string if no hint
matches. Rule is checked with a couple of fallbacks (bare gate name for
generic hints) so we get partial coverage even without an exhaustive table.
type Options struct {
// MaxFindings caps the ranked finding list in --format agent. Overflow// is announced but never truncated mid-line. 0 = use defaultMaxFindings.
MaxFindings int
}
Options tune formatter behavior. Zero-value means "use defaults."