{
  "mode": "Scripted local test. No authenticated human approval. Fictional alerts. No machine connection.",
  "before": {
    "id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
    "status": "awaiting_approval",
    "proposal": {
      "fictional": true,
      "machine": "M-04",
      "alerts": [
        {
          "id": "A-101",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:00:00Z"
        },
        {
          "id": "A-102",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:04:00Z"
        },
        {
          "id": "A-103",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:09:00Z"
        }
      ],
      "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
      "history": [
        {
          "date": "2026-09-10",
          "note": "Fictional inspection recorded. No root cause established."
        }
      ],
      "action": "Create a maintenance review request for the test coordinator. No machine commands.",
      "assignee": "maintenance-test",
      "matched": true
    },
    "request": null,
    "journal": [
      {
        "seq": 1,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "alerts_received",
        "detail": {
          "fictional": true,
          "alerts": [
            {
              "id": "A-101",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:00:00Z"
            },
            {
              "id": "A-102",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:04:00Z"
            },
            {
              "id": "A-103",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:09:00Z"
            }
          ]
        }
      },
      {
        "seq": 2,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "dossier_prepared",
        "detail": {
          "matched": true,
          "historySource": "fixed test directory",
          "requestCreated": false
        }
      }
    ]
  },
  "after": {
    "id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
    "status": "completed",
    "proposal": {
      "fictional": true,
      "machine": "M-04",
      "alerts": [
        {
          "id": "A-101",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:00:00Z"
        },
        {
          "id": "A-102",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:04:00Z"
        },
        {
          "id": "A-103",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:09:00Z"
        }
      ],
      "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
      "history": [
        {
          "date": "2026-09-10",
          "note": "Fictional inspection recorded. No root cause established."
        }
      ],
      "action": "Create a maintenance review request for the test coordinator. No machine commands.",
      "assignee": "maintenance-test",
      "matched": true
    },
    "request": {
      "id": "MAINT-8cd78c39-2ba9-4a2e-97d7-1279fc3fa0ad",
      "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
      "data": {
        "fictional": true,
        "machine": "M-04",
        "alerts": [
          {
            "id": "A-101",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:00:00Z"
          },
          {
            "id": "A-102",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:04:00Z"
          },
          {
            "id": "A-103",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:09:00Z"
          }
        ],
        "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
        "history": [
          {
            "date": "2026-09-10",
            "note": "Fictional inspection recorded. No root cause established."
          }
        ],
        "action": "Create a maintenance review request for the test coordinator. No machine commands.",
        "assignee": "maintenance-test",
        "matched": true
      }
    },
    "journal": [
      {
        "seq": 1,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "alerts_received",
        "detail": {
          "fictional": true,
          "alerts": [
            {
              "id": "A-101",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:00:00Z"
            },
            {
              "id": "A-102",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:04:00Z"
            },
            {
              "id": "A-103",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:09:00Z"
            }
          ]
        }
      },
      {
        "seq": 2,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "dossier_prepared",
        "detail": {
          "matched": true,
          "historySource": "fixed test directory",
          "requestCreated": false
        }
      },
      {
        "seq": 3,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "decision_recorded",
        "detail": {
          "decision": "approve",
          "actor": "scripted-test",
          "authenticated": false
        }
      },
      {
        "seq": 4,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "maintenance_request_created",
        "detail": {
          "requestId": "MAINT-8cd78c39-2ba9-4a2e-97d7-1279fc3fa0ad",
          "tool": "SQLite local test tool",
          "machineCommandSent": false
        }
      }
    ]
  },
  "retry": {
    "id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
    "status": "completed",
    "proposal": {
      "fictional": true,
      "machine": "M-04",
      "alerts": [
        {
          "id": "A-101",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:00:00Z"
        },
        {
          "id": "A-102",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:04:00Z"
        },
        {
          "id": "A-103",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:09:00Z"
        }
      ],
      "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
      "history": [
        {
          "date": "2026-09-10",
          "note": "Fictional inspection recorded. No root cause established."
        }
      ],
      "action": "Create a maintenance review request for the test coordinator. No machine commands.",
      "assignee": "maintenance-test",
      "matched": true
    },
    "request": {
      "id": "MAINT-8cd78c39-2ba9-4a2e-97d7-1279fc3fa0ad",
      "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
      "data": {
        "fictional": true,
        "machine": "M-04",
        "alerts": [
          {
            "id": "A-101",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:00:00Z"
          },
          {
            "id": "A-102",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:04:00Z"
          },
          {
            "id": "A-103",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:09:00Z"
          }
        ],
        "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
        "history": [
          {
            "date": "2026-09-10",
            "note": "Fictional inspection recorded. No root cause established."
          }
        ],
        "action": "Create a maintenance review request for the test coordinator. No machine commands.",
        "assignee": "maintenance-test",
        "matched": true
      }
    },
    "journal": [
      {
        "seq": 1,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "alerts_received",
        "detail": {
          "fictional": true,
          "alerts": [
            {
              "id": "A-101",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:00:00Z"
            },
            {
              "id": "A-102",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:04:00Z"
            },
            {
              "id": "A-103",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:09:00Z"
            }
          ]
        }
      },
      {
        "seq": 2,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "dossier_prepared",
        "detail": {
          "matched": true,
          "historySource": "fixed test directory",
          "requestCreated": false
        }
      },
      {
        "seq": 3,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "decision_recorded",
        "detail": {
          "decision": "approve",
          "actor": "scripted-test",
          "authenticated": false
        }
      },
      {
        "seq": 4,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "maintenance_request_created",
        "detail": {
          "requestId": "MAINT-8cd78c39-2ba9-4a2e-97d7-1279fc3fa0ad",
          "tool": "SQLite local test tool",
          "machineCommandSent": false
        }
      }
    ]
  },
  "refusal": {
    "id": "7c2e56d6-4465-4240-98d3-5a37c5a427eb",
    "status": "rejected",
    "proposal": {
      "fictional": true,
      "machine": "M-04",
      "alerts": [
        {
          "id": "A-101",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:00:00Z"
        },
        {
          "id": "A-102",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:04:00Z"
        },
        {
          "id": "A-103",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:09:00Z"
        }
      ],
      "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
      "history": [
        {
          "date": "2026-09-10",
          "note": "Fictional inspection recorded. No root cause established."
        }
      ],
      "action": "Create a maintenance review request for the test coordinator. No machine commands.",
      "assignee": "maintenance-test",
      "matched": true
    },
    "request": null,
    "journal": [
      {
        "seq": 5,
        "run_id": "7c2e56d6-4465-4240-98d3-5a37c5a427eb",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "alerts_received",
        "detail": {
          "fictional": true,
          "alerts": [
            {
              "id": "A-101",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:00:00Z"
            },
            {
              "id": "A-102",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:04:00Z"
            },
            {
              "id": "A-103",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:09:00Z"
            }
          ]
        }
      },
      {
        "seq": 6,
        "run_id": "7c2e56d6-4465-4240-98d3-5a37c5a427eb",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "dossier_prepared",
        "detail": {
          "matched": true,
          "historySource": "fixed test directory",
          "requestCreated": false
        }
      },
      {
        "seq": 7,
        "run_id": "7c2e56d6-4465-4240-98d3-5a37c5a427eb",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "decision_recorded",
        "detail": {
          "decision": "reject",
          "actor": "scripted-test",
          "authenticated": false
        }
      }
    ]
  },
  "restored": {
    "id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
    "status": "completed",
    "proposal": {
      "fictional": true,
      "machine": "M-04",
      "alerts": [
        {
          "id": "A-101",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:00:00Z"
        },
        {
          "id": "A-102",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:04:00Z"
        },
        {
          "id": "A-103",
          "machine": "M-04",
          "type": "temperature_alert",
          "at": "2026-09-18T09:09:00Z"
        }
      ],
      "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
      "history": [
        {
          "date": "2026-09-10",
          "note": "Fictional inspection recorded. No root cause established."
        }
      ],
      "action": "Create a maintenance review request for the test coordinator. No machine commands.",
      "assignee": "maintenance-test",
      "matched": true
    },
    "request": {
      "id": "MAINT-8cd78c39-2ba9-4a2e-97d7-1279fc3fa0ad",
      "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
      "data": {
        "fictional": true,
        "machine": "M-04",
        "alerts": [
          {
            "id": "A-101",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:00:00Z"
          },
          {
            "id": "A-102",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:04:00Z"
          },
          {
            "id": "A-103",
            "machine": "M-04",
            "type": "temperature_alert",
            "at": "2026-09-18T09:09:00Z"
          }
        ],
        "rule": "Three distinct temperature alerts within ten minutes: prepare a review dossier. Illustrative rule only.",
        "history": [
          {
            "date": "2026-09-10",
            "note": "Fictional inspection recorded. No root cause established."
          }
        ],
        "action": "Create a maintenance review request for the test coordinator. No machine commands.",
        "assignee": "maintenance-test",
        "matched": true
      }
    },
    "journal": [
      {
        "seq": 1,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "alerts_received",
        "detail": {
          "fictional": true,
          "alerts": [
            {
              "id": "A-101",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:00:00Z"
            },
            {
              "id": "A-102",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:04:00Z"
            },
            {
              "id": "A-103",
              "machine": "M-04",
              "type": "temperature_alert",
              "at": "2026-09-18T09:09:00Z"
            }
          ]
        }
      },
      {
        "seq": 2,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.614Z",
        "type": "dossier_prepared",
        "detail": {
          "matched": true,
          "historySource": "fixed test directory",
          "requestCreated": false
        }
      },
      {
        "seq": 3,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "decision_recorded",
        "detail": {
          "decision": "approve",
          "actor": "scripted-test",
          "authenticated": false
        }
      },
      {
        "seq": 4,
        "run_id": "1f67e64b-e970-4b48-9503-fff3df73fa87",
        "at": "2026-09-18T18:25:50.615Z",
        "type": "maintenance_request_created",
        "detail": {
          "requestId": "MAINT-8cd78c39-2ba9-4a2e-97d7-1279fc3fa0ad",
          "tool": "SQLite local test tool",
          "machineCommandSent": false
        }
      }
    ]
  }
}