Validation Rules
Executive Summary
- Purpose: Validation Rules
- Key sections: Validation Categories
- Focus: Validation rules act as mandatory quality gates. If a rule produces a failure, execution halts immediately. These rules exist at the system level and are referenced by individual plays.
Validation Categories
- Data Correctness: Verifying that inputs match expected types, formats, and ranges.
- Logical Consistency: Ensuring that the sequence of events and states make sense within the given context.
- Business Realism: Checking that proposed actions or outputs are feasible and aligned with constraints.
- Output Safety: Preventing the generation of harmful, incorrect, or confusing artifacts.