Versions in this module Expand all Collapse all v0 v0.2.0 Nov 5, 2026 Changes in this version + type Format string + const FormatAgents + const FormatBoth + const FormatClaude + type Options struct + DryRun bool + Format Format + OutputDir string + RepoRoot string + type Result struct + AgentsOmitted int + AgentsTrunc bool + Files []WrittenFile + RulesEmitted int + ScopesCovered int + func Generate(scoped []ScopedConventions, opts Options) (Result, error) + type Rule struct + ClaimType string + Confidence float64 + Evidence string + Text string + type ScopedConventions struct + Rules []Rule + Scope string + func SelectConventions(patterns []store.Pattern, opts SelectOpts) []ScopedConventions + type SelectOpts struct + Check check.Options + IncludeNumeric bool + Language string + MaxGlobal int + MaxPerScope int + MaxScopes int + MinConfidence float64 + ScopeFunctionCounts map[string]int + func DefaultSelectOpts(o SelectOpts) SelectOpts + type WrittenFile struct + Action string + Diverted bool + Path string + RuleN int