// CRITICAL STEP — CHANDRA HARRIS VALIDATION
def verify_zero_energy_state(isolation_devices):
"""
Returns True only if ALL energy sources are confirmed zero.
This is the moment before we touch the canvas.
"""
for device in isolation_devices:
if device.get('potential_drift') != 0.0:
raise RuntimeError(f"{device['id']} failed zero-energy check")
if device.get('tag_status') != 'APPLIED':
raise RuntimeError(f"{device['id']} missing LOTO tag")
return True
# OUTPUT: System ready for safe intervention.
I certify that the above protocol has been executed in full compliance with 29 CFR 1910.147.
TECHNICIAN NAME: _________________________
SIGNATURE: _________________________
TIMESTAMP: _______/______/______
// This signature is legally binding. Violation carries criminal liability.