Introduces an optional RulePrecheck interface so rules can declare prerequisite checks against the current options (e.g. "missing API key"). POST /definition mirrors GET /definition and adds a precheck_failures map keyed by rule name, letting a UI fetch the definition and precheck results in a single round-trip. |
||
|---|---|---|
| .. | ||
| server | ||
| context.go | ||
| names.go | ||
| options.go | ||
| options_test.go | ||
| registry.go | ||
| registry_test.go | ||
| types.go | ||
| types_test.go | ||