Decide Drift Intent
decide_drift_intentDecide if a description-drift finding is intended (update description) or a defect (fix code, name control).
Instructions
Decide whether a description-drift finding (the code reported to do more, or less, than a sentence of the description) was intended or is a defect of the code. Mutating; a judgment.
intended: the description is behind the product; revise it
(create_proposal kind description_revision). defect: the
description is the design and the code is wrong; name in control_id
the control whose assertions check the behaviour as designed. The finding
closes when one of its assertions passes verification at a commit not
earlier than this decision, and while it stands an answer that would
write the defect into the model is refused (409 drift_is_defect).
A program's decision is refused with 403 and an escalation_id unless
the workspace's delegation policy names drift_intent_decided: do not
retry; report it, or raise a drift_intent proposal for a person.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why. | |
| intent | Yes | ``intended`` or ``defect``. | |
| model_id | Yes | ID of the threat model. | |
| control_id | No | For a defect, the control whose passing assertion closes it. | |
| finding_id | Yes | The description-drift finding (``list_findings``). | |
| head_commit | No | The commit you read the code at. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||