mimir_supersede
Deprecate an old entity by creating a 'supersedes' relationship from a new entity, with an optional reason for the change.
Instructions
Create a 'supersedes' relationship from a new fact to an old one, setting the old entity's status to 'deprecated'. Use this when a newer entity makes an older one obsolete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason for superseding (recorded in archive_reason) | |
| to_key | Yes | Key of the NEW entity that supersedes | |
| from_key | Yes | Key of the OLD entity being superseded | |
| to_category | Yes | Category of the NEW entity that supersedes | |
| relationship | No | Link relationship type (default: 'supersedes') | supersedes |
| from_category | Yes | Category of the OLD entity being superseded |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relationship | No | ||
| to_entity_id | No | ID of the new (superseding) entity | |
| to_entity_key | No | ||
| from_entity_id | No | ID of the old (superseded) entity | |
| status_updated | No | New status of the old entity (always 'deprecated') | |
| from_entity_key | No | ||
| to_entity_category | No | ||
| from_entity_category | No |