{
  "tool_id": "art-452-build-ai-training-data-lineage-record",
  "note": "golden_hash filled by golden-parity.test.mjs --update. Vector 2 chains to vector 1 via sha256_prev_lineage_hash computed from vector 1's own execution_hash.",
  "vectors": [
    {
      "name": "first_in_chain_internal_transactions",
      "description": "First lineage record in the chain: internal transaction-derived dataset, no predecessor, no referenced receipt.",
      "policy_parameters": {
        "dataset_id": "ds-credit-decisioning-2026q2",
        "dataset_version": "1.0.0",
        "source_dataset_ids": [
          "ds-core-banking-txn-log-2024-2026"
        ],
        "collection_method": "internal_transaction_records",
        "governance_notes": "Sourced from internal core-banking transaction extracts, deduplicated and de-identified prior to model training per firm data-governance policy.",
        "referenced_receipt_tool_id": "",
        "referenced_receipt_tool_version": "",
        "referenced_receipt_execution_hash": "",
        "referenced_receipt_kernel_digest": "",
        "sha256_prev_lineage_hash": "",
        "retention_months": 12,
        "operator_id": "mrm-data-governance-team"
      },
      "output_payload": {
        "record_status": "COMPLETE",
        "dataset_id": "ds-credit-decisioning-2026q2",
        "dataset_version": "1.0.0",
        "source_dataset_ids": [
          "ds-core-banking-txn-log-2024-2026"
        ],
        "collection_method": "internal_transaction_records",
        "governance_notes": "Sourced from internal core-banking transaction extracts, deduplicated and de-identified prior to model training per firm data-governance policy.",
        "referenced_receipt": null,
        "sha256_prev_lineage_hash": null,
        "chain_position": "first",
        "retention_months": 12,
        "operator_id": "mrm-data-governance-team",
        "checks": [
          {
            "check": "dataset_id_present",
            "pass": true,
            "detail": "ds-credit-decisioning-2026q2"
          },
          {
            "check": "dataset_version_present",
            "pass": true,
            "detail": "1.0.0"
          },
          {
            "check": "collection_method_valid",
            "pass": true,
            "detail": "internal_transaction_records"
          },
          {
            "check": "referenced_receipt_valid_if_present",
            "pass": true,
            "detail": "not referenced"
          },
          {
            "check": "prev_lineage_hash_valid_if_present",
            "pass": true,
            "detail": "ok"
          }
        ],
        "zero_pii_notice": "dataset_id and source_dataset_ids are STRUCTURAL catalog identifiers only. This kernel never ingests, stores, or echoes dataset contents -- zero PII by construction.",
        "scope_note": "Documents dataset lineage and governance metadata for a training run. Does NOT validate dataset quality, bias, or representativeness -- those remain a firm judgment call outside this kernel's deterministic boundary.",
        "regulatory_basis": "EU AI Act (Reg. 2024/1689) Art 10 (data and data governance), Annex IV 2(d) (technical documentation: data provenance, collection, labelling, cleaning); SR 11-7 model risk management data-lineage practice (US domestic analog)",
        "table_version": "EU-AIA-ART10-2024-1689-R1"
      },
      "compliance_flags": [
        "ML_LINEAGE_RECORD_BOUND",
        "ZERO_PII"
      ],
      "golden_hash": "60cef283acd043d0cb4330941f7d0079f5bb686eea695f43baaaa320107237d0"
    },
    {
      "name": "chained_third_party_with_training_receipt",
      "description": "Second lineage record, chained to vector 1 via sha256_prev_lineage_hash, referencing an existing training-run OCG receipt (art-236 decision-log kernel identity used as a stand-in receipt reference) -- TRAINING_RECEIPT_REFERENCED + LINEAGE_CHAIN_REFERENCED both fire.",
      "policy_parameters": {
        "dataset_id": "ds-credit-decisioning-2026q2-augment",
        "dataset_version": "1.1.0",
        "source_dataset_ids": [
          "ds-core-banking-txn-log-2024-2026",
          "ds-thirdparty-bureau-licensed-2026"
        ],
        "collection_method": "third_party_licensed",
        "governance_notes": "Bureau-licensed augmentation set added under existing data-use agreement; no new PII fields introduced.",
        "referenced_receipt_tool_id": "art-236-build-ai-decision-log-record",
        "referenced_receipt_tool_version": "1.0.1",
        "referenced_receipt_execution_hash": "68a8b0eecde6775111d0301139900b213700c16917ccd395db4495f7f9bebf94",
        "referenced_receipt_kernel_digest": "sha256:ab7cc7c6345a21988fca592f503a6b89a4ddc3fe97267f8996170f1021619817",
        "sha256_prev_lineage_hash": "60cef283acd043d0cb4330941f7d0079f5bb686eea695f43baaaa320107237d0",
        "retention_months": 12,
        "operator_id": "mrm-data-governance-team"
      },
      "output_payload": {
        "record_status": "COMPLETE",
        "dataset_id": "ds-credit-decisioning-2026q2-augment",
        "dataset_version": "1.1.0",
        "source_dataset_ids": [
          "ds-core-banking-txn-log-2024-2026",
          "ds-thirdparty-bureau-licensed-2026"
        ],
        "collection_method": "third_party_licensed",
        "governance_notes": "Bureau-licensed augmentation set added under existing data-use agreement; no new PII fields introduced.",
        "referenced_receipt": {
          "tool_id": "art-236-build-ai-decision-log-record",
          "tool_version": "1.0.1",
          "execution_hash": "68a8b0eecde6775111d0301139900b213700c16917ccd395db4495f7f9bebf94",
          "kernel_digest": "sha256:ab7cc7c6345a21988fca592f503a6b89a4ddc3fe97267f8996170f1021619817"
        },
        "sha256_prev_lineage_hash": "60cef283acd043d0cb4330941f7d0079f5bb686eea695f43baaaa320107237d0",
        "chain_position": "chained",
        "retention_months": 12,
        "operator_id": "mrm-data-governance-team",
        "checks": [
          {
            "check": "dataset_id_present",
            "pass": true,
            "detail": "ds-credit-decisioning-2026q2-augment"
          },
          {
            "check": "dataset_version_present",
            "pass": true,
            "detail": "1.1.0"
          },
          {
            "check": "collection_method_valid",
            "pass": true,
            "detail": "third_party_licensed"
          },
          {
            "check": "referenced_receipt_valid_if_present",
            "pass": true,
            "detail": "ok"
          },
          {
            "check": "prev_lineage_hash_valid_if_present",
            "pass": true,
            "detail": "ok"
          }
        ],
        "zero_pii_notice": "dataset_id and source_dataset_ids are STRUCTURAL catalog identifiers only. This kernel never ingests, stores, or echoes dataset contents -- zero PII by construction.",
        "scope_note": "Documents dataset lineage and governance metadata for a training run. Does NOT validate dataset quality, bias, or representativeness -- those remain a firm judgment call outside this kernel's deterministic boundary.",
        "regulatory_basis": "EU AI Act (Reg. 2024/1689) Art 10 (data and data governance), Annex IV 2(d) (technical documentation: data provenance, collection, labelling, cleaning); SR 11-7 model risk management data-lineage practice (US domestic analog)",
        "table_version": "EU-AIA-ART10-2024-1689-R1"
      },
      "compliance_flags": [
        "ML_LINEAGE_RECORD_BOUND",
        "ZERO_PII",
        "LINEAGE_CHAIN_REFERENCED",
        "TRAINING_RECEIPT_REFERENCED"
      ],
      "golden_hash": "706143597a4a903676b3a781e77003697eaf2244d3ec96250ae03438af4da9f6"
    },
    {
      "name": "missing_dataset_version_edge",
      "description": "dataset_version omitted -- LINEAGE_INPUTS_INVALID fires and every conditional output field nulls out (finite gate).",
      "policy_parameters": {
        "dataset_id": "ds-credit-decisioning-2026q2",
        "dataset_version": "",
        "source_dataset_ids": [
          "ds-core-banking-txn-log-2024-2026"
        ],
        "collection_method": "internal_transaction_records",
        "governance_notes": "",
        "referenced_receipt_tool_id": "",
        "referenced_receipt_tool_version": "",
        "referenced_receipt_execution_hash": "",
        "referenced_receipt_kernel_digest": "",
        "sha256_prev_lineage_hash": "",
        "retention_months": 6,
        "operator_id": ""
      },
      "output_payload": {
        "record_status": "INCOMPLETE",
        "dataset_id": null,
        "dataset_version": null,
        "source_dataset_ids": null,
        "collection_method": null,
        "governance_notes": null,
        "referenced_receipt": null,
        "sha256_prev_lineage_hash": null,
        "chain_position": null,
        "retention_months": null,
        "operator_id": null,
        "checks": [
          {
            "check": "dataset_id_present",
            "pass": true,
            "detail": "ds-credit-decisioning-2026q2"
          },
          {
            "check": "dataset_version_present",
            "pass": false,
            "detail": "dataset_version is required"
          },
          {
            "check": "collection_method_valid",
            "pass": true,
            "detail": "internal_transaction_records"
          },
          {
            "check": "referenced_receipt_valid_if_present",
            "pass": true,
            "detail": "not referenced"
          },
          {
            "check": "prev_lineage_hash_valid_if_present",
            "pass": true,
            "detail": "ok"
          }
        ],
        "zero_pii_notice": "dataset_id and source_dataset_ids are STRUCTURAL catalog identifiers only. This kernel never ingests, stores, or echoes dataset contents -- zero PII by construction.",
        "scope_note": "Documents dataset lineage and governance metadata for a training run. Does NOT validate dataset quality, bias, or representativeness -- those remain a firm judgment call outside this kernel's deterministic boundary.",
        "regulatory_basis": "EU AI Act (Reg. 2024/1689) Art 10 (data and data governance), Annex IV 2(d) (technical documentation: data provenance, collection, labelling, cleaning); SR 11-7 model risk management data-lineage practice (US domestic analog)",
        "table_version": "EU-AIA-ART10-2024-1689-R1"
      },
      "compliance_flags": [
        "ML_LINEAGE_RECORD_BOUND",
        "ZERO_PII",
        "LINEAGE_INPUTS_INVALID"
      ],
      "golden_hash": "edb77ff0e199225cca3284ca807d8a53a5c7514bd8467882133b37378d4e7c03"
    }
  ]
}
