{
  "tool_id": "art-516-daily-reconciliation-attestation",
  "note": "Vectors computed directly from the shipped kernel. Covers a clean attestation, RECON_EXCEPTION_VANISHED (the point of the node), the ABSENCE-INSTRUMENT rule for a missing prior-period input, the §6.9 second-jurisdiction region-portability case, and combined population/ageing/unexplained-difference failure flags with a rejected fractional input.",
  "vectors": [
    {
      "name": "clean-attestation-jurisdiction-a",
      "description": "Jurisdiction A (Family-Islands-style disbursement reconciliation, USD): population reconciles in count and value, all exceptions within the declared 5-day tolerance, prior-period exception properly closed with a documented resolution. RECON_ATTESTED.",
      "policy_parameters": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "USD",
        "ageing_tolerance_days": 5,
        "declared_population": {
          "record_count": 1000,
          "control_total_minor_units": 5000000
        },
        "matched": {
          "record_count": 970,
          "total_minor_units": 4850000
        },
        "unmatched": {
          "record_count": 20,
          "total_minor_units": 100000
        },
        "partially_matched": {
          "record_count": 10,
          "total_minor_units": 50000
        },
        "exceptions": [
          {
            "exception_id": "EXC-0001",
            "reason_code": "timing_difference",
            "opened_date": "2026-07-29",
            "amount_minor_units": 60000
          },
          {
            "exception_id": "EXC-0002",
            "reason_code": "duplicate_submission",
            "opened_date": "2026-07-30",
            "amount_minor_units": 40000
          }
        ],
        "prior_period_exceptions": [
          {
            "exception_id": "EXC-0000",
            "reason_code": "timing_difference",
            "opened_date": "2026-07-25"
          }
        ],
        "resolved_exceptions": [
          {
            "exception_id": "EXC-0000",
            "resolution_reason": "matched in overnight batch, evidenced by settlement confirmation SC-2026-0725-11"
          }
        ]
      },
      "output_payload": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "USD",
        "ageing_tolerance_days": 5,
        "declared_record_count": 1000,
        "declared_control_total_minor_units": 5000000,
        "declared_control_total_display": "50000.00",
        "matched": {
          "record_count": 970,
          "total_minor_units": 4850000
        },
        "unmatched": {
          "record_count": 20,
          "total_minor_units": 100000
        },
        "partially_matched": {
          "record_count": 10,
          "total_minor_units": 50000
        },
        "reconciled_record_count": 1000,
        "reconciled_value_minor_units": 5000000,
        "reconciled_value_display": "50000.00",
        "count_break": 0,
        "value_break_minor_units": 0,
        "value_break_display": "0.00",
        "population_count_complete": true,
        "population_value_complete": true,
        "population_complete": true,
        "exception_count": 2,
        "exceptions": [
          {
            "exception_id": "EXC-0001",
            "reason_code": "timing_difference",
            "opened_date": "2026-07-29",
            "amount_minor_units": 60000,
            "amount_display": "600.00",
            "age_days": 2,
            "aged": false
          },
          {
            "exception_id": "EXC-0002",
            "reason_code": "duplicate_submission",
            "opened_date": "2026-07-30",
            "amount_minor_units": 40000,
            "amount_display": "400.00",
            "age_days": 1,
            "aged": false
          }
        ],
        "aged_exception_count": 0,
        "continuity_verifiable": true,
        "prior_period_exception_count": 1,
        "vanished_exception_count": 0,
        "vanished_exceptions": [],
        "documented_resolutions": [
          {
            "exception_id": "EXC-0000",
            "resolution_reason": "matched in overnight batch, evidenced by settlement confirmation SC-2026-0725-11"
          }
        ],
        "unexplained_exception_total_minor_units": 100000,
        "unexplained_difference_minor_units": -100000,
        "unexplained_difference_display": "-1000.00",
        "has_unexplained_difference": true,
        "attested": false,
        "rejected_inputs": [],
        "rationale": [
          "Declared population: 1000 records, control total 50000.00 USD. Reconciled (matched+unmatched+partial): 1000 records, 50000.00 USD.",
          "Population reconciles to the declared count and value.",
          "Continuity evaluated against 1 prior-period exception: 0 vanished without a documented resolution, 1 closed with one.",
          "-1000.00 USD of the value break is not accounted for by the declared exception list.",
          "This is an arithmetic attestation over the figures supplied for this cycle. It does not itself perform the reconciliation match and is not a determination that any underlying control has or has not been met."
        ],
        "note": "Deterministic daily reconciliation attestation over a caller-supplied population, matched/unmatched/partial breakdown, exception list, and prior-period exception set. It attests that the daily reconciliation duty was discharged -- population completeness in count and value, exception ageing against a declared tolerance, and carried-forward exception continuity -- rather than performing the underlying transaction match itself."
      },
      "compliance_flags": [
        "RECON_UNEXPLAINED_DIFFERENCE"
      ],
      "golden_hash": "41d11571fca1d9fbf9117b79c2a3aa03cccb212d898822aede557550989fcd91"
    },
    {
      "name": "vanished-exception-detected",
      "description": "The point of the node: a prior-period exception is absent from the current exception list AND has no documented resolution. RECON_EXCEPTION_VANISHED fires even though the population otherwise reconciles.",
      "policy_parameters": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "USD",
        "ageing_tolerance_days": 5,
        "declared_population": {
          "record_count": 500,
          "control_total_minor_units": 2000000
        },
        "matched": {
          "record_count": 495,
          "total_minor_units": 1980000
        },
        "unmatched": {
          "record_count": 5,
          "total_minor_units": 20000
        },
        "partially_matched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "exceptions": [
          {
            "exception_id": "EXC-1001",
            "reason_code": "timing_difference",
            "opened_date": "2026-07-30",
            "amount_minor_units": 20000
          }
        ],
        "prior_period_exceptions": [
          {
            "exception_id": "EXC-0999",
            "reason_code": "duplicate_submission",
            "opened_date": "2026-07-20"
          }
        ],
        "resolved_exceptions": []
      },
      "output_payload": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "USD",
        "ageing_tolerance_days": 5,
        "declared_record_count": 500,
        "declared_control_total_minor_units": 2000000,
        "declared_control_total_display": "20000.00",
        "matched": {
          "record_count": 495,
          "total_minor_units": 1980000
        },
        "unmatched": {
          "record_count": 5,
          "total_minor_units": 20000
        },
        "partially_matched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "reconciled_record_count": 500,
        "reconciled_value_minor_units": 2000000,
        "reconciled_value_display": "20000.00",
        "count_break": 0,
        "value_break_minor_units": 0,
        "value_break_display": "0.00",
        "population_count_complete": true,
        "population_value_complete": true,
        "population_complete": true,
        "exception_count": 1,
        "exceptions": [
          {
            "exception_id": "EXC-1001",
            "reason_code": "timing_difference",
            "opened_date": "2026-07-30",
            "amount_minor_units": 20000,
            "amount_display": "200.00",
            "age_days": 1,
            "aged": false
          }
        ],
        "aged_exception_count": 0,
        "continuity_verifiable": true,
        "prior_period_exception_count": 1,
        "vanished_exception_count": 1,
        "vanished_exceptions": [
          {
            "exception_id": "EXC-0999",
            "reason_code": "duplicate_submission",
            "opened_date": "2026-07-20"
          }
        ],
        "documented_resolutions": [],
        "unexplained_exception_total_minor_units": 20000,
        "unexplained_difference_minor_units": -20000,
        "unexplained_difference_display": "-200.00",
        "has_unexplained_difference": true,
        "attested": false,
        "rejected_inputs": [],
        "rationale": [
          "Declared population: 500 records, control total 20000.00 USD. Reconciled (matched+unmatched+partial): 500 records, 20000.00 USD.",
          "Population reconciles to the declared count and value.",
          "Continuity evaluated against 1 prior-period exception: 1 vanished without a documented resolution, 0 closed with one.",
          "-200.00 USD of the value break is not accounted for by the declared exception list.",
          "This is an arithmetic attestation over the figures supplied for this cycle. It does not itself perform the reconciliation match and is not a determination that any underlying control has or has not been met."
        ],
        "note": "Deterministic daily reconciliation attestation over a caller-supplied population, matched/unmatched/partial breakdown, exception list, and prior-period exception set. It attests that the daily reconciliation duty was discharged -- population completeness in count and value, exception ageing against a declared tolerance, and carried-forward exception continuity -- rather than performing the underlying transaction match itself."
      },
      "compliance_flags": [
        "RECON_EXCEPTION_VANISHED",
        "RECON_UNEXPLAINED_DIFFERENCE"
      ],
      "golden_hash": "01bbf3f8870c57d195ac567270a1624c9b79aa8baef52c597895442d024c49c1"
    },
    {
      "name": "prior-period-absent-not-a-false-clean",
      "description": "ABSENCE-INSTRUMENT rule: prior_period_exceptions key is entirely absent (first cycle onboarding a new reconciliation feed). Population reconciles and no current exceptions are aged, but continuity must NOT report clean -- RECON_CONTINUITY_UNVERIFIABLE fires instead of RECON_ATTESTED.",
      "policy_parameters": {
        "reconciliation_date": "2026-08-01",
        "as_of": "2026-08-01",
        "currency": "USD",
        "ageing_tolerance_days": 5,
        "declared_population": {
          "record_count": 200,
          "control_total_minor_units": 900000
        },
        "matched": {
          "record_count": 200,
          "total_minor_units": 900000
        },
        "unmatched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "partially_matched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "exceptions": []
      },
      "output_payload": {
        "reconciliation_date": "2026-08-01",
        "as_of": "2026-08-01",
        "currency": "USD",
        "ageing_tolerance_days": 5,
        "declared_record_count": 200,
        "declared_control_total_minor_units": 900000,
        "declared_control_total_display": "9000.00",
        "matched": {
          "record_count": 200,
          "total_minor_units": 900000
        },
        "unmatched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "partially_matched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "reconciled_record_count": 200,
        "reconciled_value_minor_units": 900000,
        "reconciled_value_display": "9000.00",
        "count_break": 0,
        "value_break_minor_units": 0,
        "value_break_display": "0.00",
        "population_count_complete": true,
        "population_value_complete": true,
        "population_complete": true,
        "exception_count": 0,
        "exceptions": [],
        "aged_exception_count": 0,
        "continuity_verifiable": false,
        "prior_period_exception_count": 0,
        "vanished_exception_count": 0,
        "vanished_exceptions": [],
        "documented_resolutions": [],
        "unexplained_exception_total_minor_units": 0,
        "unexplained_difference_minor_units": 0,
        "unexplained_difference_display": "0.00",
        "has_unexplained_difference": false,
        "attested": true,
        "rejected_inputs": [],
        "rationale": [
          "Declared population: 200 records, control total 9000.00 USD. Reconciled (matched+unmatched+partial): 200 records, 9000.00 USD.",
          "Population reconciles to the declared count and value.",
          "Prior-period exception set was not supplied, so carried-forward continuity cannot be evaluated this cycle. This is reported as unverifiable, never as a clean result.",
          "This is an arithmetic attestation over the figures supplied for this cycle. It does not itself perform the reconciliation match and is not a determination that any underlying control has or has not been met."
        ],
        "note": "Deterministic daily reconciliation attestation over a caller-supplied population, matched/unmatched/partial breakdown, exception list, and prior-period exception set. It attests that the daily reconciliation duty was discharged -- population completeness in count and value, exception ageing against a declared tolerance, and carried-forward exception continuity -- rather than performing the underlying transaction match itself."
      },
      "compliance_flags": [
        "RECON_CONTINUITY_UNVERIFIABLE",
        "RECON_ATTESTED"
      ],
      "golden_hash": "6b93364089a6a78472e5d88befec2e016324fa4f103ddff808de352d8ef04d15"
    },
    {
      "name": "clean-attestation-jurisdiction-b-region-portability",
      "description": "REGION-PORTABILITY ACCEPTANCE TEST (§6.9): a structurally different second jurisdiction -- EUR-denominated, a 10-day (not 5-day) ageing tolerance, a wider population, and no partial-match bucket at all in this scheme -- expressed with the SAME kernel and no code change, only caller-declared inputs. RECON_ATTESTED.",
      "policy_parameters": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "EUR",
        "ageing_tolerance_days": 10,
        "declared_population": {
          "record_count": 50000,
          "control_total_minor_units": 250000000
        },
        "matched": {
          "record_count": 49800,
          "total_minor_units": 249000000
        },
        "unmatched": {
          "record_count": 200,
          "total_minor_units": 1000000
        },
        "partially_matched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "exceptions": [
          {
            "exception_id": "B-EXC-01",
            "reason_code": "fx_rounding",
            "opened_date": "2026-07-25",
            "amount_minor_units": 1000000
          }
        ],
        "prior_period_exceptions": [],
        "resolved_exceptions": []
      },
      "output_payload": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "EUR",
        "ageing_tolerance_days": 10,
        "declared_record_count": 50000,
        "declared_control_total_minor_units": 250000000,
        "declared_control_total_display": "2500000.00",
        "matched": {
          "record_count": 49800,
          "total_minor_units": 249000000
        },
        "unmatched": {
          "record_count": 200,
          "total_minor_units": 1000000
        },
        "partially_matched": {
          "record_count": 0,
          "total_minor_units": 0
        },
        "reconciled_record_count": 50000,
        "reconciled_value_minor_units": 250000000,
        "reconciled_value_display": "2500000.00",
        "count_break": 0,
        "value_break_minor_units": 0,
        "value_break_display": "0.00",
        "population_count_complete": true,
        "population_value_complete": true,
        "population_complete": true,
        "exception_count": 1,
        "exceptions": [
          {
            "exception_id": "B-EXC-01",
            "reason_code": "fx_rounding",
            "opened_date": "2026-07-25",
            "amount_minor_units": 1000000,
            "amount_display": "10000.00",
            "age_days": 6,
            "aged": false
          }
        ],
        "aged_exception_count": 0,
        "continuity_verifiable": true,
        "prior_period_exception_count": 0,
        "vanished_exception_count": 0,
        "vanished_exceptions": [],
        "documented_resolutions": [],
        "unexplained_exception_total_minor_units": 1000000,
        "unexplained_difference_minor_units": -1000000,
        "unexplained_difference_display": "-10000.00",
        "has_unexplained_difference": true,
        "attested": false,
        "rejected_inputs": [],
        "rationale": [
          "Declared population: 50000 records, control total 2500000.00 EUR. Reconciled (matched+unmatched+partial): 50000 records, 2500000.00 EUR.",
          "Population reconciles to the declared count and value.",
          "Continuity evaluated against 0 prior-period exceptions: 0 vanished without a documented resolution, 0 closed with one.",
          "-10000.00 EUR of the value break is not accounted for by the declared exception list.",
          "This is an arithmetic attestation over the figures supplied for this cycle. It does not itself perform the reconciliation match and is not a determination that any underlying control has or has not been met."
        ],
        "note": "Deterministic daily reconciliation attestation over a caller-supplied population, matched/unmatched/partial breakdown, exception list, and prior-period exception set. It attests that the daily reconciliation duty was discharged -- population completeness in count and value, exception ageing against a declared tolerance, and carried-forward exception continuity -- rather than performing the underlying transaction match itself."
      },
      "compliance_flags": [
        "RECON_UNEXPLAINED_DIFFERENCE"
      ],
      "golden_hash": "86598ad795ced6b15dbc745942da6441c4f53739632d14e87145d58466cd96bf"
    },
    {
      "name": "population-incomplete-aged-exception-unexplained-difference",
      "description": "Population breaks in both count and value, one exception exceeds the declared tolerance, and the exception list does not fully explain the value break. All three non-attested flags fire together; a fractional amount is coerced to zero and named.",
      "policy_parameters": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "USD",
        "ageing_tolerance_days": 3,
        "declared_population": {
          "record_count": 100,
          "control_total_minor_units": 1000000
        },
        "matched": {
          "record_count": 90,
          "total_minor_units": 900000.5
        },
        "unmatched": {
          "record_count": 5,
          "total_minor_units": 40000
        },
        "partially_matched": {
          "record_count": 4,
          "total_minor_units": 30000
        },
        "exceptions": [
          {
            "exception_id": "EXC-2001",
            "reason_code": "timing_difference",
            "opened_date": "2026-07-15",
            "amount_minor_units": 20000
          }
        ],
        "prior_period_exceptions": [],
        "resolved_exceptions": []
      },
      "output_payload": {
        "reconciliation_date": "2026-07-31",
        "as_of": "2026-07-31",
        "currency": "USD",
        "ageing_tolerance_days": 3,
        "declared_record_count": 100,
        "declared_control_total_minor_units": 1000000,
        "declared_control_total_display": "10000.00",
        "matched": {
          "record_count": 90,
          "total_minor_units": 0
        },
        "unmatched": {
          "record_count": 5,
          "total_minor_units": 40000
        },
        "partially_matched": {
          "record_count": 4,
          "total_minor_units": 30000
        },
        "reconciled_record_count": 99,
        "reconciled_value_minor_units": 70000,
        "reconciled_value_display": "700.00",
        "count_break": -1,
        "value_break_minor_units": -930000,
        "value_break_display": "-9300.00",
        "population_count_complete": false,
        "population_value_complete": false,
        "population_complete": false,
        "exception_count": 1,
        "exceptions": [
          {
            "exception_id": "EXC-2001",
            "reason_code": "timing_difference",
            "opened_date": "2026-07-15",
            "amount_minor_units": 20000,
            "amount_display": "200.00",
            "age_days": 16,
            "aged": true
          }
        ],
        "aged_exception_count": 1,
        "continuity_verifiable": true,
        "prior_period_exception_count": 0,
        "vanished_exception_count": 0,
        "vanished_exceptions": [],
        "documented_resolutions": [],
        "unexplained_exception_total_minor_units": 20000,
        "unexplained_difference_minor_units": -950000,
        "unexplained_difference_display": "-9500.00",
        "has_unexplained_difference": true,
        "attested": false,
        "rejected_inputs": [
          {
            "where": "matched.total_minor_units",
            "reason": "not a safe integer number of minor units",
            "supplied": 900000.5
          }
        ],
        "rationale": [
          "Declared population: 100 records, control total 10000.00 USD. Reconciled (matched+unmatched+partial): 99 records, 700.00 USD.",
          "Population does NOT reconcile: count break -1, value break -9300.00 USD.",
          "Continuity evaluated against 0 prior-period exceptions: 0 vanished without a documented resolution, 0 closed with one.",
          "1 of 1 open exceptions exceed the declared 3-day ageing tolerance.",
          "-9500.00 USD of the value break is not accounted for by the declared exception list.",
          "This is an arithmetic attestation over the figures supplied for this cycle. It does not itself perform the reconciliation match and is not a determination that any underlying control has or has not been met."
        ],
        "note": "Deterministic daily reconciliation attestation over a caller-supplied population, matched/unmatched/partial breakdown, exception list, and prior-period exception set. It attests that the daily reconciliation duty was discharged -- population completeness in count and value, exception ageing against a declared tolerance, and carried-forward exception continuity -- rather than performing the underlying transaction match itself."
      },
      "compliance_flags": [
        "RECON_POPULATION_INCOMPLETE",
        "RECON_EXCEPTION_AGED",
        "RECON_UNEXPLAINED_DIFFERENCE",
        "RECON_INPUTS_REJECTED"
      ],
      "golden_hash": "1408bd4d8dae2b1296c40213d6be0a1f1a9bac04f708d58fc087d608d566a738"
    }
  ]
}
