"""Mandatory raw evidence validators; declarations never synthesize native facts.""" from gate import need from validators import fullscreen_ancestor def fullscreen_certificate(pristine,core): # Offline-only certificate: no calibration client or full-screen run is started. for record in (pristine,core): ancestor=fullscreen_ancestor(record["owner_path"]) need(record["native_xdg"] is True and record["configure_ack"]>0,"normal XDG configure/ACK") children=ancestor["nodes"] need(len(children)>=2 and record["owner_id"] in {x["id"] for x in children},"nonleaf direct children") need(record["configure"][0]>0 and record["configure"][1]>0,"configure dimensions") a,b=record["popup_A"],record["popup_B"] need(a[0]