{
  "schema_version": 1,
  "example_label": "Fictional production-format incident",
  "redaction": {
    "policy_version": "incident-redaction-v1",
    "fields_changed": 21,
    "object_keys_changed": 0,
    "numeric_values_replaced": 0,
    "unique_values_replaced": 11,
    "categories": {
      "freeform": 1,
      "identifier": 16,
      "personal": 3,
      "secret": 1
    },
    "custom_paths_applied": 0,
    "warnings": [
      "Review the redacted bundle locally before sharing; custom schemas and unrecognized personal data may require additional paths.",
      "Freeform text is removed by default. Redaction can change model decisions and type-sensitive behavior; replay covers the retained tool boundary.",
      "Aliases are consistent only inside this import; the original values and random mapping key are not exported."
    ],
    "metadata_exported": false,
    "review_required": true,
    "source_format": "canonical",
    "raw_source_copied": false,
    "note": "No originals, lookup table, or redaction key are saved. Review before sharing."
  },
  "incident": {
    "id": "incident-96372e55d2605785",
    "input": {
      "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
      "customer": {
        "name": "<redacted:personal:c48f8ce39a221f894ba168c5e36275c0>",
        "email": "<redacted:personal:b9457abfa933d157d87a69119ad5ab70>",
        "phone": "<redacted:personal:38706dcffda6e2710ac391af1c797633>"
      },
      "authorization": "<redacted:secret:dd77604cc6e270bc40af9434048e2176>",
      "request": "<redacted:freeform:8b2214ffe6a3d2c77082361cd84c576f>",
      "retry_keys": [
        "<redacted:identifier:59193f8951a21b63a1c8a20126ab6452>",
        "<redacted:identifier:02cd59778707342e8d43c23e91773c6c>"
      ]
    },
    "events": [
      {
        "type": "tool_call",
        "call_id": "c1",
        "name": "lookup_order",
        "args": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>"
        }
      },
      {
        "type": "tool_result",
        "call_id": "c1",
        "ok": true,
        "result": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "amount_cents": 4900,
          "currency": "USD"
        },
        "error": null
      },
      {
        "type": "tool_call",
        "call_id": "c2",
        "name": "issue_refund",
        "args": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "amount_cents": 4900,
          "currency": "USD",
          "idempotency_key": "<redacted:identifier:59193f8951a21b63a1c8a20126ab6452>"
        }
      },
      {
        "type": "business_effect",
        "call_id": "c2",
        "effect": {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:341a83d340f0c321e89c50597863c473>",
          "amount_cents": 4900,
          "currency": "USD"
        }
      },
      {
        "type": "tool_result",
        "call_id": "c2",
        "ok": false,
        "result": null,
        "error": "provider_timeout"
      },
      {
        "type": "tool_call",
        "call_id": "c3",
        "name": "issue_refund",
        "args": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "amount_cents": 4900,
          "currency": "USD",
          "idempotency_key": "<redacted:identifier:02cd59778707342e8d43c23e91773c6c>"
        }
      },
      {
        "type": "business_effect",
        "call_id": "c3",
        "effect": {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>",
          "amount_cents": 4900,
          "currency": "USD"
        }
      },
      {
        "type": "tool_result",
        "call_id": "c3",
        "ok": true,
        "result": {
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>",
          "status": "refunded"
        },
        "error": null
      },
      {
        "type": "final_output",
        "output": {
          "status": "refunded",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>"
        }
      }
    ],
    "assertions": [
      {
        "id": "one-refund-per-order",
        "type": "effect_count",
        "effect_type": "refund",
        "group_by": "order_id",
        "min": 1,
        "max": 1
      },
      {
        "id": "has-refund-receipt",
        "type": "required_output",
        "fields": [
          "status",
          "order_id",
          "refund_id"
        ]
      },
      {
        "id": "structured-outcome",
        "type": "output_equals",
        "path": "/status",
        "value": "refunded"
      }
    ],
    "effects_complete": true
  },
  "evaluation": {
    "passed": false,
    "assertions": [
      {
        "id": "one-refund-per-order",
        "type": "effect_count",
        "passed": false,
        "status": "fail",
        "expected": {
          "min": 1,
          "max": 1,
          "per_group": true
        },
        "actual": {
          "total": 2,
          "group_counts": [
            2
          ],
          "missing_group": false
        },
        "detail": "Observed 2 recorded effect(s); allowed count is 1 to 1 per group."
      },
      {
        "id": "has-refund-receipt",
        "type": "required_output",
        "passed": true,
        "status": "pass",
        "expected": [
          "status",
          "order_id",
          "refund_id"
        ],
        "actual": {
          "missing": []
        },
        "detail": "All required output fields are present."
      },
      {
        "id": "structured-outcome",
        "type": "output_equals",
        "passed": true,
        "status": "pass",
        "expected": "refunded",
        "actual": {
          "present": true,
          "value": "refunded"
        },
        "detail": "Structured output matches the declared value."
      }
    ],
    "effects": [
      {
        "type": "refund",
        "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
        "refund_id": "<redacted:identifier:341a83d340f0c321e89c50597863c473>",
        "amount_cents": 4900,
        "currency": "USD"
      },
      {
        "type": "refund",
        "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
        "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>",
        "amount_cents": 4900,
        "currency": "USD"
      }
    ],
    "output": {
      "status": "refunded",
      "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
      "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>"
    },
    "error": null,
    "tool_calls": 3,
    "tool_errors": 1,
    "effects_complete": true
  },
  "replay": {
    "matched": true,
    "verdict": "reproduced",
    "first_divergence": null,
    "observed": {
      "passed": false,
      "assertions": [
        {
          "id": "one-refund-per-order",
          "type": "effect_count",
          "passed": false,
          "status": "fail",
          "expected": {
            "min": 1,
            "max": 1,
            "per_group": true
          },
          "actual": {
            "total": 2,
            "group_counts": [
              2
            ],
            "missing_group": false
          },
          "detail": "Observed 2 recorded effect(s); allowed count is 1 to 1 per group."
        },
        {
          "id": "has-refund-receipt",
          "type": "required_output",
          "passed": true,
          "status": "pass",
          "expected": [
            "status",
            "order_id",
            "refund_id"
          ],
          "actual": {
            "missing": []
          },
          "detail": "All required output fields are present."
        },
        {
          "id": "structured-outcome",
          "type": "output_equals",
          "passed": true,
          "status": "pass",
          "expected": "refunded",
          "actual": {
            "present": true,
            "value": "refunded"
          },
          "detail": "Structured output matches the declared value."
        }
      ],
      "effects": [
        {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:341a83d340f0c321e89c50597863c473>",
          "amount_cents": 4900,
          "currency": "USD"
        },
        {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>",
          "amount_cents": 4900,
          "currency": "USD"
        }
      ],
      "output": {
        "status": "refunded",
        "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
        "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>"
      },
      "error": null,
      "tool_calls": 3,
      "tool_errors": 1,
      "effects_complete": true
    },
    "expected": {
      "passed": false,
      "assertions": [
        {
          "id": "one-refund-per-order",
          "type": "effect_count",
          "passed": false,
          "status": "fail",
          "expected": {
            "min": 1,
            "max": 1,
            "per_group": true
          },
          "actual": {
            "total": 2,
            "group_counts": [
              2
            ],
            "missing_group": false
          },
          "detail": "Observed 2 recorded effect(s); allowed count is 1 to 1 per group."
        },
        {
          "id": "has-refund-receipt",
          "type": "required_output",
          "passed": true,
          "status": "pass",
          "expected": [
            "status",
            "order_id",
            "refund_id"
          ],
          "actual": {
            "missing": []
          },
          "detail": "All required output fields are present."
        },
        {
          "id": "structured-outcome",
          "type": "output_equals",
          "passed": true,
          "status": "pass",
          "expected": "refunded",
          "actual": {
            "present": true,
            "value": "refunded"
          },
          "detail": "Structured output matches the declared value."
        }
      ],
      "effects": [
        {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:341a83d340f0c321e89c50597863c473>",
          "amount_cents": 4900,
          "currency": "USD"
        },
        {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>",
          "amount_cents": 4900,
          "currency": "USD"
        }
      ],
      "output": {
        "status": "refunded",
        "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
        "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>"
      },
      "error": null,
      "tool_calls": 3,
      "tool_errors": 1,
      "effects_complete": true
    },
    "trace": [
      {
        "type": "tool_call",
        "call_id": "c1",
        "name": "lookup_order",
        "args": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>"
        }
      },
      {
        "type": "tool_result",
        "call_id": "c1",
        "ok": true,
        "result": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "amount_cents": 4900,
          "currency": "USD"
        },
        "error": null
      },
      {
        "type": "tool_call",
        "call_id": "c2",
        "name": "issue_refund",
        "args": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "amount_cents": 4900,
          "currency": "USD",
          "idempotency_key": "<redacted:identifier:59193f8951a21b63a1c8a20126ab6452>"
        }
      },
      {
        "type": "business_effect",
        "call_id": "c2",
        "effect": {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:341a83d340f0c321e89c50597863c473>",
          "amount_cents": 4900,
          "currency": "USD"
        }
      },
      {
        "type": "tool_result",
        "call_id": "c2",
        "ok": false,
        "result": null,
        "error": "provider_timeout"
      },
      {
        "type": "tool_call",
        "call_id": "c3",
        "name": "issue_refund",
        "args": {
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "amount_cents": 4900,
          "currency": "USD",
          "idempotency_key": "<redacted:identifier:02cd59778707342e8d43c23e91773c6c>"
        }
      },
      {
        "type": "business_effect",
        "call_id": "c3",
        "effect": {
          "type": "refund",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>",
          "amount_cents": 4900,
          "currency": "USD"
        }
      },
      {
        "type": "tool_result",
        "call_id": "c3",
        "ok": true,
        "result": {
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>",
          "status": "refunded"
        },
        "error": null
      },
      {
        "type": "final_output",
        "output": {
          "status": "refunded",
          "order_id": "<redacted:identifier:1d478291f6eda10edc4684172cf8eabf>",
          "refund_id": "<redacted:identifier:86c8d5eaaf0df1cc5d1cf1ab1ad89348>"
        }
      }
    ],
    "consumed_tool_calls": 3,
    "recorded_tool_calls": 3,
    "effects_source": "recorded historical ledger; no live tool executed",
    "execution_boundary": "Explicit local command; external model/network calls are not intercepted."
  },
  "downloads": {
    "source": "/templates/support-agent/runledger-scenario-source.zip",
    "example": "/templates/incidents/production-example.json",
    "bundle": "/templates/incidents/redacted-incident.json",
    "guide": "/templates/incidents/README.md"
  }
}
