certify_run
Approve or reject a generated bundle and its metrics by binding the review to the subject hash, ensuring rejected metrics are not published.
Instructions
Certify the generated bundle and its metrics. Reviewer principals only.
`subject_hash` is the `subject_hash` of the pending certification items: it binds the approval to the
exact packet under review (bundle, tests, waivers, open findings). `metric_decisions` maps
metric -> approve|reject; unknown metric names are rejected, unlisted metrics are approved. Rejected
metrics (and metrics derived from them) are not published.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run_id": "<run_id>",
"subject_hash": "<subject_hash>"
},
"name": "certify_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| comment | No | ||
| subject_hash | Yes | ||
| bundle_decision | No | approve | |
| metric_decisions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | Yes | ||
| run_id | Yes | ||
| reviewer | Yes | ||
| decisions | Yes | ||
| approval_id | Yes | ||
| next_action | Yes | ||
| subject_hash | Yes |