Deterministic review gate
should_reviewCheck whether a coding decision is expensive enough to justify an independent review before committing; returns deterministic, LLM-free, advisory guidance from risk, scope, and change details.
Instructions
Deterministic (no LLM, free) check whether a decision is expensive enough to justify review_decision. Advisory only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | One-line description of the change (scanned for keywords). | |
| risk_level | Yes | ||
| irreversible | No | ||
| trivial_kind | No | Set if the change is one of the known-cheap kinds. | |
| decision_type | Yes | ||
| files_changed | No | ||
| modules_touched | No | ||
| changes_db_schema | No | ||
| changes_public_api | No | ||
| includes_migration | No | ||
| security_sensitive | No | ||
| competing_hypotheses | No | Debugging: number of plausible root-cause hypotheses still open. | |
| performance_critical | No | ||
| replaces_key_dependency | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reasons | Yes | ||
| should_review | Yes |