{
  "buyer_decision": "Request data; do not advance a capacity claim on this evidence",
  "calculated_usable_kw": 0.0,
  "capacity_state": "OFFLINE_UNKNOWN",
  "data_conflict_flagged": true,
  "data_provenance": "Synthetic; no customer data. Both load fields are assumed comparable solely for this fixture. Real measurement boundaries require analyst confirmation.",
  "decision": "deferred",
  "derivation": {
    "battery_power_cap_kw": 250.0,
    "conflict_delta_kw": 120.0,
    "duration_boundary": "60 minutes is a reporting horizon. Snapshot kW times hours does not establish battery endurance or future availability.",
    "historical_formula_before_conflict_gate_kw": 250,
    "raw_headroom_using_site_load_kw": 580.0,
    "resolution": "Explicit unresolved-evidence outcome; no selection of either measurement and no arbitrary discount.",
    "site_limit_kw": 1000.0,
    "strict_conflict_threshold_kw": 100.0
  },
  "duration_minutes": 60,
  "engine_allocation_kw": 0.0,
  "evaluation_end_utc": "2026-06-26T13:00:00+00:00",
  "evaluation_start_utc": "2026-06-26T12:00:00+00:00",
  "generated_for_review_on": "2026-10-12",
  "historical_reproduced": {
    "admitted": true,
    "inputs": {
      "battery_available_discharge_kw": 250.0,
      "battery_floor_percent": 25.0,
      "battery_soc_percent": 75.0,
      "compute_load_kw": 40.0,
      "ev_charging_load_kw": 100.0,
      "meter_kw": 420.0,
      "network_status": "ONLINE",
      "projected_ev_reserve_kw": 120.0,
      "site_current_load_kw": 300.0,
      "site_id": "off_peak_available",
      "site_max_kw": 1000.0,
      "source_completeness_percent": 100.0,
      "source_confidence_percent": 95.0,
      "source_latency_seconds": 20.0,
      "source_protocol": "SIMULATED",
      "thermal_margin_percent": 45.0,
      "timestamp": "2026-06-26T12:00:00Z",
      "utility_event_active": false
    },
    "policy": {
      "created_by": "headroom-milestone-2-pass-1",
      "effective_at": "2026-06-26T12:00:00Z",
      "effective_timestamp": "2026-06-26T12:00:00Z",
      "max_latency_seconds": 300.0,
      "min_telemetry_score": 60.0,
      "min_thermal_margin_percent": 12.0,
      "notes": "Default local prototype policy for deterministic fixture replay.",
      "policy_hash": "9fa4f431f74cb70e9a2e7b2e83c1446bd755e4994fd911224bec62a06ee44c3a",
      "policy_id": "headroom-default-policy",
      "reason_code_mapping": {
        "ADMISSIBLE_INTERRUPTIBLE": {
          "rule_id": "interruptible_compute",
          "treatment": "admit"
        },
        "ADMISSIBLE_WITH_LIMITS": {
          "rule_id": "interruptible_compute",
          "treatment": "admit_with_limits"
        },
        "CURTAILMENT_RECOMMENDED_THERMAL_LIMIT": {
          "rule_id": "safety_first",
          "treatment": "simulated_recommendation"
        },
        "CURTAILMENT_RECOMMENDED_UTILITY_EVENT": {
          "rule_id": "utility_grid_obligation",
          "treatment": "simulated_recommendation"
        },
        "DEFERRED_LOW_CONFIDENCE": {
          "rule_id": "safety_first",
          "treatment": "defer"
        },
        "DENIED_BATTERY_RESERVE_FLOOR": {
          "rule_id": "battery_reserve",
          "treatment": "deny"
        },
        "DENIED_CAPACITY_INSUFFICIENT": {
          "rule_id": "interruptible_compute",
          "treatment": "deny"
        },
        "DENIED_NON_INTERRUPTIBLE_WORKLOAD": {
          "rule_id": "interruptible_compute",
          "treatment": "deny"
        },
        "DENIED_PROJECTED_EV_RESERVE": {
          "rule_id": "ev_charging_priority",
          "treatment": "deny"
        },
        "DENIED_SITE_OFFLINE": {
          "rule_id": "safety_first",
          "treatment": "deny"
        },
        "DENIED_TELEMETRY_INCOMPLETE": {
          "rule_id": "safety_first",
          "treatment": "deny"
        },
        "DENIED_TELEMETRY_STALE": {
          "rule_id": "safety_first",
          "treatment": "deny"
        },
        "DENIED_THERMAL_MARGIN_LOW": {
          "rule_id": "safety_first",
          "treatment": "deny"
        },
        "DENIED_UTILITY_EVENT_ACTIVE": {
          "rule_id": "utility_grid_obligation",
          "treatment": "deny"
        },
        "NO_TARGET_SINGLE_TRUST_DOMAIN": {
          "rule_id": "strategic_boundary",
          "treatment": "classification"
        }
      },
      "reserve_window_minutes": 60,
      "rule_list": [
        {
          "description": "Safety and offline telemetry outrank all compute.",
          "rank": 1,
          "rule_id": "safety_first"
        },
        {
          "description": "Utility and grid events preserve capacity before compute.",
          "rank": 2,
          "rule_id": "utility_grid_obligation"
        },
        {
          "description": "Projected EV charging reserve outranks compute.",
          "rank": 3,
          "rule_id": "ev_charging_priority"
        },
        {
          "description": "Battery reserve floor is protected before compute.",
          "rank": 4,
          "rule_id": "battery_reserve"
        },
        {
          "description": "Contracted priority workload outranks interruptible compute.",
          "rank": 5,
          "rule_id": "contracted_priority_workload"
        },
        {
          "description": "Interruptible compute may use remaining verified headroom.",
          "rank": 6,
          "rule_id": "interruptible_compute"
        },
        {
          "description": "Speculative compute is lowest priority.",
          "rank": 7,
          "rule_id": "speculative_compute"
        }
      ],
      "safety_first": true,
      "semantic_version": "2.0.0",
      "supersedes_optional": null,
      "version": "2.0.0"
    },
    "quality": {
      "completeness_score": 100.0,
      "conflict_score": 35.0,
      "contradictory": true,
      "freshness_score": 100.0,
      "missing_required_fields": [],
      "notes": [
        "meter load conflicts with site current load"
      ],
      "partial": false,
      "protocol_score": 90.0,
      "source_confidence_score": 95.0,
      "stale": false,
      "total_score": 85.0
    },
    "source": "Preserved pre-October-2 source, not a newly invented historical version",
    "source_sha256": {
      "envelope.py": "97cb29aa3c9e76b54f84a03b946f11c9767fc78aff0f06979f01ae8868fee45d",
      "scenarios.py": "19e2bc7ff07b325c4a053ca2adde7bfe4c94e1f150cdf264950a2f643417353a",
      "telemetry_quality.py": "8662175e7da1c4ed608e99d3ff9781960ec859c4a5b62ce1d29bb55fad7f9dee"
    },
    "state": "AVAILABLE",
    "usable_kw": 250.0
  },
  "inputs": {
    "battery_available_discharge_kw": 250.0,
    "battery_floor_percent": 25.0,
    "battery_soc_percent": 75.0,
    "compute_load_kw": 40.0,
    "ev_charging_load_kw": 100.0,
    "meter_kw": 420.0,
    "network_status": "ONLINE",
    "projected_ev_reserve_kw": 120.0,
    "site_current_load_kw": 300.0,
    "site_id": "off_peak_available",
    "site_max_kw": 1000.0,
    "source_completeness_percent": 100.0,
    "source_confidence_percent": 95.0,
    "source_latency_seconds": 20.0,
    "source_protocol": "SIMULATED",
    "thermal_margin_percent": 45.0,
    "timestamp": "2026-06-26T12:00:00Z",
    "utility_event_active": false
  },
  "interruptible": true,
  "label": "Original 420/300 conflict fixture, current-code replay",
  "limitations": [
    "Zero allocation means unsupported additional capacity, not measured physical zero.",
    "Not a complete replay package; see internal conflict replay inputs and runbook.",
    "No future capacity, customer validation, engineering approval or equipment authorization."
  ],
  "new_version_fields": "schema_version, generated_for_review_on and source_sha256 are newly added extract metadata, not historical engine version fields. Policy version alone does not identify changed engine code.",
  "next_records_needed": "Time-aligned meter and site-load exports; units, interval convention, common measurement boundary, calibration/source provenance, site capacity evidence and approved non-overlapping charging/reserve obligations.",
  "policy": {
    "created_by": "headroom-milestone-2-pass-1",
    "effective_at": "2026-06-26T12:00:00Z",
    "effective_timestamp": "2026-06-26T12:00:00Z",
    "max_latency_seconds": 300.0,
    "min_telemetry_score": 60.0,
    "min_thermal_margin_percent": 12.0,
    "notes": "Default local prototype policy for deterministic fixture replay.",
    "policy_hash": "9fa4f431f74cb70e9a2e7b2e83c1446bd755e4994fd911224bec62a06ee44c3a",
    "policy_id": "headroom-default-policy",
    "reason_code_mapping": {
      "ADMISSIBLE_INTERRUPTIBLE": {
        "rule_id": "interruptible_compute",
        "treatment": "admit"
      },
      "ADMISSIBLE_WITH_LIMITS": {
        "rule_id": "interruptible_compute",
        "treatment": "admit_with_limits"
      },
      "CURTAILMENT_RECOMMENDED_THERMAL_LIMIT": {
        "rule_id": "safety_first",
        "treatment": "simulated_recommendation"
      },
      "CURTAILMENT_RECOMMENDED_UTILITY_EVENT": {
        "rule_id": "utility_grid_obligation",
        "treatment": "simulated_recommendation"
      },
      "DEFERRED_LOW_CONFIDENCE": {
        "rule_id": "safety_first",
        "treatment": "defer"
      },
      "DENIED_BATTERY_RESERVE_FLOOR": {
        "rule_id": "battery_reserve",
        "treatment": "deny"
      },
      "DENIED_CAPACITY_INSUFFICIENT": {
        "rule_id": "interruptible_compute",
        "treatment": "deny"
      },
      "DENIED_NON_INTERRUPTIBLE_WORKLOAD": {
        "rule_id": "interruptible_compute",
        "treatment": "deny"
      },
      "DENIED_PROJECTED_EV_RESERVE": {
        "rule_id": "ev_charging_priority",
        "treatment": "deny"
      },
      "DENIED_SITE_OFFLINE": {
        "rule_id": "safety_first",
        "treatment": "deny"
      },
      "DENIED_TELEMETRY_INCOMPLETE": {
        "rule_id": "safety_first",
        "treatment": "deny"
      },
      "DENIED_TELEMETRY_STALE": {
        "rule_id": "safety_first",
        "treatment": "deny"
      },
      "DENIED_THERMAL_MARGIN_LOW": {
        "rule_id": "safety_first",
        "treatment": "deny"
      },
      "DENIED_UTILITY_EVENT_ACTIVE": {
        "rule_id": "utility_grid_obligation",
        "treatment": "deny"
      },
      "NO_TARGET_SINGLE_TRUST_DOMAIN": {
        "rule_id": "strategic_boundary",
        "treatment": "classification"
      }
    },
    "reserve_window_minutes": 60,
    "rule_list": [
      {
        "description": "Safety and offline telemetry outrank all compute.",
        "rank": 1,
        "rule_id": "safety_first"
      },
      {
        "description": "Utility and grid events preserve capacity before compute.",
        "rank": 2,
        "rule_id": "utility_grid_obligation"
      },
      {
        "description": "Projected EV charging reserve outranks compute.",
        "rank": 3,
        "rule_id": "ev_charging_priority"
      },
      {
        "description": "Battery reserve floor is protected before compute.",
        "rank": 4,
        "rule_id": "battery_reserve"
      },
      {
        "description": "Contracted priority workload outranks interruptible compute.",
        "rank": 5,
        "rule_id": "contracted_priority_workload"
      },
      {
        "description": "Interruptible compute may use remaining verified headroom.",
        "rank": 6,
        "rule_id": "interruptible_compute"
      },
      {
        "description": "Speculative compute is lowest priority.",
        "rank": 7,
        "rule_id": "speculative_compute"
      }
    ],
    "safety_first": true,
    "semantic_version": "2.0.0",
    "supersedes_optional": null,
    "version": "2.0.0"
  },
  "proposed_load_kw": 120.0,
  "quality": {
    "completeness_score": 100.0,
    "conflict_score": 35.0,
    "contradictory": true,
    "freshness_score": 100.0,
    "missing_required_fields": [],
    "notes": [
      "meter load conflicts with site current load"
    ],
    "partial": false,
    "protocol_score": 90.0,
    "source_confidence_score": 95.0,
    "stale": false,
    "total_score": 85.0
  },
  "reason_codes": [
    "DEFERRED_LOW_CONFIDENCE"
  ],
  "schema_version": "headroom.public_extract.2026-10-11",
  "source_sha256": {
    "envelope.py": "cc27276e99b83a15c418d5c4942a64fa2227a21c8dc1c65b4846472e80c7b311",
    "models.py": "9602201ec48374cc1e0f7f91a147c914b6370080bb8ad842a04d28d4c5aa356c",
    "policy.py": "fe118ac6ffcc84423896f974b3573e51eb7d167dc19b97b41fbcad10fcf48757",
    "policy_versioning.py": "2de13bc363d33d7ff46d08c5c2c578f3377141975754f71a596841de3caf4e8d",
    "scenarios.py": "4c06ff825e935c17d5249cdcf0b153099f92e3553964f09e9f20090f9b091aa8",
    "telemetry_quality.py": "b0230b4b84174ee2c762352d7748863d338db75df5ed481348c57c6e98c129ee"
  },
  "supported_power_kw": null
}
