preview_undo_lift_composition
Preview the inverse plan for reversing a prior composition lift. See what operations will be applied or why an undo is refused before committing the change.
Instructions
Preview the inverse plan (or divergence refusal) for a prior
lift_applied event WITHOUT mutating any state.
Read-only counterpart to undo_lift_composition_event. Used by
the confirmation flow so the operator sees what an undo would do
before committing — either the inverse state operations the apply
step will commit (tombstone the lifted LCA entity, restore the
source descendants' copies, rewrite CO references), or the
enumerated reasons the divergence detector refuses the undo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lift_id | Yes | Either the surrogate id of the ``lift_applied`` activity event, or the structured ``lift_id`` carried in the event's payload — both lookups are supported. | |
| model_id | Yes | The model whose composition view originated the lift. Must match the ``threat_model_id`` carried by the cited activity event; the server rejects with 404 when a caller tries to undo a sibling model's lift through a different model's URL. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||