chap.decide.reject
chap.decide.rejectReject an artefact under review, declining the task or returning it to in-progress for revision, while recording comment and tags for the audit decision.
Instructions
Reject the artefact under review. The task is declined, or returns to in_progress if request_revision is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Participant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'. | |
| tags | No | Workspace-defined labels for this decision, e.g. ['tone', 'unsupported-claim']. Recorded in the audit entry. chap.audit.read does not filter on tags, so grouping by tag is done by the reader. | |
| comment | No | The reviewer's note on this decision. Recorded in the audit entry for the decision. | |
| task_id | Yes | Task identifier returned by chap.task.create. | |
| workspace | Yes | Workspace identifier, e.g. 'wsp_techcorp_support'. | |
| request_revision | No | When true the task returns to 'in_progress' rather than 'declined', so the assignee can revise and resubmit. | |
| approved_artefact_digest | No | Optional. SHA-256 over the JCS canonicalisation of the artefact under review, in the form `sha256:<hex>`. When present it binds the decision to the exact content reviewed, and a mismatch is refused with -32074. |