{
  "summary": {
    "completedAt": "2026-10-22T18:40:39.638089+00:00",
    "cases": 4,
    "allExpectedOutputs": true,
    "totalTestRecords": 1,
    "humanParticipants": 0,
    "modelCalls": 0,
    "externalActions": 0,
    "executionIds": [
      "1",
      "2",
      "3",
      "4"
    ],
    "limits": "Only four serial artificial cases. No concurrency, restart, malicious access, real delivery, human review quality or time-saving measurement."
  },
  "design": {
    "createdAt": "2026-10-22T18:38:02.371059+00:00",
    "workflowSha256": "acf6ef15f99b3ebe07340b3e95abf44efb450c1f3680773596d2c6d77bdc8805",
    "n8nVersion": "2.44.6",
    "nodeVersion": "24.19.0",
    "cases": [
      {
        "id": "approved",
        "vorgang_id": "TW-TEST-001",
        "decision": "genehmigt",
        "expectedNewRecords": 1
      },
      {
        "id": "denied",
        "vorgang_id": "TW-TEST-002",
        "decision": "abgelehnt",
        "expectedNewRecords": 0
      },
      {
        "id": "timeout",
        "vorgang_id": "TW-TEST-003",
        "decision": null,
        "expectedNewRecords": 0
      },
      {
        "id": "duplicate",
        "vorgang_id": "TW-TEST-001",
        "decision": "genehmigt",
        "expectedNewRecords": 0
      }
    ],
    "scope": "Serial local integration test. Synthetic decisions submitted by test harness, no human review time, no AI generation, no email, no external action. No concurrency or restart fault-injection tested.",
    "timeoutSeconds": 5,
    "deduplicationHistorySize": 1000,
    "draftBinding": "Exact original ID and draft string must match the decision payload.",
    "expectedTotalRecords": 1,
    "server": "loopback only; no authentication suitable only for isolated artificial-data test; NOT production ready"
  },
  "results": [
    {
      "case": "approved",
      "startedAt": "2026-10-22T18:40:25.228693+00:00",
      "request": {
        "vorgang_id": "TW-TEST-001",
        "entwurf": "Nur ein künstlicher Testtext."
      },
      "syntheticDecision": "genehmigt",
      "expectedNewRecords": 1,
      "executionId": "1",
      "startHttpStatus": 200,
      "resumeHttpStatus": 200,
      "timeline": [
        {
          "observedAt": "2026-10-22T18:40:25.559087+00:00",
          "id": 1,
          "status": "waiting",
          "startedAt": "2026-10-22 18:40:25.345",
          "stoppedAt": "2026-10-22 18:40:25.448",
          "waitTill": "2026-10-22 18:40:30.442"
        },
        {
          "observedAt": "2026-10-22T18:40:26.129586+00:00",
          "id": 1,
          "status": "success",
          "startedAt": "2026-10-22 18:40:25.345",
          "stoppedAt": "2026-10-22 18:40:25.722",
          "waitTill": null
        }
      ],
      "execution": {
        "nodes": {
          "Testeingang": [
            {
              "executionStatus": "success",
              "startTime": 1792694425371,
              "executionTime": 2,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-001",
                      "entwurf": "Nur ein künstlicher Testtext."
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Entwurf": [
            {
              "executionStatus": "success",
              "startTime": 1792694425381,
              "executionTime": 31,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Prueflink": [
            {
              "executionStatus": "success",
              "startTime": 1792694425418,
              "executionTime": 12,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Freigabe abwarten": [
            {
              "executionStatus": "success",
              "startTime": 1792694425645,
              "executionTime": 1,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-001",
                      "entwurf": "Nur ein künstlicher Testtext.",
                      "entscheidung": "genehmigt"
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Gueltige Genehmigung": [
            {
              "executionStatus": "success",
              "startTime": 1792694425650,
              "executionTime": 29,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-001",
                      "entwurf": "Nur ein künstlicher Testtext.",
                      "entscheidung": "genehmigt"
                    },
                    "executionMode": "production"
                  }
                ],
                []
              ],
              "error": null
            }
          ],
          "Genehmigter Vorgang": [
            {
              "executionStatus": "success",
              "startTime": 1792694425685,
              "executionTime": 9,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Doppelte IDs sperren": [
            {
              "executionStatus": "success",
              "startTime": 1792694425699,
              "executionTime": 8,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ],
                []
              ],
              "error": null
            }
          ],
          "Interne Testausgabe": [
            {
              "executionStatus": "success",
              "startTime": 1792694425711,
              "executionTime": 5,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "notiz": "Nur ein künstlicher Testtext.",
                    "aktion": "nur_interne_testausgabe"
                  }
                ]
              ],
              "error": null
            }
          ]
        },
        "lastNodeExecuted": "Interne Testausgabe"
      },
      "finalStatus": "success",
      "newRecords": 1,
      "passed": true,
      "observedSeconds": 0.9759811000112677
    },
    {
      "case": "denied",
      "startedAt": "2026-10-22T18:40:26.207406+00:00",
      "request": {
        "vorgang_id": "TW-TEST-002",
        "entwurf": "Nur ein künstlicher Testtext."
      },
      "syntheticDecision": "abgelehnt",
      "expectedNewRecords": 0,
      "executionId": "2",
      "startHttpStatus": 200,
      "resumeHttpStatus": 200,
      "timeline": [
        {
          "observedAt": "2026-10-22T18:40:26.381523+00:00",
          "id": 2,
          "status": "waiting",
          "startedAt": "2026-10-22 18:40:26.225",
          "stoppedAt": "2026-10-22 18:40:26.266",
          "waitTill": "2026-10-22 18:40:31.259"
        },
        {
          "observedAt": "2026-10-22T18:40:26.938077+00:00",
          "id": 2,
          "status": "success",
          "startedAt": "2026-10-22 18:40:26.225",
          "stoppedAt": "2026-10-22 18:40:26.483",
          "waitTill": null
        }
      ],
      "execution": {
        "nodes": {
          "Testeingang": [
            {
              "executionStatus": "success",
              "startTime": 1792694426233,
              "executionTime": 1,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-002",
                      "entwurf": "Nur ein künstlicher Testtext."
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Entwurf": [
            {
              "executionStatus": "success",
              "startTime": 1792694426238,
              "executionTime": 5,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-002",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Prueflink": [
            {
              "executionStatus": "success",
              "startTime": 1792694426248,
              "executionTime": 3,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-002",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Freigabe abwarten": [
            {
              "executionStatus": "success",
              "startTime": 1792694426453,
              "executionTime": 0,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-002",
                      "entwurf": "Nur ein künstlicher Testtext.",
                      "entscheidung": "abgelehnt"
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Gueltige Genehmigung": [
            {
              "executionStatus": "success",
              "startTime": 1792694426458,
              "executionTime": 9,
              "outputs": [
                [],
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-002",
                      "entwurf": "Nur ein künstlicher Testtext.",
                      "entscheidung": "abgelehnt"
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Ohne Genehmigung": [
            {
              "executionStatus": "success",
              "startTime": 1792694426473,
              "executionTime": 4,
              "outputs": [
                [
                  {
                    "status": "nicht_genehmigt_keine_aktion"
                  }
                ]
              ],
              "error": null
            }
          ]
        },
        "lastNodeExecuted": "Ohne Genehmigung"
      },
      "finalStatus": "success",
      "newRecords": 0,
      "passed": true,
      "observedSeconds": 0.7942231000051834
    },
    {
      "case": "timeout",
      "startedAt": "2026-10-22T18:40:27.002783+00:00",
      "request": {
        "vorgang_id": "TW-TEST-003",
        "entwurf": "Nur ein künstlicher Testtext."
      },
      "syntheticDecision": null,
      "expectedNewRecords": 0,
      "executionId": "3",
      "startHttpStatus": 200,
      "timeline": [
        {
          "observedAt": "2026-10-22T18:40:27.177978+00:00",
          "id": 3,
          "status": "waiting",
          "startedAt": "2026-10-22 18:40:27.037",
          "stoppedAt": "2026-10-22 18:40:27.067",
          "waitTill": "2026-10-22 18:40:32.062"
        },
        {
          "observedAt": "2026-10-22T18:40:38.801102+00:00",
          "id": 3,
          "status": "success",
          "startedAt": "2026-10-22 18:40:27.037",
          "stoppedAt": "2026-10-22 18:40:38.366",
          "waitTill": null
        }
      ],
      "execution": {
        "nodes": {
          "Testeingang": [
            {
              "executionStatus": "success",
              "startTime": 1792694427042,
              "executionTime": 1,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-003",
                      "entwurf": "Nur ein künstlicher Testtext."
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Entwurf": [
            {
              "executionStatus": "success",
              "startTime": 1792694427046,
              "executionTime": 3,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-003",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Prueflink": [
            {
              "executionStatus": "success",
              "startTime": 1792694427053,
              "executionTime": 2,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-003",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Freigabe abwarten": [
            {
              "executionStatus": "success",
              "startTime": 1792694438349,
              "executionTime": 0,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-003",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Gueltige Genehmigung": [
            {
              "executionStatus": "success",
              "startTime": 1792694438352,
              "executionTime": 5,
              "outputs": [
                [],
                [
                  {
                    "vorgang_id": "TW-TEST-003",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Ohne Genehmigung": [
            {
              "executionStatus": "success",
              "startTime": 1792694438362,
              "executionTime": 1,
              "outputs": [
                [
                  {
                    "status": "nicht_genehmigt_keine_aktion"
                  }
                ]
              ],
              "error": null
            }
          ]
        },
        "lastNodeExecuted": "Ohne Genehmigung"
      },
      "finalStatus": "success",
      "newRecords": 0,
      "passed": true,
      "observedSeconds": 11.864279700006591
    },
    {
      "case": "duplicate",
      "startedAt": "2026-10-22T18:40:38.867224+00:00",
      "request": {
        "vorgang_id": "TW-TEST-001",
        "entwurf": "Nur ein künstlicher Testtext."
      },
      "syntheticDecision": "genehmigt",
      "expectedNewRecords": 0,
      "executionId": "4",
      "startHttpStatus": 200,
      "resumeHttpStatus": 200,
      "timeline": [
        {
          "observedAt": "2026-10-22T18:40:39.031381+00:00",
          "id": 4,
          "status": "waiting",
          "startedAt": "2026-10-22 18:40:38.878",
          "stoppedAt": "2026-10-22 18:40:38.911",
          "waitTill": "2026-10-22 18:40:43.906"
        },
        {
          "observedAt": "2026-10-22T18:40:39.587900+00:00",
          "id": 4,
          "status": "success",
          "startedAt": "2026-10-22 18:40:38.878",
          "stoppedAt": "2026-10-22 18:40:39.120",
          "waitTill": null
        }
      ],
      "execution": {
        "nodes": {
          "Testeingang": [
            {
              "executionStatus": "success",
              "startTime": 1792694438883,
              "executionTime": 0,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-001",
                      "entwurf": "Nur ein künstlicher Testtext."
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Entwurf": [
            {
              "executionStatus": "success",
              "startTime": 1792694438889,
              "executionTime": 3,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Prueflink": [
            {
              "executionStatus": "success",
              "startTime": 1792694438896,
              "executionTime": 2,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Freigabe abwarten": [
            {
              "executionStatus": "success",
              "startTime": 1792694439090,
              "executionTime": 0,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-001",
                      "entwurf": "Nur ein künstlicher Testtext.",
                      "entscheidung": "genehmigt"
                    },
                    "executionMode": "production"
                  }
                ]
              ],
              "error": null
            }
          ],
          "Gueltige Genehmigung": [
            {
              "executionStatus": "success",
              "startTime": 1792694439093,
              "executionTime": 5,
              "outputs": [
                [
                  {
                    "params": {},
                    "query": {},
                    "body": {
                      "vorgang_id": "TW-TEST-001",
                      "entwurf": "Nur ein künstlicher Testtext.",
                      "entscheidung": "genehmigt"
                    },
                    "executionMode": "production"
                  }
                ],
                []
              ],
              "error": null
            }
          ],
          "Genehmigter Vorgang": [
            {
              "executionStatus": "success",
              "startTime": 1792694439100,
              "executionTime": 1,
              "outputs": [
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Doppelte IDs sperren": [
            {
              "executionStatus": "success",
              "startTime": 1792694439104,
              "executionTime": 4,
              "outputs": [
                [],
                [
                  {
                    "vorgang_id": "TW-TEST-001",
                    "entwurf": "Nur ein künstlicher Testtext."
                  }
                ]
              ],
              "error": null
            }
          ],
          "Doppelt verworfen": [
            {
              "executionStatus": "success",
              "startTime": 1792694439112,
              "executionTime": 2,
              "outputs": [
                [
                  {
                    "status": "doppelte_id_keine_aktion"
                  }
                ]
              ],
              "error": null
            }
          ]
        },
        "lastNodeExecuted": "Doppelt verworfen"
      },
      "finalStatus": "success",
      "newRecords": 0,
      "passed": true,
      "observedSeconds": 0.771023299996159
    }
  ],
  "setupAttempt": {
    "case": "approved",
    "startedAt": "2026-10-22T18:39:50.838643+00:00",
    "request": {
      "vorgang_id": "TW-TEST-001",
      "entwurf": "Nur ein künstlicher Testtext."
    },
    "syntheticDecision": "genehmigt",
    "expectedNewRecords": 1,
    "error": "HTTP Error 404: Not Found",
    "passed": false,
    "observedSeconds": 0.0458570999908261
  }
}
