package protocol import "fmt" // ValidateOutputFormat deliberately does not infer a contract from prompt text. // Empty preserves historical behavior. Report filenames are server-owned. func ValidateOutputFormat(format string) error { switch format { case "", "html", "markdown": return nil default: return fmt.Errorf("output_format must be html or markdown (or omitted)") } }