{
  "_readme": [
    "This file stands in for an n8n instance so you can watch deadman think",
    "without owning one. Every timestamp is fixed, and the documented demo",
    "command pins --now to 2026-11-13T12:00:00Z, so this behaves the same today",
    "as it will in two years. The 'executions' items use n8n's own field names",
    "(id, workflowId, status, startedAt) exactly as the public API returns them,",
    "so you can paste a real GET /api/v1/executions response in here instead.",
    "",
    "Run the three acts:",
    "  1. two alerts, one per failure class the fixture shows:",
    "     python3 deadman.py --config config.example.toml --simulate demo_fixture.json \\",
    "             --now 2026-11-13T12:00:00Z --state demo_state.json   -> exit 1",
    "  2. run the SAME command again: nothing new is sent, and it says so without",
    "     claiming all is well                                          -> exit 1",
    "  3. set the 'fault' value below to {\"kind\": \"auth\", \"detail\": \"HTTP 401\"}",
    "     and run it with a FRESH --state path: the probe says it could not read",
    "     n8n and judges NO workflow, instead of calling both workflows dead",
    "                                                                       -> exit 2",
    "",
    "To clear the SILENCE alert, move lead-sync's last execution forward inside",
    "its window (say 2026-11-13T11:55:00Z) and run act 1 again: you get exactly",
    "one RECOVERED notice for it, and never another."
  ],

  "fault": null,

  "executions": [
    {
      "id": "4412",
      "workflowId": "PLACEHOLDER_WORKFLOW_ID",
      "name": "Nightly customer report",
      "mode": "trigger",
      "status": "error",
      "startedAt": "2026-11-13T10:00:00Z",
      "stoppedAt": "2026-11-13T10:00:41Z",
      "finished": true,
      "retryOf": null,
      "retrySuccessId": null,
      "waitTill": null
    },
    {
      "id": "4390",
      "workflowId": "PLACEHOLDER_WORKFLOW_ID",
      "name": "Nightly customer report",
      "mode": "trigger",
      "status": "success",
      "startedAt": "2026-11-12T10:00:00Z",
      "stoppedAt": "2026-11-12T10:01:12Z",
      "finished": true,
      "retryOf": null,
      "retrySuccessId": null,
      "waitTill": null
    },
    {
      "id": "4401",
      "workflowId": "PLACEHOLDER_SECOND_WORKFLOW_ID",
      "name": "Lead sync into the CRM",
      "mode": "trigger",
      "status": "success",
      "startedAt": "2026-11-13T09:00:00Z",
      "stoppedAt": "2026-11-13T09:00:07Z",
      "finished": true,
      "retryOf": null,
      "retrySuccessId": null,
      "waitTill": null
    },
    {
      "id": "4413",
      "workflowId": "PLACEHOLDER_THIRD_WORKFLOW_ID_NOT_DECLARED",
      "name": "A workflow nobody asked about",
      "mode": "manual",
      "status": "error",
      "startedAt": "2026-11-13T11:50:00Z",
      "stoppedAt": "2026-11-13T11:50:02Z",
      "finished": true,
      "retryOf": null,
      "retrySuccessId": null,
      "waitTill": null
    }
  ]
}
