Write the decision record
write_recordStore a committed decision record with evidence-scored dimensions, assumptions, and overrides, so the verdict is computed from declared coverage.
Instructions
Stores the decision as a committed record: what was missing, what was assumed, who authorised proceeding. The verdict is computed from the declared coverage, not accepted from the caller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| target | No | ||
| request | Yes | The request as received, verbatim. | |
| session | No | Session id, so the pre-work hook can scope authorisation to this run. | |
| override | No | Only to proceed below the threshold. The reason is stored verbatim and is not optional. | |
| dimensions | Yes | One entry per profile dimension, scored against the rubric. | |
| assumptions | No | Carried but not established. Listing them is what makes them visible. | |
| constraints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| path | Yes | ||
| vetoed | Yes | Dimensions where a rule capped the declared score. | |
| missing | Yes | ||
| decision | Yes | ||
| threshold | Yes | ||
| sufficiency | Yes | ||
| markdown_path | Yes |