supersede_fact
Replace a relationship fact with its corrected version, keeping the old fact accessible for past-date queries and audit trails.
Instructions
Supersede a fact (relationship) with a newer one — supersede-NOT-delete. USE THIS WHEN: a fact was corrected (e.g. 'ServiceX uses Postgres' is now 'ServiceX uses MySQL'). Pass the old fact's relationship_id and the newer fact's id as superseded_by. The old fact stops appearing in current fact queries but stays queryable as-of past dates, and the correction is recorded in the audit chain. Get relationship_ids from facts_at_time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relationship_id | Yes | ||
| superseded_by | Yes | ||
| reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |