Record a structured external acceptance receipt (may start one repair stage)
dsh_submit_reviewRecords a caller-reported acceptance receipt for a settled stage, optionally starting one repair stage on fail, to gate review without executing supplied commands.
Instructions
Records a caller-reported external acceptance receipt bound to the exact latest settled stage. source=caller-reported: supplied commands and check outputs are DATA ONLY and are never executed. reviewedSource paths must be workspace-relative regular no-link files whose current SHA-256 matches. The receipt is persisted before any prompt. outcome=pass/blocked never starts the model; outcome=fail with actionable findings starts ONE repair stage in the same live session, even if host verification previously passed. Same reviewId with the same body is idempotent and never sends a second prompt; conflicting reuse is refused. Stale/in-flight/cancelled/historical/dead-runtime controls are refused without modifying files.
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": {
"taskId": "<taskId>",
"stage": "<stage>",
"reviewId": "<reviewId>",
"outcome": "<outcome>",
"summary": "<summary>"
},
"name": "dsh_submit_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | The exact latest settled stage this receipt reviews. | |
| checks | No | ||
| taskId | Yes | ||
| outcome | Yes | ||
| summary | Yes | ||
| findings | No | ||
| reviewId | Yes | ||
| reviewedSource | No |