{
  "protocol": {
    "name": "CVP",
    "version": "1.0.0-proposed",
    "revision": "2026-09-13",
    "spec_sha256": "f62725968356c92930531cd6085db76e216da06e95be53d636b0d2cf3218b148",
    "spec": "https://www.calculatorx.com/developers/cvp/spec/1.0"
  },
  "document_status": "proposed",
  "calculator": {
    "id": "fspl",
    "version": "1.0.0",
    "title": "Free-Space Path Loss Calculator",
    "formula_family": "fspl-log10",
    "capability_id": "electrical.rf.fspl"
  },
  "profile": "engineering",
  "status": "VERIFIED",
  "verification_status": "VERIFIED",
  "production_freshness": "CURRENT",
  "overall_trust": "VERIFIED",
  "runner": {
    "name": "cvp-runner",
    "version": "1.0.0"
  },
  "environment": {
    "runtime": "node",
    "runtime_version": "22.23.2",
    "numeric_model": "IEEE-754 binary64",
    "os": "linux"
  },
  "suite": {
    "id": "fspl",
    "version": "1.0.0",
    "uri": "https://www.calculatorx.com/evidence/electrical.rf.fspl/1.0.0.json"
  },
  "obligation_set": [
    "CVP-PROV-01",
    "CVP-MODEL-01",
    "CVP-SCOPE-01",
    "CVP-UNIT-01",
    "CVP-REF-01",
    "CVP-GOLD-01",
    "CVP-BND-01",
    "CVP-INV-01",
    "CVP-NUM-01",
    "CVP-COV-01",
    "CVP-CONTRACT-01",
    "CVP-DEP-01",
    "CVP-ART-01",
    "CVP-PROD-01",
    "CVP-DIM-01",
    "CVP-PROP-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "Friis transmission equation",
        "kind": "other",
        "reference": "Free-space path loss form"
      },
      {
        "label": "ITU-R P.525-5 (11/2024), Calculation of free-space attenuation",
        "kind": "standard",
        "reference": "Free-space basic transmission loss"
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "ITU / Friis free-space path loss identity"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module FSPL oracle — same V8 binary64 as IUT",
        "engine": {
          "name": "fspl-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs ≤2 ULP fspl_dB comparison vs IUT",
        "engine": {
          "name": "fspl-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      }
    ],
    "notes": "Golden expected values use a separate O2 module (not IUT transcription). O2 shares Node/V8 binary64 with the IUT unless noted otherwise."
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "FSPL_dB = 20·log10(d_m) + 20·log10(f_Hz) + 20·log10(4π/c)"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Free-space isotropic model; path_loss_dB is antenna-adjusted link loss (FSPL − Gt − Gr)"
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "API SI: metres + Hz; gains dBi. Display units are presentation-only when d_m/f_Hz are present."
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "2/2 legacy golden; 2/2 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "4/4 CVP boundary · 4/4 legacy Evidence boundary"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "3 invalid-domain cases"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "max_error_observed_ulp=0; policy declared a priori"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "3/3 declared partitions (isotropic, with-gains, invalid-domain) · 2 legacy golden / 4 CVP boundary unique cases · 3 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "4/4 CVP contract"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine fspl; Node binary64"
    },
    "CVP-ART-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "release_integrity.status=verified · digests: artifact_evidence_sha256=Evidence core (Trust freshness) · cvp_evidence_digest=artifacts.evidence_digest (fingerprint v2) · evidence_bundle_sha256=legacy Evidence JSON bytes · evidence_catalog_digest=attested_catalog_sha256 · production_sha256=bound production report · see artifacts.digest_registry"
    },
    "CVP-PROD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "this calculator CURRENT · bound snapshot pass @ 2026-09-13T11:35:00.166Z · live site-wide report stale @ 2026-09-13T11:35:01.909Z (9 other capabilities) · local checks pass · attestation_id=c4df4bb073bf87955dccfbc9399f558b5ac157599dcc2ffa7f03224ca402fd8f · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-09-13T11:35:00.166Z · Current site report STALE (9 capabilities; 147 remain CURRENT) @ 2026-09-13T11:35:01.909Z · Public schema 1.0.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.0.0 · report output-const=pass · evidence-sha256=pass · semantic-contract=pass · capability-html-public-origin-agree=pass · cvp-manifest-public-origin-agree=pass · cvp-latest-alias-agrees=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=d8679f20af3506f0d939fc41f759265265a940cac3effc1332876304e1ad2bc0 · verified_at=2026-09-13T01:42:22.552Z · evidence_attested_at=2026-09-13T01:42:22.552Z · last_confirmed_current_at=2026-09-13T11:35:00.166Z · rendered_at=2026-09-13T11:35:03.136Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "Loss in dB; wavelength metres"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "4/4 property"
    },
    "CVP-META-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No input→output transformation vectors in pack — control not in obligation set"
    },
    "CVP-ROUND-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No inverse / round-trip vectors in pack — control not in obligation set"
    },
    "CVP-XCAL-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No related calculator in the same formula family / no related-identity peers declared — control not in obligation set"
    },
    "CVP-IFACE-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. CVP-UI-01: canonical SI is the only calculation source. Mixed share URLs (d_m + fsplDInput without fsplDUnit) must still yield FSPL. Live Chromium session is npm run test:fspl-live-e2e — not executed inside this SSR/REST/MCP probe."
    },
    "CVP-ORACLE-01": {
      "result": "SKIP",
      "applicability": "higher_assurance",
      "notes": "O2 present; O3 not required this wave"
    },
    "CVP-EXP-01": {
      "result": "PASS",
      "applicability": "optional",
      "notes": "expert_reviewed=true"
    }
  },
  "tests": {
    "golden": {
      "passed": 2,
      "total": 2,
      "failed": 0,
      "case_ids": [
        "g-iso",
        "g-gains"
      ]
    },
    "boundary": {
      "passed": 4,
      "total": 4,
      "failed": 0,
      "case_ids": [
        "missing-f",
        "zero-d",
        "nan-d",
        "boundary-1km-2g4"
      ]
    },
    "invalid": {
      "passed": 3,
      "total": 3,
      "failed": 0,
      "case_ids": [
        "missing-f",
        "zero-d",
        "nan-d"
      ]
    },
    "property": {
      "passed": 4,
      "total": 4,
      "failed": 0,
      "case_ids": [
        "property-fspl",
        "property-6db",
        "property-freq",
        "property-gains"
      ],
      "kind": "fixed"
    },
    "round_trip": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "metamorphic": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "contract": {
      "passed": 4,
      "total": 4,
      "failed": 0
    },
    "cross_interface": {
      "passed": 2,
      "total": 2,
      "failed": 0,
      "case_ids": [
        "iface-iso",
        "iface-mixed-missing-d-unit"
      ]
    }
  },
  "coverage": {
    "partitions": [
      {
        "id": "isotropic",
        "description": "Zero / omitted gains",
        "exercised": true,
        "case_count": 3
      },
      {
        "id": "with-gains",
        "description": "Non-zero antenna gains",
        "exercised": true,
        "case_count": 2
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 3
      }
    ]
  },
  "numerical": {
    "representation": "IEEE-754 binary64",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "log10 FSPL; ≤2 ULP vs separate-module O2 (same V8). Declared a priori.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0,
    "records": [
      {
        "id": "g-iso",
        "reference": {
          "fspl_dB": 100.05200805611548,
          "path_loss_dB": 100.05200805611548,
          "wavelength_m": 0.12491352416666666,
          "d_m": 1000,
          "f_Hz": 2400000000,
          "Gt_dBi": 0,
          "Gr_dBi": 0
        },
        "actual": {
          "fspl_dB": 100.05200805611548,
          "path_loss_dB": 100.05200805611548,
          "wavelength_m": 0.12491352416666666,
          "d_m": 1000,
          "f_Hz": 2400000000,
          "Gt_dBi": 0,
          "Gr_dBi": 0
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-gains",
        "reference": {
          "fspl_dB": 100.05200805611548,
          "path_loss_dB": 88.05200805611548,
          "wavelength_m": 0.12491352416666666,
          "d_m": 1000,
          "f_Hz": 2400000000,
          "Gt_dBi": 6,
          "Gr_dBi": 6
        },
        "actual": {
          "fspl_dB": 100.05200805611548,
          "path_loss_dB": 88.05200805611548,
          "wavelength_m": 0.12491352416666666,
          "d_m": 1000,
          "f_Hz": 2400000000,
          "Gt_dBi": 6,
          "Gr_dBi": 6
        },
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      }
    ]
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. CVP-UI-01: canonical SI is the only calculation source. Mixed share URLs (d_m + fsplDInput without fsplDUnit) must still yield FSPL. Live Chromium session is npm run test:fspl-live-e2e — not executed inside this SSR/REST/MCP probe."
  },
  "artifacts": {
    "evidence_bundle_sha256": "6be9db9b8f5a7b5654bd9e2606f42319a6c68262b183d4d555db968306b17450",
    "evidence_digest": "486d3a52cd93ca3165618bb5db4bd4d8c64ea2b3dcfa858e89b86cbcf5ef8cdd",
    "production_sha256": "d8679f20af3506f0d939fc41f759265265a940cac3effc1332876304e1ad2bc0",
    "attested_catalog_sha256": "dfd311ad9f2e37be7af2a29197a84f33944dff9549828dd83635a5da35985df4",
    "production_checks": [
      {
        "id": "electrical.rf.fspl:output-const",
        "status": "pass",
        "detail": "output const 1.0.0 vs capability 1.0.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z"
      },
      {
        "id": "electrical.rf.fspl:evidence-sha256",
        "status": "pass",
        "detail": "b73d10b5564f",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z"
      },
      {
        "id": "electrical.rf.fspl:semantic-contract",
        "status": "pass",
        "detail": "10/10",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z"
      },
      {
        "id": "electrical.rf.fspl:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.0.0 vs origin 1.0.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z"
      },
      {
        "id": "electrical.rf.fspl:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "electrical.rf.fspl/1.0.0/-/engineering/486d3a52cd93",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z",
        "projection_compared": false
      },
      {
        "id": "electrical.rf.fspl:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "electrical.rf.fspl/1.0.0/-/engineering/486d3a52cd93",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z",
        "projection_compared": false
      },
      {
        "id": "electrical.rf.fspl:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z"
      },
      {
        "id": "electrical.rf.fspl:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-13T01:42:22.552Z"
      }
    ],
    "digest_registry": {
      "digest_algorithm": "sha256",
      "canonicalization": "json-sorted-keys-utf8",
      "entries": [
        {
          "name": "cvp_core_sha256",
          "field": "artifacts.cvp_core_sha256",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "486d3a52cd93ca3165618bb5db4bd4d8c64ea2b3dcfa858e89b86cbcf5ef8cdd",
          "note": "Immutable verification core; excludes attestation/live-status and Evidence contract counts"
        },
        {
          "name": "cvp_evidence_digest",
          "field": "artifacts.evidence_digest",
          "digest_scope": "cvp_verification_fingerprint_v2",
          "value": "486d3a52cd93ca3165618bb5db4bd4d8c64ea2b3dcfa858e89b86cbcf5ef8cdd",
          "note": "Alias of cvp_core_sha256 (historical field name)"
        },
        {
          "name": "artifact_evidence_sha256",
          "field": "release_integrity.digests.evidence_core_sha256",
          "digest_scope": "evidence_artifact_core",
          "value": "b73d10b5564f4c8890bb4f20f785a8c35a873cffb5c793cf9329d4cabb7152fe",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "dfd311ad9f2e37be7af2a29197a84f33944dff9549828dd83635a5da35985df4",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "486d3a52cd93ca3165618bb5db4bd4d8c64ea2b3dcfa858e89b86cbcf5ef8cdd"
  },
  "dependencies": [
    {
      "name": "fspl-engine",
      "version": "1.0.0"
    },
    {
      "name": "fspl-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "node",
      "version": "22.23.2"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "c4df4bb073bf87955dccfbc9399f558b5ac157599dcc2ffa7f03224ca402fd8f",
    "attested_at": "2026-09-13T01:42:22.552Z",
    "last_confirmed_current_at": "2026-09-13T11:35:00.166Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-09-13T11:35:00.166Z",
    "live_updated_at": "2026-09-13T11:35:01.909Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-09-13T11:35:00.166Z",
      "site_stale_count": 9
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 9,
    "site_stale_capability_count": 9,
    "evidence_attested_at": "2026-09-13T01:42:22.552Z"
  },
  "domain_review": {
    "status": "PASS",
    "spec_version": "1.0.0",
    "external_third_party": false,
    "reviewer_role": "electrical-engineer",
    "independence": "internal"
  },
  "timestamps": {
    "verified_at": "2026-09-13T01:42:22.552Z",
    "generated_at": "2026-09-13T01:42:22.552Z",
    "rendered_at": "2026-09-13T11:35:03.136Z",
    "notes": "verified_at/generated_at mark the first publication of this cvp_core_sha256 (artifacts.evidence_digest alias) for suite verification. evidence_attested_at/attested_at is the first production bind of that core digest. last_confirmed_current_at is the latest site-wide report that still confirms CURRENT. rendered_at is this JSON serialization and is not part of cvp_core_sha256 / evidence_digest. Production attestation binds cvp_core_sha256 (binds evidence_digest). Causal order: verified_at ≤ evidence_attested_at ≤ last_confirmed_current_at. attestation.bound_snapshot.site_stale_count is the site-wide stale capability count at Manifest bind time — not a live value. Fetch attestation.live_site_status.href for the current site report."
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/electrical.rf.fspl/1.0.0.json",
    "evidence_page": "https://www.calculatorx.com/evidence/electrical.rf.fspl/1.0.0",
    "calculator": "https://www.calculatorx.com/calc/electric/fspl",
    "schema": "https://www.calculatorx.com/developers/cvp/schema/cvp-evidence-1.0.json",
    "protocol": "https://www.calculatorx.com/developers/cvp/spec/1.0",
    "manifest": "https://www.calculatorx.com/evidence/electrical.rf.fspl/1.0.0.cvp.json"
  }
}
