{
  "capturedAt": "2026-07-14T18:01:52.088Z",
  "environment": {
    "node": "v22.23.1",
    "platform": "darwin",
    "arch": "arm64"
  },
  "lab": "genai-agent-trace-contract",
  "convention": {
    "repository": "open-telemetry/semantic-conventions-genai",
    "commit": "63f8200eee093730ce845d26ce2aafb621b0807e",
    "status": "development",
    "sourceFiles": [
      "docs/gen-ai/gen-ai-agent-spans.md",
      "docs/gen-ai/gen-ai-spans.md",
      "docs/registry/attributes/gen-ai.md",
      "model/gen-ai/spans.yaml",
      "model/gen-ai/registry.yaml"
    ]
  },
  "evidenceClass": {
    "fixtureType": "synthetic",
    "purpose": "Calibrate an observability contract; do not infer production reliability, latency, traffic, model quality, or vendor pricing.",
    "externalServicesRequired": false
  },
  "summary": {
    "cases": 18,
    "calibrationCases": 6,
    "calibrationContractPasses": 6,
    "negativeControls": 12,
    "negativeControlsDetected": 12,
    "operationsCoveredByCalibration": [
      "invoke_agent",
      "chat",
      "retrieval",
      "execute_tool"
    ],
    "failureAttributionByLayer": {
      "model": 1,
      "retrieval": 1,
      "tool": 1
    },
    "ambiguousFailureAttributions": 0,
    "usage": {
      "modelSpanCount": 5,
      "pricedModelSpanCount": 5,
      "inputTokens": 4940,
      "outputTokens": 620,
      "estimatedCostMicroUsd": 24140,
      "estimatedCostUsd": 0.02414,
      "pricingComplete": true
    },
    "privacy": {
      "calibrationSafeCases": 6,
      "negativeControlsWithFindings": 4,
      "findingReasons": {
        "forbidden-content-attribute": 3,
        "sensitive-key-name": 1,
        "sensitive-value:api-key-shape": 2,
        "sensitive-value:email": 4
      }
    },
    "businessRelations": {
      "technical_failure_business_non_success": 3,
      "technical_success_business_non_success": 2,
      "technical_success_business_success": 1
    },
    "businessOutcomes": {
      "failed": 3,
      "fulfilled": 1,
      "pending": 1,
      "rejected": 1
    },
    "violationCodes": {
      "business_root_mismatch": 1,
      "content_attribute_forbidden": 3,
      "conversation_id_fabricated": 2,
      "conversation_id_missing": 2,
      "error_type_missing": 1,
      "error_type_unexpected": 1,
      "parent_missing": 1,
      "pricing_missing": 1,
      "sensitive_key_detected": 1,
      "sensitive_value_detected": 6,
      "span_id_invalid": 1,
      "trace_id_invalid": 1
    }
  },
  "cases": [
    {
      "id": "happy-path",
      "caseType": "calibration",
      "description": "A technically successful agent run whose business transaction is fulfilled.",
      "traceId": "00000000000000000000000000000001",
      "contractValid": true,
      "violations": [],
      "topology": {
        "spanCount": 4,
        "rootSpanId": "0000000000000101",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "execute_tool": 1,
          "invoke_agent": 1,
          "retrieval": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 1200,
        "outputTokens": 180,
        "estimatedCostMicroUsd": 3840,
        "estimatedCostUsd": 0.00384,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-001",
        "outcome": "fulfilled",
        "reasonCode": "order_confirmed",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "model-failure",
      "caseType": "calibration",
      "description": "The model call times out and the agent root records a propagated child failure.",
      "traceId": "00000000000000000000000000000002",
      "contractValid": true,
      "violations": [],
      "topology": {
        "spanCount": 3,
        "rootSpanId": "0000000000000201",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1,
          "retrieval": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": false,
        "ambiguous": false,
        "candidateSpanIds": [
          "0000000000000203"
        ],
        "decisiveSpanId": "0000000000000203",
        "operation": "chat",
        "layer": "model",
        "errorType": "timeout"
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 640,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 3200,
        "estimatedCostUsd": 0.0032,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-002",
        "outcome": "failed",
        "reasonCode": "model_unavailable",
        "technicalSuccess": false,
        "relation": "technical_failure_business_non_success"
      }
    },
    {
      "id": "retrieval-failure",
      "caseType": "calibration",
      "description": "Retrieval fails before any model call is attempted.",
      "traceId": "00000000000000000000000000000003",
      "contractValid": true,
      "violations": [],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000000301",
        "maxDepth": 1,
        "operationCounts": {
          "invoke_agent": 1,
          "retrieval": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": false,
        "ambiguous": false,
        "candidateSpanIds": [
          "0000000000000302"
        ],
        "decisiveSpanId": "0000000000000302",
        "operation": "retrieval",
        "layer": "retrieval",
        "errorType": "vector_store_unavailable"
      },
      "usage": {
        "modelSpanCount": 0,
        "pricedModelSpanCount": 0,
        "inputTokens": 0,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-003",
        "outcome": "failed",
        "reasonCode": "knowledge_unavailable",
        "technicalSuccess": false,
        "relation": "technical_failure_business_non_success"
      }
    },
    {
      "id": "tool-failure",
      "caseType": "calibration",
      "description": "Retrieval and model inference succeed, but the selected tool times out.",
      "traceId": "00000000000000000000000000000004",
      "contractValid": true,
      "violations": [],
      "topology": {
        "spanCount": 4,
        "rootSpanId": "0000000000000401",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "execute_tool": 1,
          "invoke_agent": 1,
          "retrieval": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": false,
        "ambiguous": false,
        "candidateSpanIds": [
          "0000000000000404"
        ],
        "decisiveSpanId": "0000000000000404",
        "operation": "execute_tool",
        "layer": "tool",
        "errorType": "tool_timeout"
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 900,
        "outputTokens": 120,
        "estimatedCostMicroUsd": 2760,
        "estimatedCostUsd": 0.00276,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-004",
        "outcome": "failed",
        "reasonCode": "action_unconfirmed",
        "technicalSuccess": false,
        "relation": "technical_failure_business_non_success"
      }
    },
    {
      "id": "business-rejected-after-technical-success",
      "caseType": "calibration",
      "description": "Every technical span succeeds while the business policy rejects the transaction.",
      "traceId": "00000000000000000000000000000005",
      "contractValid": true,
      "violations": [],
      "topology": {
        "spanCount": 4,
        "rootSpanId": "0000000000000501",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "execute_tool": 1,
          "invoke_agent": 1,
          "retrieval": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 1500,
        "outputTokens": 240,
        "estimatedCostMicroUsd": 12300,
        "estimatedCostUsd": 0.0123,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-005",
        "outcome": "rejected",
        "reasonCode": "policy_denied",
        "technicalSuccess": true,
        "relation": "technical_success_business_non_success"
      }
    },
    {
      "id": "business-pending-after-technical-success",
      "caseType": "calibration",
      "description": "The orchestration completes but an external confirmation leaves the business result pending.",
      "traceId": "00000000000000000000000000000006",
      "contractValid": true,
      "violations": [],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000000601",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 700,
        "outputTokens": 80,
        "estimatedCostMicroUsd": 2040,
        "estimatedCostUsd": 0.00204,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-006",
        "outcome": "pending",
        "reasonCode": "awaiting_confirmation",
        "technicalSuccess": true,
        "relation": "technical_success_business_non_success"
      }
    },
    {
      "id": "missing-error-type",
      "caseType": "negative-control",
      "description": "An errored tool span omits the conditionally required error.type attribute.",
      "traceId": "00000000000000000000000000000007",
      "contractValid": false,
      "violations": [
        {
          "code": "error_type_missing",
          "spanId": "0000000000000702",
          "attribute": "error.type"
        }
      ],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000000701",
        "maxDepth": 1,
        "operationCounts": {
          "execute_tool": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": false,
        "ambiguous": false,
        "candidateSpanIds": [
          "0000000000000702"
        ],
        "decisiveSpanId": "0000000000000702",
        "operation": "execute_tool",
        "layer": "tool",
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 0,
        "pricedModelSpanCount": 0,
        "inputTokens": 0,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-007",
        "outcome": "failed",
        "reasonCode": "action_unconfirmed",
        "technicalSuccess": false,
        "relation": "technical_failure_business_non_success"
      }
    },
    {
      "id": "error-type-on-success",
      "caseType": "negative-control",
      "description": "A successful model span carries stale error.type metadata.",
      "traceId": "00000000000000000000000000000008",
      "contractValid": false,
      "violations": [
        {
          "code": "error_type_unexpected",
          "spanId": "0000000000000802",
          "attribute": "error.type"
        }
      ],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000000801",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 300,
        "outputTokens": 40,
        "estimatedCostMicroUsd": 920,
        "estimatedCostUsd": 0.00092,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-008",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "raw-content-leak",
      "caseType": "negative-control",
      "description": "Reserved-domain PII and an unmistakably synthetic key marker exercise metadata-only enforcement.",
      "traceId": "00000000000000000000000000000009",
      "contractValid": false,
      "violations": [
        {
          "code": "content_attribute_forbidden",
          "spanId": "0000000000000901",
          "attribute": "span.gen_ai.input.messages"
        },
        {
          "code": "content_attribute_forbidden",
          "spanId": "0000000000000902",
          "attribute": "span.gen_ai.retrieval.query.text"
        },
        {
          "code": "content_attribute_forbidden",
          "spanId": "0000000000000903",
          "attribute": "span.gen_ai.tool.call.arguments"
        },
        {
          "code": "sensitive_key_detected",
          "spanId": "0000000000000903",
          "attribute": "span.gen_ai.tool.call.arguments.api_key"
        },
        {
          "code": "sensitive_value_detected",
          "spanId": "0000000000000901",
          "attribute": "span.gen_ai.input.messages[0].content"
        },
        {
          "code": "sensitive_value_detected",
          "spanId": "0000000000000902",
          "attribute": "span.gen_ai.retrieval.query.text"
        },
        {
          "code": "sensitive_value_detected",
          "spanId": "0000000000000903",
          "attribute": "span.gen_ai.tool.call.arguments.api_key"
        }
      ],
      "topology": {
        "spanCount": 3,
        "rootSpanId": "0000000000000901",
        "maxDepth": 1,
        "operationCounts": {
          "execute_tool": 1,
          "invoke_agent": 1,
          "retrieval": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 0,
        "pricedModelSpanCount": 0,
        "inputTokens": 0,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": true
      },
      "privacy": {
        "safe": false,
        "findings": [
          {
            "source": "span",
            "spanId": "0000000000000901",
            "attribute": "gen_ai.input.messages",
            "reason": "forbidden-content-attribute"
          },
          {
            "source": "span",
            "spanId": "0000000000000901",
            "attribute": "gen_ai.input.messages[0].content",
            "reason": "sensitive-value:email"
          },
          {
            "source": "span",
            "spanId": "0000000000000902",
            "attribute": "gen_ai.retrieval.query.text",
            "reason": "forbidden-content-attribute"
          },
          {
            "source": "span",
            "spanId": "0000000000000902",
            "attribute": "gen_ai.retrieval.query.text",
            "reason": "sensitive-value:email"
          },
          {
            "source": "span",
            "spanId": "0000000000000903",
            "attribute": "gen_ai.tool.call.arguments",
            "reason": "forbidden-content-attribute"
          },
          {
            "source": "span",
            "spanId": "0000000000000903",
            "attribute": "gen_ai.tool.call.arguments.api_key",
            "reason": "sensitive-key-name"
          },
          {
            "source": "span",
            "spanId": "0000000000000903",
            "attribute": "gen_ai.tool.call.arguments.api_key",
            "reason": "sensitive-value:api-key-shape"
          }
        ]
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-009",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "orphan-parent",
      "caseType": "negative-control",
      "description": "A model span points to a parent that does not exist in the trace.",
      "traceId": "00000000000000000000000000000010",
      "contractValid": false,
      "violations": [
        {
          "code": "parent_missing",
          "spanId": "0000000000001002",
          "attribute": "parentSpanId"
        }
      ],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000001001",
        "maxDepth": 0,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 200,
        "outputTokens": 20,
        "estimatedCostMicroUsd": 560,
        "estimatedCostUsd": 0.00056,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-010",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "missing-conversation-id",
      "caseType": "negative-control",
      "description": "The framework has a conversation id but does not attach it to applicable spans.",
      "traceId": "00000000000000000000000000000011",
      "contractValid": false,
      "violations": [
        {
          "code": "conversation_id_missing",
          "spanId": "0000000000001101",
          "attribute": "gen_ai.conversation.id"
        },
        {
          "code": "conversation_id_missing",
          "spanId": "0000000000001102",
          "attribute": "gen_ai.conversation.id"
        }
      ],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000001101",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 200,
        "outputTokens": 20,
        "estimatedCostMicroUsd": 560,
        "estimatedCostUsd": 0.00056,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-011",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "unpriced-model",
      "caseType": "negative-control",
      "description": "Usage exists but the actual response model has no row in the synthetic price catalog.",
      "traceId": "00000000000000000000000000000012",
      "contractValid": false,
      "violations": [
        {
          "code": "pricing_missing",
          "spanId": "0000000000001202",
          "attribute": "gen_ai.response.model"
        }
      ],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000001201",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 0,
        "inputTokens": 200,
        "outputTokens": 20,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": false
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-012",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "business-root-mismatch",
      "caseType": "negative-control",
      "description": "The business event joins the trace id but references the wrong root span.",
      "traceId": "00000000000000000000000000000013",
      "contractValid": false,
      "violations": [
        {
          "code": "business_root_mismatch",
          "spanId": "0000000000001301",
          "attribute": "rootSpanId"
        }
      ],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000001301",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 200,
        "outputTokens": 20,
        "estimatedCostMicroUsd": 560,
        "estimatedCostUsd": 0.00056,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": false,
        "transactionId": "txn-synthetic-013",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "fabricated-conversation-id",
      "caseType": "negative-control",
      "description": "A trace invents a conversation id even though the fixture says none was available.",
      "traceId": "00000000000000000000000000000014",
      "contractValid": false,
      "violations": [
        {
          "code": "conversation_id_fabricated",
          "spanId": "0000000000001401",
          "attribute": "gen_ai.conversation.id"
        },
        {
          "code": "conversation_id_fabricated",
          "spanId": "0000000000001402",
          "attribute": "gen_ai.conversation.id"
        }
      ],
      "topology": {
        "spanCount": 2,
        "rootSpanId": "0000000000001401",
        "maxDepth": 1,
        "operationCounts": {
          "chat": 1,
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 1,
        "pricedModelSpanCount": 1,
        "inputTokens": 200,
        "outputTokens": 20,
        "estimatedCostMicroUsd": 560,
        "estimatedCostUsd": 0.00056,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-014",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "result-description-pii",
      "caseType": "negative-control",
      "description": "[REDACTED]",
      "traceId": "00000000000000000000000000000015",
      "contractValid": false,
      "violations": [
        {
          "code": "sensitive_value_detected",
          "spanId": null,
          "attribute": "trace.description"
        }
      ],
      "topology": {
        "spanCount": 1,
        "rootSpanId": "0000000000001501",
        "maxDepth": 0,
        "operationCounts": {
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 0,
        "pricedModelSpanCount": 0,
        "inputTokens": 0,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": true
      },
      "privacy": {
        "safe": false,
        "findings": [
          {
            "source": "trace",
            "spanId": null,
            "attribute": "description",
            "reason": "sensitive-value:email"
          }
        ]
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-015",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "result-transaction-secret",
      "caseType": "negative-control",
      "description": "A secret-shaped business transaction id must be detected before result projection.",
      "traceId": "00000000000000000000000000000016",
      "contractValid": false,
      "violations": [
        {
          "code": "sensitive_value_detected",
          "spanId": null,
          "attribute": "business.transactionId"
        }
      ],
      "topology": {
        "spanCount": 1,
        "rootSpanId": "0000000000001601",
        "maxDepth": 0,
        "operationCounts": {
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 0,
        "pricedModelSpanCount": 0,
        "inputTokens": 0,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": true
      },
      "privacy": {
        "safe": false,
        "findings": [
          {
            "source": "business",
            "spanId": null,
            "attribute": "transactionId",
            "reason": "sensitive-value:api-key-shape"
          }
        ]
      },
      "business": {
        "joined": true,
        "transactionId": "[REDACTED]",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "result-reason-pii",
      "caseType": "negative-control",
      "description": "A free-form business reason code containing PII must be rejected and redacted.",
      "traceId": "00000000000000000000000000000017",
      "contractValid": false,
      "violations": [
        {
          "code": "sensitive_value_detected",
          "spanId": null,
          "attribute": "business.reasonCode"
        }
      ],
      "topology": {
        "spanCount": 1,
        "rootSpanId": "0000000000001701",
        "maxDepth": 0,
        "operationCounts": {
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 0,
        "pricedModelSpanCount": 0,
        "inputTokens": 0,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": true
      },
      "privacy": {
        "safe": false,
        "findings": [
          {
            "source": "business",
            "spanId": null,
            "attribute": "reasonCode",
            "reason": "sensitive-value:email"
          }
        ]
      },
      "business": {
        "joined": true,
        "transactionId": "txn-synthetic-017",
        "outcome": "fulfilled",
        "reasonCode": "[REDACTED]",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    },
    {
      "id": "all-zero-identifiers",
      "caseType": "negative-control",
      "description": "All-zero trace and span identifiers are forbidden by the identifier contract.",
      "traceId": "[INVALID_TRACE_ID]",
      "contractValid": false,
      "violations": [
        {
          "code": "span_id_invalid",
          "spanId": "[INVALID_SPAN_ID]",
          "attribute": "spanId"
        },
        {
          "code": "trace_id_invalid",
          "spanId": null,
          "attribute": null
        }
      ],
      "topology": {
        "spanCount": 1,
        "rootSpanId": "[INVALID_SPAN_ID]",
        "maxDepth": 0,
        "operationCounts": {
          "invoke_agent": 1
        }
      },
      "failureAttribution": {
        "technicalSuccess": true,
        "ambiguous": false,
        "candidateSpanIds": [],
        "decisiveSpanId": null,
        "operation": null,
        "layer": null,
        "errorType": null
      },
      "usage": {
        "modelSpanCount": 0,
        "pricedModelSpanCount": 0,
        "inputTokens": 0,
        "outputTokens": 0,
        "estimatedCostMicroUsd": 0,
        "estimatedCostUsd": 0,
        "pricingComplete": true
      },
      "privacy": {
        "safe": true,
        "findings": []
      },
      "business": {
        "joined": false,
        "transactionId": "txn-synthetic-018",
        "outcome": "fulfilled",
        "reasonCode": "response_delivered",
        "technicalSuccess": true,
        "relation": "technical_success_business_success"
      }
    }
  ]
}
