{
  "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": "triangle-solver",
    "version": "1.1.0",
    "title": "Triangle Solver",
    "formula_family": "triangle-solver",
    "capability_id": "math.geometry.triangle",
    "verification_revision": "2026-10-29.math-uuce-fields-v1"
  },
  "profile": "core",
  "verified_scope": "all published modes",
  "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": "triangle-solver",
    "version": "1.1.0",
    "uri": "https://www.calculatorx.com/evidence/math.geometry.triangle/1.1.0.json",
    "verification_revision": "2026-10-29.math-uuce-fields-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-DIM-01",
    "CVP-PROP-01",
    "CVP-META-01",
    "CVP-XCAL-01",
    "CVP-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "ISO 80000-2:2019 Quantities and units — Mathematics",
        "kind": "standard",
        "reference": "Mathematical symbols and notation. This standard is not numerical verification or an endorsement of this implementation.",
        "url": "https://www.iso.org/standard/64973.html"
      },
      {
        "label": "Gilbert Strang, Calculus — Chapter 1: Introduction to Calculus (MIT OpenCourseWare)",
        "kind": "other",
        "reference": "§1.5 A Review of Trigonometry",
        "url": "https://ocw.mit.edu/courses/res-18-001-calculus-fall-2023/mitres_18_001_f17_ch01.pdf"
      },
      {
        "label": "W. Kahan — Miscalculating Area and Angles of a Needle-like Triangle",
        "kind": "other",
        "reference": "Area, angle evaluation and ill-conditioned triangle examples",
        "url": "https://people.eecs.berkeley.edu/~wkahan/Triangle.pdf"
      }
    ]
  },
  "controls": {
    "CVP-PROV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Sources present on evidence"
    },
    "CVP-MODEL-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Euclidean triangle SSS/SAS/ASA/AAS/SSA via law of sines and cosines. Angles in degrees."
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "All5 Euclidean triangle modes, full ordered SSA candidates; exact dyadic SSS inequalities/Kahan area, stable SAS and SSA quadratic roots. Normal binary64 positive inputs/outputs; explicit conditioning guards and no absolute zero clamps. Independent mpmath750 reference; no spherical triangles."
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "Consistent length; angles in degrees; area in length²"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "3/3 legacy golden; 168/168 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "1/1 numeric-edge Evidence + 1/1 near-singularity numeric; illegal enum/system is Invalid only"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "2 Evidence illegal-input + 73/73 oracle-backed error-code (exact_error_match, not ULP)"
    },
    "CVP-NUM-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "diagnostic_raw_leaf_ulp_max (not an acceptance budget)=3; policy declared a priori"
    },
    "CVP-COV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "6/6 declared partitions (sss, sas, asa, aas, ssa, invalid-domain) · 3 legacy golden / 2 CVP boundary unique cases · 2 Evidence invalid-input (may overlap boundary)"
    },
    "CVP-CONTRACT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "5/5 CVP contract · release-artifacts-aligned=PASS · schema-output-required-declared=PASS · schema-valid-input-executes=PASS · engine-success-output-validates-schema=PASS · rest-success-payload-validates-schema=PASS"
    },
    "CVP-DEP-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "engine triangle-solver; 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-29T09:50:17.083Z · live site-wide report stale @ 2026-10-29T09:51:00.434Z (6 other capabilities) · local checks pass · attestation_id=40e7a05dc161e4cce7ce61ca2a18e81e0b12b04c3bbf14a62ec111a05f943e8f · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-10-29T09:50:17.083Z · Live production status STALE (6 capabilities; 370 remain CURRENT) @ 2026-10-29T09:51:00.434Z · Public schema 1.1.0 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.1.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 · 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=04247b6c380c165c9aed6d75d9a913ff0febd08ce53bc1aeb7bf561a0dc53e62 · verified_at=2026-10-29T09:10:52.434Z · evidence_attested_at=2026-10-29T09:10:52.434Z · last_confirmed_current_at=2026-10-29T09:50:17.083Z · rendered_at=2026-10-29T09:51:00.724Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "Euclidean plane triangle"
    },
    "CVP-PROP-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "3/3 property · enumerated fixed assertions (not generated; no seed)"
    },
    "CVP-META-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "4/4 metamorphic; domain=2; input-contract=2; limited to assessed relations/preconditions"
    },
    "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": "PASS",
      "applicability": "applicable",
      "notes": "1/1 cross-calculator · xcal-345-pythagorean PASS vs math.pythagorean"
    },
    "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. Error-path engine·REST·MCP 1/1 (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."
    },
    "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"
    ],
    "result": "PASS",
    "notes": "UI (SSR) · REST · MCP equivalent (MCP uses calc API handler). ui-ssr is query-result HTML, not a live browser session. Error-path engine·REST·MCP 1/1 (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."
  },
  "artifacts": {
    "evidence_bundle_sha256": "7615af3b3947f666ee2b9234ef0b6e1c6cb26acc7a155fd13e73137ae6b01ccf",
    "evidence_digest": "0c4df55e9ff84bd4ac70974d066094ecc539d0df9961eaaf1a431d9aed7d07a6",
    "production_sha256": "04247b6c380c165c9aed6d75d9a913ff0febd08ce53bc1aeb7bf561a0dc53e62",
    "attested_catalog_sha256": "0ae84cdda4265706da5640db58e61e30e0a60e16c65f8eaba247dd5f28369b16",
    "production_checks": [
      {
        "id": "math.geometry.triangle:output-const",
        "status": "pass",
        "detail": "output const 1.1.0 vs capability 1.1.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z"
      },
      {
        "id": "math.geometry.triangle:evidence-sha256",
        "status": "pass",
        "detail": "a35d55e0bb3e",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z"
      },
      {
        "id": "math.geometry.triangle:semantic-contract",
        "status": "pass",
        "detail": "10/10",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z"
      },
      {
        "id": "math.geometry.triangle:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.1.0 vs origin 1.1.0",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z"
      },
      {
        "id": "math.geometry.triangle:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "math.geometry.triangle/1.1.0/2026-10-29.math-uuce-fields-v1/core/0c4df55e9ff8",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z",
        "projection_compared": false
      },
      {
        "id": "math.geometry.triangle:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "math.geometry.triangle/1.1.0/2026-10-29.math-uuce-fields-v1/core/0c4df55e9ff8",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z",
        "projection_compared": false
      },
      {
        "id": "math.geometry.triangle: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-29T09:10:52.434Z"
      },
      {
        "id": "math.geometry.triangle:cvp-immutable-manifest-sha256",
        "status": "pass",
        "detail": "0c4df55e9ff8",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z"
      },
      {
        "id": "math.geometry.triangle:cvp-latest-alias-matches-immutable",
        "status": "pass",
        "detail": "math.geometry.triangle/1.1.0/2026-10-29.math-uuce-fields-v1/core/0c4df55e9ff8",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z",
        "projection_compared": false
      },
      {
        "id": "math.geometry.triangle:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z"
      },
      {
        "id": "math.geometry.triangle:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-10-29T09:10:52.434Z"
      }
    ],
    "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": "0c4df55e9ff84bd4ac70974d066094ecc539d0df9961eaaf1a431d9aed7d07a6",
          "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": "0c4df55e9ff84bd4ac70974d066094ecc539d0df9961eaaf1a431d9aed7d07a6",
          "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": "a35d55e0bb3edf37aaccdcd8b628cc15f2f35a29617b10c9f1ca067597d83adb",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "0ae84cdda4265706da5640db58e61e30e0a60e16c65f8eaba247dd5f28369b16",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "0c4df55e9ff84bd4ac70974d066094ecc539d0df9961eaaf1a431d9aed7d07a6"
  },
  "dependencies": [
    {
      "name": "triangle-solver-engine",
      "version": "1.1.0"
    },
    {
      "name": "triangle-solver-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "math.pythagorean",
      "version": "1.2.0",
      "role": "cross_calculator_peer",
      "capability_id": "math.pythagorean",
      "evidence_digest": "8e57ac65e649227bf1e852c2226c095d9d87610f0dfa258ee1cff4dc78f628eb",
      "evidence": "https://www.calculatorx.com/evidence/math.pythagorean/1.2.0.cvp.json"
    },
    {
      "name": "node",
      "version": "22.20.0"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "40e7a05dc161e4cce7ce61ca2a18e81e0b12b04c3bbf14a62ec111a05f943e8f",
    "attested_at": "2026-10-29T09:10:52.434Z",
    "last_confirmed_current_at": "2026-10-29T09:50:17.083Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-10-29T09:50:17.083Z",
    "live_updated_at": "2026-10-29T09:51:00.434Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-10-29T09:50:17.083Z",
      "site_stale_count": 6
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 6,
    "site_stale_capability_count": 6,
    "evidence_attested_at": "2026-10-29T09:10:52.434Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.1.0",
    "external_third_party": false,
    "note": "Named expert review not performed"
  },
  "timestamps": {
    "verified_at": "2026-10-29T09:10:52.434Z",
    "generated_at": "2026-10-29T09:10:52.434Z",
    "rendered_at": "2026-10-29T09:51:00.724Z",
    "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": 168,
      "total": 168,
      "failed": 0
    },
    "boundary": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "invalid": {
      "passed": 75,
      "total": 75,
      "failed": 0,
      "comparison": "exact_error_match"
    },
    "property": {
      "passed": 3,
      "total": 3,
      "failed": 0,
      "kind": "fixed"
    },
    "round_trip": {
      "passed": 0,
      "total": 0,
      "failed": 0
    },
    "metamorphic": {
      "passed": 4,
      "total": 4,
      "failed": 0
    },
    "contract": {
      "passed": 5,
      "total": 5,
      "failed": 0
    },
    "cross_interface": {
      "passed": 2,
      "total": 2,
      "failed": 0
    },
    "cross_calculator": {
      "passed": 1,
      "total": 1,
      "failed": 0
    }
  },
  "numerical": {
    "representation": "Normalized binary64; exact dyadic predicates/polynomial intermediates, binary64 trigonometry, finite normal positive outputs",
    "tolerance": {
      "type": "relative",
      "value": 5e-10,
      "rationale": "Independent mpmath750; exact branch/count/array cardinality and strict numeric types; no raw-input perturbation bound.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 3,
    "error_metric": "diagnostic_raw_leaf_ulp",
    "comparison_evidence_protocol": "scoped-comparison-v1",
    "max_error_observed_scope": "Raw finite matching numeric leaves across records/hops; diagnostic only. Acceptance is the per-record/hop comparison predicate and its declared scoped policy."
  },
  "coverage": {
    "partitions": [
      {
        "id": "sss",
        "description": "sss",
        "exercised": true,
        "case_count": 45
      },
      {
        "id": "sas",
        "description": "sas",
        "exercised": true,
        "case_count": 52
      },
      {
        "id": "asa",
        "description": "asa",
        "exercised": true,
        "case_count": 26
      },
      {
        "id": "aas",
        "description": "aas",
        "exercised": true,
        "case_count": 26
      },
      {
        "id": "ssa",
        "description": "ssa",
        "exercised": true,
        "case_count": 36
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 75
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Euclidean triangle law of sines / cosines"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Python mpmath750 cosine law/Heron/inverse-sine reference, complete ordered SSA candidates",
        "engine": {}
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Independent high-precision small/large/needle/SSA boundary reference and complete-set comparator negative controls",
        "engine": {}
      }
    ]
  },
  "links": {
    "legacy_evidence": "https://www.calculatorx.com/evidence/math.geometry.triangle/1.1.0.json",
    "evidence_page": "https://www.calculatorx.com/evidence/math.geometry.triangle/1.1.0",
    "calculator": "https://www.calculatorx.com/calc/math/triangle-solver",
    "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.geometry.triangle/1.1.0.cvp.json",
    "manifest_immutable": "https://www.calculatorx.com/evidence/math.geometry.triangle/1.1.0/2026-10-29.math-uuce-fields-v1.cvp.json",
    "manifest_core": "https://www.calculatorx.com/evidence/math.geometry.triangle/1.1.0/2026-10-29.math-uuce-fields-v1.0c4df55e9ff8.cvp.json"
  },
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
