{
  "tool_id": "art-305-aiuc1-evidence-freshness-lint",
  "note": "golden_hash empty until first `node golden-parity.test.mjs --update`.",
  "vectors": [
    {
      "name": "all-fresh",
      "description": "All controls evidenced within 90 days; cert not near expiry.",
      "policy_parameters": {
        "as_of": "2026-07-14",
        "cert_anniversary": "2026-01-10",
        "controls": [
          {
            "control_id": "AIUC-A-01",
            "newest_receipt_at": "2026-07-01"
          },
          {
            "control_id": "AIUC-B-01",
            "newest_receipt_at": "2026-06-20"
          }
        ]
      },
      "output_payload": {
        "as_of": "2026-07-14",
        "stale_controls": [],
        "stale_count": 0,
        "cert_expiry": "2027-01-10",
        "cert_expired": false,
        "cert_expiring_within_days": false,
        "insufficient_evidence": false
      },
      "golden_hash": "3ceb611df2598330a514309d021adbb0deddc4889652117dcf306f238233dd88"
    },
    {
      "name": "some-stale",
      "description": "One control stale (>90 days).",
      "policy_parameters": {
        "as_of": "2026-07-14",
        "cert_anniversary": "2026-01-10",
        "controls": [
          {
            "control_id": "AIUC-A-01",
            "newest_receipt_at": "2026-07-01"
          },
          {
            "control_id": "AIUC-C-01",
            "newest_receipt_at": "2026-01-01"
          }
        ]
      },
      "output_payload": {
        "as_of": "2026-07-14",
        "stale_controls": [
          {
            "control_id": "AIUC-C-01",
            "age_days": 194
          }
        ],
        "stale_count": 1,
        "cert_expiry": "2027-01-10",
        "cert_expired": false,
        "cert_expiring_within_days": false,
        "insufficient_evidence": false
      },
      "golden_hash": "cc9a550f567dce8fef0fdaddbee540ac615c9f3ecafa522c3577ab8c47ebe370"
    },
    {
      "name": "cert-expired",
      "description": "as_of is past the 12-month cert_anniversary + 12mo expiry.",
      "policy_parameters": {
        "as_of": "2027-03-01",
        "cert_anniversary": "2026-01-10",
        "controls": [
          {
            "control_id": "AIUC-A-01",
            "newest_receipt_at": "2027-02-01"
          }
        ]
      },
      "output_payload": {
        "as_of": "2027-03-01",
        "stale_controls": [],
        "stale_count": 0,
        "cert_expiry": "2027-01-10",
        "cert_expired": true,
        "cert_expiring_within_days": false,
        "insufficient_evidence": false
      },
      "golden_hash": "97a2a90c9fe2e5aab1cc29aa751ff257a69729d1983f44ef9fdd94dc3c33736c"
    },
    {
      "name": "empty-set",
      "description": "No as_of, no controls; finite-gate.",
      "policy_parameters": {
        "as_of": null,
        "cert_anniversary": null,
        "controls": []
      },
      "output_payload": {
        "as_of": null,
        "stale_controls": [],
        "stale_count": 0,
        "cert_expiry": null,
        "cert_expired": false,
        "cert_expiring_within_days": false,
        "insufficient_evidence": true
      },
      "golden_hash": "440427ce9d349605493e389b5fe47d9df40c6293cbba5fae7af4cbc09edc1c8c"
    }
  ]
}
