{
  "synthetic": true,
  "startedAt": "2026-09-20T00:01:29.495Z",
  "finishedAt": "2026-09-20T00:02:06.392Z",
  "concurrency": 32,
  "requestedRuns": 1024,
  "workloadElapsedMs": 30682.283292,
  "checks": {
    "blockedWaits": 512,
    "contentRejections": 1024,
    "recordedViolations": 256,
    "providerFailures": 256
  },
  "archiveCounts": {
    "runs": 1024,
    "completed": 1024,
    "steps": 4864,
    "violations": 256,
    "failedRefunds": 256
  },
  "entityProfile": {
    "id": "c89b4f46-878f-4db8-bacc-958d0c97a517",
    "name": "Refund assistant \u2014 synthetic workload",
    "refKey": "refund-assistant-1789862489495",
    "createdAt": "2026-09-20T00:01:30Z",
    "lastActiveAt": "2026-09-20T00:02:06Z",
    "profileType": {
      "name": "Refund Assistant Workload",
      "type": [
        "agent_id"
      ]
    },
    "computedMetrics": {
      "failed_refunds:value (step_name:refund)": 256,
      "recorded_steps:value": 4864,
      "rule_violations:value": 256,
      "runs:value": 1024
    }
  },
  "historyCount": 1024,
  "controlRunsExcluded": 32,
  "latencyMs": {
    "permission": {
      "samples": 1312,
      "median": 20.290082999999868,
      "p95": 85.20383299999958,
      "p99": 127.0792079999992,
      "max": 248.45250000000033
    },
    "validation": {
      "samples": 6016,
      "median": 117.53129199999967,
      "p95": 195.11258299999827,
      "p99": 294.1863749999993,
      "max": 541.096125
    }
  },
  "profileDefinition": {
    "name": "Refund Assistant Workload",
    "type": [
      "agent_id"
    ],
    "description": "Synthetic refund workload; generated from recorded executions.",
    "metrics": [
      {
        "name": "Runs",
        "custom_definition": {
          "name": "Runs",
          "target": "thread",
          "operation": "COUNT",
          "field": "threads"
        }
      },
      {
        "name": "Recorded steps",
        "custom_definition": {
          "name": "Recorded steps",
          "target": "step",
          "operation": "COUNT",
          "field": "steps"
        }
      },
      {
        "name": "Rule violations",
        "custom_definition": {
          "name": "Rule violations",
          "target": "thread",
          "operation": "COUNT",
          "field": "violations"
        }
      },
      {
        "name": "Failed refunds",
        "custom_definition": {
          "name": "Failed refunds",
          "target": "step",
          "operation": "COUNT",
          "field": "steps",
          "step_name": "refund",
          "filters": [
            {
              "key": "step outcome",
              "value": "failed"
            }
          ]
        }
      }
    ]
  },
  "contractSource": "Feature: profile_workload_1789862489495\nRule: Request\n When step \"requested\" is submitted\n Then owner must be \"processor\"\n And this step is an entry point\nRule: Approval\n When step \"approval\" is submitted\n Then owner must be \"processor\"\n And this step is an entry point\nRule: Refund\n When step \"refund\" is submitted\n Then owner must be \"processor\"\n And step \"approval\" must succeed before each invocation\n And content \"amount\" must be a number greater than 0\n And content \"currency\" must be one of \"GBP\", \"USD\"\n And content \"reference\" must match regex \"^PAY-[0-9]{8}$\"\nRule: Finish\n When step \"finish\" is submitted\n Then owner must be \"processor\"\n And step \"refund\" must have succeeded\n And this step is terminal\n",
  "completed": true,
  "description": "Generated by a synthetic SDK workload against two local Threadify Engines sharing Valkey, JetStream and PostgreSQL. Snapshot, not a live customer account or capacity benchmark.",
  "examples": [
    {
      "ref": "Refund-0001",
      "threadId": "d52d593a-6904-41f4-bd98-7bcf33d62376",
      "detail": "Approval recorded before the refund",
      "outcome": "Passed",
      "recordedSteps": 4,
      "flagged": false
    },
    {
      "ref": "Refund-0002",
      "threadId": "79049506-c6bd-44d1-874d-507550de07a6",
      "detail": "Refund reported without approval; corrected on a later attempt",
      "outcome": "Rule violated",
      "recordedSteps": 5,
      "flagged": true
    },
    {
      "ref": "Refund-0003",
      "threadId": "539a748f-97cc-4d11-b313-ec1426d39214",
      "detail": "Provider failure followed by a fresh approval and successful retry",
      "outcome": "Retried",
      "recordedSteps": 6,
      "flagged": false
    }
  ],
  "verification": "Every target run was checked through GraphQL; persisted aggregate counts independently matched PostgreSQL. Repeated cached Entity Profile reads matched.",
  "historicalData": "Fixes apply to newly archived events; no historical data was repaired in the installed Engine."
}
