apply_certain_reconciliation_match
Apply a certain-tier reconciliation candidate to resolve duplicate entities in threat models. This soft-deletes the descendant's own duplicate and promotes the inherited entity as canonical.
Instructions
Apply a certain-tier reconciliation candidate. Mutates state.
Soft-deletes the descendant's own duplicate entity; the inherited
entity becomes the canonical surface for the effective-model
resolver. Use after surveying candidates via
list_reconciliation_candidates. Certain-tier candidates apply
directly; heuristic-tier candidates need operator review of the
structural divergence and are refused server-side unless
confirm_heuristic=True is passed to acknowledge the divergence.
The server re-validates the candidate against current live state before applying; if the model has moved since the candidate was detected, returns 400 and the operator should refresh the candidate list and retry. Bumps model version and emits an activity event on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Entity kind — one of ``"assets"``, ``"attackers"``, ``"components"``. | |
| own_qid | Yes | Qualified id of the descendant's own duplicate (e.g. ``"child:A1"``). | |
| model_id | Yes | ID of the descendant threat model the duplicate is on. | |
| inherited_qid | Yes | Qualified id of the canonical entity on the ancestor (e.g. ``"parent:A1"``). | |
| server_version | Yes | ||
| confirm_heuristic | No | Acknowledge and apply a heuristic-tier candidate despite its structural divergence. Default False — heuristic-tier matches are refused server-side without this flag. Leave False for certain-tier candidates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||