Optional team criteria
Kody assesses risk without team criteria. Criteria add team context, such as the consequences of changing account permissions or deleting customer data. A criterion has a name, instructions, a switch and optional included/excluded file patterns. Its file filters scope the guidance; matching a file does not automatically declare the PR risky. Kody still assesses the rest of the change. The assessment uses the diff and available code/history context. Missing history is unknown information, not evidence of safety.Results
- Risk found: risk-conditioned agents may run, Routing uses its risk-found mode, and automatic approval is blocked.
- No risk found: Routing uses its no-risk mode. Approval still needs a clean review and a matching policy.
- Unavailable: Routing uses the configured default review mode. Automatic approval is blocked, and agents that require confirmed risk do not run automatically.
Preview on a PR
Preview on a PR opens a side panel. Choose a connected repository and PR number to try the current criteria, including unsaved edits. It uses the configured risk-assessment model and does not publish a comment or approve the PR.YAML
riskCriteria: [] keeps Kody’s standard assessment. To stop assessment, set riskAssessmentActive: false.
Existing configurations preserve their effective legacy assessment state until the independent setting is changed. Changing automatic approval keeps the engine state shown in Risk assessment.