{
  "version": "2026-10-02",
  "provenance": "Constructed example. One instrument, one account, no prices and no connection to any real account or system.",
  "intro": "Nothing has happened yet. The strategy holds nothing and wants nothing.",
  "events": [
    { "id": "E1", "type": "target", "target": 2, "label": "The strategy wants two units", "why": "The target becomes 2." },
    { "id": "E2", "type": "repeat", "label": "The request arrives again", "why": "A timeout upstream sends the same request a second time." },
    { "id": "E3", "type": "fill", "side": 1, "qty": 1, "delivered": true, "label": "One unit fills", "why": "The market trades one unit." },
    { "id": "E4", "type": "redeliver", "fill": "F1", "label": "F1 arrives again", "why": "A consumer restarts from its last confirmed point and delivers F1 again." },
    { "id": "E5", "type": "fillRest", "side": 1, "loseFirst": true, "label": "The rest fills; one notification is lost", "why": "The market fills what is still working on the buy side." },
    { "id": "E6", "type": "reconcile", "label": "Reconciliation", "why": "The system checks its books at a cutoff." },
    { "id": "E7", "type": "fillRest", "side": 1, "label": "Anything still working fills", "why": "Any buy still working fills." },
    { "id": "E8", "type": "target", "target": 0, "label": "The strategy wants out", "why": "The target becomes 0." },
    { "id": "E9", "type": "fill", "side": -1, "qty": 1, "delivered": true, "label": "Part of the exit fills", "why": "The market takes one unit of the exit." },
    { "id": "E10", "type": "cancelRest", "side": -1, "label": "The rest of the exit is cancelled", "why": "The strategy decides to stop working the remainder." },
    { "id": "E11", "type": "raceFill", "side": -1, "label": "It fills before the cancel lands", "why": "The remainder fills at the broker before the cancel reaches it." },
    { "id": "E12", "type": "finalReconcile", "label": "Final reconciliation", "why": "At the end of the session the system checks again." }
  ]
}
