{
  "lesson_id": "PLN-023",
  "evaluation_time": "2026-09-16T08:00:00Z",
  "cases": [
    {
      "case_id": "baseline_provider_request_id",
      "publish_transaction_id": "tx-001",
      "publish_intent_id": "intent-001",
      "target_account": "acct-A",
      "operation": "create-post",
      "payload_hash": "sha256:aaa",
      "idempotency_key": "req-111",
      "request_id": "req-111",
      "idempotency_support": "PROVIDER_REQUEST_ID",
      "attempt_no": 2,
      "retry_class": "SAFE_SAME_IDENTITY",
      "execution_budget": 3,
      "request_timestamp": "2026-09-16T07:55:00Z",
      "response_status": 201,
      "provider_resource_id": "res-10",
      "verification_method": "READ_BACK",
      "read_back_snapshot": {
        "resource_id": "res-10",
        "target_account": "acct-A",
        "payload_hash": "sha256:aaa"
      },
      "duplicate_detection": "PROVIDER_REQUEST_ID",
      "evidence_retrieved_at": "2026-09-16T07:59:00Z",
      "provenance_ref": "src://AIP155+provider-doc",
      "key_payload_consistent": true,
      "first_attempt_timeout": true,
      "provider_exactly_once": true
    },
    {
      "case_id": "timeout_no_identity",
      "publish_transaction_id": "tx-002",
      "publish_intent_id": "intent-002",
      "target_account": "acct-A",
      "operation": "create-post",
      "payload_hash": "sha256:bbb",
      "idempotency_key": null,
      "request_id": null,
      "idempotency_support": "NONE",
      "attempt_no": 1,
      "retry_class": "UNSAFE_UNKNOWN_EFFECT",
      "execution_budget": 3,
      "request_timestamp": "2026-09-16T07:56:00Z",
      "response_status": "TIMEOUT",
      "provider_resource_id": null,
      "verification_method": "NONE",
      "read_back_snapshot": null,
      "duplicate_detection": "NONE",
      "evidence_retrieved_at": "2026-09-16T07:59:00Z",
      "provenance_ref": "src://client-log",
      "key_payload_consistent": true,
      "first_attempt_timeout": true,
      "provider_exactly_once": false
    },
    {
      "case_id": "key_reused_different_payload",
      "publish_transaction_id": "tx-003",
      "publish_intent_id": "intent-003",
      "target_account": "acct-A",
      "operation": "create-post",
      "payload_hash": "sha256:ccc-new",
      "idempotency_key": "req-222",
      "request_id": "req-222",
      "idempotency_support": "PROVIDER_REQUEST_ID",
      "attempt_no": 2,
      "retry_class": "SAFE_SAME_IDENTITY",
      "execution_budget": 3,
      "request_timestamp": "2026-09-16T07:57:00Z",
      "response_status": 409,
      "provider_resource_id": "res-old",
      "verification_method": "READ_BACK",
      "read_back_snapshot": {
        "resource_id": "res-old",
        "target_account": "acct-A",
        "payload_hash": "sha256:ccc-old"
      },
      "duplicate_detection": "PROVIDER_REQUEST_ID",
      "evidence_retrieved_at": "2026-09-16T07:59:00Z",
      "provenance_ref": "src://provider-doc",
      "key_payload_consistent": false,
      "first_attempt_timeout": false,
      "provider_exactly_once": true
    },
    {
      "case_id": "success_wrong_target",
      "publish_transaction_id": "tx-004",
      "publish_intent_id": "intent-004",
      "target_account": "acct-A",
      "operation": "create-post",
      "payload_hash": "sha256:ddd",
      "idempotency_key": "req-333",
      "request_id": "req-333",
      "idempotency_support": "PROVIDER_REQUEST_ID",
      "attempt_no": 1,
      "retry_class": "NO_RETRY_NEEDED",
      "execution_budget": 3,
      "request_timestamp": "2026-09-16T07:57:00Z",
      "response_status": 201,
      "provider_resource_id": "res-44",
      "verification_method": "READ_BACK",
      "read_back_snapshot": {
        "resource_id": "res-44",
        "target_account": "acct-B",
        "payload_hash": "sha256:ddd"
      },
      "duplicate_detection": "PROVIDER_REQUEST_ID",
      "evidence_retrieved_at": "2026-09-16T07:59:00Z",
      "provenance_ref": "src://provider-read",
      "key_payload_consistent": true,
      "first_attempt_timeout": false,
      "provider_exactly_once": true
    },
    {
      "case_id": "budget_exhausted_unverified",
      "publish_transaction_id": "tx-005",
      "publish_intent_id": "intent-005",
      "target_account": "acct-A",
      "operation": "create-post",
      "payload_hash": "sha256:eee",
      "idempotency_key": "req-444",
      "request_id": "req-444",
      "idempotency_support": "PROVIDER_REQUEST_ID",
      "attempt_no": 3,
      "retry_class": "SAFE_SAME_IDENTITY",
      "execution_budget": 3,
      "request_timestamp": "2026-09-16T07:57:00Z",
      "response_status": "TIMEOUT",
      "provider_resource_id": null,
      "verification_method": "READ_BACK",
      "read_back_snapshot": null,
      "duplicate_detection": "PROVIDER_REQUEST_ID",
      "evidence_retrieved_at": "2026-09-16T07:59:00Z",
      "provenance_ref": "src://provider-doc",
      "key_payload_consistent": true,
      "first_attempt_timeout": true,
      "provider_exactly_once": true
    },
    {
      "case_id": "stale_idempotency_evidence",
      "publish_transaction_id": "tx-006",
      "publish_intent_id": "intent-006",
      "target_account": "acct-A",
      "operation": "create-post",
      "payload_hash": "sha256:fff",
      "idempotency_key": "req-555",
      "request_id": "req-555",
      "idempotency_support": "PROVIDER_REQUEST_ID",
      "attempt_no": 1,
      "retry_class": "SAFE_SAME_IDENTITY",
      "execution_budget": 3,
      "request_timestamp": "2026-09-16T07:58:00Z",
      "response_status": 201,
      "provider_resource_id": "res-66",
      "verification_method": "READ_BACK",
      "read_back_snapshot": {
        "resource_id": "res-66",
        "target_account": "acct-A",
        "payload_hash": "sha256:fff"
      },
      "duplicate_detection": "PROVIDER_REQUEST_ID",
      "evidence_retrieved_at": "2026-05-01T00:00:00Z",
      "provenance_ref": "src://old-provider-doc",
      "key_payload_consistent": true,
      "first_attempt_timeout": false,
      "provider_exactly_once": true
    },
    {
      "case_id": "missing_provenance",
      "publish_transaction_id": "tx-007",
      "publish_intent_id": "intent-007",
      "target_account": "acct-A",
      "operation": "create-post",
      "payload_hash": "sha256:ggg",
      "idempotency_key": "req-666",
      "request_id": "req-666",
      "idempotency_support": "PROVIDER_REQUEST_ID",
      "attempt_no": 1,
      "retry_class": "SAFE_SAME_IDENTITY",
      "execution_budget": 3,
      "request_timestamp": "2026-09-16T07:58:00Z",
      "response_status": 201,
      "provider_resource_id": "res-77",
      "verification_method": "READ_BACK",
      "read_back_snapshot": {
        "resource_id": "res-77",
        "target_account": "acct-A",
        "payload_hash": "sha256:ggg"
      },
      "duplicate_detection": "PROVIDER_REQUEST_ID",
      "evidence_retrieved_at": "2026-09-16T07:59:00Z",
      "provenance_ref": null,
      "key_payload_consistent": true,
      "first_attempt_timeout": false,
      "provider_exactly_once": true
    },
    {
      "case_id": "transfer_app_duplicate_read_before_retry",
      "publish_transaction_id": "tx-008",
      "publish_intent_id": "intent-008",
      "target_account": "acct-C",
      "operation": "create-post",
      "payload_hash": "sha256:hhh",
      "idempotency_key": "app:intent-008:acct-C:hhh",
      "request_id": null,
      "idempotency_support": "APPLICATION_DUPLICATE_KEY_ONLY",
      "attempt_no": 2,
      "retry_class": "READ_BEFORE_RETRY",
      "execution_budget": 2,
      "request_timestamp": "2026-09-16T07:58:00Z",
      "response_status": "TIMEOUT_THEN_READ_FOUND",
      "provider_resource_id": "res-88",
      "verification_method": "READ_BEFORE_RETRY",
      "read_back_snapshot": {
        "resource_id": "res-88",
        "target_account": "acct-C",
        "payload_hash": "sha256:hhh"
      },
      "duplicate_detection": "APPLICATION_KEY_PLUS_READ",
      "evidence_retrieved_at": "2026-09-16T07:59:00Z",
      "provenance_ref": "src://provider-read-doc+app-policy",
      "key_payload_consistent": true,
      "first_attempt_timeout": true,
      "provider_exactly_once": false
    }
  ]
}
