undo_split_composition_event
Reverses a split composition by restoring the ancestor entity, removing duplicated copies, and persisting across affected models. Refuses with a structured 409 if the model has diverged.
Instructions
Apply the inverse of a previous split_applied composition event. Mutating — persists inverse state across multiple models.
Mirror of undo_lift_composition_event for splits. Re-runs the
divergence detector before applying and refuses with 409 + a
structured refusal block when state has materially evolved since
the forward split. On success, restores the ancestor's entity,
tombstones the duplicated copies on every target descendant,
persists across all affected models, and emits a structured
split_undone activity event citing original_event_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | The ancestor model whose split is being undone. Must match the cited event's ``threat_model_id``. | |
| split_id | Yes | Either the surrogate id of the ``split_applied`` activity event, or the structured ``split_id`` carried in the event payload. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||