Versions in this module Expand all Collapse all v0 v0.1.0 Jul 18, 2026 Changes in this version + func GuidanceFromJSON(raw string) (*types.ModificationGuidance, error) + func GuidanceJSON(g *types.ModificationGuidance) (string, error) + type CategoryRule struct + AlsoReview []string + Name string + Paths []string + RequiredTests []string + WatchOut []string + type Policy struct + Categories []CategoryRule + Version int + func Load(path string) (*Policy, error) + func Parse(raw []byte) (*Policy, error) + func (p *Policy) Apply(chunks []types.Chunk) map[string]int + func (p *Policy) Validate() error