{
  "format": "aitoolcast.webhook-sequence-fixtures/v1",
  "version": "0.1.0",
  "synthetic": true,
  "provider_compatibility": "none",
  "executed": false,
  "labels": {
    "tenant": "demo-tenant-a",
    "entity": "demo-record-1"
  },
  "isolation": "Each case is independent. Use fresh or reset TEST state between cases; this tool does not reset anything.",
  "limits": [
    "This is a case bundle, not a sender, runner, validator or idempotency implementation.",
    "No network request, signature, account action, payment or real side effect occurs.",
    "Fictional event fields are not a Stripe, Shopify or n8n API contract.",
    "A completed delivery, HTTP success or selected key is not proof of a correct business outcome.",
    "Concurrency and crash recovery require an actual controlled test runner and outcome inspection."
  ],
  "cases": [
    {
      "id": "exact-repeat",
      "title": "Repeat the same event",
      "execution_mode": "sequential",
      "executed": false,
      "outcome": "not_tested",
      "deliveries": [
        {
          "delivery_id": "delivery_1",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        },
        {
          "delivery_id": "delivery_2",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        }
      ],
      "planned_delivery_groups": [
        [
          "delivery_1"
        ],
        [
          "delivery_2"
        ]
      ],
      "review_questions": [
        "After the first delivery is confirmed complete, what happens when the identical event is delivered again?",
        "Inspect the destination outcome, not only the execution status. If the first attempt failed, determine recovery separately."
      ]
    },
    {
      "id": "same-intent-new-event",
      "title": "Different event IDs, same fictional create intent",
      "execution_mode": "sequential",
      "executed": false,
      "outcome": "not_tested",
      "deliveries": [
        {
          "delivery_id": "delivery_1",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        },
        {
          "delivery_id": "delivery_2",
          "event": {
            "event_id": "evt_demo_2",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        }
      ],
      "planned_delivery_groups": [
        [
          "delivery_1"
        ],
        [
          "delivery_2"
        ]
      ],
      "review_questions": [
        "For this scenario, the stated intent is one create_record action for this tenant and entity. Does event-ID-only deduplication meet that intent?",
        "Real producers may give similar events different meanings. Define the business contract before choosing a key."
      ]
    },
    {
      "id": "conflicting-content",
      "title": "Contradictory fixture: same event ID, changed content",
      "execution_mode": "sequential",
      "executed": false,
      "outcome": "not_tested",
      "deliveries": [
        {
          "delivery_id": "delivery_1",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        },
        {
          "delivery_id": "delivery_2",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 2,
              "status": "changed"
            }
          }
        }
      ],
      "planned_delivery_groups": [
        [
          "delivery_1"
        ],
        [
          "delivery_2"
        ]
      ],
      "review_questions": [
        "How will a conflicting payload for an already observed event ID be surfaced for investigation?",
        "This deliberately contradicts an immutable-event contract. It is an anomaly fixture, not normal Stripe retry behavior or a claim that a provider mutates event objects."
      ]
    },
    {
      "id": "tenant-boundary",
      "title": "Same local IDs, different fictional tenants",
      "execution_mode": "sequential",
      "executed": false,
      "outcome": "not_tested",
      "deliveries": [
        {
          "delivery_id": "delivery_1",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        },
        {
          "delivery_id": "delivery_2",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a-other",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        }
      ],
      "planned_delivery_groups": [
        [
          "delivery_1"
        ],
        [
          "delivery_2"
        ]
      ],
      "review_questions": [
        "This fictional contract scopes event and entity IDs by tenant. Does processing one tenant suppress or affect the other?",
        "Establish your actual producer and destination identity scopes; do not assume this fixture matches them."
      ]
    },
    {
      "id": "reversed-revisions",
      "title": "Later fictional revision arrives first",
      "execution_mode": "sequential",
      "executed": false,
      "outcome": "not_tested",
      "deliveries": [
        {
          "delivery_id": "delivery_1",
          "event": {
            "event_id": "evt_demo_2",
            "tenant_id": "demo-tenant-a",
            "operation": "update_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 2,
              "status": "updated"
            }
          }
        },
        {
          "delivery_id": "delivery_2",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        }
      ],
      "planned_delivery_groups": [
        [
          "delivery_1"
        ],
        [
          "delivery_2"
        ]
      ],
      "review_questions": [
        "What happens when the create_record event arrives after the update_record event?",
        "Is revision meaningful for your producer? This fixture does not prescribe timestamp sorting or automatic rejection of older events."
      ]
    },
    {
      "id": "concurrent-repeat-plan",
      "title": "Plan an overlapping duplicate delivery",
      "execution_mode": "parallel_required",
      "executed": false,
      "outcome": "not_tested",
      "deliveries": [
        {
          "delivery_id": "delivery_1",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        },
        {
          "delivery_id": "delivery_2",
          "event": {
            "event_id": "evt_demo_1",
            "tenant_id": "demo-tenant-a",
            "operation": "create_record",
            "entity_id": "demo-record-1",
            "data": {
              "revision": 1,
              "status": "created"
            }
          }
        }
      ],
      "planned_delivery_groups": [
        [
          "delivery_1",
          "delivery_2"
        ]
      ],
      "review_questions": [
        "Use an isolated runner to overlap both deliveries. A sequential run cannot establish atomicity.",
        "Inspect the actual destination outcome and failure recovery. This bundle does not create concurrency or prove a lock works."
      ]
    }
  ]
}
