Score a request before starting work
score_requestEvaluate a request against the repository profile to get a proceed or block verdict, with questions that close the gap. No data is written.
Instructions
Scores a request against the repository profile and returns a proceed or block verdict with the questions that close the gap. Writes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Directory to resolve .spec-gate.yml from. Defaults to the process cwd. | |
| target | No | Path the work will touch, used to select the profile. Does not choose the profile directly. | |
| request | Yes | The request as received, verbatim. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rubric | Yes | ||
| scorer | Yes | ||
| profile | Yes | ||
| verdict | Yes | ||
| blocking | Yes | ||
| threshold | Yes | ||
| dimensions | Yes | ||
| sufficiency | Yes | ||
| instructions | Yes |