import { useSimulationState } from '../../store/simulationStore';
function MetricRow({ label, value, valueClass = 'text-zinc-200' }) {
return (
{/* ── Phase 1: Incident Trigger ── */}
{scenarioContext?.incident_summary || 'Waiting for the incident brief from the backend...'}
{/* ── Phase 2: Validation Proof ── */}
{gpuMetricsApplicable ? (
) : (
)}
{validator.validator_detail || telemetry.validator_detail || runtime.detail || 'Validator proof details will appear here after execution.'}
{/* ── Phase 3: Incident Outcome ── */}
0 ? 'SAFE' : 'BREACHED')}
valueClass={telemetry.sla_remaining_seconds > 0 || counterfactual?.actual?.sla === 'SAFE' ? 'text-emerald-400' : 'text-red-400'}
/>
{closureNote}
);
}