From c882f526276c3c2c19c7688a9f62d14d00579846 Mon Sep 17 00:00:00 2001 From: mdheller <21163552+mdheller@users.noreply.github.com> Date: Sat, 18 Apr 2026 19:49:12 -0400 Subject: [PATCH 1/2] schemas(control-plane): make incident-events legacy $id to avoid duplicate canonical id --- schemas/control-plane/incident-events.schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/control-plane/incident-events.schema.json b/schemas/control-plane/incident-events.schema.json index aff4abe..e44a996 100644 --- a/schemas/control-plane/incident-events.schema.json +++ b/schemas/control-plane/incident-events.schema.json @@ -1,8 +1,8 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://schemas.srcos.ai/v2/control-plane/IncidentEvent.json", + "$id": "https://socioprophet.org/schemas/events/incident-events.schema.json", "title": "IncidentEvent", - "description": "Control-plane incident lifecycle events (Freeze/Fork/Kill). Uses the same actor/run/refs/payload conventions as other control-plane lifecycle events.", + "description": "Control-plane incident lifecycle events (Freeze/Fork/Kill). Legacy schema identity; prefer schemas/control-plane/IncidentEvent.json for canonical srcos $id.", "type": "object", "additionalProperties": false, "required": ["event_id", "event_name", "occurred_at", "actor", "status"], From 5d589ae3bf899a92c03839d549f0357a736f716b Mon Sep 17 00:00:00 2001 From: mdheller <21163552+mdheller@users.noreply.github.com> Date: Sat, 18 Apr 2026 19:50:01 -0400 Subject: [PATCH 2/2] openapi(truth-plane): reference canonical IncidentEvent wrapper schema --- openapi.truth-plane.patch.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi.truth-plane.patch.yaml b/openapi.truth-plane.patch.yaml index bbc7889..4c69763 100644 --- a/openapi.truth-plane.patch.yaml +++ b/openapi.truth-plane.patch.yaml @@ -63,7 +63,7 @@ paths: required: true content: application/json: - schema: { $ref: './schemas/control-plane/incident-events.schema.json' } + schema: { $ref: './schemas/control-plane/IncidentEvent.json' } responses: '200': description: IncidentEvent recorded successfully.