GCC Build OSv0
/api

DecisionSupersededevent type

An existing decision is replaced by a new one. Projection writer creates a 'supersedes' edge from new_decision_id to old_decision_id and marks the old decision's effective_through_at.

Full spec

{
  "name": "DecisionSuperseded",
  "description": "An existing decision is replaced by a new one. Projection writer creates a 'supersedes' edge from new_decision_id to old_decision_id and marks the old decision's effective_through_at.",
  "current_version": 1,
  "actor_type_allowed": [
    "human"
  ],
  "object_type": "Decision",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "old_decision_id",
        "new_decision_id",
        "superseded_by"
      ],
      "properties": {
        "old_decision_id": {
          "type": "string",
          "format": "uuid"
        },
        "new_decision_id": {
          "type": "string",
          "format": "uuid"
        },
        "superseded_by": {
          "type": "string",
          "format": "uuid",
          "description": "Actor (decision_maker on the new decision) who triggered the supersession."
        },
        "supersession_note": {
          "type": "string"
        }
      }
    }
  },
  "projections_consuming": [
    "decisions_view",
    "blast_radius_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/decision_superseded.ts"
}