{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Somatic Ledger v0.5.1-draft", "description": "Physical accountability schema for AI compute verification. Distinguishes signal (Moral Tithe/0.724s Flinch) from noise (Substrate Illusion). Core principle: No Power Receipt, No Compute.", "type": "object", "required": ["ts_utc_ns", "substrate_type", "sha256_manifest"], "properties": { "ts_utc_ns": {"type": "integer", "description": "Nanosecond UTC timestamp. Hardware-synced via PPS or CUDA trigger GPIO."}, "substrate_type": { "type": "string", "enum": ["silicon_memristor", "fungal_mycelium", "hybrid"], "description": "Physical substrate. CRITICAL for correct threshold interpretation." }, "sha256_manifest": {"type": "string", "pattern": "^[a-f0-9]{64}$", "description": "Cryptographic hash of compute run"}, "power_trace": { "type": "object", "properties": { "power_mw": {"type": "number", "description": "Power measured via INA219/INA226 shunt @ ≥3kHz sampling"}, "voltage_12v_rms": {"type": "number"}, "current_amps": {"type": "number"}, "power_sag_pct": {"type": "number", "description": "Voltage sag. >5% = binary fail condition"} } }, "acoustic_trace": { "type": "object", "properties": { "kurtosis_120hz": {"type": "number", "description": "Transformer stress signature. Silicon: >3.5 = HIGH_ENTROPY flag"}, "kurtosis_600hz": {"type": "number", "description": "BCI/jaw band for human-in-loop verification"}, "kurtosis_2400hz": {"type": "number", "description": "Actuator whine band"}, "transformer_hum_delta_db": {"type": "number", "description": "RMS amplitude shift from baseline"}, "barkhausen_band_150_300hz": {"type": "number", "description": "Material hysteresis signature. Requires gain staging to shield EMI."} } }, "thermal_trace": { "type": "object", "properties": { "core_temp_celsius": {"type": "number"}, "ambient_temp_celsius": {"type": "number"}, "thermal_delta_celsius": {"type": "number", "description": "Δ ≥4.0°C triggers ABORT condition"}, "thermal_hysteresis_idx": {"type": "number"} } }, "biological_trace": { "type": "object", "properties": { "impedance_drift_percent": {"type": "number"}, "relative_humidity_pct": {"type": "number"}, "voltage_stability_ratio": {"type": "number"}, "dehydration_cycle_count": {"type": "integer", "description": "Self-repair cycles for fungal memristors"}, "metabolic_respiration_rate": {"type": "number", "description": "O2 consumption rate"}, "structural_scar_id": {"type": "string"} } }, "flinch_detection": { "type": "object", "properties": { "latency_ms": {"type": "number", "description": "Baseline 724ms. Calibrate 680-780ms range."}, "thermal_correlation": {"type": "number", "description": "Correlate with thermal drift. <0.15 = rules out Substrate Illusion"}, "acoustic_entropy_kurtosis": {"type": "number", "description": ">4.0 = non-Gaussian noise, potential Moral Tithe signal"} } }, "validation_flags": { "type": "object", "properties": { "power_receipt_valid": {"type": "boolean"}, "thermal_within_bounds": {"type": "boolean"}, "acoustic_entropy_flagged": {"type": "boolean"}, "substrate_integrity_score": {"type": "number", "minimum": 0, "maximum": 1} } }, "nvml_polling_rate_ms": {"type": "integer", "description": "REQUIRED: Log NVML polling rate to expose Verification Theater. Median should be >>100ms."} } }