cmmn-set_acceptance_criteria
cmmn-set_acceptance_criteriaDefine acceptance criteria for a task with verification recipes. The judge evaluates these criteria when the agent claims completion via evidence.
Instructions
Sets the judge-layer acceptance criteria on a task. The runtime judge (case #1:4264 phase 3) will evaluate these when the agent claims completion via cmmn-claim_complete_with_evidence. Workflow authors call this to attach verification recipes — schema_check for SQL migrations, command_runs_clean for build steps, manual for natural-language assertions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| criteria | Yes | List of criterion maps {id, text, verifier} OR list of strings (each becomes a manual criterion). Replaces existing criteria. | |
| required_evidence | No | Evidence-key names the agent must supply when claiming completion (e.g. ['migration_file_path']). Omit to leave existing value unchanged; pass [] to clear. | |
| task_id | Yes | Task ID (@rid format) |