Resolve Verdict Divergences
resolve_verdict_divergencesAccept or dismiss verdict divergences in threat models: apply mapping changes to controls or dismiss them without altering the model.
Instructions
Accept a batch of coverage divergences as mapping changes, or dismiss a batch of divergences. Mutating.
action="accept": each missing_mapping ADDS its CO to the
control, each spurious_mapping REMOVES it, one version per affected
control. Items are validated one by one: the answer separates
applied from skipped (stale, would orphan, already so). To accept
only confident rows, filter get_verdict_divergence's coverage rows
by p_covers (near 1.0 for missing, near 0.0 for spurious) first.
reason (min 10 chars) is recorded on each control's history.
action="dismiss": the structural model was right and the LLM was
not; the model does not change. A dismissal is keyed to the row's
current verdict input, so the row reappears once its control or
objective changes. Works for coverage and group_sufficiency rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | JSON array of rows. accept: ``{"control_id", "co_id", "kind"}`` with kind ``missing_mapping`` or ``spurious_mapping``. dismiss: ``{"kind", "co_id", "control_id"?, "group_id"?}`` (control_id for coverage kinds, group_id for group_sufficiency). | |
| action | Yes | "accept" or "dismiss". | |
| reason | Yes | Why (accept: min 10 chars; dismiss: non-empty). | |
| model_id | Yes | ID of the threat model. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||