{
  "title": "Automation re-entry policy fixture",
  "observed_date": "2026-10-15",
  "method": "Execute 13 invented attempts serially in listed order. Remember observed event keys. Require current eligibility. Hold welcome requests with unresolved history. Admit welcome once per contact/program; admit post-purchase once per contact/program/order. Case 12 has a different transport event ID for the same order. Seed C as previously welcomed. Reserve welcome admission before later attempts. No time-based expiry.",
  "limitations": [
    "Invented inputs, not customer behavior or vendor execution.",
    "No actual emails, integrations, parallel requests, send queues, timeouts, identity merges, or delivery failures.",
    "Assumes stable contact IDs, trustworthy current eligibility and reliable imported history.",
    "An admission reserves a journey; it is not proof that any message was sent.",
    "Serial Python sets are not a production concurrency or transactional-outbox implementation."
  ],
  "initial_completed_programs": [
    [
      "C",
      "welcome"
    ]
  ],
  "attempts": [
    {
      "case": "01",
      "contact": "A",
      "event_id": "s1",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "New eligible signup",
      "decision": "admit"
    },
    {
      "case": "02",
      "contact": "A",
      "event_id": "s1",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Retry of the same event",
      "decision": "block: duplicate event"
    },
    {
      "case": "03",
      "contact": "A",
      "event_id": "s2",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Different form, same introduction",
      "decision": "block: prior program admission"
    },
    {
      "case": "04",
      "contact": "A",
      "event_id": "s3",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v2",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Cloned flow with new flow ID",
      "decision": "block: prior program admission"
    },
    {
      "case": "05",
      "contact": "B",
      "event_id": "s4",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v1",
      "current_eligibility": false,
      "history_known": true,
      "scenario": "Currently suppressed",
      "decision": "block: currently ineligible"
    },
    {
      "case": "06",
      "contact": "B",
      "event_id": "s5",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Fresh approved signup, no prior admission",
      "decision": "admit"
    },
    {
      "case": "07",
      "contact": "B",
      "event_id": "s6",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Another signup after admission",
      "decision": "block: prior program admission"
    },
    {
      "case": "08",
      "contact": "C",
      "event_id": "s7",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v2",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Imported completed welcome history",
      "decision": "block: prior program admission"
    },
    {
      "case": "09",
      "contact": "D",
      "event_id": "s8",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v2",
      "current_eligibility": true,
      "history_known": false,
      "scenario": "Imported history unresolved",
      "decision": "hold: history unknown"
    },
    {
      "case": "10",
      "contact": "D",
      "event_id": "s9",
      "order_id": null,
      "program": "welcome",
      "flow_version": "v2",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "History resolved: no prior admission; fresh signup",
      "decision": "admit"
    },
    {
      "case": "11",
      "contact": "A",
      "event_id": "o1",
      "order_id": "o1",
      "program": "post-purchase",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "First distinct order",
      "decision": "admit"
    },
    {
      "case": "12",
      "contact": "A",
      "event_id": "o1-delivery-2",
      "order_id": "o1",
      "program": "post-purchase",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Different event ID for first order",
      "decision": "block: prior order admission"
    },
    {
      "case": "13",
      "contact": "A",
      "event_id": "o2",
      "order_id": "o2",
      "program": "post-purchase",
      "flow_version": "v1",
      "current_eligibility": true,
      "history_known": true,
      "scenario": "Second distinct order",
      "decision": "admit"
    }
  ],
  "summary": {
    "attempts": 13,
    "admitted": 5,
    "blocked_or_held": 8,
    "welcome_admitted": 3,
    "post_purchase_admitted": 2
  },
  "a_welcome_key_comparison": {
    "event_only": 3,
    "once_per_flow": 2,
    "once_per_program": 1
  }
}
