{
  "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": "square-root",
    "version": "1.0.4",
    "title": "Square Root Calculator",
    "formula_family": "square_root",
    "capability_id": "math.square_root",
    "verification_revision": "2026-10-26.square-root-complete-contract-v1"
  },
  "profile": "core",
  "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.20.0",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "square-root",
    "version": "1.0.4",
    "uri": "https://www.calculatorx.com/evidence/math.square_root/1.0.4.json",
    "verification_revision": "2026-10-26.square-root-complete-contract-v1"
  },
  "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-PROP-01",
    "CVP-META-01",
    "CVP-ROUND-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "NIST Digital Library of Mathematical Functions, Chapter 4",
        "kind": "other",
        "reference": "Logarithm, Exponential, Powers",
        "url": "https://dlmf.nist.gov/4"
      },
      {
        "label": "NIST DLMF §4.2(iv)",
        "kind": "other",
        "reference": "Powers: principal value z^a = exp(a ln z)",
        "url": "https://dlmf.nist.gov/4.2"
      },
      {
        "label": "CalculatorX mathematical conventions",
        "kind": "other",
        "reference": "Principal real root; principal imaginary for x < 0"
      }
    ]
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "principal √x; imag for x < 0"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Declared partitions are positive-real, zero, negative-imaginary, tiny-subnormal, large-finite, invalid-domain — not a whole-domain claim. x < 0 is the published principal imaginary √|x| i, not invalid-domain. Complete-result comparison includes both branches, min-subnormal and max-finite; strict decimal parsing and raw underflow rejection."
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "dimensionless (unitless core)"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + independent Decimal2000 complete-result corpus + O2 identities"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "11/11 legacy golden; 80/80 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "7/7 CVP boundary · 7/7 legacy Evidence boundary"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "7 Evidence illegal-input + 4/4 oracle-backed error-code (exact_error_match, not ULP)"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "CVP ≤2 ULP complete typed magnitude/branch comparison on declared80vectors; exact null and zero"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6/6 declared partitions (positive-real, zero, negative-imaginary, tiny-subnormal, large-finite, invalid-domain) · 11 legacy golden / 7 CVP boundary unique cases · 7 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6/6 CVP contract · release-artifacts-aligned=PASS · schema-output-required-declared=PASS · schema-valid-input-executes=PASS · engine-success-output-validates-schema=PASS · schema-rejects-incomplete-input=PASS · rest-success-payload-validates-schema=PASS"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine square-root; 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-10-28T05:11:56.928Z · live site-wide report stale @ 2026-10-28T05:12:33.113Z (12 other capabilities) · local checks pass · attestation_id=f3abb5d04ebc51171f259234b69628b210f1534445c968974f68a48041bc5e07 · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-10-28T05:11:56.928Z · Live production status STALE (12 capabilities; 364 remain CURRENT) @ 2026-10-28T05:12:33.113Z · Public schema 1.0.4 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.0.4 · 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 · cvp-immutable-manifest-fetch=pass · cvp-immutable-manifest-sha256=pass · cvp-latest-alias-matches-immutable=pass · calculator-html-cvp-projection=pass · evidence-html-cvp-projection=pass · attested_evidence_sha256=0904162d9842ae579e660eb678ec02f2ca6e852dd03b716905c0a6501acd7dae · verified_at=2026-10-26T05:40:15.201Z · evidence_attested_at=2026-10-26T05:40:15.201Z · last_confirmed_current_at=2026-10-28T05:11:56.928Z · rendered_at=2026-10-28T05:12:33.945Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "Unitless core calculator — no physical dimension algebra"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "4/4 property"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "2/2 metamorphic"
    },
    "CVP-ROUND-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "3/3 round-trips"
    },
    "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). Success 4/4. Error-path engine·REST·MCP 3/3 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only. Integration: URL → SSR result → Live graph current point (5/5). Hydration/slider/history are URL-canonical contracts, not a live browser session. Live-browser hydration, slider, Copy JSON, and Overview/Focus are covered in the current full review; Core ui-ssr is not a browser session."
    },
    "CVP-ORACLE-01": {
      "result": "SKIP",
      "applicability": "higher_assurance",
      "notes": "O2 present; O3 not required this wave"
    },
    "CVP-EXP-01": {
      "result": "SKIP",
      "applicability": "optional",
      "notes": "named expert review not performed"
    }
  },
  "interfaces": {
    "compared": [
      "ui-ssr",
      "rest",
      "mcp",
      "ui-url-result-graph"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). Success 4/4. Error-path engine·REST·MCP 3/3 (status, code, calculation_version). SSR compared on URL-canonical requested calculations; empty query is idle (not an error) and JSON-typed object/array inputs are REST/MCP-only. Integration: URL → SSR result → Live graph current point (5/5). Hydration/slider/history are URL-canonical contracts, not a live browser session. Live-browser hydration, slider, Copy JSON, and Overview/Focus are covered in the current full review; Core ui-ssr is not a browser session."
  },
  "artifacts": {
    "evidence_bundle_sha256": "bd771f8a25ba738b2a08aedd34a29d13547cd32700ad15abb3eacdb46b105cc7",
    "evidence_digest": "767ce88755a9ac176a1237fffdbee8b88b25f21056267882eba0cb0c6220c65d",
    "production_sha256": "0904162d9842ae579e660eb678ec02f2ca6e852dd03b716905c0a6501acd7dae",
    "attested_catalog_sha256": "163b0d7072a58bed20a0320572211167e1629730bef43c185b5f545ceac7744c",
    "production_checks": [
      {
        "id": "math.square_root:output-const",
        "status": "pass",
        "detail": "output const 1.0.4 vs capability 1.0.4",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      },
      {
        "id": "math.square_root:evidence-sha256",
        "status": "pass",
        "detail": "c2068787b531",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      },
      {
        "id": "math.square_root:semantic-contract",
        "status": "pass",
        "detail": "18/18",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      },
      {
        "id": "math.square_root:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.0.4 vs origin 1.0.4",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      },
      {
        "id": "math.square_root:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "math.square_root/1.0.4/2026-10-26.square-root-complete-contract-v1/core/767ce88755a9",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z",
        "projection_compared": false
      },
      {
        "id": "math.square_root:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "math.square_root/1.0.4/2026-10-26.square-root-complete-contract-v1/core/767ce88755a9",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z",
        "projection_compared": false
      },
      {
        "id": "math.square_root:cvp-immutable-manifest-fetch",
        "status": "pass",
        "detail": "public=200 origin=200",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      },
      {
        "id": "math.square_root:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "767ce88755a9",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      },
      {
        "id": "math.square_root:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "math.square_root/1.0.4/2026-10-26.square-root-complete-contract-v1/core/767ce88755a9",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z",
        "projection_compared": false
      },
      {
        "id": "math.square_root:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      },
      {
        "id": "math.square_root:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-26T05:40:15.201Z"
      }
    ],
    "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": "767ce88755a9ac176a1237fffdbee8b88b25f21056267882eba0cb0c6220c65d",
          "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": "767ce88755a9ac176a1237fffdbee8b88b25f21056267882eba0cb0c6220c65d",
          "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": "c2068787b531fa02649eb14ed6e9c22f5555014b7516f19a66143cc8a403e5f3",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "163b0d7072a58bed20a0320572211167e1629730bef43c185b5f545ceac7744c",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "767ce88755a9ac176a1237fffdbee8b88b25f21056267882eba0cb0c6220c65d"
  },
  "dependencies": [
    {
      "name": "square-root-engine",
      "version": "1.0.4"
    },
    {
      "name": "square-root-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "node",
      "version": "22.20.0"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "f3abb5d04ebc51171f259234b69628b210f1534445c968974f68a48041bc5e07",
    "attested_at": "2026-10-26T05:40:15.201Z",
    "last_confirmed_current_at": "2026-10-28T05:11:56.928Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-10-28T05:11:56.928Z",
    "live_updated_at": "2026-10-28T05:12:33.113Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-10-28T05:11:56.928Z",
      "site_stale_count": 12
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 12,
    "site_stale_capability_count": 12,
    "evidence_attested_at": "2026-10-26T05:40:15.201Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.0.4",
    "external_third_party": false,
    "note": "Named expert review not performed"
  },
  "timestamps": {
    "verified_at": "2026-10-26T05:40:15.201Z",
    "generated_at": "2026-10-26T05:40:15.201Z",
    "rendered_at": "2026-10-28T05:12:33.945Z",
    "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."
  },
  "tests": {
    "golden": {
      "passed": 80,
      "total": 80,
      "failed": 0
    },
    "boundary": {
      "passed": 7,
      "total": 7,
      "failed": 0
    },
    "invalid": {
      "passed": 11,
      "total": 11,
      "failed": 0,
      "comparison": "exact_error_match"
    },
    "property": {
      "passed": 4,
      "total": 4,
      "failed": 0
    },
    "round_trip": {
      "passed": 3,
      "total": 3,
      "failed": 0
    },
    "metamorphic": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "contract": {
      "passed": 6,
      "total": 6,
      "failed": 0
    },
    "cross_interface": {
      "passed": 7,
      "total": 7,
      "failed": 0
    },
    "ui_integration": {
      "passed": 5,
      "total": 5,
      "failed": 0
    }
  },
  "numerical": {
    "representation": "IEEE-754 binary64 radicand and principal real/imaginary magnitude",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "Complete keys/types/branch; nonzero numerical magnitudes within2 ULP vs independently rounded Decimal2000. Zero and null exact.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0,
    "claim_scope": "80 fixed and seeded complete results including both signs, zero, subnormal, max finite and rounding neighbors; not exhaustive"
  },
  "coverage": {
    "partitions": [
      {
        "id": "positive-real",
        "description": "x > 0 finite principal real √x, excluding tiny/subnormal and large-finite numerical boundaries",
        "exercised": true,
        "case_count": 33
      },
      {
        "id": "zero",
        "description": "√0 = 0",
        "exercised": true,
        "case_count": 6
      },
      {
        "id": "negative-imaginary",
        "description": "x < 0 principal imaginary √|x| i — published contract, not invalid-domain",
        "exercised": true,
        "case_count": 33
      },
      {
        "id": "tiny-subnormal",
        "description": "Tiny positive including subnormals: 0 < x < 1e-6 (O3 includes 1e-8 and IEEE-754 min-subnormal)",
        "exercised": true,
        "case_count": 20
      },
      {
        "id": "large-finite",
        "description": "Large finite radicand x ≥ 1e100 (O3 includes max-finite; Evidence also has 1e308)",
        "exercised": true,
        "case_count": 7
      },
      {
        "id": "invalid-domain",
        "description": "MISSING_REQUIRED_INPUT / INVALID_NUMBER — not the negative imaginary branch",
        "exercised": true,
        "case_count": 11
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Principal square root (real or ±√|x| i)"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Cross-runtime Decimal2000 complete real/imag/principal reference",
        "engine": {
          "name": "CPython Decimal2000 sqrt",
          "independent_of_iut": true,
          "same_runtime_as_iut": false,
          "generator_sha256": "cbf4c80312eddcce0218ceae54ce522ce27f3b668bb8ab4797e5533e535b4758"
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Cross-runtime Decimal2000 complete real/imag/principal reference",
        "engine": {
          "name": "CPython Decimal2000 sqrt",
          "independent_of_iut": true,
          "same_runtime_as_iut": false,
          "generator_sha256": "cbf4c80312eddcce0218ceae54ce522ce27f3b668bb8ab4797e5533e535b4758"
        }
      }
    ]
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/math.square_root/1.0.4.json",
    "evidence_page": "https://www.calculatorx.com/evidence/math.square_root/1.0.4",
    "calculator": "https://www.calculatorx.com/calc/math/square-root",
    "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/math.square_root/1.0.4.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/math.square_root/1.0.4/2026-10-26.square-root-complete-contract-v1.cvp.json",
    "manifest_core": "https://www.calculatorx.com/evidence/math.square_root/1.0.4/2026-10-26.square-root-complete-contract-v1.767ce88755a9.cvp.json"
  },
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
