{
  "schema_version": "0.1.0",
  "record_id": "01HXY7Z9V0K8C3M2N6Q4R5T7B8",
  "session_id": "01HXY7Y4P0J7B2L1M5N3Q6S8A9",
  "change_id": null,
  "kind": "agent.action",
  "initiator": {
    "type": "human",
    "user_upn": "jane.doe@bank-a.example",
    "channel": "credit-officer-console-web",
    "session_ref": "0x3F9A",
    "on_behalf_of": {
      "is_delegation": true,
      "access_package": "CRED-OFF-DELEGATE-V3"
    },
    "session_start": "2026-05-10T09:41:22Z"
  },
  "executing_agent": {
    "agent_id": "ag_credit_scoring_consumer",
    "agent_id_claim": "7c2e4a9f-1b3d-4e5f-9a8c-2d4e6f8b0a1c",
    "agent_version": "2.3.1",
    "system_prompt_version": "sp-v17",
    "system_prompt_sha256": "ab12000000000000000000000000000000000000000000000000000000000000",
    "deployment_environment": "production-eu-west",
    "control_plane_registry_record": "agent_registry/ag_credit_scoring_consumer",
    "zone": "diagnostic"
  },
  "envelope_snapshot": {
    "registry_version": "2.3.1",
    "mandate_digest": "score consumer creditworthiness against bank's risk policy v8.2; refer to credit officer when score in low-confidence band",
    "means": {
      "tools": [
        { "name": "credit_bureau_pull",   "version": "3.1"  },
        { "name": "internal_score_model", "version": "17.4" },
        { "name": "decision_writer",      "version": "2.0"  }
      ]
    },
    "memory": {
      "read_scopes":  ["consumer_master/credit_history"],
      "write_scopes": ["triage_decision"],
      "retention":    "7y"
    },
    "monitoring": {
      "workspace":          "ai-cs-prod",
      "rule_set":           "RS-CRED-V12",
      "evaluation_cadence": "daily"
    }
  },
  "action": {
    "verb": "scored-and-decided",
    "target": {
      "entity":      "consumer_master.customer_id",
      "id":          "1923441",
      "label":       "Jane Q. Customer",
      "context_ref": "AP-2026-05-10-0034"
    },
    "parameters": {
      "model_score":     742,
      "confidence_band": "high",
      "policy_version":  "v8.2",
      "decision":        "APPROVE_AT_STANDARD_TERMS",
      "override_band":   false
    },
    "downstream_effects": [
      "triage_decision attribute updated",
      "decision_writer v2.0 invoked",
      "application moved STAGE_2 to STAGE_3"
    ]
  },
  "data": [
    {
      "operation":      "read",
      "dataset_id":     "consumer_master/customer_id_1923441",
      "classification": "regulated",
      "lineage":        "KYC onboarding source, last refresh 2026-05-09T22:00:00Z",
      "retention":      "7y"
    },
    {
      "operation":      "read",
      "dataset_id":     "credit_bureau/external_pull_2026-05-10",
      "classification": "regulated",
      "lineage":        "national credit-bureau pull at request time"
    },
    {
      "operation":      "read",
      "dataset_id":     "credit_history/internal_v3",
      "classification": "regulated",
      "lineage":        "derived from transaction store and credit_bureau over 24 months"
    },
    {
      "operation":      "write",
      "dataset_id":     "triage_decision",
      "classification": "regulated",
      "retention":      "7y"
    }
  ],
  "model": [
    {
      "model_id":        "bank_internal_credit_score_v17.4",
      "model_sha256":    "7d8e000000000000000000000000000000000000000000000000000000000000",
      "registry_record": "mur/bank_internal_credit_score_v17.4",
      "endpoint":        "foundry.bank-a.example/scoring/v17",
      "region":          "eu-west-1",
      "deployment_id":   "dep-cred-prod-2026-04-22",
      "role":            "primary"
    },
    {
      "model_id":        "text-embedding-3-large",
      "registry_record": "mur/text-embedding-3-large_v1.0",
      "endpoint":        "foundry.bank-a.example/embeddings/v1",
      "role":            "embedding"
    }
  ],
  "approval": {
    "required":           false,
    "policy_decision_id": "pd-2026-05-10-09-42-001",
    "policy_version":     "credit_decisioning_v8.2",
    "rationale":          "Action falls within auto-approve standard-terms band per policy v8.2 §4.1.b; no senior credit officer approval required; the credit officer (Jane Doe) is on the trace for the four-eyes attestation under §4.1.b.iii."
  },
  "time": {
    "initiation":            "2026-05-10T09:42:11.318Z",
    "completion":            "2026-05-10T09:42:13.527Z",
    "duration_ms":           2209,
    "end_to_end_latency_ms": 2410,
    "clock_source":          "ntp1.bank-a.example",
    "clock_last_sync":       "2026-05-10T09:00:00Z",
    "clock_drift_ms":        1.2
  },
  "outcome": {
    "result": "SUCCESS",
    "output": {
      "decision":   "APPROVE_AT_STANDARD_TERMS",
      "score":      742,
      "confidence": "high"
    },
    "side_effects": [
      "triage_decision updated on consumer_master/customer_id_1923441",
      "application AP-2026-05-10-0034 advanced STAGE_2 to STAGE_3",
      "notification dispatched to applicant via customer-communication agent"
    ],
    "evidence_pointers": [
      { "type": "control_plane",   "ref": "evidence_records/er-2026-05-10-09-42-001" },
      { "type": "business_event",  "ref": "application_audit_log/AP-2026-05-10-0034" },
      { "type": "policy_decision", "ref": "policy_decisions/pd-2026-05-10-09-42-001" }
    ]
  }
}
