scf_update_deficiency
Update a deficiency's title, status, owner, priority, due date, or root cause; set retest_note to complete it, and mark cancelled instead of deleting.
Instructions
Update a deficiency (write — editor). Only passed fields change. Completing needs a retest_note. There is no delete: set status cancelled instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New title (cannot be cleared) | |
| org_id | Yes | Organization UUID — obtain from scf_list_organizations | |
| status | No | Status: open, in_progress, completed, cancelled (cannot be cleared). Moving to completed needs retest_note (422 otherwise). Restoring a cancelled capability-test finding is refused while that test is recorded as passed | |
| due_date | No | Due date (YYYY-MM-DD), or null to clear | |
| priority | No | Priority: critical, high, medium, low (cannot be cleared) | |
| owner_name | No | Free-text owner, or null to clear | |
| root_cause | No | Why it arose; null or blank clears it | |
| description | No | New description, or null to clear | |
| retest_note | No | What was retested and the result. Required to complete. Ignored when reopening: a reopened deficiency starts without one | |
| deficiency_id | Yes | Deficiency UUID — obtain from scf_list_deficiencies | |
| owner_user_id | No | Owner user (must be an org member, 404 otherwise), or null to clear |