{
  "spec": "proven-autonomy/autonomy-policy/v0.1",
  "policy": "corvalle.payments-exceptions",
  "version": "1.4.0",
  "organisation": "Corvalle Bank (fictional)",
  "effective_from": "2026-11-03",
  "agent": {
    "id": "payments-exceptions-agent",
    "purpose": "Works the payment exceptions queue in the payments operations hub: repairs, returns and holds."
  },
  "context_transfer": "none-by-default",
  "action_classes": [
    {
      "id": "repair-payment-field",
      "description": "Repair a missing or malformed field on an outbound payment (beneficiary address, purpose code, remittance reference) from the customer's own master data, up to $10,000.",
      "severity": "medium",
      "reversibility": "compensable",
      "autonomy_owner": "Head of Payments Operations",
      "verification_window_days": 30,
      "max_level": "L4",
      "max_level_reason": "Bank policy: payment repairs keep a periodic human review.",
      "contexts": [
        {
          "id": "uk-domestic",
          "dimensions": { "country": "GB", "scheme": "domestic instant", "value_band": "up to $10,000" },
          "current_level": "L3",
          "since": "2026-09-14",
          "granted_to": { "model": "general-llm-a", "prompt": "repair-v12", "tools": { "payments-api": "4.2", "customer-master": "2.9" } },
          "last_decision": "pd-2026-0914-uk-repair"
        },
        {
          "id": "eu-sepa",
          "dimensions": { "region": "EU", "scheme": "SEPA credit transfer", "value_band": "up to $10,000" },
          "current_level": "L3",
          "since": "2026-11-03",
          "granted_to": { "model": "general-llm-a", "prompt": "repair-v12", "tools": { "payments-api": "4.2", "customer-master": "2.9" } },
          "last_decision": "pd-2026-1103-eu-repair"
        },
        {
          "id": "sg-domestic",
          "dimensions": { "country": "SG", "scheme": "domestic instant", "value_band": "up to $10,000" },
          "current_level": "L1",
          "since": "2026-10-20",
          "granted_to": { "model": "general-llm-a", "prompt": "repair-v12", "tools": { "payments-api": "4.2", "customer-master": "2.9" } }
        }
      ],
      "envelopes": {
        "L0": { "pre_approval": "all", "allowed_tools": [], "allowed_data": ["exception-queue", "customer-master:read"] },
        "L1": { "pre_approval": "all", "max_value": { "amount": 10000, "currency": "USD" }, "allowed_tools": ["payments-api:draft-repair"], "allowed_data": ["exception-queue", "customer-master:read"] },
        "L2": { "pre_approval": "flagged-and-sampled", "max_value": { "amount": 2500, "currency": "USD" }, "max_actions_per_hour": 120, "allowed_tools": ["payments-api:repair"], "allowed_data": ["exception-queue", "customer-master:read"], "reversible_only": true, "exceptions_to": "payments-ops-desk" },
        "L3": { "pre_approval": "none", "max_value": { "amount": 5000, "currency": "USD" }, "max_actions_per_hour": 300, "max_actions_per_day": 2400, "allowed_tools": ["payments-api:repair"], "allowed_data": ["exception-queue", "customer-master:read"], "time_window": { "days": ["mon", "tue", "wed", "thu", "fri"], "start": "06:00", "end": "20:00", "timezone": "local" }, "exceptions_to": "payments-ops-desk" },
        "L4": { "pre_approval": "none", "max_value": { "amount": 10000, "currency": "USD" }, "max_actions_per_hour": 600, "allowed_tools": ["payments-api:repair"], "allowed_data": ["exception-queue", "customer-master:read"], "exceptions_to": "payments-ops-desk" }
      },
      "sampling_floors": {
        "L1": { "review": "every-action", "rate": 1 },
        "L2": { "review": "pre-execution", "rate": 0.1, "stratify_by": ["value_band", "corporate-client"] },
        "L3": { "review": "post-execution", "rate": 0.05, "stratify_by": ["value_band", "field-repaired"] },
        "L4": { "review": "post-execution", "rate": 0.02, "stratify_by": ["value_band"] }
      },
      "promotion_criteria": [
        { "from": "L0", "to": "L1", "min_actions": 500, "min_days_at_level": 14, "min_agreement_rate": 0.85, "min_verified_good_rate": 0.98, "max_severity_weighted_incidents": 10, "approvers": ["Head of Payments Operations"] },
        { "from": "L1", "to": "L2", "min_actions": 1000, "min_days_at_level": 30, "min_agreement_rate": 0.95, "max_edit_rate": 0.05, "min_verified_good_rate": 0.99, "max_severity_weighted_incidents": 5, "min_review_coverage": 0.98, "approvers": ["Head of Payments Operations"] },
        { "from": "L2", "to": "L3", "min_actions": 2000, "min_days_at_level": 60, "min_agreement_rate": 0.97, "max_edit_rate": 0.03, "min_verified_good_rate": 0.995, "max_severity_weighted_incidents": 2, "max_drift": 0.1, "min_review_coverage": 0.98, "approvers": ["Head of Payments Operations", "Operational Risk Lead"] },
        { "from": "L3", "to": "L4", "min_actions": 5000, "min_days_at_level": 90, "min_agreement_rate": 0.98, "max_edit_rate": 0.02, "min_verified_good_rate": 0.997, "max_severity_weighted_incidents": 1, "max_drift": 0.08, "min_review_coverage": 0.98, "approvers": ["Head of Payments Operations", "Operational Risk Lead"] }
      ],
      "demotion_triggers": [
        { "id": "severe-incident", "when": "severe-incident", "action": "drop-one-level", "automatic": true, "notify": ["Head of Payments Operations", "AI Agent Manager"] },
        { "id": "critical-incident", "when": "critical-incident", "action": "drop-to-level", "to_level": "L1", "automatic": true, "notify": ["Head of Payments Operations", "Operational Risk Lead"] },
        { "id": "bad-outcomes", "when": "verified-bad-rate", "threshold": 0.01, "rolling_window_days": 30, "action": "drop-one-level", "automatic": true },
        { "id": "drift", "when": "drift", "threshold": 0.15, "rolling_window_days": 14, "action": "drop-one-level", "automatic": true },
        { "id": "envelope-probing", "when": "envelope-breach-attempts", "threshold": 20, "rolling_window_days": 7, "action": "drop-one-level", "automatic": true },
        { "id": "reviews-not-done", "when": "review-coverage-shortfall", "threshold": 0.9, "rolling_window_days": 14, "action": "drop-to-level", "to_level": "L2", "automatic": true },
        { "id": "ops-freeze", "when": "manual-freeze", "action": "freeze", "automatic": true }
      ],
      "version_reset": {
        "model_change": { "drop_levels": 1, "floor_level": "L1", "canary": { "traffic_share": 0.05, "min_actions": 500, "min_days": 14, "sampling_multiplier": 3 }, "restore": "prior-level-if-canary-meets-criteria" },
        "prompt_change": { "drop_levels": 0, "canary": { "traffic_share": 0.1, "min_actions": 300, "min_days": 7, "sampling_multiplier": 2 }, "restore": "prior-level-if-canary-meets-criteria" },
        "tool_change": { "drop_levels": 0, "canary": { "traffic_share": 0.1, "min_actions": 200, "min_days": 5, "sampling_multiplier": 2 }, "restore": "prior-level-if-canary-meets-criteria" }
      }
    },
    {
      "id": "return-unapplied-incoming",
      "description": "Return an incoming payment that cannot be applied to any account after five business days, with the scheme's return reason.",
      "severity": "medium",
      "reversibility": "compensable",
      "autonomy_owner": "Head of Payments Operations",
      "verification_window_days": 45,
      "max_level": "L3",
      "contexts": [
        {
          "id": "uk-domestic",
          "dimensions": { "country": "GB", "scheme": "domestic instant" },
          "current_level": "L2",
          "since": "2026-10-01",
          "granted_to": { "model": "general-llm-a", "prompt": "returns-v5" }
        }
      ],
      "envelopes": {
        "L1": { "pre_approval": "all", "allowed_tools": ["payments-api:draft-return"] },
        "L2": { "pre_approval": "flagged-and-sampled", "max_value": { "amount": 5000, "currency": "USD" }, "max_actions_per_day": 400, "allowed_tools": ["payments-api:return"], "exceptions_to": "payments-ops-desk" },
        "L3": { "pre_approval": "none", "max_value": { "amount": 5000, "currency": "USD" }, "max_actions_per_day": 800, "allowed_tools": ["payments-api:return"], "exceptions_to": "payments-ops-desk" }
      },
      "sampling_floors": {
        "L1": { "review": "every-action", "rate": 1 },
        "L2": { "review": "pre-execution", "rate": 0.15 },
        "L3": { "review": "post-execution", "rate": 0.05 }
      },
      "promotion_criteria": [
        { "from": "L2", "to": "L3", "min_actions": 1500, "min_days_at_level": 60, "min_agreement_rate": 0.97, "min_verified_good_rate": 0.995, "max_severity_weighted_incidents": 2, "approvers": ["Head of Payments Operations", "Operational Risk Lead"] }
      ],
      "demotion_triggers": [
        { "id": "severe-incident", "when": "severe-incident", "action": "drop-one-level", "automatic": true },
        { "id": "complaints", "when": "complaint-rate", "threshold": 0.005, "rolling_window_days": 30, "action": "drop-one-level", "automatic": true }
      ],
      "version_reset": {
        "model_change": { "drop_levels": 1, "floor_level": "L1", "canary": { "traffic_share": 0.05, "min_actions": 300, "min_days": 14 } },
        "prompt_change": { "drop_levels": 0, "canary": { "traffic_share": 0.1, "min_actions": 200, "min_days": 7 } },
        "tool_change": { "drop_levels": 0, "canary": { "traffic_share": 0.1, "min_actions": 200, "min_days": 5 } }
      }
    },
    {
      "id": "release-sanctions-hold",
      "description": "Release a payment held by sanctions screening as a false positive.",
      "severity": "critical",
      "reversibility": "irreversible",
      "autonomy_owner": "Head of Financial Crime Operations",
      "verification_window_days": 90,
      "max_level": "L1",
      "max_level_reason": "Bank policy: a qualified person decides every sanctions release, whatever the track record. The agent prepares the case.",
      "contexts": [
        {
          "id": "all-regions",
          "dimensions": { "scope": "all regions" },
          "current_level": "L1",
          "since": "2026-07-01",
          "granted_to": { "model": "general-llm-a", "prompt": "sanctions-case-v7" }
        }
      ],
      "envelopes": {
        "L0": { "pre_approval": "all", "allowed_tools": [], "allowed_data": ["screening-alerts", "customer-master:read"] },
        "L1": { "pre_approval": "all", "allowed_tools": ["case-tool:draft-disposition"], "allowed_data": ["screening-alerts", "customer-master:read"] }
      },
      "sampling_floors": {
        "L0": { "review": "every-action", "rate": 1 },
        "L1": { "review": "every-action", "rate": 1 }
      },
      "promotion_criteria": [],
      "demotion_triggers": [
        { "id": "draft-quality", "when": "verified-bad-rate", "threshold": 0.02, "rolling_window_days": 30, "action": "drop-to-level", "to_level": "L0", "automatic": true }
      ],
      "version_reset": {
        "model_change": { "drop_levels": 1, "floor_level": "L0", "canary": { "traffic_share": 0.1, "min_actions": 200, "min_days": 14 } },
        "prompt_change": { "drop_levels": 0, "canary": { "traffic_share": 0.2, "min_actions": 100, "min_days": 7 } },
        "tool_change": { "drop_levels": 0, "canary": { "traffic_share": 0.2, "min_actions": 100, "min_days": 7 } }
      }
    }
  ]
}
