{
  "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": "watts-to-joules",
    "version": "1.2.1",
    "title": "Watts to Joules Calculator",
    "formula_family": "electrical-unit",
    "capability_id": "electrical.watts_to_joules"
  },
  "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": "20.19.2",
    "numeric_model": "IEEE-754 binary64",
    "os": "darwin"
  },
  "suite": {
    "id": "watts-to-joules",
    "version": "1.2.1",
    "uri": "https://www.calculatorx.com/evidence/electrical.watts_to_joules/1.2.1.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-IFACE-01"
  ],
  "provenance": {
    "mode": "direct",
    "sources": [
      {
        "label": "SI definition of the watt",
        "kind": "other",
        "reference": "1 W = 1 J/s"
      },
      {
        "label": "NIST Guide to the SI (SP 811)",
        "kind": "other",
        "reference": "Joule and watt as coherent SI units",
        "url": "https://www.nist.gov/pml/special-publication-811"
      },
      {
        "label": "IEC 60050 — International Electrotechnical Vocabulary",
        "kind": "standard",
        "reference": "Active power (IEV 131-11-42)",
        "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-42"
      },
      {
        "label": "IEC 60050 — International Electrotechnical Vocabulary",
        "kind": "standard",
        "reference": "Active energy (IEV 131-11-57)",
        "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-57"
      },
      {
        "label": "BIPM SI Brochure (9th edition, version 4.01)",
        "kind": "other",
        "reference": "Watt as joule per second",
        "url": "https://www.bipm.org/en/publications/si-brochure"
      }
    ]
  },
  "reference": {
    "items": [
      {
        "class": "O1",
        "reference_scope": "model",
        "scope": "model",
        "label": "Watts to Joules Calculator"
      },
      {
        "class": "O2",
        "reference_scope": "expected_values",
        "scope": "expected_values",
        "label": "Separate-module watts-to-joules-reference oracle — same V8 binary64 as IUT",
        "engine": {
          "name": "watts-to-joules-reference",
          "precision_bits": 53,
          "independent_of_iut": true
        }
      },
      {
        "class": "O2",
        "reference_scope": "numerical_behavior",
        "scope": "numerical_behavior",
        "label": "Same O2 module backs ≤2 ULP scalar comparison vs IUT (watts-to-joules-reference)",
        "engine": {
          "name": "watts-to-joules-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": "E = P·t in seconds, minutes, or hours"
    },
    "CVP-SCOPE-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "E = P·t in seconds, minutes, or hours"
    },
    "CVP-UNIT-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "SI"
    },
    "CVP-REF-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "O1 model + O2 expected_values + O2 numerical_behavior"
    },
    "CVP-GOLD-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "12/12 legacy golden; 4/4 oracle-backed numeric"
    },
    "CVP-BND-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "0/0 numeric-edge Evidence + 1/1 near-singularity numeric; illegal enum/system is Invalid only"
    },
    "CVP-INV-01": {
      "result": "PASS",
      "applicability": "required",
      "notes": "0 Evidence illegal-input + 1/1 oracle-backed error-code (exact_error_match, not ULP)"
    },
    "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 (forward, reverse, invalid-domain) · 12 legacy golden / 1 CVP boundary unique cases · 0 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 watts-to-joules; 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-24T08:26:31.589Z · live site-wide report stale @ 2026-09-24T08:26:51.391Z (3 other capabilities) · local checks pass · attestation_id=07dd2ac0398098e072e5ecb37e13c71275bfccf89953406c5da6534788ec1538 · This calculator CURRENT · This calculator is not affected · Bound attestation PASS @ 2026-09-24T08:26:31.589Z · Live production status STALE (3 capabilities; 296 remain CURRENT) @ 2026-09-24T08:26:51.391Z · Public schema 1.2.1 matches · Semantic contract ✓ · Production attested · Public/cache ✓ · Origin ✓ · schema_const=1.2.1 · 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=e8d1161be1a15b9144a5af47ec3f09c44217605afff82cbb8d4b5d1ff406d635 · verified_at=2026-09-24T07:15:56.063Z · evidence_attested_at=2026-09-24T07:15:56.063Z · last_confirmed_current_at=2026-09-24T08:26:31.589Z · rendered_at=2026-09-24T08:26:51.453Z · binds=cvp_core_sha256",
      "check_result": "PASS",
      "production_state": "CURRENT",
      "binding_current": true
    },
    "CVP-DIM-01": {
      "result": "PASS",
      "applicability": "applicable",
      "notes": "E = P·t in seconds, minutes, or hours"
    },
    "CVP-PROP-01": {
      "result": "SKIP",
      "applicability": "not_applicable",
      "notes": "No stated invariants / property suite — control not in obligation set"
    },
    "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-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"
    }
  },
  "tests": {
    "golden": {
      "passed": 4,
      "total": 4,
      "failed": 0,
      "case_ids": [
        "g-s",
        "g-min",
        "g-h",
        "g-back"
      ]
    },
    "boundary": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "bnd-zero-t"
      ]
    },
    "invalid": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "g-bad"
      ],
      "comparison": "exact_error_match",
      "records": [
        {
          "id": "g-bad",
          "comparison": "exact_error_match",
          "expected": {
            "code": "INVALID_MODE"
          },
          "actual": {
            "code": "INVALID_MODE"
          },
          "match": true
        }
      ]
    },
    "property": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "round_trip": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "metamorphic": {
      "passed": 0,
      "total": 0,
      "failed": 0,
      "case_ids": []
    },
    "contract": {
      "passed": 6,
      "total": 6,
      "failed": 0
    },
    "cross_interface": {
      "passed": 1,
      "total": 1,
      "failed": 0,
      "case_ids": [
        "iface-g-s"
      ]
    }
  },
  "coverage": {
    "partitions": [
      {
        "id": "forward",
        "description": "W→J",
        "exercised": true,
        "case_count": 3
      },
      {
        "id": "reverse",
        "description": "J→W",
        "exercised": true,
        "case_count": 2
      },
      {
        "id": "invalid-domain",
        "description": "Invalid inputs",
        "exercised": true,
        "case_count": 1
      }
    ]
  },
  "numerical": {
    "representation": "IEEE-754 binary64",
    "tolerance": {
      "type": "ulp",
      "value": 2,
      "rationale": "Published unit identities; ≤2 ULP vs separate-module O2 (same V8). Declared a priori.",
      "declared_before_evaluation": true
    },
    "max_error_observed": 0,
    "records": [
      {
        "id": "g-s",
        "reference": 30,
        "actual": 30,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-min",
        "reference": 1200,
        "actual": 1200,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-h",
        "reference": 36000,
        "actual": 36000,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "g-back",
        "reference": 10,
        "actual": 10,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "golden"
      },
      {
        "id": "bnd-zero-t",
        "reference": 0,
        "actual": 0,
        "error_ulp": 0,
        "threshold_ulp": 2,
        "suite": "boundary"
      }
    ]
  },
  "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."
  },
  "artifacts": {
    "evidence_bundle_sha256": "79c0db9b2bc03d8ef1ad7b2561d2271d09a1a1367c06404a589dae1857551ce7",
    "evidence_digest": "e439d34fe37b5de03930191e59c116513a46bcdecf33d3d963df947f34105f88",
    "production_sha256": "e8d1161be1a15b9144a5af47ec3f09c44217605afff82cbb8d4b5d1ff406d635",
    "attested_catalog_sha256": "52419a75f87381c846435bf92ff0e55cf76f17e9ed5af27a656ef9c8dade1355",
    "production_checks": [
      {
        "id": "electrical.watts_to_joules:output-const",
        "status": "pass",
        "detail": "output const 1.2.1 vs capability 1.2.1",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z"
      },
      {
        "id": "electrical.watts_to_joules:evidence-sha256",
        "status": "pass",
        "detail": "9e93e4fc5afd",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z"
      },
      {
        "id": "electrical.watts_to_joules:semantic-contract",
        "status": "pass",
        "detail": "12/12",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z"
      },
      {
        "id": "electrical.watts_to_joules:capability-html-public-origin-agree",
        "status": "pass",
        "detail": "public 1.2.1 vs origin 1.2.1",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z"
      },
      {
        "id": "electrical.watts_to_joules:cvp-manifest-public-origin-agree",
        "status": "pass",
        "detail": "electrical.watts_to_joules/1.2.1/-/engineering/e439d34fe37b",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z",
        "projection_compared": false
      },
      {
        "id": "electrical.watts_to_joules:cvp-latest-alias-agrees",
        "status": "pass",
        "detail": "electrical.watts_to_joules/1.2.1/-/engineering/e439d34fe37b",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z",
        "projection_compared": false
      },
      {
        "id": "electrical.watts_to_joules:calculator-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z"
      },
      {
        "id": "electrical.watts_to_joules:evidence-html-cvp-projection",
        "status": "pass",
        "detail": "matches Trust display",
        "scope": "last_attestation_snapshot",
        "current": true,
        "attestation_binding_current": true,
        "attested_at": "2026-09-24T07:15:56.063Z"
      }
    ],
    "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": "e439d34fe37b5de03930191e59c116513a46bcdecf33d3d963df947f34105f88",
          "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": "e439d34fe37b5de03930191e59c116513a46bcdecf33d3d963df947f34105f88",
          "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": "9e93e4fc5afd9ef96bf717d71a2b1a3897adc0e050cd796eb2bcf07728fe6c11",
          "note": "Published Evidence JSON core — Trust freshness / production bind subject"
        },
        {
          "name": "evidence_catalog_digest",
          "field": "artifacts.attested_catalog_sha256",
          "digest_scope": "capability_catalog",
          "value": "52419a75f87381c846435bf92ff0e55cf76f17e9ed5af27a656ef9c8dade1355",
          "note": "Capability catalog integrity; site-wide, not per-suite fingerprint"
        }
      ]
    },
    "cvp_core_sha256": "e439d34fe37b5de03930191e59c116513a46bcdecf33d3d963df947f34105f88"
  },
  "dependencies": [
    {
      "name": "watts-to-joules-engine",
      "version": "1.2.1"
    },
    {
      "name": "watts-to-joules-reference-oracle",
      "version": "1.0.0"
    },
    {
      "name": "node",
      "version": "20.19.2"
    }
  ],
  "attestation": {
    "status": "CURRENT",
    "href": "/.well-known/calculatorx-production-attestation.json",
    "id": "07dd2ac0398098e072e5ecb37e13c71275bfccf89953406c5da6534788ec1538",
    "attested_at": "2026-09-24T07:15:56.063Z",
    "last_confirmed_current_at": "2026-09-24T08:26:31.589Z",
    "site_attestation_current": false,
    "capability_attestation_current": true,
    "bound_snapshot_status": "pass",
    "live_report_status": "stale",
    "bound_attested_at": "2026-09-24T08:26:31.589Z",
    "live_updated_at": "2026-09-24T08:26:51.391Z",
    "bound_snapshot": {
      "status": "pass",
      "attested_at": "2026-09-24T08:26:31.589Z",
      "site_stale_count": 3
    },
    "live_site_status": {
      "href": "/.well-known/calculatorx-production-attestation.json"
    },
    "bound_snapshot_site_stale_count": 3,
    "site_stale_capability_count": 3,
    "evidence_attested_at": "2026-09-24T07:15:56.063Z"
  },
  "domain_review": {
    "status": "ABSENT",
    "spec_version": "1.2.1",
    "external_third_party": false,
    "note": "Named expert review not performed"
  },
  "timestamps": {
    "verified_at": "2026-09-24T07:15:56.063Z",
    "generated_at": "2026-09-24T07:15:56.063Z",
    "rendered_at": "2026-09-24T08:26:51.453Z",
    "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.watts_to_joules/1.2.1.json",
    "evidence_page": "https://www.calculatorx.com/evidence/electrical.watts_to_joules/1.2.1",
    "calculator": "https://www.calculatorx.com/calc/electric/watts-to-joules",
    "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.watts_to_joules/1.2.1.cvp.json"
  }
}
