GCC Build OSv0
/api

ReplayPerformedevent type

Operational hygiene event (build plan section 6.2.7). Recorded when the replay tool was used to rebuild projections from the event stream. Records which projections were rebuilt and the sequence_no range exercised.

Full spec

{
  "name": "ReplayPerformed",
  "description": "Operational hygiene event (build plan section 6.2.7). Recorded when the replay tool was used to rebuild projections from the event stream. Records which projections were rebuilt and the sequence_no range exercised.",
  "current_version": 1,
  "actor_type_allowed": [
    "human",
    "system"
  ],
  "object_type": null,
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "replayed_at",
        "sequence_no_range",
        "projections_rebuilt",
        "triggered_by"
      ],
      "properties": {
        "replayed_at": {
          "type": "string",
          "format": "date-time"
        },
        "sequence_no_range": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "from",
            "to"
          ],
          "properties": {
            "from": {
              "type": "integer",
              "minimum": 0
            },
            "to": {
              "type": "integer",
              "minimum": 0
            }
          }
        },
        "projections_rebuilt": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "minItems": 1
        },
        "triggered_by": {
          "type": "string",
          "format": "uuid",
          "description": "Stakeholder or system principal that initiated the replay (e.g., scheduled nightly replay job uses the tenant's system actor)."
        },
        "trigger_reason": {
          "type": "string",
          "enum": [
            "scheduled_nightly",
            "ad_hoc_audit",
            "post_incident",
            "post_registry_migration",
            "post_pack_upgrade",
            "manual_diagnostic"
          ]
        },
        "result": {
          "type": "string",
          "enum": [
            "clean",
            "diverged"
          ],
          "description": "I3 outcome: 'clean' if replayed projections match live projections byte-for-byte (operational scope); 'diverged' if any divergence was detected (must be triaged)."
        }
      }
    }
  },
  "projections_consuming": [
    "replay_history_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/replay_performed.ts"
}