{
  "schema": "sourceproof.dossier/1",
  "product_id": "ip-source-verification",
  "display_name": "Interoperia SourceProof",
  "product_version": "1.2.0",
  "order_id": "ord_d7997343fa38b18e",
  "order_revision": 1,
  "order_sha256": "e5b042d98f455e2cc390e981d605fd9c7c7039d63c05fa70f6122118fced699e",
  "brief_revision": 1,
  "rules_revision": "sourceproof-rules/1",
  "criteria_revision": "e32729840c226d60",
  "source": {
    "kind": "diff",
    "commit": "bbca0219ef017e71f0350c35321225e8ad4641e3",
    "base": "083c5bde92a52e24cacdef983def3a35bf5c1a7a",
    "diff_sha256": "8c77cf4f9af3c68408dddb41a8c50b0576b0cca64d4234fe13685fb08875fba9",
    "tree_sha256": "a3fa0db14404c7d5edf9d4857d5e31043b16a08cb77b3eb297e9325a98c60692",
    "file_count": 3
  },
  "profile": {
    "id": "js-node-test",
    "status": "experimental",
    "runtime": "node 24 (official image)",
    "image": "node:24@sha256:8fa96264f302f58bbb13aa7339c541547b56975766ce956c875da149452a3e40"
  },
  "tools": {
    "eslint": "9.39.1",
    "typescript-eslint": "8.72.1",
    "gitleaks": "8.30.1",
    "syft": "1.57.0",
    "osv-scanner": "2.7.0",
    "stryker": "10.1.1",
    "node_test": "builtin (official node 24 image)"
  },
  "executor": {
    "host": "darwin/arm64",
    "run_id": "c_da8f4e3c7c",
    "trust_mode": "client_executed_self_attested"
  },
  "trust_mode": "client_executed_self_attested",
  "depth": "standard",
  "ui_locale": "en",
  "report_locale": "en",
  "licence_tier": "demo",
  "included_example": "pass",
  "steps_not_run": [
    {
      "id": "repeat_baseline",
      "reason_code": "NOT_IN_DEPTH",
      "depth": "standard"
    },
    {
      "id": "independent_tests",
      "reason_code": "NOT_IN_DEPTH",
      "depth": "standard"
    },
    {
      "id": "mutation",
      "reason_code": "NOT_IN_DEPTH",
      "depth": "standard"
    }
  ],
  "generated_at": "2026-11-29T18:30:02.392Z",
  "timezone": "Europe/Riga",
  "contract": {
    "schema": "sourceproof.contract/1",
    "criteria": [
      {
        "id": "EX-1",
        "sha256": "65ed3b83b20a358cb87956865b8eda2f04e493667d7db73ce06c3c739b458244",
        "verify": {
          "method": "test",
          "pattern": "discount never makes the total negative",
          "implementation_paths": [
            "src/total.js"
          ]
        }
      }
    ],
    "environment": {
      "profile_id": "js-node-test",
      "image": "node:24@sha256:8fa96264f302f58bbb13aa7339c541547b56975766ce956c875da149452a3e40",
      "depth": "standard"
    },
    "project_ref": "d1269449135e9702c7e92b521115da230122735dd3abdf0603b2dfe964280163"
  },
  "steps": [
    {
      "id": "source.bind",
      "status": "completed",
      "finished_at": "2026-11-29T18:29:57.710Z",
      "attempts": 0,
      "evidence": []
    },
    {
      "id": "inventory",
      "status": "completed",
      "started_at": "2026-11-29T18:29:58.586Z",
      "finished_at": "2026-11-29T18:29:58.641Z",
      "attempts": 1,
      "evidence": [
        {
          "rel": "inventory/inventory.json",
          "bytes": 247,
          "kind": "inventory",
          "sha256": "0dc18d95ef3a35a08128320a454d3a58c7275cecc9ca3eb1deaa9ccbb967803b"
        }
      ]
    },
    {
      "id": "secrets",
      "status": "completed",
      "started_at": "2026-11-29T18:29:58.586Z",
      "finished_at": "2026-11-29T18:29:59.618Z",
      "command": [
        "gitleaks",
        "dir"
      ],
      "exit": 0,
      "image_id": "sha256:fd7dc98638c8e305f4dc34e979f1c0fdfdcaeb0fbf8fcff77ae834b6da3d7e6e",
      "attempts": 1,
      "evidence": [
        {
          "rel": "secrets/findings.json",
          "bytes": 126,
          "kind": "findings",
          "sha256": "e8d59918611afff53405009d53bee00c7c9087f0692dd57b3e319a18e0dc142f"
        }
      ]
    },
    {
      "id": "lint",
      "status": "completed",
      "started_at": "2026-11-29T18:29:58.642Z",
      "finished_at": "2026-11-29T18:30:00.778Z",
      "command": [
        "node",
        "/tools/node_modules/eslint/bin/eslint.js",
        "--no-config-lookup",
        "-c",
        "/tools/tools/eslint.config.mjs",
        "--no-inline-config",
        "--no-warn-ignored",
        "-f",
        "json",
        "."
      ],
      "exit": 0,
      "image_id": "sha256:8fa96264f302f58bbb13aa7339c541547b56975766ce956c875da149452a3e40",
      "attempts": 1,
      "evidence": [
        {
          "rel": "lint/eslint.json",
          "bytes": 398,
          "kind": "findings",
          "sha256": "48d956a82049f0250b5aba585bb66bbbb50d9051db2239b8c20a43c5405a1978"
        },
        {
          "rel": "lint/stderr.log",
          "bytes": 0,
          "kind": "log",
          "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
        }
      ]
    },
    {
      "id": "deps",
      "status": "completed",
      "reason_code": "NO_DEPENDENCIES_DECLARED",
      "started_at": "2026-11-29T18:29:59.619Z",
      "finished_at": "2026-11-29T18:30:01.045Z",
      "image_id": "sha256:fd7dc98638c8e305f4dc34e979f1c0fdfdcaeb0fbf8fcff77ae834b6da3d7e6e",
      "attempts": 1,
      "evidence": [
        {
          "rel": "deps/sbom.cdx.json",
          "bytes": 401,
          "kind": "sbom",
          "sha256": "129395e1bb413b8cceac7e1df9379baf55c14050cb127f7b360580fd30f12da1"
        }
      ]
    },
    {
      "id": "env.install",
      "status": "skipped",
      "reason_code": "INSTALL_NOT_REQUESTED",
      "started_at": "2026-11-29T18:30:00.778Z",
      "finished_at": "2026-11-29T18:30:00.779Z",
      "attempts": 1,
      "evidence": []
    },
    {
      "id": "tests",
      "status": "completed",
      "started_at": "2026-11-29T18:30:00.780Z",
      "finished_at": "2026-11-29T18:30:02.383Z",
      "command": [
        "sh",
        "-c",
        "node --test --test-reporter=junit --test-reporter-destination=/tmp/sp-junit.xml >/dev/null 2>&1; rc=$?; cat /tmp/sp-junit.xml 2>/dev/null; exit $rc"
      ],
      "exit": 0,
      "image_id": "sha256:8fa96264f302f58bbb13aa7339c541547b56975766ce956c875da149452a3e40",
      "attempts": 1,
      "evidence": [
        {
          "rel": "tests/junit.xml",
          "bytes": 458,
          "kind": "junit",
          "sha256": "e2782751dbf2e95759116be1999b178925fc31106390758d5ddbc35fc9827cef"
        },
        {
          "rel": "tests/stderr.log",
          "bytes": 0,
          "kind": "log",
          "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
        },
        {
          "rel": "tests/pair_1.xml",
          "bytes": 1516,
          "kind": "junit",
          "sha256": "1f0462598884894db72abd797af51d4749e73b2a7b75d04a600fb5594c627cee"
        }
      ]
    },
    {
      "id": "commands",
      "status": "skipped",
      "reason_code": "NO_COMMAND_CRITERIA",
      "started_at": "2026-11-29T18:30:01.047Z",
      "finished_at": "2026-11-29T18:30:01.048Z",
      "attempts": 1,
      "evidence": []
    },
    {
      "id": "analysis",
      "status": "skipped",
      "reason_code": "NO_ANALYZER_CONFIGURED",
      "started_at": "2026-11-29T18:30:02.384Z",
      "finished_at": "2026-11-29T18:30:02.385Z",
      "attempts": 1,
      "evidence": []
    },
    {
      "id": "criteria.bind",
      "status": "completed",
      "started_at": "2026-11-29T18:30:02.386Z",
      "finished_at": "2026-11-29T18:30:02.388Z",
      "attempts": 1,
      "evidence": []
    }
  ],
  "criteria": [
    {
      "id": "EX-1",
      "text": "A discount never makes the order total negative.",
      "severity": "must",
      "method": "test",
      "result": "met",
      "reason_code": "TESTS_PASSED",
      "evidence": [
        "tests/junit.xml",
        "tests/stderr.log",
        "tests/pair_1.xml"
      ],
      "implementation_paths": [
        "src/total.js"
      ],
      "matched_tests": 1,
      "coverage": {
        "measured": true,
        "touched": true,
        "basis": "changed_lines",
        "files": [
          "src/total.js"
        ]
      },
      "sensitivity": {
        "measured": true,
        "method": "change_reverted_to_base",
        "base": "083c5bde92a52e24cacdef983def3a35bf5c1a7a",
        "reverted": [
          "src/total.js"
        ],
        "matched": 1,
        "sensitive": true,
        "evidence": "tests/pair_1.xml"
      },
      "evidence_strength": "change_sensitive",
      "contract_sha256": "65ed3b83b20a358cb87956865b8eda2f04e493667d7db73ce06c3c739b458244"
    }
  ],
  "summary": {
    "met": 1,
    "not_met": 0,
    "unverified": 0,
    "met_mutation_checked": 0,
    "total": 1,
    "overall": "all_declared_criteria_met"
  },
  "findings": [],
  "unverified_steps": [
    {
      "id": "env.install",
      "status": "skipped",
      "reason_code": "INSTALL_NOT_REQUESTED"
    },
    {
      "id": "commands",
      "status": "skipped",
      "reason_code": "NO_COMMAND_CRITERIA"
    },
    {
      "id": "analysis",
      "status": "skipped",
      "reason_code": "NO_ANALYZER_CONFIGURED"
    }
  ],
  "imports": [],
  "assumptions": [],
  "budget": {
    "time_s_limit": 600,
    "time_ms_used": 4814,
    "tokens_limit": null,
    "analysis_usage": null
  },
  "limitations": [
    "no_release_approval",
    "technical result = declared criteria in declared environment only",
    "client root can alter OS/clock/reports; signature proves bytes+procedure, not independent execution",
    "test results include output from the checked project; deliberate falsification inside the test process is not independently detected"
  ],
  "no_release_approval": true,
  "evidence_index": [
    {
      "rel": "inventory/inventory.json",
      "sha256": "0dc18d95ef3a35a08128320a454d3a58c7275cecc9ca3eb1deaa9ccbb967803b",
      "bytes": 247
    },
    {
      "rel": "secrets/findings.json",
      "sha256": "e8d59918611afff53405009d53bee00c7c9087f0692dd57b3e319a18e0dc142f",
      "bytes": 126
    },
    {
      "rel": "lint/eslint.json",
      "sha256": "48d956a82049f0250b5aba585bb66bbbb50d9051db2239b8c20a43c5405a1978",
      "bytes": 398
    },
    {
      "rel": "lint/stderr.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0
    },
    {
      "rel": "deps/sbom.cdx.json",
      "sha256": "129395e1bb413b8cceac7e1df9379baf55c14050cb127f7b360580fd30f12da1",
      "bytes": 401
    },
    {
      "rel": "tests/junit.xml",
      "sha256": "e2782751dbf2e95759116be1999b178925fc31106390758d5ddbc35fc9827cef",
      "bytes": 458
    },
    {
      "rel": "tests/stderr.log",
      "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "bytes": 0
    },
    {
      "rel": "tests/pair_1.xml",
      "sha256": "1f0462598884894db72abd797af51d4749e73b2a7b75d04a600fb5594c627cee",
      "bytes": 1516
    }
  ],
  "integrity": {
    "content_sha256": "fc871f0bafd2079c700b646e0678ae7db914c22eef520d3989f3ebe1988a58af",
    "alg": "ed25519",
    "public_key_pem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEA66+2XPWwdNLWL6DDYcqHEq2GKc/tvimpaZcd866XL78=\n-----END PUBLIC KEY-----\n",
    "signature": "J9TBV9D1/qKSM+79atKGFTsHS+EfMiQymuhTJ/aI0KYrw0nskrUafS08pcIExz9aW1n2l/nwf7izZzhauFklCA==",
    "key_id": "e684f3bb9272280f",
    "signed_over": "content_sha256",
    "server_countersign": "pending"
  }
}
