{
  "measuredAt": "2026-11-29T11:14:40.453Z",
  "sdk": "wtc-control-plane@1.0.1",
  "scope": "First-party synthetic evaluation of policy decisions and linked in-memory audit events. No external actions, production deployment, customer outcomes or savings were measured.",
  "rules": [
    {
      "id": "intake-read",
      "name": "Category owner can read intake",
      "effect": "allow",
      "subjects": [
        "user:category-owner"
      ],
      "actions": [
        "intake.read"
      ],
      "resources": [
        "procurement:intake:request-01"
      ]
    },
    {
      "id": "renewal-read",
      "name": "Renewal assistant can read the contract summary",
      "effect": "allow",
      "subjects": [
        "agent:renewal-assistant"
      ],
      "actions": [
        "renewal.read"
      ],
      "resources": [
        "procurement:renewal:contract-01"
      ]
    },
    {
      "id": "renewal-approval",
      "name": "Route renewal commitments for human approval",
      "effect": "require_approval",
      "subjects": [
        "agent:renewal-assistant"
      ],
      "actions": [
        "renewal.commit"
      ],
      "resources": [
        "procurement:renewal:contract-01"
      ]
    }
  ],
  "results": [
    {
      "label": "Category owner reads the intake request",
      "expected": "allow",
      "decision": {
        "id": "decision_e589bf6d-a7c5-4d11-b510-be9727a13d80",
        "tenantId": "synthetic-procurement",
        "input": {
          "tenantId": "synthetic-procurement",
          "subject": "user:category-owner",
          "action": "intake.read",
          "resource": "procurement:intake:request-01",
          "context": {},
          "requestedAt": "2026-11-29T11:14:40.453Z"
        },
        "effect": "allow",
        "matchedPolicyIds": [
          "intake-read"
        ],
        "reason": "Matched policy Category owner can read intake.",
        "evaluatedAt": "2026-11-29T11:14:40.464Z"
      }
    },
    {
      "label": "Renewal assistant reads the contract summary",
      "expected": "allow",
      "decision": {
        "id": "decision_0e2fca83-27f8-4677-a088-bfd8835d5281",
        "tenantId": "synthetic-procurement",
        "input": {
          "tenantId": "synthetic-procurement",
          "subject": "agent:renewal-assistant",
          "action": "renewal.read",
          "resource": "procurement:renewal:contract-01",
          "context": {},
          "requestedAt": "2026-11-29T11:14:40.453Z"
        },
        "effect": "allow",
        "matchedPolicyIds": [
          "renewal-read"
        ],
        "reason": "Matched policy Renewal assistant can read the contract summary.",
        "evaluatedAt": "2026-11-29T11:14:40.465Z"
      }
    },
    {
      "label": "Renewal assistant requests a renewal commitment",
      "expected": "require_approval",
      "decision": {
        "id": "decision_d3a0e099-08fa-42cc-ae94-8070612539f8",
        "tenantId": "synthetic-procurement",
        "input": {
          "tenantId": "synthetic-procurement",
          "subject": "agent:renewal-assistant",
          "action": "renewal.commit",
          "resource": "procurement:renewal:contract-01",
          "context": {},
          "requestedAt": "2026-11-29T11:14:40.453Z"
        },
        "effect": "require_approval",
        "matchedPolicyIds": [
          "renewal-approval"
        ],
        "reason": "Matched policy Route renewal commitments for human approval.",
        "evaluatedAt": "2026-11-29T11:14:40.465Z"
      }
    },
    {
      "label": "Renewal assistant requests restricted supplier details",
      "expected": "deny",
      "decision": {
        "id": "decision_df4f1d40-d437-4a50-9d9b-a33981dc5418",
        "tenantId": "synthetic-procurement",
        "input": {
          "tenantId": "synthetic-procurement",
          "subject": "agent:renewal-assistant",
          "action": "supplier.read",
          "resource": "procurement:supplier:restricted-details",
          "context": {},
          "requestedAt": "2026-11-29T11:14:40.453Z"
        },
        "effect": "deny",
        "matchedPolicyIds": [],
        "reason": "No active policy matched. Default deny.",
        "evaluatedAt": "2026-11-29T11:14:40.465Z"
      }
    },
    {
      "label": "Renewal assistant requests a supplier message",
      "expected": "deny",
      "decision": {
        "id": "decision_fd638ce2-1ca5-468f-981c-1d9026b15068",
        "tenantId": "synthetic-procurement",
        "input": {
          "tenantId": "synthetic-procurement",
          "subject": "agent:renewal-assistant",
          "action": "supplier.message",
          "resource": "procurement:renewal:contract-01",
          "context": {},
          "requestedAt": "2026-11-29T11:14:40.453Z"
        },
        "effect": "deny",
        "matchedPolicyIds": [],
        "reason": "No active policy matched. Default deny.",
        "evaluatedAt": "2026-11-29T11:14:40.465Z"
      }
    },
    {
      "label": "An unassigned user requests the contract summary",
      "expected": "deny",
      "decision": {
        "id": "decision_ff504818-2991-4ff4-b5b9-50cf2c654fe9",
        "tenantId": "synthetic-procurement",
        "input": {
          "tenantId": "synthetic-procurement",
          "subject": "user:unassigned",
          "action": "renewal.read",
          "resource": "procurement:renewal:contract-01",
          "context": {},
          "requestedAt": "2026-11-29T11:14:40.453Z"
        },
        "effect": "deny",
        "matchedPolicyIds": [],
        "reason": "No active policy matched. Default deny.",
        "evaluatedAt": "2026-11-29T11:14:40.465Z"
      }
    }
  ],
  "auditEvents": [
    {
      "id": "audit_00048a4f-8cf1-49bd-8fc4-a4c6888a9e3e",
      "tenantId": "synthetic-procurement",
      "actorId": "agent:renewal-assistant",
      "actorType": "agent",
      "action": "policy.evaluate",
      "targetType": "policy_decision",
      "targetId": "decision_0e2fca83-27f8-4677-a088-bfd8835d5281",
      "outcome": "success",
      "policyDecisionId": "decision_0e2fca83-27f8-4677-a088-bfd8835d5281",
      "metadata": {
        "requestedAction": "renewal.read",
        "requestedResource": "procurement:renewal:contract-01",
        "matchedPolicyIds": [
          "renewal-read"
        ]
      },
      "createdAt": "2026-11-29T11:14:40.465Z"
    },
    {
      "id": "audit_129503bf-7fd4-43cc-8de3-ab5d44731081",
      "tenantId": "synthetic-procurement",
      "actorId": "agent:renewal-assistant",
      "actorType": "agent",
      "action": "policy.evaluate",
      "targetType": "policy_decision",
      "targetId": "decision_df4f1d40-d437-4a50-9d9b-a33981dc5418",
      "outcome": "blocked",
      "policyDecisionId": "decision_df4f1d40-d437-4a50-9d9b-a33981dc5418",
      "metadata": {
        "requestedAction": "supplier.read",
        "requestedResource": "procurement:supplier:restricted-details",
        "matchedPolicyIds": []
      },
      "createdAt": "2026-11-29T11:14:40.465Z"
    },
    {
      "id": "audit_23d6598d-fd14-4913-afe4-c2b816b4748f",
      "tenantId": "synthetic-procurement",
      "actorId": "agent:renewal-assistant",
      "actorType": "agent",
      "action": "policy.evaluate",
      "targetType": "policy_decision",
      "targetId": "decision_d3a0e099-08fa-42cc-ae94-8070612539f8",
      "outcome": "requires_approval",
      "policyDecisionId": "decision_d3a0e099-08fa-42cc-ae94-8070612539f8",
      "metadata": {
        "requestedAction": "renewal.commit",
        "requestedResource": "procurement:renewal:contract-01",
        "matchedPolicyIds": [
          "renewal-approval"
        ]
      },
      "createdAt": "2026-11-29T11:14:40.465Z"
    },
    {
      "id": "audit_2c746323-9c14-47a3-a25f-0686342e0dab",
      "tenantId": "synthetic-procurement",
      "actorId": "user:unassigned",
      "actorType": "user",
      "action": "policy.evaluate",
      "targetType": "policy_decision",
      "targetId": "decision_ff504818-2991-4ff4-b5b9-50cf2c654fe9",
      "outcome": "blocked",
      "policyDecisionId": "decision_ff504818-2991-4ff4-b5b9-50cf2c654fe9",
      "metadata": {
        "requestedAction": "renewal.read",
        "requestedResource": "procurement:renewal:contract-01",
        "matchedPolicyIds": []
      },
      "createdAt": "2026-11-29T11:14:40.465Z"
    },
    {
      "id": "audit_2ef1444b-cd0f-4e94-80cb-0a3ec9e5a12a",
      "tenantId": "synthetic-procurement",
      "actorId": "user:category-owner",
      "actorType": "user",
      "action": "policy.evaluate",
      "targetType": "policy_decision",
      "targetId": "decision_e589bf6d-a7c5-4d11-b510-be9727a13d80",
      "outcome": "success",
      "policyDecisionId": "decision_e589bf6d-a7c5-4d11-b510-be9727a13d80",
      "metadata": {
        "requestedAction": "intake.read",
        "requestedResource": "procurement:intake:request-01",
        "matchedPolicyIds": [
          "intake-read"
        ]
      },
      "createdAt": "2026-11-29T11:14:40.464Z"
    },
    {
      "id": "audit_9b843ec7-3cdf-4a09-af35-f6d9fd771c28",
      "tenantId": "synthetic-procurement",
      "actorId": "agent:renewal-assistant",
      "actorType": "agent",
      "action": "policy.evaluate",
      "targetType": "policy_decision",
      "targetId": "decision_fd638ce2-1ca5-468f-981c-1d9026b15068",
      "outcome": "blocked",
      "policyDecisionId": "decision_fd638ce2-1ca5-468f-981c-1d9026b15068",
      "metadata": {
        "requestedAction": "supplier.message",
        "requestedResource": "procurement:renewal:contract-01",
        "matchedPolicyIds": []
      },
      "createdAt": "2026-11-29T11:14:40.465Z"
    }
  ]
}
